smartystreets-javascript-sdk 7.1.1 → 7.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/ClientBuilder.cjs +1 -1
- package/dist/cjs/CustomQuerySender.cjs +1 -0
- package/dist/cjs/_virtual/Lookup9.cjs +1 -0
- package/dist/cjs/_virtual/Result3.cjs +1 -0
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/international_postal_code/Client.cjs +1 -0
- package/dist/cjs/international_postal_code/Lookup.cjs +1 -0
- package/dist/cjs/international_postal_code/Result.cjs +1 -0
- package/dist/cjs/package.json.cjs +1 -1
- package/dist/cjs/us_street/Candidate.cjs +1 -1
- package/dist/cjs/util/apiToSDKKeyMap.cjs +1 -1
- package/dist/cjs/util/buildClients.cjs +1 -1
- package/dist/esm/ClientBuilder.mjs +1 -1
- package/dist/esm/CustomQuerySender.mjs +1 -0
- package/dist/esm/_virtual/Lookup9.mjs +1 -0
- package/dist/esm/_virtual/Result3.mjs +1 -0
- package/dist/esm/index.mjs +1 -1
- package/dist/esm/international_postal_code/Client.mjs +1 -0
- package/dist/esm/international_postal_code/Lookup.mjs +1 -0
- package/dist/esm/international_postal_code/Result.mjs +1 -0
- package/dist/esm/package.json.mjs +1 -1
- package/dist/esm/us_street/Candidate.mjs +1 -1
- package/dist/esm/util/apiToSDKKeyMap.mjs +1 -1
- package/dist/esm/util/buildClients.mjs +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/dist/types/AgentSender.d.ts +6 -0
- package/dist/types/ClientBuilder.d.ts +102 -0
- package/dist/types/util/buildClients.d.ts +10 -0
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
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"),
|
|
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"),a=require("./StatusCodeSender.cjs"),h=require("./LicenseSender.cjs"),d=require("./CustomQuerySender.cjs"),c=require("./Errors.cjs"),m=require("./RetrySender.cjs"),p=require("./util/Sleeper.cjs"),C=require("./us_street/Client.cjs"),_=require("./us_zipcode/Client.cjs"),q=require("./us_autocomplete_pro/Client.cjs"),b=require("./us_extract/Client.cjs"),w=require("./international_street/Client.cjs"),S=require("./us_reverse_geo/Client.cjs"),j=require("./international_address_autocomplete/Client.cjs"),y=require("./us_enrichment/Client.cjs"),f=require("./international_postal_code/Client.cjs");exports.__require=function(){if(t)return e;t=1;const x=r.__require(),U=i.default,g=s.default,v=u.default,Q=n.default,R=o.default,k=l.default,A=a.__require(),H=h.__require(),E=d.default,T=c.__require().BadCredentialsError,B=m.default,I=p.default,M=C.__require(),P=_.__require(),z=q.__require(),L=b.__require(),D=w.__require(),F=S.__require(),G=j.__require(),Z=y.__require(),J=f.__require();return e=class{constructor(e){if(!(e instanceof Q||e instanceof R))throw new T;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=[],this.customQueries=new Map}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}withCustomQuery(e,t){return this.customQueries.set(e,t),this}withCustomCommaSeperatedQuery(e,t){let r=this.customQueries.get(e);return""===r?r=t:r+=","+t,this.customQueries.set(e,r),this}withFeatureComponentAnalysis(){return this.withCustomCommaSeperatedQuery("features","component-analysis")}buildSender(){if(this.httpSender)return this.httpSender;const e=new x(this.maxTimeout,this.proxy,this.debug),t=new A(e),r=new U(t,this.signer);let i=new v(r);if(this.maxRetries>0){const e=new B(this.maxRetries,r,new I);i=new v(e)}const s=new k(i,this.customHeaders),u=new g(s,this.baseUrl),n=new H(u,this.licenses);return new E(n,this.customQueries)}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",M)}buildUsZipcodeClient(){return this.buildClient("https://us-zipcode.api.smarty.com/lookup",P)}buildInternationalPostalCodeClient(){return this.buildClient("https://international-postal-code.api.smarty.com/lookup",J)}buildUsAutocompleteProClient(){return this.buildClient("https://us-autocomplete-pro.api.smarty.com/lookup",z)}buildUsExtractClient(){return this.buildClient("https://us-extract.api.smarty.com/",L)}buildInternationalStreetClient(){return this.buildClient("https://international-street.api.smarty.com/verify",D)}buildUsReverseGeoClient(){return this.buildClient("https://us-reverse-geo.api.smarty.com/lookup",F)}buildInternationalAddressAutocompleteClient(){return this.buildClient("https://international-autocomplete.api.smarty.com/v2/lookup",G)}buildUsEnrichmentClient(){return this.buildClient("https://us-enrichment.api.smarty.com/lookup",Z)}},e};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";exports.default=class{constructor(s,e){this.queries=e,this.sender=s}send(s){return this.queries.forEach((e,r)=>{const t=s.parameters[r];s.parameters[r]=t?`${t},${e}`:e}),this.sender.send(s)}};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var e=require("./_commonjsHelpers.cjs"),r=require("../international_postal_code/Lookup.cjs").__require(),o=e.getDefaultExportFromCjs(r);exports.default=o;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var e=require("./_commonjsHelpers.cjs"),r=require("../international_postal_code/Result.cjs").__require(),t=e.getDefaultExportFromCjs(r);exports.default=t;
|
package/dist/cjs/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("./_virtual/Batch.cjs"),t=require("./_virtual/ClientBuilder.cjs"),r=require("./_virtual/buildClients.cjs"),u=require("./SharedCredentials.cjs"),i=require("./StaticCredentials.cjs"),
|
|
1
|
+
"use strict";var e=require("./_virtual/Batch.cjs"),t=require("./_virtual/ClientBuilder.cjs"),r=require("./_virtual/buildClients.cjs"),u=require("./SharedCredentials.cjs"),i=require("./StaticCredentials.cjs"),o=require("./_virtual/Errors.cjs"),a=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"),C=require("./_virtual/Response.cjs"),x=require("./_virtual/Lookup9.cjs"),S=require("./_virtual/Result3.cjs");const R={Batch:e.default,ClientBuilder:t.default,buildClient:r.default,SharedCredentials:u.default,StaticCredentials:i.default,Errors:o.default},g={Lookup:a.default,Candidate:s.default},h={Lookup:l.default,Result:d.default},m={Lookup:c.default,Suggestion:n.default},A={Lookup:p.default,Result:v.default},E={Lookup:f.default,Candidate:j.default},B={Lookup:q.default},P={Lookup:_.default,Suggestion:k.default},b={Lookup:L.default,Response:C.default},G={Lookup:x.default,Result:S.default};var Z={core:R,usStreet:g,usZipcode:h,usAutocompletePro:m,usExtract:A,internationalStreet:E,usReverseGeo:B,internationalAddressAutocomplete:P,usEnrichment:b,internationalPostalCode:G};exports.core=R,exports.default=Z,exports.internationalAddressAutocomplete=P,exports.internationalPostalCode=G,exports.internationalStreet=E,exports.usAutocompletePro=m,exports.usEnrichment=b,exports.usExtract=A,exports.usReverseGeo=B,exports.usStreet=g,exports.usZipcode=h;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var r,e,t=require("../Request.cjs"),i=require("./Result.cjs"),u=require("../util/buildInputData.cjs"),s=require("../util/apiToSDKKeyMap.cjs"),n=require("../Errors.cjs");exports.__require=function(){if(e)return r;e=1;const o=t.__require(),a=i.__require(),c=u.__require(),l=s.__require().internationalPostalCode,{UndefinedLookupError:d}=n.__require();return r=class{constructor(r){this.sender=r}send(r){if(void 0===r)throw new d;let e=new o;return e.parameters=c(r,l),new Promise((t,i)=>{this.sender.send(e).then(e=>{e.error&&i(e.error),t(function(r,e){r.payload&&Array.isArray(r.payload)?e.result=r.payload.map(r=>new a(r)):e.result=[];return e}(e,r))}).catch(i)})}}};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var t,s;exports.__require=function(){return s?t:(s=1,t=class{constructor(t,s,r,i,e){this.inputId=e,this.country=t,this.postalCode=s,this.administrativeArea=r,this.locality=i,this.result=[],this.customParameters={}}addCustomParameter(t,s){this.customParameters[t]=s}})};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var t,e;exports.__require=function(){return e?t:(e=1,t=class{constructor(t){this.inputId=t.input_id,this.administrativeArea=t.administrative_area,this.superAdministrativeArea=t.super_administrative_area,this.subAdministrativeArea=t.sub_administrative_area,this.locality=t.locality,this.dependentLocality=t.dependent_locality,this.dependentLocalityName=t.dependent_locality_name,this.doubleDependentLocality=t.double_dependent_locality,this.postalCode=t.postal_code,this.postalCodeExtra=t.postal_code_extra,this.countryIso3=t.country_iso_3}})};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e="7.
|
|
1
|
+
"use strict";var e="7.3.0",r={version:e};exports.default=r,exports.version=e;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var t,
|
|
1
|
+
"use strict";var t,s;exports.__require=function(){return s?t:(s=1,t=class{constructor(t){if(this.inputIndex=t.input_index,this.candidateIndex=t.candidate_index,this.addressee=t.addressee,this.deliveryLine1=t.delivery_line_1,this.deliveryLine2=t.delivery_line_2,this.lastLine=t.last_line,this.deliveryPointBarcode=t.delivery_point_barcode,this.smartyKey=t.smarty_key,this.components={},void 0!==t.components&&(this.components.urbanization=t.components.urbanization,this.components.primaryNumber=t.components.primary_number,this.components.streetName=t.components.street_name,this.components.streetPredirection=t.components.street_predirection,this.components.streetPostdirection=t.components.street_postdirection,this.components.streetSuffix=t.components.street_suffix,this.components.secondaryNumber=t.components.secondary_number,this.components.secondaryDesignator=t.components.secondary_designator,this.components.extraSecondaryNumber=t.components.extra_secondary_number,this.components.extraSecondaryDesignator=t.components.extra_secondary_designator,this.components.pmbDesignator=t.components.pmb_designator,this.components.pmbNumber=t.components.pmb_number,this.components.cityName=t.components.city_name,this.components.defaultCityName=t.components.default_city_name,this.components.state=t.components.state_abbreviation,this.components.zipCode=t.components.zipcode,this.components.plus4Code=t.components.plus4_code,this.components.deliveryPoint=t.components.delivery_point,this.components.deliveryPointCheckDigit=t.components.delivery_point_check_digit),this.metadata={},void 0!==t.metadata){if(this.metadata.recordType=t.metadata.record_type,this.metadata.zipType=t.metadata.zip_type,this.metadata.countyFips=t.metadata.county_fips,this.metadata.countyName=t.metadata.county_name,this.metadata.carrierRoute=t.metadata.carrier_route,this.metadata.congressionalDistrict=t.metadata.congressional_district,this.metadata.buildingDefaultIndicator=t.metadata.building_default_indicator,this.metadata.rdi=t.metadata.rdi,this.metadata.elotSequence=t.metadata.elot_sequence,this.metadata.elotSort=t.metadata.elot_sort,this.metadata.latitude=t.metadata.latitude,this.metadata.longitude=t.metadata.longitude,1===t.metadata.coordinate_license)this.metadata.coordinateLicense="SmartyStreets Proprietary";else this.metadata.coordinateLicense="SmartyStreets";this.metadata.precision=t.metadata.precision,this.metadata.timeZone=t.metadata.time_zone,this.metadata.utcOffset=t.metadata.utc_offset,this.metadata.obeysDst=t.metadata.dst,this.metadata.isEwsMatch=t.metadata.ews_match}this.analysis={},void 0!==t.analysis&&(this.analysis.dpvMatchCode=t.analysis.dpv_match_code,this.analysis.dpvFootnotes=t.analysis.dpv_footnotes,this.analysis.cmra=t.analysis.dpv_cmra,this.analysis.vacant=t.analysis.dpv_vacant,this.analysis.noStat=t.analysis.dpv_no_stat,this.analysis.active=t.analysis.active,this.analysis.isEwsMatch=t.analysis.ews_match,this.analysis.footnotes=t.analysis.footnotes,this.analysis.lacsLinkCode=t.analysis.lacslink_code,this.analysis.lacsLinkIndicator=t.analysis.lacslink_indicator,this.analysis.isSuiteLinkMatch=t.analysis.suitelink_match,this.analysis.enhancedMatch=t.analysis.enhanced_match,this.analysis.components={},console.log("what are the analysis",t.analysis),void 0!==t.analysis.components&&(this.analysis.components.primaryNumber=t.analysis.components.primary_number,this.analysis.components.streetPredirection=t.analysis.components.street_predirection,this.analysis.components.streetName=t.analysis.components.street_name,this.analysis.components.streetPostdirection=t.analysis.components.street_postdirection,this.analysis.components.streetSuffix=t.analysis.components.street_suffix,this.analysis.components.secondaryNumber=t.analysis.components.secondary_number,this.analysis.components.secondaryDesignator=t.analysis.components.secondary_designator,this.analysis.components.extraSecondaryNumber=t.analysis.components.extra_secondary_number,this.analysis.components.extraSecondaryDesignator=t.analysis.components.extra_secondary_designator,this.analysis.components.cityName=t.analysis.components.city_name,this.analysis.components.stateAbbreviation=t.analysis.components.state_abbreviation,this.analysis.components.zipCode=t.analysis.components.zipcode,this.analysis.components.plus4Code=t.analysis.components.plus4_code,this.analysis.components.urbanization=t.analysis.components.urbanization))}})};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e,t;exports.__require=function(){return t?e:(t=1,e={usStreet:{street:"street",street2:"street2",secondary:"secondary",city:"city",state:"state",zipcode:"zipCode",lastline:"lastLine",addressee:"addressee",urbanization:"urbanization",match:"match",format:"format",candidates:"maxCandidates",county_source:"countySource"},usAutocompletePro:{search:"search",selected:"selected",max_results:"maxResults",include_only_cities:"includeOnlyCities",include_only_states:"includeOnlyStates",include_only_zip_codes:"includeOnlyZIPCodes",exclude_states:"excludeStates",prefer_cities:"preferCities",prefer_states:"preferStates",prefer_zip_codes:"preferZIPCodes",prefer_ratio:"preferRatio",prefer_geolocation:"preferGeolocation",source:"source"},usZipcode:{city:"city",state:"state",zipcode:"zipCode"},internationalStreet:{country:"country",freeform:"freeform",address1:"address1",address2:"address2",address3:"address3",address4:"address4",organization:"organization",locality:"locality",administrative_area:"administrativeArea",postal_code:"postalCode",geocode:"geocode",language:"language"},internationalAddressAutocomplete:{search:"search",country:"country",max_results:"maxResults",include_only_administrative_area:"includeOnlyAdministrativeArea",include_only_locality:"includeOnlyLocality",include_only_postal_code:"includeOnlyPostalCode"},usReverseGeo:{latitude:"latitude",longitude:"longitude",source:"source"},usExtract:{html:"html",aggressive:"aggressive",addr_line_breaks:"addressesHaveLineBreaks",addr_per_line:"addressesPerLine"},usEnrichment:{include:"include",exclude:"exclude",dataset:"dataset",data_subset:"dataSubset"}})};
|
|
1
|
+
"use strict";var e,t;exports.__require=function(){return t?e:(t=1,e={usStreet:{street:"street",street2:"street2",secondary:"secondary",city:"city",state:"state",zipcode:"zipCode",lastline:"lastLine",addressee:"addressee",urbanization:"urbanization",match:"match",format:"format",candidates:"maxCandidates",county_source:"countySource"},usAutocompletePro:{search:"search",selected:"selected",max_results:"maxResults",include_only_cities:"includeOnlyCities",include_only_states:"includeOnlyStates",include_only_zip_codes:"includeOnlyZIPCodes",exclude_states:"excludeStates",prefer_cities:"preferCities",prefer_states:"preferStates",prefer_zip_codes:"preferZIPCodes",prefer_ratio:"preferRatio",prefer_geolocation:"preferGeolocation",source:"source"},usZipcode:{city:"city",state:"state",zipcode:"zipCode"},internationalStreet:{country:"country",freeform:"freeform",address1:"address1",address2:"address2",address3:"address3",address4:"address4",organization:"organization",locality:"locality",administrative_area:"administrativeArea",postal_code:"postalCode",geocode:"geocode",language:"language"},internationalAddressAutocomplete:{search:"search",country:"country",max_results:"maxResults",include_only_administrative_area:"includeOnlyAdministrativeArea",include_only_locality:"includeOnlyLocality",include_only_postal_code:"includeOnlyPostalCode"},usReverseGeo:{latitude:"latitude",longitude:"longitude",source:"source"},usExtract:{html:"html",aggressive:"aggressive",addr_line_breaks:"addressesHaveLineBreaks",addr_per_line:"addressesPerLine"},usEnrichment:{include:"include",exclude:"exclude",dataset:"dataset",data_subset:"dataSubset"},internationalPostalCode:{input_id:"inputId",country:"country",locality:"locality",administrative_area:"administrativeArea",postal_code:"postalCode"}})};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e,
|
|
1
|
+
"use strict";var t,e,n=require("../ClientBuilder.cjs");exports.__require=function(){if(e)return t;e=1;const r=n.__require();function i(t){return new r(t)}return t={usStreet:function(t){return i(t).buildUsStreetApiClient()},usAutocompletePro:function(t){return i(t).buildUsAutocompleteProClient()},usExtract:function(t){return i(t).buildUsExtractClient()},usZipcode:function(t){return i(t).buildUsZipcodeClient()},internationalStreet:function(t){return i(t).buildInternationalStreetClient()},usReverseGeo:function(t){return i(t).buildUsReverseGeoClient()},internationalAddressAutocomplete:function(t){return i(t).buildInternationalAddressAutocompleteClient()},usEnrichment:function(t){return i(t).buildUsEnrichmentClient()},internationalPostalCode:function(t){return i(t).buildInternationalPostalCodeClient()}}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__require as t}from"./HttpSender.mjs";import e from"./SigningSender.mjs";import r from"./BaseUrlSender.mjs";import i from"./AgentSender.mjs";import s from"./StaticCredentials.mjs";import o from"./SharedCredentials.mjs";import n from"./CustomHeaderSender.mjs";import{__require as m}from"./StatusCodeSender.mjs";import{__require as u}from"./LicenseSender.mjs";import{__require as
|
|
1
|
+
import{__require as t}from"./HttpSender.mjs";import e from"./SigningSender.mjs";import r from"./BaseUrlSender.mjs";import i from"./AgentSender.mjs";import s from"./StaticCredentials.mjs";import o from"./SharedCredentials.mjs";import n from"./CustomHeaderSender.mjs";import{__require as m}from"./StatusCodeSender.mjs";import{__require as u}from"./LicenseSender.mjs";import a from"./CustomQuerySender.mjs";import{__require as l}from"./Errors.mjs";import h from"./RetrySender.mjs";import p from"./util/Sleeper.mjs";import{__require as d}from"./us_street/Client.mjs";import{__require as c}from"./us_zipcode/Client.mjs";import{__require as C}from"./us_autocomplete_pro/Client.mjs";import{__require as _}from"./us_extract/Client.mjs";import{__require as f}from"./international_street/Client.mjs";import{__require as b}from"./us_reverse_geo/Client.mjs";import{__require as w}from"./international_address_autocomplete/Client.mjs";import{__require as S}from"./us_enrichment/Client.mjs";import{__require as j}from"./international_postal_code/Client.mjs";var y,x;function q(){if(x)return y;x=1;const q=t(),U=e,g=r,v=i,Q=s,R=o,k=n,A=m(),H=u(),E=a,T=l().BadCredentialsError,B=h,I=p,M=d(),P=c(),z=C(),L=_(),D=f(),F=b(),G=w(),Z=S(),J=j();return y=class{constructor(t){if(!(t instanceof Q||t instanceof R))throw new T;this.signer=t,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=[],this.customQueries=new Map}withMaxRetries(t){return this.maxRetries=t,this}withMaxTimeout(t){return this.maxTimeout=t,this}withSender(t){return this.httpSender=t,this}withBaseUrl(t){return this.baseUrl=t,this}withProxy(t,e,r,i,s){return this.proxy={host:t,port:e,protocol:r},i&&s&&(this.proxy.auth={username:i,password:s}),this}withCustomHeaders(t){return this.customHeaders=t,this}withDebug(){return this.debug=!0,this}withLicenses(t){return this.licenses=t,this}withCustomQuery(t,e){return this.customQueries.set(t,e),this}withCustomCommaSeperatedQuery(t,e){let r=this.customQueries.get(t);return""===r?r=e:r+=","+e,this.customQueries.set(t,r),this}withFeatureComponentAnalysis(){return this.withCustomCommaSeperatedQuery("features","component-analysis")}buildSender(){if(this.httpSender)return this.httpSender;const t=new q(this.maxTimeout,this.proxy,this.debug),e=new A(t),r=new U(e,this.signer);let i=new v(r);if(this.maxRetries>0){const t=new B(this.maxRetries,r,new I);i=new v(t)}const s=new k(i,this.customHeaders),o=new g(s,this.baseUrl),n=new H(o,this.licenses);return new E(n,this.customQueries)}buildClient(t,e){return this.baseUrl||(this.baseUrl=t),new e(this.buildSender())}buildUsStreetApiClient(){return this.buildClient("https://us-street.api.smarty.com/street-address",M)}buildUsZipcodeClient(){return this.buildClient("https://us-zipcode.api.smarty.com/lookup",P)}buildInternationalPostalCodeClient(){return this.buildClient("https://international-postal-code.api.smarty.com/lookup",J)}buildUsAutocompleteProClient(){return this.buildClient("https://us-autocomplete-pro.api.smarty.com/lookup",z)}buildUsExtractClient(){return this.buildClient("https://us-extract.api.smarty.com/",L)}buildInternationalStreetClient(){return this.buildClient("https://international-street.api.smarty.com/verify",D)}buildUsReverseGeoClient(){return this.buildClient("https://us-reverse-geo.api.smarty.com/lookup",F)}buildInternationalAddressAutocompleteClient(){return this.buildClient("https://international-autocomplete.api.smarty.com/v2/lookup",G)}buildUsEnrichmentClient(){return this.buildClient("https://us-enrichment.api.smarty.com/lookup",Z)}}}export{q as __require};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
class e{constructor(e,s){this.queries=s,this.sender=e}send(e){return this.queries.forEach((s,r)=>{const t=e.parameters[r];e.parameters[r]=t?`${t},${s}`:s}),this.sender.send(e)}}export{e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{getDefaultExportFromCjs as o}from"./_commonjsHelpers.mjs";import{__require as r}from"../international_postal_code/Lookup.mjs";var e=o(r());export{e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{getDefaultExportFromCjs as o}from"./_commonjsHelpers.mjs";import{__require as r}from"../international_postal_code/Result.mjs";var e=o(r());export{e as default};
|
package/dist/esm/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import o from"./_virtual/Batch.mjs";import r from"./_virtual/ClientBuilder.mjs";import t from"./_virtual/buildClients.mjs";import i from"./SharedCredentials.mjs";import m from"./StaticCredentials.mjs";import u from"./_virtual/Errors.mjs";import e from"./_virtual/Lookup.mjs";import s from"./_virtual/Candidate.mjs";import a from"./_virtual/Lookup2.mjs";import p from"./_virtual/Result.mjs";import l from"./_virtual/Lookup3.mjs";import n from"./_virtual/Suggestion.mjs";import
|
|
1
|
+
import o from"./_virtual/Batch.mjs";import r from"./_virtual/ClientBuilder.mjs";import t from"./_virtual/buildClients.mjs";import i from"./SharedCredentials.mjs";import m from"./StaticCredentials.mjs";import u from"./_virtual/Errors.mjs";import e from"./_virtual/Lookup.mjs";import s from"./_virtual/Candidate.mjs";import a from"./_virtual/Lookup2.mjs";import p from"./_virtual/Result.mjs";import l from"./_virtual/Lookup3.mjs";import n from"./_virtual/Suggestion.mjs";import f from"./_virtual/Lookup4.mjs";import d from"./_virtual/Result2.mjs";import j from"./_virtual/Lookup5.mjs";import v from"./_virtual/Candidate2.mjs";import _ from"./_virtual/Lookup6.mjs";import k from"./_virtual/Lookup7.mjs";import L from"./_virtual/Suggestion2.mjs";import C from"./_virtual/Lookup8.mjs";import c from"./_virtual/Response.mjs";import S from"./_virtual/Lookup9.mjs";import R from"./_virtual/Result3.mjs";const g={Batch:o,ClientBuilder:r,buildClient:t,SharedCredentials:i,StaticCredentials:m,Errors:u},h={Lookup:e,Candidate:s},B={Lookup:a,Result:p},E={Lookup:l,Suggestion:n},A={Lookup:f,Result:d},b={Lookup:j,Candidate:v},x={Lookup:_},P={Lookup:k,Suggestion:L},G={Lookup:C,Response:c},Z={Lookup:S,Result:R};var q={core:g,usStreet:h,usZipcode:B,usAutocompletePro:E,usExtract:A,internationalStreet:b,usReverseGeo:x,internationalAddressAutocomplete:P,usEnrichment:G,internationalPostalCode:Z};export{g as core,q as default,P as internationalAddressAutocomplete,Z as internationalPostalCode,b as internationalStreet,E as usAutocompletePro,G as usEnrichment,A as usExtract,x as usReverseGeo,h as usStreet,B as usZipcode};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{__require as r}from"../Request.mjs";import{__require as e}from"./Result.mjs";import{__require as t}from"../util/buildInputData.mjs";import{__require as o}from"../util/apiToSDKKeyMap.mjs";import{__require as s}from"../Errors.mjs";var a,i;function n(){if(i)return a;i=1;const n=r(),u=e(),m=t(),p=o().internationalPostalCode,{UndefinedLookupError:l}=s();return a=class{constructor(r){this.sender=r}send(r){if(void 0===r)throw new l;let e=new n;return e.parameters=m(r,p),new Promise((t,o)=>{this.sender.send(e).then(e=>{e.error&&o(e.error),t(function(r,e){r.payload&&Array.isArray(r.payload)?e.result=r.payload.map(r=>new u(r)):e.result=[];return e}(e,r))}).catch(o)})}}}export{n as __require};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var t,r;function s(){if(r)return t;r=1;return t=class{constructor(t,r,s,i,a){this.inputId=a,this.country=t,this.postalCode=r,this.administrativeArea=s,this.locality=i,this.result=[],this.customParameters={}}addCustomParameter(t,r){this.customParameters[t]=r}}}export{s as __require};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var t,e;function i(){if(e)return t;e=1;return t=class{constructor(t){this.inputId=t.input_id,this.administrativeArea=t.administrative_area,this.superAdministrativeArea=t.super_administrative_area,this.subAdministrativeArea=t.sub_administrative_area,this.locality=t.locality,this.dependentLocality=t.dependent_locality,this.dependentLocalityName=t.dependent_locality_name,this.doubleDependentLocality=t.double_dependent_locality,this.postalCode=t.postal_code,this.postalCodeExtra=t.postal_code_extra,this.countryIso3=t.country_iso_3}}}export{i as __require};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var a="7.
|
|
1
|
+
var a="7.3.0",e={version:a};export{e as default,a as version};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var t,
|
|
1
|
+
var t,s;function a(){if(s)return t;s=1;return t=class{constructor(t){if(this.inputIndex=t.input_index,this.candidateIndex=t.candidate_index,this.addressee=t.addressee,this.deliveryLine1=t.delivery_line_1,this.deliveryLine2=t.delivery_line_2,this.lastLine=t.last_line,this.deliveryPointBarcode=t.delivery_point_barcode,this.smartyKey=t.smarty_key,this.components={},void 0!==t.components&&(this.components.urbanization=t.components.urbanization,this.components.primaryNumber=t.components.primary_number,this.components.streetName=t.components.street_name,this.components.streetPredirection=t.components.street_predirection,this.components.streetPostdirection=t.components.street_postdirection,this.components.streetSuffix=t.components.street_suffix,this.components.secondaryNumber=t.components.secondary_number,this.components.secondaryDesignator=t.components.secondary_designator,this.components.extraSecondaryNumber=t.components.extra_secondary_number,this.components.extraSecondaryDesignator=t.components.extra_secondary_designator,this.components.pmbDesignator=t.components.pmb_designator,this.components.pmbNumber=t.components.pmb_number,this.components.cityName=t.components.city_name,this.components.defaultCityName=t.components.default_city_name,this.components.state=t.components.state_abbreviation,this.components.zipCode=t.components.zipcode,this.components.plus4Code=t.components.plus4_code,this.components.deliveryPoint=t.components.delivery_point,this.components.deliveryPointCheckDigit=t.components.delivery_point_check_digit),this.metadata={},void 0!==t.metadata){if(this.metadata.recordType=t.metadata.record_type,this.metadata.zipType=t.metadata.zip_type,this.metadata.countyFips=t.metadata.county_fips,this.metadata.countyName=t.metadata.county_name,this.metadata.carrierRoute=t.metadata.carrier_route,this.metadata.congressionalDistrict=t.metadata.congressional_district,this.metadata.buildingDefaultIndicator=t.metadata.building_default_indicator,this.metadata.rdi=t.metadata.rdi,this.metadata.elotSequence=t.metadata.elot_sequence,this.metadata.elotSort=t.metadata.elot_sort,this.metadata.latitude=t.metadata.latitude,this.metadata.longitude=t.metadata.longitude,1===t.metadata.coordinate_license)this.metadata.coordinateLicense="SmartyStreets Proprietary";else this.metadata.coordinateLicense="SmartyStreets";this.metadata.precision=t.metadata.precision,this.metadata.timeZone=t.metadata.time_zone,this.metadata.utcOffset=t.metadata.utc_offset,this.metadata.obeysDst=t.metadata.dst,this.metadata.isEwsMatch=t.metadata.ews_match}this.analysis={},void 0!==t.analysis&&(this.analysis.dpvMatchCode=t.analysis.dpv_match_code,this.analysis.dpvFootnotes=t.analysis.dpv_footnotes,this.analysis.cmra=t.analysis.dpv_cmra,this.analysis.vacant=t.analysis.dpv_vacant,this.analysis.noStat=t.analysis.dpv_no_stat,this.analysis.active=t.analysis.active,this.analysis.isEwsMatch=t.analysis.ews_match,this.analysis.footnotes=t.analysis.footnotes,this.analysis.lacsLinkCode=t.analysis.lacslink_code,this.analysis.lacsLinkIndicator=t.analysis.lacslink_indicator,this.analysis.isSuiteLinkMatch=t.analysis.suitelink_match,this.analysis.enhancedMatch=t.analysis.enhanced_match,this.analysis.components={},console.log("what are the analysis",t.analysis),void 0!==t.analysis.components&&(this.analysis.components.primaryNumber=t.analysis.components.primary_number,this.analysis.components.streetPredirection=t.analysis.components.street_predirection,this.analysis.components.streetName=t.analysis.components.street_name,this.analysis.components.streetPostdirection=t.analysis.components.street_postdirection,this.analysis.components.streetSuffix=t.analysis.components.street_suffix,this.analysis.components.secondaryNumber=t.analysis.components.secondary_number,this.analysis.components.secondaryDesignator=t.analysis.components.secondary_designator,this.analysis.components.extraSecondaryNumber=t.analysis.components.extra_secondary_number,this.analysis.components.extraSecondaryDesignator=t.analysis.components.extra_secondary_designator,this.analysis.components.cityName=t.analysis.components.city_name,this.analysis.components.stateAbbreviation=t.analysis.components.state_abbreviation,this.analysis.components.zipCode=t.analysis.components.zipcode,this.analysis.components.plus4Code=t.analysis.components.plus4_code,this.analysis.components.urbanization=t.analysis.components.urbanization))}}}export{a as __require};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var e,t;function
|
|
1
|
+
var e,t;function a(){return t?e:(t=1,e={usStreet:{street:"street",street2:"street2",secondary:"secondary",city:"city",state:"state",zipcode:"zipCode",lastline:"lastLine",addressee:"addressee",urbanization:"urbanization",match:"match",format:"format",candidates:"maxCandidates",county_source:"countySource"},usAutocompletePro:{search:"search",selected:"selected",max_results:"maxResults",include_only_cities:"includeOnlyCities",include_only_states:"includeOnlyStates",include_only_zip_codes:"includeOnlyZIPCodes",exclude_states:"excludeStates",prefer_cities:"preferCities",prefer_states:"preferStates",prefer_zip_codes:"preferZIPCodes",prefer_ratio:"preferRatio",prefer_geolocation:"preferGeolocation",source:"source"},usZipcode:{city:"city",state:"state",zipcode:"zipCode"},internationalStreet:{country:"country",freeform:"freeform",address1:"address1",address2:"address2",address3:"address3",address4:"address4",organization:"organization",locality:"locality",administrative_area:"administrativeArea",postal_code:"postalCode",geocode:"geocode",language:"language"},internationalAddressAutocomplete:{search:"search",country:"country",max_results:"maxResults",include_only_administrative_area:"includeOnlyAdministrativeArea",include_only_locality:"includeOnlyLocality",include_only_postal_code:"includeOnlyPostalCode"},usReverseGeo:{latitude:"latitude",longitude:"longitude",source:"source"},usExtract:{html:"html",aggressive:"aggressive",addr_line_breaks:"addressesHaveLineBreaks",addr_per_line:"addressesPerLine"},usEnrichment:{include:"include",exclude:"exclude",dataset:"dataset",data_subset:"dataSubset"},internationalPostalCode:{input_id:"inputId",country:"country",locality:"locality",administrative_area:"administrativeArea",postal_code:"postalCode"}})}export{a as __require};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__require as t}from"../ClientBuilder.mjs";var e
|
|
1
|
+
import{__require as t}from"../ClientBuilder.mjs";var n,e;function r(){if(e)return n;e=1;const r=t();function i(t){return new r(t)}return n={usStreet:function(t){return i(t).buildUsStreetApiClient()},usAutocompletePro:function(t){return i(t).buildUsAutocompleteProClient()},usExtract:function(t){return i(t).buildUsExtractClient()},usZipcode:function(t){return i(t).buildUsZipcodeClient()},internationalStreet:function(t){return i(t).buildInternationalStreetClient()},usReverseGeo:function(t){return i(t).buildUsReverseGeoClient()},internationalAddressAutocomplete:function(t){return i(t).buildInternationalAddressAutocompleteClient()},usEnrichment:function(t){return i(t).buildUsEnrichmentClient()},internationalPostalCode:function(t){return i(t).buildInternationalPostalCodeClient()}}}export{r as __require};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"fileNames":["../node_modules/typescript/lib/lib.es6.d.ts","../node_modules/typescript/lib/lib.es5.d.ts","../node_modules/typescript/lib/lib.es2015.d.ts","../node_modules/typescript/lib/lib.es2016.d.ts","../node_modules/typescript/lib/lib.es2017.d.ts","../node_modules/typescript/lib/lib.es2018.d.ts","../node_modules/typescript/lib/lib.es2019.d.ts","../node_modules/typescript/lib/lib.es2020.d.ts","../node_modules/typescript/lib/lib.dom.d.ts","../node_modules/typescript/lib/lib.dom.iterable.d.ts","../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../node_modules/typescript/lib/lib.scripthost.d.ts","../node_modules/typescript/lib/lib.es2015.core.d.ts","../node_modules/typescript/lib/lib.es2015.collection.d.ts","../node_modules/typescript/lib/lib.es2015.generator.d.ts","../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../node_modules/typescript/lib/lib.es2015.promise.d.ts","../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../node_modules/typescript/lib/lib.es2016.intl.d.ts","../node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../node_modules/typescript/lib/lib.es2017.date.d.ts","../node_modules/typescript/lib/lib.es2017.object.d.ts","../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2017.string.d.ts","../node_modules/typescript/lib/lib.es2017.intl.d.ts","../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../node_modules/typescript/lib/lib.es2018.intl.d.ts","../node_modules/typescript/lib/lib.es2018.promise.d.ts","../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../node_modules/typescript/lib/lib.es2019.array.d.ts","../node_modules/typescript/lib/lib.es2019.object.d.ts","../node_modules/typescript/lib/lib.es2019.string.d.ts","../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../node_modules/typescript/lib/lib.es2019.intl.d.ts","../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../node_modules/typescript/lib/lib.es2020.date.d.ts","../node_modules/typescript/lib/lib.es2020.promise.d.ts","../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2020.string.d.ts","../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2020.intl.d.ts","../node_modules/typescript/lib/lib.es2020.number.d.ts","../node_modules/typescript/lib/lib.esnext.disposable.d.ts","../node_modules/typescript/lib/lib.esnext.float16.d.ts","../node_modules/typescript/lib/lib.decorators.d.ts","../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../node_modules/tslib/tslib.d.ts","../src/types.ts","../package.json","../src/agentsender.ts","../src/baseurlsender.ts","../src/errors.js","../src/batch.js","../node_modules/axios/index.d.ts","../src/response.js","../src/util/buildsmartyresponse.js","../src/httpsender.js","../src/sharedcredentials.ts","../src/signingsender.ts","../src/staticcredentials.ts","../src/customheadersender.ts","../src/statuscodesender.js","../src/licensesender.js","../src/customquerysender.ts","../src/retrysender.ts","../src/util/sleeper.ts","../src/us_street/candidate.js","../src/us_street/lookup.js","../src/request.js","../src/inputdata.js","../src/util/buildinputdata.js","../src/util/sendbatch.js","../src/util/apitosdkkeymap.js","../src/us_street/client.js","../src/us_zipcode/lookup.js","../src/us_zipcode/result.js","../src/us_zipcode/client.js","../src/us_autocomplete_pro/suggestion.js","../src/us_autocomplete_pro/client.js","../src/us_extract/address.js","../src/us_extract/result.js","../src/us_extract/client.js","../src/international_street/candidate.js","../src/international_street/client.js","../src/us_reverse_geo/result.js","../src/us_reverse_geo/response.js","../src/us_reverse_geo/client.js","../src/international_address_autocomplete/suggestion.js","../src/international_address_autocomplete/client.js","../src/us_enrichment/client.js","../src/international_postal_code/result.js","../src/international_postal_code/client.js","../src/clientbuilder.js","../src/international_address_autocomplete/lookup.js","../src/international_postal_code/lookup.js","../src/international_street/lookup.js","../src/us_autocomplete_pro/lookup.js","../src/us_enrichment/lookup.js","../src/us_enrichment/response.js","../src/us_extract/lookup.js","../src/us_reverse_geo/lookup.js","../src/util/buildclients.js","../node_modules/@types/mocha/index.d.ts","../node_modules/@types/deep-eql/index.d.ts","../node_modules/assertion-error/index.d.ts","../node_modules/@types/chai/index.d.ts","../node_modules/@types/node/compatibility/iterators.d.ts","../node_modules/@types/node/globals.typedarray.d.ts","../node_modules/@types/node/buffer.buffer.d.ts","../node_modules/@types/node/globals.d.ts","../node_modules/@types/node/web-globals/abortcontroller.d.ts","../node_modules/@types/node/web-globals/crypto.d.ts","../node_modules/@types/node/web-globals/domexception.d.ts","../node_modules/@types/node/web-globals/events.d.ts","../node_modules/undici-types/utility.d.ts","../node_modules/undici-types/header.d.ts","../node_modules/undici-types/readable.d.ts","../node_modules/undici-types/fetch.d.ts","../node_modules/undici-types/formdata.d.ts","../node_modules/undici-types/connector.d.ts","../node_modules/undici-types/client-stats.d.ts","../node_modules/undici-types/client.d.ts","../node_modules/undici-types/errors.d.ts","../node_modules/undici-types/dispatcher.d.ts","../node_modules/undici-types/global-dispatcher.d.ts","../node_modules/undici-types/global-origin.d.ts","../node_modules/undici-types/pool-stats.d.ts","../node_modules/undici-types/pool.d.ts","../node_modules/undici-types/handlers.d.ts","../node_modules/undici-types/balanced-pool.d.ts","../node_modules/undici-types/h2c-client.d.ts","../node_modules/undici-types/agent.d.ts","../node_modules/undici-types/mock-interceptor.d.ts","../node_modules/undici-types/mock-call-history.d.ts","../node_modules/undici-types/mock-agent.d.ts","../node_modules/undici-types/mock-client.d.ts","../node_modules/undici-types/mock-pool.d.ts","../node_modules/undici-types/snapshot-agent.d.ts","../node_modules/undici-types/mock-errors.d.ts","../node_modules/undici-types/proxy-agent.d.ts","../node_modules/undici-types/env-http-proxy-agent.d.ts","../node_modules/undici-types/retry-handler.d.ts","../node_modules/undici-types/retry-agent.d.ts","../node_modules/undici-types/api.d.ts","../node_modules/undici-types/cache-interceptor.d.ts","../node_modules/undici-types/interceptors.d.ts","../node_modules/undici-types/util.d.ts","../node_modules/undici-types/cookies.d.ts","../node_modules/undici-types/patch.d.ts","../node_modules/undici-types/websocket.d.ts","../node_modules/undici-types/eventsource.d.ts","../node_modules/undici-types/diagnostics-channel.d.ts","../node_modules/undici-types/content-type.d.ts","../node_modules/undici-types/cache.d.ts","../node_modules/undici-types/index.d.ts","../node_modules/@types/node/web-globals/fetch.d.ts","../node_modules/@types/node/web-globals/navigator.d.ts","../node_modules/@types/node/web-globals/storage.d.ts","../node_modules/@types/node/web-globals/streams.d.ts","../node_modules/@types/node/assert.d.ts","../node_modules/@types/node/assert/strict.d.ts","../node_modules/@types/node/async_hooks.d.ts","../node_modules/@types/node/buffer.d.ts","../node_modules/@types/node/child_process.d.ts","../node_modules/@types/node/cluster.d.ts","../node_modules/@types/node/console.d.ts","../node_modules/@types/node/constants.d.ts","../node_modules/@types/node/crypto.d.ts","../node_modules/@types/node/dgram.d.ts","../node_modules/@types/node/diagnostics_channel.d.ts","../node_modules/@types/node/dns.d.ts","../node_modules/@types/node/dns/promises.d.ts","../node_modules/@types/node/domain.d.ts","../node_modules/@types/node/events.d.ts","../node_modules/@types/node/fs.d.ts","../node_modules/@types/node/fs/promises.d.ts","../node_modules/@types/node/http.d.ts","../node_modules/@types/node/http2.d.ts","../node_modules/@types/node/https.d.ts","../node_modules/@types/node/inspector.d.ts","../node_modules/@types/node/inspector.generated.d.ts","../node_modules/@types/node/module.d.ts","../node_modules/@types/node/net.d.ts","../node_modules/@types/node/os.d.ts","../node_modules/@types/node/path.d.ts","../node_modules/@types/node/perf_hooks.d.ts","../node_modules/@types/node/process.d.ts","../node_modules/@types/node/punycode.d.ts","../node_modules/@types/node/querystring.d.ts","../node_modules/@types/node/readline.d.ts","../node_modules/@types/node/readline/promises.d.ts","../node_modules/@types/node/repl.d.ts","../node_modules/@types/node/sea.d.ts","../node_modules/@types/node/sqlite.d.ts","../node_modules/@types/node/stream.d.ts","../node_modules/@types/node/stream/promises.d.ts","../node_modules/@types/node/stream/consumers.d.ts","../node_modules/@types/node/stream/web.d.ts","../node_modules/@types/node/string_decoder.d.ts","../node_modules/@types/node/test.d.ts","../node_modules/@types/node/timers.d.ts","../node_modules/@types/node/timers/promises.d.ts","../node_modules/@types/node/tls.d.ts","../node_modules/@types/node/trace_events.d.ts","../node_modules/@types/node/tty.d.ts","../node_modules/@types/node/url.d.ts","../node_modules/@types/node/util.d.ts","../node_modules/@types/node/v8.d.ts","../node_modules/@types/node/vm.d.ts","../node_modules/@types/node/wasi.d.ts","../node_modules/@types/node/worker_threads.d.ts","../node_modules/@types/node/zlib.d.ts","../node_modules/@types/node/index.d.ts"],"fileIdsList":[[110,111,115,169,186,187],[115,169,186,187],[115,166,167,169,186,187],[115,168,169,186,187],[169,186,187],[115,169,174,186,187,204],[115,169,170,175,180,186,187,189,201,212],[115,169,170,171,180,186,187,189],[115,169,172,186,187,213],[115,169,173,174,181,186,187,190],[115,169,174,186,187,201,209],[115,169,175,177,180,186,187,189],[115,168,169,176,186,187],[115,169,177,178,186,187],[115,169,179,180,186,187],[115,168,169,180,186,187],[115,169,180,181,182,186,187,201,212],[115,169,180,181,182,186,187,196,201,204],[115,161,169,177,180,183,186,187,189,201,212],[115,169,180,181,183,184,186,187,189,201,209,212],[115,169,183,185,186,187,201,209,212],[113,114,115,116,117,118,119,120,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218],[115,169,180,186,187],[115,169,186,187,188,212],[115,169,177,180,186,187,189,201],[115,169,186,187,190],[115,169,186,187,191],[115,168,169,186,187,192],[115,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218],[115,169,186,187,194],[115,169,186,187,195],[115,169,180,186,187,196,197],[115,169,186,187,196,198,213,215],[115,169,181,186,187],[115,169,180,186,187,201,202,204],[115,169,186,187,203,204],[115,169,186,187,201,202],[115,169,186,187,204],[115,169,186,187,205],[115,166,169,186,187,201,206],[115,169,180,186,187,207,208],[115,169,186,187,207,208],[115,169,174,186,187,189,201,209],[115,169,186,187,210],[115,169,186,187,189,211],[115,169,183,186,187,195,212],[115,169,174,186,187,213],[115,169,186,187,201,214],[115,169,186,187,188,215],[115,169,186,187,216],[115,169,174,186,187],[115,161,169,186,187],[115,169,186,187,217],[115,161,169,180,182,186,187,192,201,204,212,214,215,217],[115,169,186,187,201,218],[115,127,130,133,134,169,186,187,212],[115,130,169,186,187,201,212],[115,130,134,169,186,187,212],[115,169,186,187,201],[115,124,169,186,187],[115,128,169,186,187],[115,126,127,130,169,186,187,212],[115,169,186,187,189,209],[115,169,186,187,219],[115,124,169,186,187,219],[115,126,130,169,186,187,189,212],[115,121,122,123,125,129,169,180,186,187,201,212],[115,130,138,146,169,186,187],[115,122,128,169,186,187],[115,130,155,156,169,186,187],[115,122,125,130,169,186,187,204,212,219],[115,130,169,186,187],[115,126,130,169,186,187,212],[115,121,169,186,187],[115,124,125,126,128,129,130,131,132,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,156,157,158,159,160,169,186,187],[115,130,148,151,169,177,186,187],[115,130,138,139,140,169,186,187],[115,128,130,139,141,169,186,187],[115,129,169,186,187],[115,122,124,130,169,186,187],[115,130,134,139,141,169,186,187],[115,134,169,186,187],[115,128,130,133,169,186,187,212],[115,122,126,130,138,169,186,187],[115,130,148,169,186,187],[115,141,169,186,187],[115,124,130,155,169,186,187,204,217,219],[53,115,169,186,187],[53,54,55,115,169,186,187],[53,54,115,169,186,187],[53,58,115,169,186,187],[53,56,57,58,63,64,65,66,67,68,69,70,71,72,80,83,85,88,90,93,95,96,98,115,169,186,187],[53,60,62,115,169,186,187],[53,58,75,77,79,94,115,169,186,187],[53,58,75,77,79,97,115,169,186,187],[53,58,75,77,79,89,115,169,186,187],[53,54,58,64,115,169,186,187],[53,58,75,77,79,84,115,169,186,187],[53,58,75,77,79,115,169,186,187],[53,73,115,169,186,187],[53,58,75,77,79,87,115,169,186,187],[53,86,115,169,186,187],[53,58,75,77,79,92,115,169,186,187],[53,92,115,169,186,187],[53,91,115,169,186,187],[53,58,59,73,74,78,79,115,169,186,187],[53,58,59,78,79,81,82,115,169,186,187],[53,99,115,169,186,187],[53,76,115,169,186,187],[53,61,115,169,186,187],[53,58,75,77,115,169,186,187]],"fileInfos":[{"version":"df039a67536fe2acc3affdcbfb645892f842db36fe599e8e652e2f0c640a90d1","impliedFormat":1},{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"080941d9f9ff9307f7e27a83bcd888b7c8270716c39af943532438932ec1d0b9","affectsGlobalScope":true,"impliedFormat":1},{"version":"2e80ee7a49e8ac312cc11b77f1475804bee36b3b2bc896bead8b6e1266befb43","affectsGlobalScope":true,"impliedFormat":1},{"version":"80e18897e5884b6723488d4f5652167e7bb5024f946743134ecc4aa4ee731f89","affectsGlobalScope":true,"impliedFormat":1},{"version":"cd034f499c6cdca722b60c04b5b1b78e058487a7085a8e0d6fb50809947ee573","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"51ad4c928303041605b4d7ae32e0c1ee387d43a24cd6f1ebf4a2699e1076d4fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"196cb558a13d4533a5163286f30b0509ce0210e4b316c56c38d4c0fd2fb38405","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"a6a5253138c5432c68a1510c70fe78a644fe2e632111ba778e1978010d6edfec","impliedFormat":1},"dfbf5736ef378b9c0679bab182bc6f0ecc7bb162be49f55ef3ec7235cc82cb34",{"version":"42a23488af9abe2688b22ff683954ccde3ff84b9a6f54ff9270e66c27b86b2b1","signature":"bbefa94a1522dc08563b20bf0b0a2901c482205c312114bc5a9fd3e85ebbf590"},"0dbebe6ddef9046bc4543348a77c6547471dbf93c343e1da2415305133bce17c","e96fcdf208e979f4cee5465ef50d9765dab13253146cec15796116c1e08130cd","e011a0914d7dfd3ff19ce959c75f4b002aa1b8ed74db4361f253baf8d13679c1","dff1969e801736502e87cda8faff2c2bbb871e003d148fcb7a9509197a8c925b",{"version":"1c9800fbae1b443d77672e6d3e715df7280479b7c41f08cb790e750f01b50d90","impliedFormat":99},"72d893da282c73241199c6264c3546e373a40f4dbcbcdbe8971abc097bdc9b2f","467de03e0da02b95e9c0bd3c79ea1a3b341e83aafcde7db82e5c83eec90092df","c9bf61ae7312610065d9284e9af76c491d476135aa0baffcdd32ab34672f17b2","ef573c8165250bc4e20b67f8d278f15b0fda94ff6277c417e8aadbebc809c384","00c00ff0ebbb4d0ea37b161a1203b41a7b1c30e7a123b5113f7236ad6a979518","81a8367dcff42e1ecd9caab578d5a0d2b85bf4d53c4f41bad612326c6256781f","073cf69072c633c2d1f6f757dec3bca7ed15b47aa9a74f5ce4ee5b22868e516b","5377a8ff13ccbcfea358a2fe035af333e9cfbf3a712c7b27e4692e333a478d54","9ceb3e88306b4d01f8c6aa394ba6cb3380cd106e66b7cba2055d709b44f7be47",{"version":"253fc666a757c7bf3365b481c36f6b4babc7c1b75c5722410373fdfae2b953d8","signature":"7c1907c86c92ed716299ddf37148e579d267a8bbba40f378bba6d0a7723476ed"},"7e96299056a76ffdfbc3d447da2716261e82ed7ac1ec3b19afdefc7ff06aba72","e963cff19371a56d7de04df76d6239769b22fb8fd49359b1fa7ba89a747013e6",{"version":"6b635709dd4b8446072ee4f8bac70c912fed77eeb14c97726148dbfe58ff5344","signature":"b0946810a1bba60a511f2ea65b6ae65b739fb6e30bc2f9bcfcd28842995e3bc0"},"13b8a287573e0347ac0fe08d89dd2924e6c91cfafedf44e7ab2191ef73194323","64adf65e2a1e4024006734863b424ee69b7876a4a18bdf59751555a80d5bfd04","30dfc4e0529c5601514605a8ce86150046a3fd64e0f9d4652883a6098e384ffd","51d9fc944b39f5d60770ac3dda76c36801c66851e769f627bc328ce51abded0c","ad5fb83b5fc614104c3722f74c5d7b97ebeaa63e220e68676bdaaa46ed69d55c","7a0f922e9581bf920c2b9035580eb34ef629d40966731028b8de8fd5a10721cf","4a5a3bebd1cd88e2d654413cfc1e681185e0e8d03a09df1e08af366492133a35","325aa67a2ed279e30f441be991c284d89335959e0b9a0a239d46c65f2f6653d6","ca6059d04414efb90979da8ba491230a3d233ead4f569e1f976b6bf8cb2a0e8e","d5655e044b2f6098a5b3c46efb132da9f018ecd2f6408e3d21aa19f23d0265d6","ff67e69ffd94330f7de1f904ebdacc44e026d68d9785e5fc9b1d65269b01f75c","beb39b6180d993eae0247749f2256f55912eb45b3e9806cf37906e64750bf827","f5ff547c4947b072763f4626a4a337a35cb1d25a7e3ab2b63e135d40d7ab127a","5f97832e1cbb44b828c77b48c215e665cfd03415e6d32eac65781d13ff29a37d","b68e3f633df70a18b859db61b0ccac4ad9017b410683054430a23208fc6657f1","7d43345e35136e72cfdfd59502176358cc5f928dda042dfa819ed484bb5f3846","cc912bfcbe09458e4ff344fce7b9f4a567dfc29b717c48e8fa8cc80da5f54069","ecadca9c7f2102fd6d8255f5c1ac837f0453b156fb8dee3492e516b8249fc573","0810fa7611dfdaa7e02fff7fb898a1bb8345f1c7438cb9f3ca95de842e35448f","11fbd7df815b0e622a810dd0c94b651bc0b303da940076b787bf66cab5f0889e","8abecb04fc019a2f778f03344b1129acea6e1c5b5965c05b9c17f1ec18e84752","8e826d6151b84f52708179cfbbf9e6bf49096245c671e90eafb24261719464d9","7cb20f8e762edb7429c9276c586142ecbbfa9ddc7acca2d266c1725666af51e8","fa49cb5157e3a2f27dbd0b14e6366e49305aef091234705d33a0ff95990422a6","03ca7e9e9a6caf7a09940cf169c74fb56b7b6db2979a99aa2c9769e76d0e52f0","b09330dc9fd083e3228aa86e4fd0939bf5b93f40655bd812773ed512bc17487a","97aed370493c6a60675cacc685a86be0183e6d3585ab38b0bcbe0917594b45f3","7c84a1c3798540eed6d089fd52b9e8141eac4b9512e27a42634f380e081730fe","b949df4dea8ce8259478498fdab9ceaaddecdf7defc99a7bb392760e2611882f","61b1e6b22f853cf59e637af309fba673f6eea891718bf52b557c0e17f4539670","18f2db770ad48ea8eb66747ed37d60729d6dfe94de27ff2686bcc071bce7ddf5","284c28dffdaa24691725571b36f8bd48eaa5362884d019b854009f8bf5639e17","05d62ad932bbc48c49c98c2132d1313eaa2930e36e57e422e9d5c8341dfa068e","0a2b0ec91e2a0d6a4ecea33ae278291c1770e07e4ce7ad3ea0e5e31fe258de5f","301f9bccf1f3884883f6699f6f980d32b0ca5dbbf9edac3840d8533c626c89d0",{"version":"29f72ec1289ae3aeda78bf14b38086d3d803262ac13904b400422941a26a3636","affectsGlobalScope":true,"impliedFormat":1},{"version":"427fe2004642504828c1476d0af4270e6ad4db6de78c0b5da3e4c5ca95052a99","impliedFormat":1},{"version":"2eeffcee5c1661ddca53353929558037b8cf305ffb86a803512982f99bcab50d","impliedFormat":99},{"version":"9afb4cb864d297e4092a79ee2871b5d3143ea14153f62ef0bb04ede25f432030","affectsGlobalScope":true,"impliedFormat":99},{"version":"d153a11543fd884b596587ccd97aebbeed950b26933ee000f94009f1ab142848","affectsGlobalScope":true,"impliedFormat":1},{"version":"378281aa35786c27d5811af7e6bcaa492eebd0c7013d48137c35bbc69a2b9751","affectsGlobalScope":true,"impliedFormat":1},{"version":"3af97acf03cc97de58a3a4bc91f8f616408099bc4233f6d0852e72a8ffb91ac9","affectsGlobalScope":true,"impliedFormat":1},{"version":"1b2dd1cbeb0cc6ae20795958ba5950395ebb2849b7c8326853dd15530c77ab0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"1db0b7dca579049ca4193d034d835f6bfe73096c73663e5ef9a0b5779939f3d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"387a023d363f755eb63450a66c28b14cdd7bc30a104565e2dbf0a8988bb4a56c","affectsGlobalScope":true,"impliedFormat":1},{"version":"9798340ffb0d067d69b1ae5b32faa17ab31b82466a3fc00d8f2f2df0c8554aaa","affectsGlobalScope":true,"impliedFormat":1},{"version":"f26b11d8d8e4b8028f1c7d618b22274c892e4b0ef5b3678a8ccbad85419aef43","affectsGlobalScope":true,"impliedFormat":1},{"version":"cdcf9ea426ad970f96ac930cd176d5c69c6c24eebd9fc580e1572d6c6a88f62c","impliedFormat":1},{"version":"23cd712e2ce083d68afe69224587438e5914b457b8acf87073c22494d706a3d0","impliedFormat":1},{"version":"487b694c3de27ddf4ad107d4007ad304d29effccf9800c8ae23c2093638d906a","impliedFormat":1},{"version":"3a80bc85f38526ca3b08007ee80712e7bb0601df178b23fbf0bf87036fce40ce","impliedFormat":1},{"version":"ccf4552357ce3c159ef75f0f0114e80401702228f1898bdc9402214c9499e8c0","impliedFormat":1},{"version":"c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","impliedFormat":1},{"version":"68834d631c8838c715f225509cfc3927913b9cc7a4870460b5b60c8dbdb99baf","impliedFormat":1},{"version":"2931540c47ee0ff8a62860e61782eb17b155615db61e36986e54645ec67f67c2","impliedFormat":1},{"version":"ccab02f3920fc75c01174c47fcf67882a11daf16baf9e81701d0a94636e94556","impliedFormat":1},{"version":"f6faf5f74e4c4cc309a6c6a6c4da02dbb840be5d3e92905a23dcd7b2b0bd1986","impliedFormat":1},{"version":"ea6bc8de8b59f90a7a3960005fd01988f98fd0784e14bc6922dde2e93305ec7d","impliedFormat":1},{"version":"36107995674b29284a115e21a0618c4c2751b32a8766dd4cb3ba740308b16d59","impliedFormat":1},{"version":"914a0ae30d96d71915fc519ccb4efbf2b62c0ddfb3a3fc6129151076bc01dc60","impliedFormat":1},{"version":"33e981bf6376e939f99bd7f89abec757c64897d33c005036b9a10d9587d80187","impliedFormat":1},{"version":"7fd1b31fd35876b0aa650811c25ec2c97a3c6387e5473eb18004bed86cdd76b6","impliedFormat":1},{"version":"b41767d372275c154c7ea6c9d5449d9a741b8ce080f640155cc88ba1763e35b3","impliedFormat":1},{"version":"3bacf516d686d08682751a3bd2519ea3b8041a164bfb4f1d35728993e70a2426","impliedFormat":1},{"version":"7fb266686238369442bd1719bc0d7edd0199da4fb8540354e1ff7f16669b4323","impliedFormat":1},{"version":"0a60a292b89ca7218b8616f78e5bbd1c96b87e048849469cccb4355e98af959a","impliedFormat":1},{"version":"0b6e25234b4eec6ed96ab138d96eb70b135690d7dd01f3dd8a8ab291c35a683a","impliedFormat":1},{"version":"9666f2f84b985b62400d2e5ab0adae9ff44de9b2a34803c2c5bd3c8325b17dc0","impliedFormat":1},{"version":"40cd35c95e9cf22cfa5bd84e96408b6fcbca55295f4ff822390abb11afbc3dca","impliedFormat":1},{"version":"b1616b8959bf557feb16369c6124a97a0e74ed6f49d1df73bb4b9ddf68acf3f3","impliedFormat":1},{"version":"5b03a034c72146b61573aab280f295b015b9168470f2df05f6080a2122f9b4df","impliedFormat":1},{"version":"40b463c6766ca1b689bfcc46d26b5e295954f32ad43e37ee6953c0a677e4ae2b","impliedFormat":1},{"version":"249b9cab7f5d628b71308c7d9bb0a808b50b091e640ba3ed6e2d0516f4a8d91d","impliedFormat":1},{"version":"80aae6afc67faa5ac0b32b5b8bc8cc9f7fa299cff15cf09cc2e11fd28c6ae29e","impliedFormat":1},{"version":"f473cd2288991ff3221165dcf73cd5d24da30391f87e85b3dd4d0450c787a391","impliedFormat":1},{"version":"499e5b055a5aba1e1998f7311a6c441a369831c70905cc565ceac93c28083d53","impliedFormat":1},{"version":"54c3e2371e3d016469ad959697fd257e5621e16296fa67082c2575d0bf8eced0","impliedFormat":1},{"version":"beb8233b2c220cfa0feea31fbe9218d89fa02faa81ef744be8dce5acb89bb1fd","impliedFormat":1},{"version":"c183b931b68ad184bc8e8372bf663f3d33304772fb482f29fb91b3c391031f3e","impliedFormat":1},{"version":"5d0375ca7310efb77e3ef18d068d53784faf62705e0ad04569597ae0e755c401","impliedFormat":1},{"version":"59af37caec41ecf7b2e76059c9672a49e682c1a2aa6f9d7dc78878f53aa284d6","impliedFormat":1},{"version":"addf417b9eb3f938fddf8d81e96393a165e4be0d4a8b6402292f9c634b1cb00d","impliedFormat":1},{"version":"48cc3ec153b50985fb95153258a710782b25975b10dd4ac8a4f3920632d10790","impliedFormat":1},{"version":"adf27937dba6af9f08a68c5b1d3fce0ca7d4b960c57e6d6c844e7d1a8e53adae","impliedFormat":1},{"version":"e1528ca65ac90f6fa0e4a247eb656b4263c470bb22d9033e466463e13395e599","impliedFormat":1},{"version":"2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","impliedFormat":1},{"version":"c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","impliedFormat":1},{"version":"866078923a56d026e39243b4392e282c1c63159723996fa89243140e1388a98d","impliedFormat":1},{"version":"830171b27c5fdf9bcbe4cf7d428fcf3ae2c67780fb7fbdccdf70d1623d938bc4","affectsGlobalScope":true,"impliedFormat":1},{"version":"1cf059eaf468efcc649f8cf6075d3cb98e9a35a0fe9c44419ec3d2f5428d7123","affectsGlobalScope":true,"impliedFormat":1},{"version":"e7721c4f69f93c91360c26a0a84ee885997d748237ef78ef665b153e622b36c1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d97fb21da858fb18b8ae72c314e9743fd52f73ebe2764e12af1db32fc03f853f","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ea15fd99b2e34cb25fe8346c955000bb70c8b423ae4377a972ef46bfb37f595","impliedFormat":1},{"version":"7cf69dd5502c41644c9e5106210b5da7144800670cbe861f66726fa209e231c4","impliedFormat":1},{"version":"72c1f5e0a28e473026074817561d1bc9647909cf253c8d56c41d1df8d95b85f7","impliedFormat":1},{"version":"f9b4137a0d285bd77dba2e6e895530112264310ae47e07bf311feae428fb8b61","affectsGlobalScope":true,"impliedFormat":1},{"version":"8b21e13ed07d0df176ae31d6b7f01f7b17d66dbeb489c0d31d00de2ca14883da","impliedFormat":1},{"version":"51aecd2df90a3cffea1eb4696b33b2d78594ea2aa2138e6b9471ec4841c6c2ee","impliedFormat":1},{"version":"2c91d8366ff2506296191c26fd97cc1990bab3ee22576275d28b654a21261a44","affectsGlobalScope":true,"impliedFormat":1},{"version":"5524481e56c48ff486f42926778c0a3cce1cc85dc46683b92b1271865bcf015a","impliedFormat":1},{"version":"f929f0b6b3421a2d34344b0f421f45aeb2c84ad365ebf29d04312023b3accc58","impliedFormat":1},{"version":"db9ada976f9e52e13f7ae8b9a320f4b67b87685938c5879187d8864b2fbe97f3","impliedFormat":1},{"version":"9f39e70a354d0fba29ac3cdf6eca00b7f9e96f64b2b2780c432e8ea27f133743","impliedFormat":1},{"version":"0dace96cc0f7bc6d0ee2044921bdf19fe42d16284dbcc8ae200800d1c9579335","impliedFormat":1},{"version":"a2e2bbde231b65c53c764c12313897ffdfb6c49183dd31823ee2405f2f7b5378","impliedFormat":1},{"version":"ad1cc0ed328f3f708771272021be61ab146b32ecf2b78f3224959ff1e2cd2a5c","impliedFormat":1},{"version":"c64e1888baaa3253ca4405b455e4bf44f76357868a1bd0a52998ade9a092ad78","affectsGlobalScope":true,"impliedFormat":1},{"version":"d8cf132379078d0974a59df26069689a2d33c7dc826b5be56231841cb2f32e58","impliedFormat":1},{"version":"fbf413fc617837453c878a9174a1f1b383616857a3f8366bc41cf30df4aea7d5","impliedFormat":1},{"version":"148c73ec11318850f571172ceae3e55ce479d850fe18ec8eae0abd99d9f6c319","impliedFormat":1},{"version":"230bdc111d7578276e4a3bb9d075d85c78c6b68f428c3a9935e2eaa10f4ae1f5","impliedFormat":1},{"version":"e8aabbee5e7b9101b03bb4222607d57f38859b8115a8050a4eb91b4ee43a3a73","impliedFormat":1},{"version":"bbf42f98a5819f4f06e18c8b669a994afe9a17fe520ae3454a195e6eabf7700d","impliedFormat":1},{"version":"c0bb1b65757c72bbf8ddf7eaa532223bacf58041ff16c883e76f45506596e925","impliedFormat":1},{"version":"c8b85f7aed29f8f52b813f800611406b0bfe5cf3224d20a4bdda7c7f73ce368e","affectsGlobalScope":true,"impliedFormat":1},{"version":"145dcf25fd4967c610c53d93d7bc4dce8fbb1b6dd7935362472d4ae49363c7ba","impliedFormat":1},{"version":"ff65b8a8bd380c6d129becc35de02f7c29ad7ce03300331ca91311fb4044d1a9","impliedFormat":1},{"version":"76957a6d92b94b9e2852cf527fea32ad2dc0ef50f67fe2b14bd027c9ceef2d86","impliedFormat":1},{"version":"9043daec15206650fa119bad6b8d70136021ea7d52673a71f79a87a42ee38d44","affectsGlobalScope":true,"impliedFormat":1},{"version":"8ba0db41ed773e152647a78e9053e36a747891db41d6a51c7030a0d0f01babb2","affectsGlobalScope":true,"impliedFormat":1},{"version":"a58a15da4c5ba3df60c910a043281256fa52d36a0fcdef9b9100c646282e88dd","impliedFormat":1},{"version":"b36beffbf8acdc3ebc58c8bb4b75574b31a2169869c70fc03f82895b93950a12","impliedFormat":1},{"version":"de263f0089aefbfd73c89562fb7254a7468b1f33b61839aafc3f035d60766cb4","impliedFormat":1},{"version":"77fbe5eecb6fac4b6242bbf6eebfc43e98ce5ccba8fa44e0ef6a95c945ff4d98","impliedFormat":1},{"version":"8c81fd4a110490c43d7c578e8c6f69b3af01717189196899a6a44f93daa57a3a","impliedFormat":1},{"version":"5fb39858b2459864b139950a09adae4f38dad87c25bf572ce414f10e4bd7baab","impliedFormat":1},{"version":"28e3631087ecef78fef8efdb21d4d2509f776ef6f0d660ff605b5ee6a22ebb8c","impliedFormat":1},{"version":"b33b74b97952d9bf4fbd2951dcfbb5136656ddb310ce1c84518aaa77dbca9992","impliedFormat":1},{"version":"37ba7b45141a45ce6e80e66f2a96c8a5ab1bcef0fc2d0f56bb58df96ec67e972","impliedFormat":1},{"version":"45650f47bfb376c8a8ed39d4bcda5902ab899a3150029684ee4c10676d9fbaee","impliedFormat":1},{"version":"6b306cd4282bbb54d4a6bb23cfb7a271160983dfc38c67b5a132504cfcc34896","affectsGlobalScope":true,"impliedFormat":1},{"version":"c119835edf36415081dfd9ed15fc0cd37aaa28d232be029ad073f15f3d88c323","impliedFormat":1},{"version":"450172a56b944c2d83f45cc11c9a388ea967cd301a21202aa0a23c34c7506a18","impliedFormat":1},{"version":"9705cd157ffbb91c5cab48bdd2de5a437a372e63f870f8a8472e72ff634d47c1","affectsGlobalScope":true,"impliedFormat":1},{"version":"ae86f30d5d10e4f75ce8dcb6e1bd3a12ecec3d071a21e8f462c5c85c678efb41","impliedFormat":1},{"version":"72f8936aebf0c4a1adab767b97d34ba7d3a308afcf76de4417b9c16fb92ed548","impliedFormat":1},{"version":"e03460fe72b259f6d25ad029f085e4bedc3f90477da4401d8fbc1efa9793230e","impliedFormat":1},{"version":"4286a3a6619514fca656089aee160bb6f2e77f4dd53dc5a96b26a0b4fc778055","impliedFormat":1},{"version":"04aa8fb012abeecf5666b013c59ba01dca5aa0c28173cb5385bc88d4adeb8d64","affectsGlobalScope":true,"impliedFormat":1},{"version":"3585d6891e9ea18e07d0755a6d90d71331558ba5dc5561933553209f886db106","affectsGlobalScope":true,"impliedFormat":1},{"version":"86be71cbb0593468644932a6eb96d527cfa600cecfc0b698af5f52e51804451d","impliedFormat":1},{"version":"84dd6b0fd2505135692935599d6606f50a421389e8d4535194bcded307ee5cf2","impliedFormat":1},{"version":"0d5b085f36e6dc55bc6332ecb9c733be3a534958c238fb8d8d18d4a2b6f2a15a","impliedFormat":1},{"version":"db19ea066fdc5f97df3f769e582ae3000380ab7942e266654bdb1a4650d19eaf","affectsGlobalScope":true,"impliedFormat":1},{"version":"2a034894bf28c220a331c7a0229d33564803abe2ac1b9a5feee91b6b9b6e88ea","impliedFormat":1},{"version":"d7e9ab1b0996639047c61c1e62f85c620e4382206b3abb430d9a21fb7bc23c77","impliedFormat":1}],"root":[54,[56,59],[61,108]],"options":{"allowJs":true,"allowUnreachableCode":false,"allowUnusedLabels":false,"alwaysStrict":true,"declaration":true,"emitDeclarationOnly":false,"esModuleInterop":true,"exactOptionalPropertyTypes":true,"importHelpers":true,"inlineSources":true,"jsx":1,"module":99,"noEmitHelpers":true,"noFallthroughCasesInSwitch":true,"noImplicitAny":true,"noImplicitOverride":true,"noImplicitReturns":true,"noImplicitThis":true,"noPropertyAccessFromIndexSignature":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./types","rootDir":"../src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":2},"referencedMap":[[112,1],[110,2],[109,2],[166,3],[167,3],[168,4],[115,5],[169,6],[170,7],[171,8],[113,2],[172,9],[173,10],[174,11],[175,12],[176,13],[177,14],[178,14],[179,15],[180,16],[181,17],[182,18],[116,2],[114,2],[183,19],[184,20],[185,21],[219,22],[186,23],[187,2],[188,24],[189,25],[190,26],[191,27],[192,28],[193,29],[194,30],[195,31],[196,32],[197,32],[198,33],[199,2],[200,34],[201,35],[203,36],[202,37],[204,38],[205,39],[206,40],[207,41],[208,42],[209,43],[210,44],[211,45],[212,46],[213,47],[214,48],[215,49],[216,50],[117,2],[118,51],[119,2],[120,2],[162,52],[163,53],[164,2],[165,38],[217,54],[218,55],[111,2],[60,2],[53,2],[51,2],[52,2],[9,2],[10,2],[14,2],[13,2],[3,2],[15,2],[16,2],[17,2],[18,2],[19,2],[20,2],[21,2],[22,2],[4,2],[23,2],[24,2],[5,2],[25,2],[29,2],[26,2],[27,2],[28,2],[30,2],[31,2],[32,2],[6,2],[33,2],[34,2],[35,2],[36,2],[7,2],[40,2],[37,2],[38,2],[39,2],[41,2],[8,2],[42,2],[47,2],[48,2],[43,2],[44,2],[45,2],[46,2],[2,2],[1,2],[49,2],[50,2],[12,2],[11,2],[138,56],[150,57],[136,58],[151,59],[160,60],[127,61],[128,62],[126,63],[159,64],[154,65],[158,66],[130,67],[147,68],[129,69],[157,70],[124,71],[125,65],[131,72],[132,2],[137,73],[135,72],[122,74],[161,75],[152,76],[141,77],[140,72],[142,78],[145,79],[139,80],[143,81],[155,64],[133,82],[134,83],[146,84],[123,59],[149,85],[148,72],[144,86],[153,2],[121,2],[156,87],[55,88],[56,89],[57,90],[59,91],[99,92],[67,90],[70,90],[58,88],[63,93],[76,88],[95,94],[100,88],[94,88],[98,95],[101,88],[97,88],[89,88],[90,96],[102,91],[69,88],[75,88],[61,88],[71,90],[64,90],[65,97],[66,90],[68,91],[54,88],[85,98],[103,88],[84,88],[96,99],[104,88],[105,88],[86,100],[88,101],[106,88],[87,102],[93,103],[107,104],[92,105],[91,88],[73,88],[80,106],[74,88],[83,107],[81,88],[82,88],[79,88],[108,108],[77,109],[62,110],[78,111],[72,88]],"version":"5.9.3"}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
export = ClientBuilder;
|
|
2
|
+
/**
|
|
3
|
+
* The ClientBuilder class helps you build a client object for one of the supported Smarty APIs.<br>
|
|
4
|
+
* You can use ClientBuilder's methods to customize settings like maximum retries or timeout duration. These methods<br>
|
|
5
|
+
* are chainable, so you can usually get set up with one line of code.
|
|
6
|
+
*/
|
|
7
|
+
declare class ClientBuilder {
|
|
8
|
+
constructor(signer: any);
|
|
9
|
+
signer: any;
|
|
10
|
+
httpSender: any;
|
|
11
|
+
maxRetries: number;
|
|
12
|
+
maxTimeout: number;
|
|
13
|
+
baseUrl: any;
|
|
14
|
+
proxy: {
|
|
15
|
+
host: any;
|
|
16
|
+
port: any;
|
|
17
|
+
protocol: any;
|
|
18
|
+
} | undefined;
|
|
19
|
+
customHeaders: {};
|
|
20
|
+
debug: boolean | undefined;
|
|
21
|
+
licenses: any[];
|
|
22
|
+
customQueries: Map<any, any>;
|
|
23
|
+
/**
|
|
24
|
+
* @param retries The maximum number of times to retry sending the request to the API. (Default is 5)
|
|
25
|
+
* @return ClientBuilder <b>this</b> to accommodate method chaining.
|
|
26
|
+
*/
|
|
27
|
+
withMaxRetries(retries: any): this;
|
|
28
|
+
/**
|
|
29
|
+
* @param timeout The maximum time (in milliseconds) to wait for a connection, and also to wait for <br>
|
|
30
|
+
* the response to be read. (Default is 10000)
|
|
31
|
+
* @return ClientBuilder <b>this</b> to accommodate method chaining.
|
|
32
|
+
*/
|
|
33
|
+
withMaxTimeout(timeout: any): this;
|
|
34
|
+
/**
|
|
35
|
+
* @param sender Default is a series of nested senders. See <b>buildSender()</b>.
|
|
36
|
+
* @return ClientBuilder <b>this</b> to accommodate method chaining.
|
|
37
|
+
*/
|
|
38
|
+
withSender(sender: any): this;
|
|
39
|
+
/**
|
|
40
|
+
* This may be useful when using a local installation of the Smarty APIs.
|
|
41
|
+
* @param url Defaults to the URL for the API corresponding to the <b>Client</b> object being built.
|
|
42
|
+
* @return ClientBuilder <b>this</b> to accommodate method chaining.
|
|
43
|
+
*/
|
|
44
|
+
withBaseUrl(url: any): this;
|
|
45
|
+
/**
|
|
46
|
+
* Use this to specify a proxy through which to send all lookups.
|
|
47
|
+
* @param host The host of the proxy server (do not include the port).
|
|
48
|
+
* @param port The port on the proxy server to which you wish to connect.
|
|
49
|
+
* @param protocol The protocol on the proxy server to which you wish to connect. If the proxy server uses HTTPS, then you must set the protocol to 'https'.
|
|
50
|
+
* @param username The username to login to the proxy.
|
|
51
|
+
* @param password The password to login to the proxy.
|
|
52
|
+
* @return ClientBuilder <b>this</b> to accommodate method chaining.
|
|
53
|
+
*/
|
|
54
|
+
withProxy(host: any, port: any, protocol: any, username: any, password: any): this;
|
|
55
|
+
/**
|
|
56
|
+
* Use this to add any additional headers you need.
|
|
57
|
+
* @param customHeaders A String to Object <b>Map</b> of header name/value pairs.
|
|
58
|
+
* @return ClientBuilder <b>this</b> to accommodate method chaining.
|
|
59
|
+
*/
|
|
60
|
+
withCustomHeaders(customHeaders: any): this;
|
|
61
|
+
/**
|
|
62
|
+
* Enables debug mode, which will print information about the HTTP request and response to console.log
|
|
63
|
+
* @return ClientBuilder <b>this</b> to accommodate method chaining.
|
|
64
|
+
*/
|
|
65
|
+
withDebug(): this;
|
|
66
|
+
/**
|
|
67
|
+
* Allows the caller to specify the subscription license (aka "track") they wish to use.
|
|
68
|
+
* @param licenses A String Array of licenses.
|
|
69
|
+
* @returns ClientBuilder <b>this</b> to accommodate method chaining.
|
|
70
|
+
*/
|
|
71
|
+
withLicenses(licenses: any): this;
|
|
72
|
+
/**
|
|
73
|
+
* Allows the caller to specify key and value pair that is added to the request
|
|
74
|
+
* @param {string} key - The query parameter key
|
|
75
|
+
* @param {string} value - The query parameter value
|
|
76
|
+
* @return ClientBuilder <b>this</b> to accommodate method chaining.
|
|
77
|
+
*/
|
|
78
|
+
withCustomQuery(key: string, value: string): this;
|
|
79
|
+
/**
|
|
80
|
+
* Allows the caller to specify key and value pair and appends the value associated with the key, seperated by a comma.
|
|
81
|
+
* @param {string} key - The query parameter key
|
|
82
|
+
* @param {string} value - The query parameter value
|
|
83
|
+
* @return ClientBuilder <b>this</b> to accommodate method chaining.
|
|
84
|
+
*/
|
|
85
|
+
withCustomCommaSeperatedQuery(key: string, value: string): this;
|
|
86
|
+
/**
|
|
87
|
+
* Adds to the request query to use the component analysis feature.
|
|
88
|
+
* @return ClientBuilder <b>this</b> to accommodate method chaining.
|
|
89
|
+
*/
|
|
90
|
+
withFeatureComponentAnalysis(): this;
|
|
91
|
+
buildSender(): any;
|
|
92
|
+
buildClient(baseUrl: any, Client: any): any;
|
|
93
|
+
buildUsStreetApiClient(): any;
|
|
94
|
+
buildUsZipcodeClient(): any;
|
|
95
|
+
buildInternationalPostalCodeClient(): any;
|
|
96
|
+
buildUsAutocompleteProClient(): any;
|
|
97
|
+
buildUsExtractClient(): any;
|
|
98
|
+
buildInternationalStreetClient(): any;
|
|
99
|
+
buildUsReverseGeoClient(): any;
|
|
100
|
+
buildInternationalAddressAutocompleteClient(): any;
|
|
101
|
+
buildUsEnrichmentClient(): any;
|
|
102
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
declare function buildUsStreetApiClient(credentials: any): any;
|
|
2
|
+
declare function buildUsAutocompleteProApiClient(credentials: any): any;
|
|
3
|
+
declare function buildUsExtractApiClient(credentials: any): any;
|
|
4
|
+
declare function buildUsZipcodeApiClient(credentials: any): any;
|
|
5
|
+
declare function buildInternationalStreetApiClient(credentials: any): any;
|
|
6
|
+
declare function buildUsReverseGeoApiClient(credentials: any): any;
|
|
7
|
+
declare function buildInternationalAddressAutocompleteApiClient(credentials: any): any;
|
|
8
|
+
declare function buildUsEnrichmentApiClient(credentials: any): any;
|
|
9
|
+
declare function buildInternationalPostalCodeApiClient(credentials: any): any;
|
|
10
|
+
export { buildUsStreetApiClient as usStreet, buildUsAutocompleteProApiClient as usAutocompletePro, buildUsExtractApiClient as usExtract, buildUsZipcodeApiClient as usZipcode, buildInternationalStreetApiClient as internationalStreet, buildUsReverseGeoApiClient as usReverseGeo, buildInternationalAddressAutocompleteApiClient as internationalAddressAutocomplete, buildUsEnrichmentApiClient as usEnrichment, buildInternationalPostalCodeApiClient as internationalPostalCode };
|