diff --git a/CHANGES.md b/CHANGES.md index b2465dd..bbdcc1c 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,8 @@ +## 0.1.8 ## + +* Improve errors +* Add support for immediate requests + ## 0.1.7 ## * Bug fixes diff --git a/docs/assets/js/search.js b/docs/assets/js/search.js index dbdfb47..fd30ae6 100644 --- a/docs/assets/js/search.js +++ b/docs/assets/js/search.js @@ -1 +1 @@ -var typedoc = typedoc || {};typedoc.search = typedoc.search || {};typedoc.search.data = {"kinds":{"4":"Enumeration","16":"Enumeration member","32":"Variable","128":"Class","256":"Interface","512":"Constructor","1024":"Property","2048":"Method","65536":"Type literal","262144":"Accessor"},"rows":[{"id":0,"kind":4,"name":"WorldAssemblyCouncil","url":"enums/worldassemblycouncil.html","classes":"tsd-kind-enum"},{"id":1,"kind":16,"name":"GeneralAssembly","url":"enums/worldassemblycouncil.html#generalassembly","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"WorldAssemblyCouncil"},{"id":2,"kind":16,"name":"SecurityCouncil","url":"enums/worldassemblycouncil.html#securitycouncil","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"WorldAssemblyCouncil"},{"id":3,"kind":4,"name":"TelegramType","url":"enums/telegramtype.html","classes":"tsd-kind-enum"},{"id":4,"kind":16,"name":"Recruitment","url":"enums/telegramtype.html#recruitment","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"TelegramType"},{"id":5,"kind":16,"name":"NonRecruitment","url":"enums/telegramtype.html#nonrecruitment","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"TelegramType"},{"id":6,"kind":256,"name":"PrivateShardsAuth","url":"interfaces/privateshardsauth.html","classes":"tsd-kind-interface"},{"id":7,"kind":1024,"name":"password","url":"interfaces/privateshardsauth.html#password","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"PrivateShardsAuth"},{"id":8,"kind":1024,"name":"pin","url":"interfaces/privateshardsauth.html#pin","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"PrivateShardsAuth"},{"id":9,"kind":1024,"name":"updatePin","url":"interfaces/privateshardsauth.html#updatepin","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"PrivateShardsAuth"},{"id":10,"kind":1024,"name":"autologin","url":"interfaces/privateshardsauth.html#autologin","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"PrivateShardsAuth"},{"id":11,"kind":1024,"name":"updateAutologin","url":"interfaces/privateshardsauth.html#updateautologin","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"PrivateShardsAuth"},{"id":12,"kind":256,"name":"Cache","url":"interfaces/cache.html","classes":"tsd-kind-interface tsd-is-not-exported"},{"id":13,"kind":256,"name":"ApiRequest","url":"interfaces/apirequest.html","classes":"tsd-kind-interface tsd-is-not-exported"},{"id":14,"kind":1024,"name":"tg","url":"interfaces/apirequest.html#tg","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported","parent":"ApiRequest"},{"id":15,"kind":1024,"name":"func","url":"interfaces/apirequest.html#func","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported","parent":"ApiRequest"},{"id":16,"kind":65536,"name":"__type","url":"interfaces/apirequest.html#func.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"ApiRequest.func"},{"id":17,"kind":1024,"name":"reject","url":"interfaces/apirequest.html#reject","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported","parent":"ApiRequest"},{"id":18,"kind":65536,"name":"__type","url":"interfaces/apirequest.html#reject.__type-1","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"ApiRequest.reject"},{"id":19,"kind":128,"name":"NsApi","url":"classes/nsapi.html","classes":"tsd-kind-class"},{"id":20,"kind":1024,"name":"_userAgent","url":"classes/nsapi.html#_useragent","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"NsApi"},{"id":21,"kind":1024,"name":"_delay","url":"classes/nsapi.html#_delay","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"NsApi"},{"id":22,"kind":1024,"name":"_apiDelayMillis","url":"classes/nsapi.html#_apidelaymillis","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"NsApi"},{"id":23,"kind":1024,"name":"_recruitTgDelayMillis","url":"classes/nsapi.html#_recruittgdelaymillis","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"NsApi"},{"id":24,"kind":1024,"name":"_nonRecruitTgDelayMillis","url":"classes/nsapi.html#_nonrecruittgdelaymillis","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"NsApi"},{"id":25,"kind":1024,"name":"_reqQueue","url":"classes/nsapi.html#_reqqueue","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"NsApi"},{"id":26,"kind":1024,"name":"_reqInterval","url":"classes/nsapi.html#_reqinterval","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"NsApi"},{"id":27,"kind":1024,"name":"_reqLast","url":"classes/nsapi.html#_reqlast","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"NsApi"},{"id":28,"kind":1024,"name":"_tgReqLast","url":"classes/nsapi.html#_tgreqlast","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"NsApi"},{"id":29,"kind":1024,"name":"_reqInProgress","url":"classes/nsapi.html#_reqinprogress","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"NsApi"},{"id":30,"kind":1024,"name":"_reqCache","url":"classes/nsapi.html#_reqcache","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"NsApi"},{"id":31,"kind":1024,"name":"_reqCacheEnabled","url":"classes/nsapi.html#_reqcacheenabled","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"NsApi"},{"id":32,"kind":1024,"name":"_reqCacheValiditySecs","url":"classes/nsapi.html#_reqcachevaliditysecs","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"NsApi"},{"id":33,"kind":1024,"name":"_blockExistingRequests","url":"classes/nsapi.html#_blockexistingrequests","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"NsApi"},{"id":34,"kind":1024,"name":"_blockNewRequests","url":"classes/nsapi.html#_blocknewrequests","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"NsApi"},{"id":35,"kind":1024,"name":"_cleanup","url":"classes/nsapi.html#_cleanup","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"NsApi"},{"id":36,"kind":512,"name":"constructor","url":"classes/nsapi.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"NsApi"},{"id":37,"kind":262144,"name":"userAgent","url":"classes/nsapi.html#useragent","classes":"tsd-kind-accessor tsd-parent-kind-class","parent":"NsApi"},{"id":38,"kind":262144,"name":"delay","url":"classes/nsapi.html#delay","classes":"tsd-kind-accessor tsd-parent-kind-class","parent":"NsApi"},{"id":39,"kind":262144,"name":"apiDelayMillis","url":"classes/nsapi.html#apidelaymillis","classes":"tsd-kind-accessor tsd-parent-kind-class","parent":"NsApi"},{"id":40,"kind":262144,"name":"nonRecruitTgDelayMillis","url":"classes/nsapi.html#nonrecruittgdelaymillis","classes":"tsd-kind-accessor tsd-parent-kind-class","parent":"NsApi"},{"id":41,"kind":262144,"name":"recruitTgDelayMillis","url":"classes/nsapi.html#recruittgdelaymillis","classes":"tsd-kind-accessor tsd-parent-kind-class","parent":"NsApi"},{"id":42,"kind":262144,"name":"blockExistingRequests","url":"classes/nsapi.html#blockexistingrequests","classes":"tsd-kind-accessor tsd-parent-kind-class","parent":"NsApi"},{"id":43,"kind":262144,"name":"blockNewRequests","url":"classes/nsapi.html#blocknewrequests","classes":"tsd-kind-accessor tsd-parent-kind-class","parent":"NsApi"},{"id":44,"kind":262144,"name":"reqInProgress","url":"classes/nsapi.html#reqinprogress","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"NsApi"},{"id":45,"kind":262144,"name":"reqQueued","url":"classes/nsapi.html#reqqueued","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"NsApi"},{"id":46,"kind":2048,"name":"clearQueue","url":"classes/nsapi.html#clearqueue","classes":"tsd-kind-method tsd-parent-kind-class","parent":"NsApi"},{"id":47,"kind":262144,"name":"requestCacheEnabled","url":"classes/nsapi.html#requestcacheenabled","classes":"tsd-kind-accessor tsd-parent-kind-class","parent":"NsApi"},{"id":48,"kind":262144,"name":"requestCacheValiditySecs","url":"classes/nsapi.html#requestcachevaliditysecs","classes":"tsd-kind-accessor tsd-parent-kind-class","parent":"NsApi"},{"id":49,"kind":2048,"name":"clearRequestCache","url":"classes/nsapi.html#clearrequestcache","classes":"tsd-kind-method tsd-parent-kind-class","parent":"NsApi"},{"id":50,"kind":2048,"name":"cleanup","url":"classes/nsapi.html#cleanup","classes":"tsd-kind-method tsd-parent-kind-class","parent":"NsApi"},{"id":51,"kind":2048,"name":"nationRequest","url":"classes/nsapi.html#nationrequest","classes":"tsd-kind-method tsd-parent-kind-class","parent":"NsApi"},{"id":52,"kind":2048,"name":"regionRequest","url":"classes/nsapi.html#regionrequest","classes":"tsd-kind-method tsd-parent-kind-class","parent":"NsApi"},{"id":53,"kind":2048,"name":"worldRequest","url":"classes/nsapi.html#worldrequest","classes":"tsd-kind-method tsd-parent-kind-class","parent":"NsApi"},{"id":54,"kind":2048,"name":"worldAssemblyRequest","url":"classes/nsapi.html#worldassemblyrequest","classes":"tsd-kind-method tsd-parent-kind-class","parent":"NsApi"},{"id":55,"kind":2048,"name":"telegramRequest","url":"classes/nsapi.html#telegramrequest","classes":"tsd-kind-method tsd-parent-kind-class","parent":"NsApi"},{"id":56,"kind":2048,"name":"authenticateRequest","url":"classes/nsapi.html#authenticaterequest","classes":"tsd-kind-method tsd-parent-kind-class","parent":"NsApi"},{"id":57,"kind":2048,"name":"xmlRequest","url":"classes/nsapi.html#xmlrequest","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"NsApi"},{"id":58,"kind":2048,"name":"apiPath","url":"classes/nsapi.html#apipath","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"NsApi"},{"id":59,"kind":2048,"name":"apiRequest","url":"classes/nsapi.html#apirequest","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"NsApi"},{"id":60,"kind":2048,"name":"toId","url":"classes/nsapi.html#toid","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private tsd-is-static","parent":"NsApi"},{"id":61,"kind":32,"name":"xmlParser","url":"globals.html#xmlparser","classes":"tsd-kind-variable tsd-is-not-exported"},{"id":62,"kind":32,"name":"VERSION","url":"globals.html#version","classes":"tsd-kind-variable"},{"id":63,"kind":32,"name":"API_VERSION","url":"globals.html#api_version","classes":"tsd-kind-variable"}]}; \ No newline at end of file +var typedoc = typedoc || {};typedoc.search = typedoc.search || {};typedoc.search.data = {"kinds":{"4":"Enumeration","16":"Enumeration member","32":"Variable","128":"Class","256":"Interface","512":"Constructor","1024":"Property","2048":"Method","65536":"Type literal","262144":"Accessor"},"rows":[{"id":0,"kind":4,"name":"WorldAssemblyCouncil","url":"enums/worldassemblycouncil.html","classes":"tsd-kind-enum"},{"id":1,"kind":16,"name":"GeneralAssembly","url":"enums/worldassemblycouncil.html#generalassembly","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"WorldAssemblyCouncil"},{"id":2,"kind":16,"name":"SecurityCouncil","url":"enums/worldassemblycouncil.html#securitycouncil","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"WorldAssemblyCouncil"},{"id":3,"kind":4,"name":"TelegramType","url":"enums/telegramtype.html","classes":"tsd-kind-enum"},{"id":4,"kind":16,"name":"Recruitment","url":"enums/telegramtype.html#recruitment","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"TelegramType"},{"id":5,"kind":16,"name":"NonRecruitment","url":"enums/telegramtype.html#nonrecruitment","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"TelegramType"},{"id":6,"kind":256,"name":"PrivateShardsAuth","url":"interfaces/privateshardsauth.html","classes":"tsd-kind-interface"},{"id":7,"kind":1024,"name":"password","url":"interfaces/privateshardsauth.html#password","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"PrivateShardsAuth"},{"id":8,"kind":1024,"name":"pin","url":"interfaces/privateshardsauth.html#pin","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"PrivateShardsAuth"},{"id":9,"kind":1024,"name":"updatePin","url":"interfaces/privateshardsauth.html#updatepin","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"PrivateShardsAuth"},{"id":10,"kind":1024,"name":"autologin","url":"interfaces/privateshardsauth.html#autologin","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"PrivateShardsAuth"},{"id":11,"kind":1024,"name":"updateAutologin","url":"interfaces/privateshardsauth.html#updateautologin","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"PrivateShardsAuth"},{"id":12,"kind":128,"name":"ApiError","url":"classes/apierror.html","classes":"tsd-kind-class"},{"id":13,"kind":1024,"name":"message","url":"classes/apierror.html#message","classes":"tsd-kind-property tsd-parent-kind-class","parent":"ApiError"},{"id":14,"kind":1024,"name":"responseCode","url":"classes/apierror.html#responsecode","classes":"tsd-kind-property tsd-parent-kind-class","parent":"ApiError"},{"id":15,"kind":1024,"name":"responseText","url":"classes/apierror.html#responsetext","classes":"tsd-kind-property tsd-parent-kind-class","parent":"ApiError"},{"id":16,"kind":512,"name":"constructor","url":"classes/apierror.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"ApiError"},{"id":17,"kind":1024,"name":"name","url":"classes/apierror.html#name","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-static","parent":"ApiError"},{"id":18,"kind":1024,"name":"message","url":"classes/apierror.html#message-1","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-static","parent":"ApiError"},{"id":19,"kind":1024,"name":"stack","url":"classes/apierror.html#stack","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-static","parent":"ApiError"},{"id":20,"kind":1024,"name":"Error","url":"classes/apierror.html#error","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-static","parent":"ApiError"},{"id":21,"kind":256,"name":"Cache","url":"interfaces/cache.html","classes":"tsd-kind-interface tsd-is-not-exported"},{"id":22,"kind":256,"name":"ApiRequest","url":"interfaces/apirequest.html","classes":"tsd-kind-interface tsd-is-not-exported"},{"id":23,"kind":1024,"name":"tg","url":"interfaces/apirequest.html#tg","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported","parent":"ApiRequest"},{"id":24,"kind":1024,"name":"func","url":"interfaces/apirequest.html#func","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported","parent":"ApiRequest"},{"id":25,"kind":65536,"name":"__type","url":"interfaces/apirequest.html#func.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"ApiRequest.func"},{"id":26,"kind":1024,"name":"reject","url":"interfaces/apirequest.html#reject","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported","parent":"ApiRequest"},{"id":27,"kind":65536,"name":"__type","url":"interfaces/apirequest.html#reject.__type-1","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"ApiRequest.reject"},{"id":28,"kind":128,"name":"NsApi","url":"classes/nsapi.html","classes":"tsd-kind-class"},{"id":29,"kind":1024,"name":"_userAgent","url":"classes/nsapi.html#_useragent","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"NsApi"},{"id":30,"kind":1024,"name":"_delay","url":"classes/nsapi.html#_delay","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"NsApi"},{"id":31,"kind":1024,"name":"_apiDelayMillis","url":"classes/nsapi.html#_apidelaymillis","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"NsApi"},{"id":32,"kind":1024,"name":"_recruitTgDelayMillis","url":"classes/nsapi.html#_recruittgdelaymillis","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"NsApi"},{"id":33,"kind":1024,"name":"_nonRecruitTgDelayMillis","url":"classes/nsapi.html#_nonrecruittgdelaymillis","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"NsApi"},{"id":34,"kind":1024,"name":"_reqQueue","url":"classes/nsapi.html#_reqqueue","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"NsApi"},{"id":35,"kind":1024,"name":"_reqInterval","url":"classes/nsapi.html#_reqinterval","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"NsApi"},{"id":36,"kind":1024,"name":"_reqLast","url":"classes/nsapi.html#_reqlast","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"NsApi"},{"id":37,"kind":1024,"name":"_tgReqLast","url":"classes/nsapi.html#_tgreqlast","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"NsApi"},{"id":38,"kind":1024,"name":"_reqInProgress","url":"classes/nsapi.html#_reqinprogress","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"NsApi"},{"id":39,"kind":1024,"name":"_reqCache","url":"classes/nsapi.html#_reqcache","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"NsApi"},{"id":40,"kind":1024,"name":"_reqCacheEnabled","url":"classes/nsapi.html#_reqcacheenabled","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"NsApi"},{"id":41,"kind":1024,"name":"_reqCacheValiditySecs","url":"classes/nsapi.html#_reqcachevaliditysecs","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"NsApi"},{"id":42,"kind":1024,"name":"_blockExistingRequests","url":"classes/nsapi.html#_blockexistingrequests","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"NsApi"},{"id":43,"kind":1024,"name":"_blockNewRequests","url":"classes/nsapi.html#_blocknewrequests","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"NsApi"},{"id":44,"kind":1024,"name":"_cleanup","url":"classes/nsapi.html#_cleanup","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"NsApi"},{"id":45,"kind":512,"name":"constructor","url":"classes/nsapi.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"NsApi"},{"id":46,"kind":262144,"name":"userAgent","url":"classes/nsapi.html#useragent","classes":"tsd-kind-accessor tsd-parent-kind-class","parent":"NsApi"},{"id":47,"kind":262144,"name":"delay","url":"classes/nsapi.html#delay","classes":"tsd-kind-accessor tsd-parent-kind-class","parent":"NsApi"},{"id":48,"kind":262144,"name":"apiDelayMillis","url":"classes/nsapi.html#apidelaymillis","classes":"tsd-kind-accessor tsd-parent-kind-class","parent":"NsApi"},{"id":49,"kind":262144,"name":"nonRecruitTgDelayMillis","url":"classes/nsapi.html#nonrecruittgdelaymillis","classes":"tsd-kind-accessor tsd-parent-kind-class","parent":"NsApi"},{"id":50,"kind":262144,"name":"recruitTgDelayMillis","url":"classes/nsapi.html#recruittgdelaymillis","classes":"tsd-kind-accessor tsd-parent-kind-class","parent":"NsApi"},{"id":51,"kind":262144,"name":"blockExistingRequests","url":"classes/nsapi.html#blockexistingrequests","classes":"tsd-kind-accessor tsd-parent-kind-class","parent":"NsApi"},{"id":52,"kind":262144,"name":"blockNewRequests","url":"classes/nsapi.html#blocknewrequests","classes":"tsd-kind-accessor tsd-parent-kind-class","parent":"NsApi"},{"id":53,"kind":262144,"name":"reqInProgress","url":"classes/nsapi.html#reqinprogress","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"NsApi"},{"id":54,"kind":262144,"name":"reqQueued","url":"classes/nsapi.html#reqqueued","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"NsApi"},{"id":55,"kind":2048,"name":"clearQueue","url":"classes/nsapi.html#clearqueue","classes":"tsd-kind-method tsd-parent-kind-class","parent":"NsApi"},{"id":56,"kind":262144,"name":"requestCacheEnabled","url":"classes/nsapi.html#requestcacheenabled","classes":"tsd-kind-accessor tsd-parent-kind-class","parent":"NsApi"},{"id":57,"kind":262144,"name":"requestCacheValiditySecs","url":"classes/nsapi.html#requestcachevaliditysecs","classes":"tsd-kind-accessor tsd-parent-kind-class","parent":"NsApi"},{"id":58,"kind":2048,"name":"clearRequestCache","url":"classes/nsapi.html#clearrequestcache","classes":"tsd-kind-method tsd-parent-kind-class","parent":"NsApi"},{"id":59,"kind":2048,"name":"cleanup","url":"classes/nsapi.html#cleanup","classes":"tsd-kind-method tsd-parent-kind-class","parent":"NsApi"},{"id":60,"kind":2048,"name":"nationRequest","url":"classes/nsapi.html#nationrequest","classes":"tsd-kind-method tsd-parent-kind-class","parent":"NsApi"},{"id":61,"kind":2048,"name":"regionRequest","url":"classes/nsapi.html#regionrequest","classes":"tsd-kind-method tsd-parent-kind-class","parent":"NsApi"},{"id":62,"kind":2048,"name":"worldRequest","url":"classes/nsapi.html#worldrequest","classes":"tsd-kind-method tsd-parent-kind-class","parent":"NsApi"},{"id":63,"kind":2048,"name":"worldAssemblyRequest","url":"classes/nsapi.html#worldassemblyrequest","classes":"tsd-kind-method tsd-parent-kind-class","parent":"NsApi"},{"id":64,"kind":2048,"name":"telegramRequest","url":"classes/nsapi.html#telegramrequest","classes":"tsd-kind-method tsd-parent-kind-class","parent":"NsApi"},{"id":65,"kind":2048,"name":"authenticateRequest","url":"classes/nsapi.html#authenticaterequest","classes":"tsd-kind-method tsd-parent-kind-class","parent":"NsApi"},{"id":66,"kind":2048,"name":"xmlRequest","url":"classes/nsapi.html#xmlrequest","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"NsApi"},{"id":67,"kind":2048,"name":"apiPath","url":"classes/nsapi.html#apipath","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"NsApi"},{"id":68,"kind":2048,"name":"apiRequest","url":"classes/nsapi.html#apirequest","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"NsApi"},{"id":69,"kind":2048,"name":"toId","url":"classes/nsapi.html#toid","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private tsd-is-static","parent":"NsApi"},{"id":70,"kind":32,"name":"xmlParser","url":"globals.html#xmlparser","classes":"tsd-kind-variable tsd-is-not-exported"},{"id":71,"kind":32,"name":"VERSION","url":"globals.html#version","classes":"tsd-kind-variable"},{"id":72,"kind":32,"name":"API_VERSION","url":"globals.html#api_version","classes":"tsd-kind-variable"}]}; \ No newline at end of file diff --git a/docs/classes/apierror.html b/docs/classes/apierror.html new file mode 100644 index 0000000..3de5a51 --- /dev/null +++ b/docs/classes/apierror.html @@ -0,0 +1,399 @@ + + +
+ + +Initializes a new instance of the ApiError class.
+The message associated with the error.
+The HTTP response code returned by the API.
+The HTTP response text returned by the API.
+The message associated with the error.
+The HTTP response code returned by the API.
+The HTTP response text returned by the API.
+Generated using TypeDoc
+Allows API requests immediately after the + API is initialized without delay.
+Allows telegram requests immediately + after the API is initialized without + delay.
+
Error thrown during API requests.
+