diff --git a/docs/assets/js/search.json b/docs/assets/js/search.json index afd9d94..1e87388 100644 --- a/docs/assets/js/search.json +++ b/docs/assets/js/search.json @@ -1 +1 @@ -{"kinds":{"1":"Module","4":"Enumeration","16":"Enumeration member","32":"Variable","64":"Function","128":"Class","256":"Interface","512":"Constructor","1024":"Property","2048":"Method","65536":"Type literal"},"rows":[{"id":0,"kind":128,"name":"SAS9ApiClient","url":"classes/reflection-445.reflection-1.sas9apiclient.html","classes":"tsd-kind-class tsd-parent-kind-module","parent":"."},{"id":1,"kind":512,"name":"constructor","url":"classes/reflection-445.reflection-1.sas9apiclient.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"..SAS9ApiClient"},{"id":2,"kind":2048,"name":"getConfig","url":"classes/reflection-445.reflection-1.sas9apiclient.html#getconfig","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SAS9ApiClient"},{"id":3,"kind":2048,"name":"setConfig","url":"classes/reflection-445.reflection-1.sas9apiclient.html#setconfig","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SAS9ApiClient"},{"id":4,"kind":2048,"name":"executeScript","url":"classes/reflection-445.reflection-1.sas9apiclient.html#executescript","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SAS9ApiClient"},{"id":5,"kind":1,"name":"utils","url":"modules/utils.html","classes":"tsd-kind-module"},{"id":6,"kind":64,"name":"asyncForEach","url":"modules/utils.html#asyncforeach","classes":"tsd-kind-function tsd-parent-kind-module","parent":"utils"},{"id":7,"kind":1,"name":"types","url":"modules/types.html","classes":"tsd-kind-module"},{"id":8,"kind":256,"name":"SASjsRequest","url":"interfaces/types.sasjsrequest.html","classes":"tsd-kind-interface tsd-parent-kind-module","parent":"types"},{"id":9,"kind":1024,"name":"serviceLink","url":"interfaces/types.sasjsrequest.html#servicelink","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"types.SASjsRequest"},{"id":10,"kind":1024,"name":"timestamp","url":"interfaces/types.sasjsrequest.html#timestamp","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"types.SASjsRequest"},{"id":11,"kind":1024,"name":"sourceCode","url":"interfaces/types.sasjsrequest.html#sourcecode","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"types.SASjsRequest"},{"id":12,"kind":1024,"name":"generatedCode","url":"interfaces/types.sasjsrequest.html#generatedcode","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"types.SASjsRequest"},{"id":13,"kind":1024,"name":"logFile","url":"interfaces/types.sasjsrequest.html#logfile","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"types.SASjsRequest"},{"id":14,"kind":1024,"name":"SASWORK","url":"interfaces/types.sasjsrequest.html#saswork","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"types.SASjsRequest"},{"id":15,"kind":64,"name":"compareTimestamps","url":"modules/utils.html#comparetimestamps","classes":"tsd-kind-function tsd-parent-kind-module","parent":"utils"},{"id":16,"kind":64,"name":"convertToCSV","url":"modules/utils.html#converttocsv","classes":"tsd-kind-function tsd-parent-kind-module","parent":"utils"},{"id":17,"kind":64,"name":"isAuthorizeFormRequired","url":"modules/utils.html#isauthorizeformrequired","classes":"tsd-kind-function tsd-parent-kind-module","parent":"utils"},{"id":18,"kind":64,"name":"isLogInRequired","url":"modules/utils.html#isloginrequired","classes":"tsd-kind-function tsd-parent-kind-module","parent":"utils"},{"id":19,"kind":64,"name":"isLogInSuccess","url":"modules/utils.html#isloginsuccess","classes":"tsd-kind-function tsd-parent-kind-module","parent":"utils"},{"id":20,"kind":256,"name":"Context","url":"interfaces/types.context.html","classes":"tsd-kind-interface tsd-parent-kind-module","parent":"types"},{"id":21,"kind":1024,"name":"name","url":"interfaces/types.context.html#name","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"types.Context"},{"id":22,"kind":1024,"name":"id","url":"interfaces/types.context.html#id","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"types.Context"},{"id":23,"kind":1024,"name":"createdBy","url":"interfaces/types.context.html#createdby","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"types.Context"},{"id":24,"kind":1024,"name":"version","url":"interfaces/types.context.html#version","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"types.Context"},{"id":25,"kind":256,"name":"CsrfToken","url":"interfaces/types.csrftoken.html","classes":"tsd-kind-interface tsd-parent-kind-module","parent":"types"},{"id":26,"kind":1024,"name":"headerName","url":"interfaces/types.csrftoken.html#headername","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"types.CsrfToken"},{"id":27,"kind":1024,"name":"value","url":"interfaces/types.csrftoken.html#value","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"types.CsrfToken"},{"id":28,"kind":256,"name":"Link","url":"interfaces/types.link.html","classes":"tsd-kind-interface tsd-parent-kind-module","parent":"types"},{"id":29,"kind":1024,"name":"method","url":"interfaces/types.link.html#method","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"types.Link"},{"id":30,"kind":1024,"name":"rel","url":"interfaces/types.link.html#rel","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"types.Link"},{"id":31,"kind":1024,"name":"href","url":"interfaces/types.link.html#href","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"types.Link"},{"id":32,"kind":1024,"name":"uri","url":"interfaces/types.link.html#uri","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"types.Link"},{"id":33,"kind":1024,"name":"type","url":"interfaces/types.link.html#type","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"types.Link"},{"id":34,"kind":256,"name":"Folder","url":"interfaces/types.folder.html","classes":"tsd-kind-interface tsd-parent-kind-module","parent":"types"},{"id":35,"kind":1024,"name":"id","url":"interfaces/types.folder.html#id","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"types.Folder"},{"id":36,"kind":1024,"name":"uri","url":"interfaces/types.folder.html#uri","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"types.Folder"},{"id":37,"kind":1024,"name":"links","url":"interfaces/types.folder.html#links","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"types.Folder"},{"id":38,"kind":256,"name":"JobResult","url":"interfaces/types.jobresult.html","classes":"tsd-kind-interface tsd-parent-kind-module","parent":"types"},{"id":39,"kind":1024,"name":"_webout.json","url":"interfaces/types.jobresult.html#_webout_json","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"types.JobResult"},{"id":40,"kind":256,"name":"Job","url":"interfaces/types.job.html","classes":"tsd-kind-interface tsd-parent-kind-module","parent":"types"},{"id":41,"kind":1024,"name":"id","url":"interfaces/types.job.html#id","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"types.Job"},{"id":42,"kind":1024,"name":"name","url":"interfaces/types.job.html#name","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"types.Job"},{"id":43,"kind":1024,"name":"uri","url":"interfaces/types.job.html#uri","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"types.Job"},{"id":44,"kind":1024,"name":"createdBy","url":"interfaces/types.job.html#createdby","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"types.Job"},{"id":45,"kind":1024,"name":"links","url":"interfaces/types.job.html#links","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"types.Job"},{"id":46,"kind":1024,"name":"results","url":"interfaces/types.job.html#results","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"types.Job"},{"id":47,"kind":4,"name":"ServerType","url":"enums/types.servertype.html","classes":"tsd-kind-enum tsd-parent-kind-module","parent":"types"},{"id":48,"kind":16,"name":"SASViya","url":"enums/types.servertype.html#sasviya","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"types.ServerType"},{"id":49,"kind":16,"name":"SAS9","url":"enums/types.servertype.html#sas9","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"types.ServerType"},{"id":50,"kind":128,"name":"SASjsConfig","url":"classes/types.sasjsconfig.html","classes":"tsd-kind-class tsd-parent-kind-module","parent":"types"},{"id":51,"kind":1024,"name":"serverUrl","url":"classes/types.sasjsconfig.html#serverurl","classes":"tsd-kind-property tsd-parent-kind-class","parent":"types.SASjsConfig"},{"id":52,"kind":1024,"name":"pathSAS9","url":"classes/types.sasjsconfig.html#pathsas9","classes":"tsd-kind-property tsd-parent-kind-class","parent":"types.SASjsConfig"},{"id":53,"kind":1024,"name":"pathSASViya","url":"classes/types.sasjsconfig.html#pathsasviya","classes":"tsd-kind-property tsd-parent-kind-class","parent":"types.SASjsConfig"},{"id":54,"kind":1024,"name":"appLoc","url":"classes/types.sasjsconfig.html#apploc","classes":"tsd-kind-property tsd-parent-kind-class","parent":"types.SASjsConfig"},{"id":55,"kind":1024,"name":"serverType","url":"classes/types.sasjsconfig.html#servertype","classes":"tsd-kind-property tsd-parent-kind-class","parent":"types.SASjsConfig"},{"id":56,"kind":1024,"name":"debug","url":"classes/types.sasjsconfig.html#debug","classes":"tsd-kind-property tsd-parent-kind-class","parent":"types.SASjsConfig"},{"id":57,"kind":1024,"name":"contextName","url":"classes/types.sasjsconfig.html#contextname","classes":"tsd-kind-property tsd-parent-kind-class","parent":"types.SASjsConfig"},{"id":58,"kind":256,"name":"SASjsWaitingRequest","url":"interfaces/types.sasjswaitingrequest.html","classes":"tsd-kind-interface tsd-parent-kind-module","parent":"types"},{"id":59,"kind":1024,"name":"requestPromise","url":"interfaces/types.sasjswaitingrequest.html#requestpromise","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"types.SASjsWaitingRequest"},{"id":60,"kind":65536,"name":"__type","url":"interfaces/types.sasjswaitingrequest.html#requestpromise.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property","parent":"types.SASjsWaitingRequest.requestPromise"},{"id":61,"kind":32,"name":"promise","url":"interfaces/types.sasjswaitingrequest.html#requestpromise.__type.promise","classes":"tsd-kind-variable tsd-parent-kind-type-literal","parent":"types.SASjsWaitingRequest.requestPromise.__type"},{"id":62,"kind":32,"name":"resolve","url":"interfaces/types.sasjswaitingrequest.html#requestpromise.__type.resolve","classes":"tsd-kind-variable tsd-parent-kind-type-literal","parent":"types.SASjsWaitingRequest.requestPromise.__type"},{"id":63,"kind":32,"name":"reject","url":"interfaces/types.sasjswaitingrequest.html#requestpromise.__type.reject","classes":"tsd-kind-variable tsd-parent-kind-type-literal","parent":"types.SASjsWaitingRequest.requestPromise.__type"},{"id":64,"kind":1024,"name":"SASjob","url":"interfaces/types.sasjswaitingrequest.html#sasjob","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"types.SASjsWaitingRequest"},{"id":65,"kind":1024,"name":"data","url":"interfaces/types.sasjswaitingrequest.html#data","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"types.SASjsWaitingRequest"},{"id":66,"kind":1024,"name":"params","url":"interfaces/types.sasjswaitingrequest.html#params","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"types.SASjsWaitingRequest"},{"id":67,"kind":256,"name":"Session","url":"interfaces/types.session.html","classes":"tsd-kind-interface tsd-parent-kind-module","parent":"types"},{"id":68,"kind":1024,"name":"id","url":"interfaces/types.session.html#id","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"types.Session"},{"id":69,"kind":64,"name":"makeRequest","url":"modules/utils.html#makerequest","classes":"tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter","parent":"utils"},{"id":70,"kind":64,"name":"needsRetry","url":"modules/utils.html#needsretry","classes":"tsd-kind-function tsd-parent-kind-module","parent":"utils"},{"id":71,"kind":64,"name":"parseAndSubmitAuthorizeForm","url":"modules/utils.html#parseandsubmitauthorizeform","classes":"tsd-kind-function tsd-parent-kind-module","parent":"utils"},{"id":72,"kind":64,"name":"parseGeneratedCode","url":"modules/utils.html#parsegeneratedcode","classes":"tsd-kind-function tsd-parent-kind-module","parent":"utils"},{"id":73,"kind":64,"name":"parseSourceCode","url":"modules/utils.html#parsesourcecode","classes":"tsd-kind-function tsd-parent-kind-module","parent":"utils"},{"id":74,"kind":64,"name":"parseSasViyaLog","url":"modules/utils.html#parsesasviyalog","classes":"tsd-kind-function tsd-parent-kind-module","parent":"utils"},{"id":75,"kind":64,"name":"serialize","url":"modules/utils.html#serialize","classes":"tsd-kind-function tsd-parent-kind-module","parent":"utils"},{"id":76,"kind":64,"name":"splitChunks","url":"modules/utils.html#splitchunks","classes":"tsd-kind-function tsd-parent-kind-module","parent":"utils"},{"id":77,"kind":128,"name":"SASViyaApiClient","url":"classes/reflection-445.reflection-1.sasviyaapiclient.html","classes":"tsd-kind-class tsd-parent-kind-module","parent":"."},{"id":78,"kind":512,"name":"constructor","url":"classes/reflection-445.reflection-1.sasviyaapiclient.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"..SASViyaApiClient"},{"id":79,"kind":2048,"name":"getAppLocMap","url":"classes/reflection-445.reflection-1.sasviyaapiclient.html#getapplocmap","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASViyaApiClient"},{"id":80,"kind":2048,"name":"getConfig","url":"classes/reflection-445.reflection-1.sasviyaapiclient.html#getconfig","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASViyaApiClient"},{"id":81,"kind":2048,"name":"setConfig","url":"classes/reflection-445.reflection-1.sasviyaapiclient.html#setconfig","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASViyaApiClient"},{"id":82,"kind":2048,"name":"getAllContexts","url":"classes/reflection-445.reflection-1.sasviyaapiclient.html#getallcontexts","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASViyaApiClient"},{"id":83,"kind":2048,"name":"getExecutableContexts","url":"classes/reflection-445.reflection-1.sasviyaapiclient.html#getexecutablecontexts","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASViyaApiClient"},{"id":84,"kind":2048,"name":"createSession","url":"classes/reflection-445.reflection-1.sasviyaapiclient.html#createsession","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASViyaApiClient"},{"id":85,"kind":2048,"name":"executeScript","url":"classes/reflection-445.reflection-1.sasviyaapiclient.html#executescript","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASViyaApiClient"},{"id":86,"kind":2048,"name":"createFolder","url":"classes/reflection-445.reflection-1.sasviyaapiclient.html#createfolder","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASViyaApiClient"},{"id":87,"kind":2048,"name":"createJobDefinition","url":"classes/reflection-445.reflection-1.sasviyaapiclient.html#createjobdefinition","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASViyaApiClient"},{"id":88,"kind":2048,"name":"getAuthCode","url":"classes/reflection-445.reflection-1.sasviyaapiclient.html#getauthcode","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASViyaApiClient"},{"id":89,"kind":2048,"name":"getAccessToken","url":"classes/reflection-445.reflection-1.sasviyaapiclient.html#getaccesstoken","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASViyaApiClient"},{"id":90,"kind":2048,"name":"refreshTokens","url":"classes/reflection-445.reflection-1.sasviyaapiclient.html#refreshtokens","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASViyaApiClient"},{"id":91,"kind":2048,"name":"deleteClient","url":"classes/reflection-445.reflection-1.sasviyaapiclient.html#deleteclient","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASViyaApiClient"},{"id":92,"kind":2048,"name":"executeJob","url":"classes/reflection-445.reflection-1.sasviyaapiclient.html#executejob","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASViyaApiClient"},{"id":93,"kind":128,"name":"SASjs","url":"classes/reflection-445.reflection-1.sasjs.html","classes":"tsd-kind-class tsd-parent-kind-module","parent":"."},{"id":94,"kind":512,"name":"constructor","url":"classes/reflection-445.reflection-1.sasjs.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"..SASjs"},{"id":95,"kind":2048,"name":"executeScriptSAS9","url":"classes/reflection-445.reflection-1.sasjs.html#executescriptsas9","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":96,"kind":2048,"name":"getAllContexts","url":"classes/reflection-445.reflection-1.sasjs.html#getallcontexts","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":97,"kind":2048,"name":"getExecutableContexts","url":"classes/reflection-445.reflection-1.sasjs.html#getexecutablecontexts","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":98,"kind":2048,"name":"createSession","url":"classes/reflection-445.reflection-1.sasjs.html#createsession","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":99,"kind":2048,"name":"executeScriptSASViya","url":"classes/reflection-445.reflection-1.sasjs.html#executescriptsasviya","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":100,"kind":2048,"name":"createFolder","url":"classes/reflection-445.reflection-1.sasjs.html#createfolder","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":101,"kind":2048,"name":"createJobDefinition","url":"classes/reflection-445.reflection-1.sasjs.html#createjobdefinition","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":102,"kind":2048,"name":"getAuthCode","url":"classes/reflection-445.reflection-1.sasjs.html#getauthcode","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":103,"kind":2048,"name":"getAccessToken","url":"classes/reflection-445.reflection-1.sasjs.html#getaccesstoken","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":104,"kind":2048,"name":"refreshTokens","url":"classes/reflection-445.reflection-1.sasjs.html#refreshtokens","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":105,"kind":2048,"name":"deleteClient","url":"classes/reflection-445.reflection-1.sasjs.html#deleteclient","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":106,"kind":2048,"name":"getSasjsConfig","url":"classes/reflection-445.reflection-1.sasjs.html#getsasjsconfig","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":107,"kind":2048,"name":"getUserName","url":"classes/reflection-445.reflection-1.sasjs.html#getusername","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":108,"kind":2048,"name":"getCsrf","url":"classes/reflection-445.reflection-1.sasjs.html#getcsrf","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":109,"kind":2048,"name":"setSASjsConfig","url":"classes/reflection-445.reflection-1.sasjs.html#setsasjsconfig","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":110,"kind":2048,"name":"setDebugState","url":"classes/reflection-445.reflection-1.sasjs.html#setdebugstate","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":111,"kind":2048,"name":"checkSession","url":"classes/reflection-445.reflection-1.sasjs.html#checksession","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":112,"kind":2048,"name":"logIn","url":"classes/reflection-445.reflection-1.sasjs.html#login","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":113,"kind":2048,"name":"logOut","url":"classes/reflection-445.reflection-1.sasjs.html#logout","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":114,"kind":2048,"name":"request","url":"classes/reflection-445.reflection-1.sasjs.html#request","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":115,"kind":2048,"name":"deployServicePack","url":"classes/reflection-445.reflection-1.sasjs.html#deployservicepack","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":116,"kind":2048,"name":"getSasRequests","url":"classes/reflection-445.reflection-1.sasjs.html#getsasrequests","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"}],"index":{"version":"2.3.8","fields":["name","parent"],"fieldVectors":[["name/0",[0,30.659]],["parent/0",[1,3.493]],["name/1",[2,35.179]],["parent/1",[0,3.044]],["name/2",[3,38.544]],["parent/2",[0,3.044]],["name/3",[4,38.544]],["parent/3",[0,3.044]],["name/4",[5,38.544]],["parent/4",[0,3.044]],["name/5",[6,20.298]],["parent/5",[]],["name/6",[7,43.652]],["parent/6",[6,2.016]],["name/7",[8,22.45]],["parent/7",[]],["name/8",[9,43.652]],["parent/8",[8,2.229]],["name/9",[10,43.652]],["parent/9",[11,2.878]],["name/10",[12,43.652]],["parent/10",[11,2.878]],["name/11",[13,43.652]],["parent/11",[11,2.878]],["name/12",[14,43.652]],["parent/12",[11,2.878]],["name/13",[15,43.652]],["parent/13",[11,2.878]],["name/14",[16,43.652]],["parent/14",[11,2.878]],["name/15",[17,43.652]],["parent/15",[6,2.016]],["name/16",[18,43.652]],["parent/16",[6,2.016]],["name/17",[19,43.652]],["parent/17",[6,2.016]],["name/18",[20,43.652]],["parent/18",[6,2.016]],["name/19",[21,43.652]],["parent/19",[6,2.016]],["name/20",[22,43.652]],["parent/20",[8,2.229]],["name/21",[23,38.544]],["parent/21",[24,3.244]],["name/22",[25,32.666]],["parent/22",[24,3.244]],["name/23",[26,38.544]],["parent/23",[24,3.244]],["name/24",[27,43.652]],["parent/24",[24,3.244]],["name/25",[28,43.652]],["parent/25",[8,2.229]],["name/26",[29,43.652]],["parent/26",[30,3.827]],["name/27",[31,43.652]],["parent/27",[30,3.827]],["name/28",[32,43.652]],["parent/28",[8,2.229]],["name/29",[33,43.652]],["parent/29",[34,3.044]],["name/30",[35,43.652]],["parent/30",[34,3.044]],["name/31",[36,43.652]],["parent/31",[34,3.044]],["name/32",[37,35.179]],["parent/32",[34,3.044]],["name/33",[38,43.652]],["parent/33",[34,3.044]],["name/34",[39,43.652]],["parent/34",[8,2.229]],["name/35",[25,32.666]],["parent/35",[40,3.493]],["name/36",[37,35.179]],["parent/36",[40,3.493]],["name/37",[41,38.544]],["parent/37",[40,3.493]],["name/38",[42,43.652]],["parent/38",[8,2.229]],["name/39",[43,43.652]],["parent/39",[44,4.334]],["name/40",[45,43.652]],["parent/40",[8,2.229]],["name/41",[25,32.666]],["parent/41",[46,2.878]],["name/42",[23,38.544]],["parent/42",[46,2.878]],["name/43",[37,35.179]],["parent/43",[46,2.878]],["name/44",[26,38.544]],["parent/44",[46,2.878]],["name/45",[41,38.544]],["parent/45",[46,2.878]],["name/46",[47,43.652]],["parent/46",[46,2.878]],["name/47",[48,38.544]],["parent/47",[8,2.229]],["name/48",[49,43.652]],["parent/48",[50,3.827]],["name/49",[51,43.652]],["parent/49",[50,3.827]],["name/50",[52,43.652]],["parent/50",[8,2.229]],["name/51",[53,43.652]],["parent/51",[54,2.736]],["name/52",[55,43.652]],["parent/52",[54,2.736]],["name/53",[56,43.652]],["parent/53",[54,2.736]],["name/54",[57,43.652]],["parent/54",[54,2.736]],["name/55",[48,38.544]],["parent/55",[54,2.736]],["name/56",[58,43.652]],["parent/56",[54,2.736]],["name/57",[59,43.652]],["parent/57",[54,2.736]],["name/58",[60,43.652]],["parent/58",[8,2.229]],["name/59",[61,43.652]],["parent/59",[62,3.244]],["name/60",[63,43.652]],["parent/60",[64,4.334]],["name/61",[65,43.652]],["parent/61",[66,3.493]],["name/62",[67,43.652]],["parent/62",[66,3.493]],["name/63",[68,43.652]],["parent/63",[66,3.493]],["name/64",[69,43.652]],["parent/64",[62,3.244]],["name/65",[70,43.652]],["parent/65",[62,3.244]],["name/66",[71,43.652]],["parent/66",[62,3.244]],["name/67",[72,43.652]],["parent/67",[8,2.229]],["name/68",[25,32.666]],["parent/68",[73,4.334]],["name/69",[74,43.652]],["parent/69",[6,2.016]],["name/70",[75,43.652]],["parent/70",[6,2.016]],["name/71",[76,43.652]],["parent/71",[6,2.016]],["name/72",[77,43.652]],["parent/72",[6,2.016]],["name/73",[78,43.652]],["parent/73",[6,2.016]],["name/74",[79,43.652]],["parent/74",[6,2.016]],["name/75",[80,43.652]],["parent/75",[6,2.016]],["name/76",[81,43.652]],["parent/76",[6,2.016]],["name/77",[82,19.673]],["parent/77",[1,3.493]],["name/78",[2,35.179]],["parent/78",[82,1.953]],["name/79",[83,43.652]],["parent/79",[82,1.953]],["name/80",[3,38.544]],["parent/80",[82,1.953]],["name/81",[4,38.544]],["parent/81",[82,1.953]],["name/82",[84,38.544]],["parent/82",[82,1.953]],["name/83",[85,38.544]],["parent/83",[82,1.953]],["name/84",[86,38.544]],["parent/84",[82,1.953]],["name/85",[5,38.544]],["parent/85",[82,1.953]],["name/86",[87,38.544]],["parent/86",[82,1.953]],["name/87",[88,38.544]],["parent/87",[82,1.953]],["name/88",[89,38.544]],["parent/88",[82,1.953]],["name/89",[90,38.544]],["parent/89",[82,1.953]],["name/90",[91,38.544]],["parent/90",[82,1.953]],["name/91",[92,38.544]],["parent/91",[82,1.953]],["name/92",[93,43.652]],["parent/92",[82,1.953]],["name/93",[94,15.72]],["parent/93",[1,3.493]],["name/94",[2,35.179]],["parent/94",[94,1.561]],["name/95",[95,43.652]],["parent/95",[94,1.561]],["name/96",[84,38.544]],["parent/96",[94,1.561]],["name/97",[85,38.544]],["parent/97",[94,1.561]],["name/98",[86,38.544]],["parent/98",[94,1.561]],["name/99",[96,43.652]],["parent/99",[94,1.561]],["name/100",[87,38.544]],["parent/100",[94,1.561]],["name/101",[88,38.544]],["parent/101",[94,1.561]],["name/102",[89,38.544]],["parent/102",[94,1.561]],["name/103",[90,38.544]],["parent/103",[94,1.561]],["name/104",[91,38.544]],["parent/104",[94,1.561]],["name/105",[92,38.544]],["parent/105",[94,1.561]],["name/106",[97,43.652]],["parent/106",[94,1.561]],["name/107",[98,43.652]],["parent/107",[94,1.561]],["name/108",[99,43.652]],["parent/108",[94,1.561]],["name/109",[100,43.652]],["parent/109",[94,1.561]],["name/110",[101,43.652]],["parent/110",[94,1.561]],["name/111",[102,43.652]],["parent/111",[94,1.561]],["name/112",[103,43.652]],["parent/112",[94,1.561]],["name/113",[104,43.652]],["parent/113",[94,1.561]],["name/114",[105,43.652]],["parent/114",[94,1.561]],["name/115",[106,43.652]],["parent/115",[94,1.561]],["name/116",[107,43.652]],["parent/116",[94,1.561]]],"invertedIndex":[["",{"_index":1,"name":{},"parent":{"0":{},"77":{},"93":{}}}],["__type",{"_index":63,"name":{"60":{}},"parent":{}}],["_webout.json",{"_index":43,"name":{"39":{}},"parent":{}}],["apploc",{"_index":57,"name":{"54":{}},"parent":{}}],["asyncforeach",{"_index":7,"name":{"6":{}},"parent":{}}],["checksession",{"_index":102,"name":{"111":{}},"parent":{}}],["comparetimestamps",{"_index":17,"name":{"15":{}},"parent":{}}],["constructor",{"_index":2,"name":{"1":{},"78":{},"94":{}},"parent":{}}],["context",{"_index":22,"name":{"20":{}},"parent":{}}],["contextname",{"_index":59,"name":{"57":{}},"parent":{}}],["converttocsv",{"_index":18,"name":{"16":{}},"parent":{}}],["createdby",{"_index":26,"name":{"23":{},"44":{}},"parent":{}}],["createfolder",{"_index":87,"name":{"86":{},"100":{}},"parent":{}}],["createjobdefinition",{"_index":88,"name":{"87":{},"101":{}},"parent":{}}],["createsession",{"_index":86,"name":{"84":{},"98":{}},"parent":{}}],["csrftoken",{"_index":28,"name":{"25":{}},"parent":{}}],["data",{"_index":70,"name":{"65":{}},"parent":{}}],["debug",{"_index":58,"name":{"56":{}},"parent":{}}],["deleteclient",{"_index":92,"name":{"91":{},"105":{}},"parent":{}}],["deployservicepack",{"_index":106,"name":{"115":{}},"parent":{}}],["executejob",{"_index":93,"name":{"92":{}},"parent":{}}],["executescript",{"_index":5,"name":{"4":{},"85":{}},"parent":{}}],["executescriptsas9",{"_index":95,"name":{"95":{}},"parent":{}}],["executescriptsasviya",{"_index":96,"name":{"99":{}},"parent":{}}],["folder",{"_index":39,"name":{"34":{}},"parent":{}}],["generatedcode",{"_index":14,"name":{"12":{}},"parent":{}}],["getaccesstoken",{"_index":90,"name":{"89":{},"103":{}},"parent":{}}],["getallcontexts",{"_index":84,"name":{"82":{},"96":{}},"parent":{}}],["getapplocmap",{"_index":83,"name":{"79":{}},"parent":{}}],["getauthcode",{"_index":89,"name":{"88":{},"102":{}},"parent":{}}],["getconfig",{"_index":3,"name":{"2":{},"80":{}},"parent":{}}],["getcsrf",{"_index":99,"name":{"108":{}},"parent":{}}],["getexecutablecontexts",{"_index":85,"name":{"83":{},"97":{}},"parent":{}}],["getsasjsconfig",{"_index":97,"name":{"106":{}},"parent":{}}],["getsasrequests",{"_index":107,"name":{"116":{}},"parent":{}}],["getusername",{"_index":98,"name":{"107":{}},"parent":{}}],["headername",{"_index":29,"name":{"26":{}},"parent":{}}],["href",{"_index":36,"name":{"31":{}},"parent":{}}],["id",{"_index":25,"name":{"22":{},"35":{},"41":{},"68":{}},"parent":{}}],["isauthorizeformrequired",{"_index":19,"name":{"17":{}},"parent":{}}],["isloginrequired",{"_index":20,"name":{"18":{}},"parent":{}}],["isloginsuccess",{"_index":21,"name":{"19":{}},"parent":{}}],["job",{"_index":45,"name":{"40":{}},"parent":{}}],["jobresult",{"_index":42,"name":{"38":{}},"parent":{}}],["link",{"_index":32,"name":{"28":{}},"parent":{}}],["links",{"_index":41,"name":{"37":{},"45":{}},"parent":{}}],["logfile",{"_index":15,"name":{"13":{}},"parent":{}}],["login",{"_index":103,"name":{"112":{}},"parent":{}}],["logout",{"_index":104,"name":{"113":{}},"parent":{}}],["makerequest",{"_index":74,"name":{"69":{}},"parent":{}}],["method",{"_index":33,"name":{"29":{}},"parent":{}}],["name",{"_index":23,"name":{"21":{},"42":{}},"parent":{}}],["needsretry",{"_index":75,"name":{"70":{}},"parent":{}}],["params",{"_index":71,"name":{"66":{}},"parent":{}}],["parseandsubmitauthorizeform",{"_index":76,"name":{"71":{}},"parent":{}}],["parsegeneratedcode",{"_index":77,"name":{"72":{}},"parent":{}}],["parsesasviyalog",{"_index":79,"name":{"74":{}},"parent":{}}],["parsesourcecode",{"_index":78,"name":{"73":{}},"parent":{}}],["pathsas9",{"_index":55,"name":{"52":{}},"parent":{}}],["pathsasviya",{"_index":56,"name":{"53":{}},"parent":{}}],["promise",{"_index":65,"name":{"61":{}},"parent":{}}],["refreshtokens",{"_index":91,"name":{"90":{},"104":{}},"parent":{}}],["reject",{"_index":68,"name":{"63":{}},"parent":{}}],["rel",{"_index":35,"name":{"30":{}},"parent":{}}],["request",{"_index":105,"name":{"114":{}},"parent":{}}],["requestpromise",{"_index":61,"name":{"59":{}},"parent":{}}],["resolve",{"_index":67,"name":{"62":{}},"parent":{}}],["results",{"_index":47,"name":{"46":{}},"parent":{}}],["sas9",{"_index":51,"name":{"49":{}},"parent":{}}],["sas9apiclient",{"_index":0,"name":{"0":{}},"parent":{"1":{},"2":{},"3":{},"4":{}}}],["sasjob",{"_index":69,"name":{"64":{}},"parent":{}}],["sasjs",{"_index":94,"name":{"93":{}},"parent":{"94":{},"95":{},"96":{},"97":{},"98":{},"99":{},"100":{},"101":{},"102":{},"103":{},"104":{},"105":{},"106":{},"107":{},"108":{},"109":{},"110":{},"111":{},"112":{},"113":{},"114":{},"115":{},"116":{}}}],["sasjsconfig",{"_index":52,"name":{"50":{}},"parent":{}}],["sasjsrequest",{"_index":9,"name":{"8":{}},"parent":{}}],["sasjswaitingrequest",{"_index":60,"name":{"58":{}},"parent":{}}],["sasviya",{"_index":49,"name":{"48":{}},"parent":{}}],["sasviyaapiclient",{"_index":82,"name":{"77":{}},"parent":{"78":{},"79":{},"80":{},"81":{},"82":{},"83":{},"84":{},"85":{},"86":{},"87":{},"88":{},"89":{},"90":{},"91":{},"92":{}}}],["saswork",{"_index":16,"name":{"14":{}},"parent":{}}],["serialize",{"_index":80,"name":{"75":{}},"parent":{}}],["servertype",{"_index":48,"name":{"47":{},"55":{}},"parent":{}}],["serverurl",{"_index":53,"name":{"51":{}},"parent":{}}],["servicelink",{"_index":10,"name":{"9":{}},"parent":{}}],["session",{"_index":72,"name":{"67":{}},"parent":{}}],["setconfig",{"_index":4,"name":{"3":{},"81":{}},"parent":{}}],["setdebugstate",{"_index":101,"name":{"110":{}},"parent":{}}],["setsasjsconfig",{"_index":100,"name":{"109":{}},"parent":{}}],["sourcecode",{"_index":13,"name":{"11":{}},"parent":{}}],["splitchunks",{"_index":81,"name":{"76":{}},"parent":{}}],["timestamp",{"_index":12,"name":{"10":{}},"parent":{}}],["type",{"_index":38,"name":{"33":{}},"parent":{}}],["types",{"_index":8,"name":{"7":{}},"parent":{"8":{},"20":{},"25":{},"28":{},"34":{},"38":{},"40":{},"47":{},"50":{},"58":{},"67":{}}}],["types.context",{"_index":24,"name":{},"parent":{"21":{},"22":{},"23":{},"24":{}}}],["types.csrftoken",{"_index":30,"name":{},"parent":{"26":{},"27":{}}}],["types.folder",{"_index":40,"name":{},"parent":{"35":{},"36":{},"37":{}}}],["types.job",{"_index":46,"name":{},"parent":{"41":{},"42":{},"43":{},"44":{},"45":{},"46":{}}}],["types.jobresult",{"_index":44,"name":{},"parent":{"39":{}}}],["types.link",{"_index":34,"name":{},"parent":{"29":{},"30":{},"31":{},"32":{},"33":{}}}],["types.sasjsconfig",{"_index":54,"name":{},"parent":{"51":{},"52":{},"53":{},"54":{},"55":{},"56":{},"57":{}}}],["types.sasjsrequest",{"_index":11,"name":{},"parent":{"9":{},"10":{},"11":{},"12":{},"13":{},"14":{}}}],["types.sasjswaitingrequest",{"_index":62,"name":{},"parent":{"59":{},"64":{},"65":{},"66":{}}}],["types.sasjswaitingrequest.requestpromise",{"_index":64,"name":{},"parent":{"60":{}}}],["types.sasjswaitingrequest.requestpromise.__type",{"_index":66,"name":{},"parent":{"61":{},"62":{},"63":{}}}],["types.servertype",{"_index":50,"name":{},"parent":{"48":{},"49":{}}}],["types.session",{"_index":73,"name":{},"parent":{"68":{}}}],["uri",{"_index":37,"name":{"32":{},"36":{},"43":{}},"parent":{}}],["utils",{"_index":6,"name":{"5":{}},"parent":{"6":{},"15":{},"16":{},"17":{},"18":{},"19":{},"69":{},"70":{},"71":{},"72":{},"73":{},"74":{},"75":{},"76":{}}}],["value",{"_index":31,"name":{"27":{}},"parent":{}}],["version",{"_index":27,"name":{"24":{}},"parent":{}}]],"pipeline":[]}} \ No newline at end of file +{"kinds":{"1":"Module","4":"Enumeration","16":"Enumeration member","32":"Variable","64":"Function","128":"Class","256":"Interface","512":"Constructor","1024":"Property","2048":"Method","65536":"Type literal"},"rows":[{"id":0,"kind":1,"name":"utils","url":"modules/utils.html","classes":"tsd-kind-module"},{"id":1,"kind":64,"name":"asyncForEach","url":"modules/utils.html#asyncforeach","classes":"tsd-kind-function tsd-parent-kind-module","parent":"utils"},{"id":2,"kind":1,"name":"types","url":"modules/types.html","classes":"tsd-kind-module"},{"id":3,"kind":256,"name":"SASjsRequest","url":"interfaces/types.sasjsrequest.html","classes":"tsd-kind-interface tsd-parent-kind-module","parent":"types"},{"id":4,"kind":1024,"name":"serviceLink","url":"interfaces/types.sasjsrequest.html#servicelink","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"types.SASjsRequest"},{"id":5,"kind":1024,"name":"timestamp","url":"interfaces/types.sasjsrequest.html#timestamp","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"types.SASjsRequest"},{"id":6,"kind":1024,"name":"sourceCode","url":"interfaces/types.sasjsrequest.html#sourcecode","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"types.SASjsRequest"},{"id":7,"kind":1024,"name":"generatedCode","url":"interfaces/types.sasjsrequest.html#generatedcode","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"types.SASjsRequest"},{"id":8,"kind":1024,"name":"logFile","url":"interfaces/types.sasjsrequest.html#logfile","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"types.SASjsRequest"},{"id":9,"kind":1024,"name":"SASWORK","url":"interfaces/types.sasjsrequest.html#saswork","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"types.SASjsRequest"},{"id":10,"kind":64,"name":"compareTimestamps","url":"modules/utils.html#comparetimestamps","classes":"tsd-kind-function tsd-parent-kind-module","parent":"utils"},{"id":11,"kind":64,"name":"convertToCSV","url":"modules/utils.html#converttocsv","classes":"tsd-kind-function tsd-parent-kind-module","parent":"utils"},{"id":12,"kind":64,"name":"isAuthorizeFormRequired","url":"modules/utils.html#isauthorizeformrequired","classes":"tsd-kind-function tsd-parent-kind-module","parent":"utils"},{"id":13,"kind":64,"name":"isLogInRequired","url":"modules/utils.html#isloginrequired","classes":"tsd-kind-function tsd-parent-kind-module","parent":"utils"},{"id":14,"kind":64,"name":"isLogInSuccess","url":"modules/utils.html#isloginsuccess","classes":"tsd-kind-function tsd-parent-kind-module","parent":"utils"},{"id":15,"kind":256,"name":"Context","url":"interfaces/types.context.html","classes":"tsd-kind-interface tsd-parent-kind-module","parent":"types"},{"id":16,"kind":1024,"name":"name","url":"interfaces/types.context.html#name","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"types.Context"},{"id":17,"kind":1024,"name":"id","url":"interfaces/types.context.html#id","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"types.Context"},{"id":18,"kind":1024,"name":"createdBy","url":"interfaces/types.context.html#createdby","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"types.Context"},{"id":19,"kind":1024,"name":"version","url":"interfaces/types.context.html#version","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"types.Context"},{"id":20,"kind":256,"name":"CsrfToken","url":"interfaces/types.csrftoken.html","classes":"tsd-kind-interface tsd-parent-kind-module","parent":"types"},{"id":21,"kind":1024,"name":"headerName","url":"interfaces/types.csrftoken.html#headername","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"types.CsrfToken"},{"id":22,"kind":1024,"name":"value","url":"interfaces/types.csrftoken.html#value","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"types.CsrfToken"},{"id":23,"kind":256,"name":"Link","url":"interfaces/types.link.html","classes":"tsd-kind-interface tsd-parent-kind-module","parent":"types"},{"id":24,"kind":1024,"name":"method","url":"interfaces/types.link.html#method","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"types.Link"},{"id":25,"kind":1024,"name":"rel","url":"interfaces/types.link.html#rel","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"types.Link"},{"id":26,"kind":1024,"name":"href","url":"interfaces/types.link.html#href","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"types.Link"},{"id":27,"kind":1024,"name":"uri","url":"interfaces/types.link.html#uri","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"types.Link"},{"id":28,"kind":1024,"name":"type","url":"interfaces/types.link.html#type","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"types.Link"},{"id":29,"kind":256,"name":"Folder","url":"interfaces/types.folder.html","classes":"tsd-kind-interface tsd-parent-kind-module","parent":"types"},{"id":30,"kind":1024,"name":"id","url":"interfaces/types.folder.html#id","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"types.Folder"},{"id":31,"kind":1024,"name":"uri","url":"interfaces/types.folder.html#uri","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"types.Folder"},{"id":32,"kind":1024,"name":"links","url":"interfaces/types.folder.html#links","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"types.Folder"},{"id":33,"kind":256,"name":"JobResult","url":"interfaces/types.jobresult.html","classes":"tsd-kind-interface tsd-parent-kind-module","parent":"types"},{"id":34,"kind":1024,"name":"_webout.json","url":"interfaces/types.jobresult.html#_webout_json","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"types.JobResult"},{"id":35,"kind":256,"name":"Job","url":"interfaces/types.job.html","classes":"tsd-kind-interface tsd-parent-kind-module","parent":"types"},{"id":36,"kind":1024,"name":"id","url":"interfaces/types.job.html#id","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"types.Job"},{"id":37,"kind":1024,"name":"name","url":"interfaces/types.job.html#name","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"types.Job"},{"id":38,"kind":1024,"name":"uri","url":"interfaces/types.job.html#uri","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"types.Job"},{"id":39,"kind":1024,"name":"createdBy","url":"interfaces/types.job.html#createdby","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"types.Job"},{"id":40,"kind":1024,"name":"links","url":"interfaces/types.job.html#links","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"types.Job"},{"id":41,"kind":1024,"name":"results","url":"interfaces/types.job.html#results","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"types.Job"},{"id":42,"kind":1024,"name":"error","url":"interfaces/types.job.html#error","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"types.Job"},{"id":43,"kind":4,"name":"ServerType","url":"enums/types.servertype.html","classes":"tsd-kind-enum tsd-parent-kind-module","parent":"types"},{"id":44,"kind":16,"name":"SASViya","url":"enums/types.servertype.html#sasviya","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"types.ServerType"},{"id":45,"kind":16,"name":"SAS9","url":"enums/types.servertype.html#sas9","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"types.ServerType"},{"id":46,"kind":128,"name":"SASjsConfig","url":"classes/types.sasjsconfig.html","classes":"tsd-kind-class tsd-parent-kind-module","parent":"types"},{"id":47,"kind":1024,"name":"serverUrl","url":"classes/types.sasjsconfig.html#serverurl","classes":"tsd-kind-property tsd-parent-kind-class","parent":"types.SASjsConfig"},{"id":48,"kind":1024,"name":"pathSAS9","url":"classes/types.sasjsconfig.html#pathsas9","classes":"tsd-kind-property tsd-parent-kind-class","parent":"types.SASjsConfig"},{"id":49,"kind":1024,"name":"pathSASViya","url":"classes/types.sasjsconfig.html#pathsasviya","classes":"tsd-kind-property tsd-parent-kind-class","parent":"types.SASjsConfig"},{"id":50,"kind":1024,"name":"appLoc","url":"classes/types.sasjsconfig.html#apploc","classes":"tsd-kind-property tsd-parent-kind-class","parent":"types.SASjsConfig"},{"id":51,"kind":1024,"name":"serverType","url":"classes/types.sasjsconfig.html#servertype","classes":"tsd-kind-property tsd-parent-kind-class","parent":"types.SASjsConfig"},{"id":52,"kind":1024,"name":"debug","url":"classes/types.sasjsconfig.html#debug","classes":"tsd-kind-property tsd-parent-kind-class","parent":"types.SASjsConfig"},{"id":53,"kind":1024,"name":"contextName","url":"classes/types.sasjsconfig.html#contextname","classes":"tsd-kind-property tsd-parent-kind-class","parent":"types.SASjsConfig"},{"id":54,"kind":1024,"name":"useComputeApi","url":"classes/types.sasjsconfig.html#usecomputeapi","classes":"tsd-kind-property tsd-parent-kind-class","parent":"types.SASjsConfig"},{"id":55,"kind":256,"name":"SASjsWaitingRequest","url":"interfaces/types.sasjswaitingrequest.html","classes":"tsd-kind-interface tsd-parent-kind-module","parent":"types"},{"id":56,"kind":1024,"name":"requestPromise","url":"interfaces/types.sasjswaitingrequest.html#requestpromise","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"types.SASjsWaitingRequest"},{"id":57,"kind":65536,"name":"__type","url":"interfaces/types.sasjswaitingrequest.html#requestpromise.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property","parent":"types.SASjsWaitingRequest.requestPromise"},{"id":58,"kind":32,"name":"promise","url":"interfaces/types.sasjswaitingrequest.html#requestpromise.__type.promise","classes":"tsd-kind-variable tsd-parent-kind-type-literal","parent":"types.SASjsWaitingRequest.requestPromise.__type"},{"id":59,"kind":32,"name":"resolve","url":"interfaces/types.sasjswaitingrequest.html#requestpromise.__type.resolve","classes":"tsd-kind-variable tsd-parent-kind-type-literal","parent":"types.SASjsWaitingRequest.requestPromise.__type"},{"id":60,"kind":32,"name":"reject","url":"interfaces/types.sasjswaitingrequest.html#requestpromise.__type.reject","classes":"tsd-kind-variable tsd-parent-kind-type-literal","parent":"types.SASjsWaitingRequest.requestPromise.__type"},{"id":61,"kind":1024,"name":"SASjob","url":"interfaces/types.sasjswaitingrequest.html#sasjob","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"types.SASjsWaitingRequest"},{"id":62,"kind":1024,"name":"data","url":"interfaces/types.sasjswaitingrequest.html#data","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"types.SASjsWaitingRequest"},{"id":63,"kind":1024,"name":"config","url":"interfaces/types.sasjswaitingrequest.html#config","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"types.SASjsWaitingRequest"},{"id":64,"kind":256,"name":"Session","url":"interfaces/types.session.html","classes":"tsd-kind-interface tsd-parent-kind-module","parent":"types"},{"id":65,"kind":1024,"name":"id","url":"interfaces/types.session.html#id","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"types.Session"},{"id":66,"kind":1024,"name":"state","url":"interfaces/types.session.html#state","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"types.Session"},{"id":67,"kind":1024,"name":"links","url":"interfaces/types.session.html#links","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"types.Session"},{"id":68,"kind":256,"name":"UploadFile","url":"interfaces/types.uploadfile.html","classes":"tsd-kind-interface tsd-parent-kind-module","parent":"types"},{"id":69,"kind":1024,"name":"file","url":"interfaces/types.uploadfile.html#file","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"types.UploadFile"},{"id":70,"kind":1024,"name":"fileName","url":"interfaces/types.uploadfile.html#filename","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"types.UploadFile"},{"id":71,"kind":64,"name":"makeRequest","url":"modules/utils.html#makerequest","classes":"tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter","parent":"utils"},{"id":72,"kind":64,"name":"needsRetry","url":"modules/utils.html#needsretry","classes":"tsd-kind-function tsd-parent-kind-module","parent":"utils"},{"id":73,"kind":64,"name":"parseAndSubmitAuthorizeForm","url":"modules/utils.html#parseandsubmitauthorizeform","classes":"tsd-kind-function tsd-parent-kind-module","parent":"utils"},{"id":74,"kind":64,"name":"parseGeneratedCode","url":"modules/utils.html#parsegeneratedcode","classes":"tsd-kind-function tsd-parent-kind-module","parent":"utils"},{"id":75,"kind":64,"name":"parseSourceCode","url":"modules/utils.html#parsesourcecode","classes":"tsd-kind-function tsd-parent-kind-module","parent":"utils"},{"id":76,"kind":64,"name":"parseSasViyaLog","url":"modules/utils.html#parsesasviyalog","classes":"tsd-kind-function tsd-parent-kind-module","parent":"utils"},{"id":77,"kind":64,"name":"serialize","url":"modules/utils.html#serialize","classes":"tsd-kind-function tsd-parent-kind-module","parent":"utils"},{"id":78,"kind":64,"name":"splitChunks","url":"modules/utils.html#splitchunks","classes":"tsd-kind-function tsd-parent-kind-module","parent":"utils"},{"id":79,"kind":128,"name":"FileUploader","url":"classes/reflection-611.reflection-149.fileuploader.html","classes":"tsd-kind-class tsd-parent-kind-module","parent":"."},{"id":80,"kind":512,"name":"constructor","url":"classes/reflection-611.reflection-149.fileuploader.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"..FileUploader"},{"id":81,"kind":2048,"name":"uploadFile","url":"classes/reflection-611.reflection-149.fileuploader.html#uploadfile","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..FileUploader"},{"id":82,"kind":128,"name":"SAS9ApiClient","url":"classes/reflection-611.reflection-149.sas9apiclient.html","classes":"tsd-kind-class tsd-parent-kind-module","parent":"."},{"id":83,"kind":512,"name":"constructor","url":"classes/reflection-611.reflection-149.sas9apiclient.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"..SAS9ApiClient"},{"id":84,"kind":2048,"name":"getConfig","url":"classes/reflection-611.reflection-149.sas9apiclient.html#getconfig","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SAS9ApiClient"},{"id":85,"kind":2048,"name":"setConfig","url":"classes/reflection-611.reflection-149.sas9apiclient.html#setconfig","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SAS9ApiClient"},{"id":86,"kind":2048,"name":"executeScript","url":"classes/reflection-611.reflection-149.sas9apiclient.html#executescript","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SAS9ApiClient"},{"id":87,"kind":256,"name":"JobDefinition","url":"interfaces/types.jobdefinition.html","classes":"tsd-kind-interface tsd-parent-kind-module","parent":"types"},{"id":88,"kind":1024,"name":"code","url":"interfaces/types.jobdefinition.html#code","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"types.JobDefinition"},{"id":89,"kind":64,"name":"formatDataForRequest","url":"modules/utils.html#formatdataforrequest","classes":"tsd-kind-function tsd-parent-kind-module","parent":"utils"},{"id":90,"kind":128,"name":"SessionManager","url":"classes/reflection-611.reflection-149.sessionmanager.html","classes":"tsd-kind-class tsd-parent-kind-module","parent":"."},{"id":91,"kind":512,"name":"constructor","url":"classes/reflection-611.reflection-149.sessionmanager.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"..SessionManager"},{"id":92,"kind":2048,"name":"getSession","url":"classes/reflection-611.reflection-149.sessionmanager.html#getsession","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SessionManager"},{"id":93,"kind":128,"name":"SASViyaApiClient","url":"classes/reflection-611.reflection-149.sasviyaapiclient.html","classes":"tsd-kind-class tsd-parent-kind-module","parent":"."},{"id":94,"kind":512,"name":"constructor","url":"classes/reflection-611.reflection-149.sasviyaapiclient.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"..SASViyaApiClient"},{"id":95,"kind":2048,"name":"getAppLocMap","url":"classes/reflection-611.reflection-149.sasviyaapiclient.html#getapplocmap","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASViyaApiClient"},{"id":96,"kind":2048,"name":"getConfig","url":"classes/reflection-611.reflection-149.sasviyaapiclient.html#getconfig","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASViyaApiClient"},{"id":97,"kind":2048,"name":"setConfig","url":"classes/reflection-611.reflection-149.sasviyaapiclient.html#setconfig","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASViyaApiClient"},{"id":98,"kind":2048,"name":"getAllContexts","url":"classes/reflection-611.reflection-149.sasviyaapiclient.html#getallcontexts","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASViyaApiClient"},{"id":99,"kind":2048,"name":"getExecutableContexts","url":"classes/reflection-611.reflection-149.sasviyaapiclient.html#getexecutablecontexts","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASViyaApiClient"},{"id":100,"kind":2048,"name":"createSession","url":"classes/reflection-611.reflection-149.sasviyaapiclient.html#createsession","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASViyaApiClient"},{"id":101,"kind":2048,"name":"executeScript","url":"classes/reflection-611.reflection-149.sasviyaapiclient.html#executescript","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASViyaApiClient"},{"id":102,"kind":2048,"name":"createFolder","url":"classes/reflection-611.reflection-149.sasviyaapiclient.html#createfolder","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASViyaApiClient"},{"id":103,"kind":2048,"name":"createJobDefinition","url":"classes/reflection-611.reflection-149.sasviyaapiclient.html#createjobdefinition","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASViyaApiClient"},{"id":104,"kind":2048,"name":"getAuthCode","url":"classes/reflection-611.reflection-149.sasviyaapiclient.html#getauthcode","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASViyaApiClient"},{"id":105,"kind":2048,"name":"getAccessToken","url":"classes/reflection-611.reflection-149.sasviyaapiclient.html#getaccesstoken","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASViyaApiClient"},{"id":106,"kind":2048,"name":"refreshTokens","url":"classes/reflection-611.reflection-149.sasviyaapiclient.html#refreshtokens","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASViyaApiClient"},{"id":107,"kind":2048,"name":"deleteClient","url":"classes/reflection-611.reflection-149.sasviyaapiclient.html#deleteclient","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASViyaApiClient"},{"id":108,"kind":2048,"name":"executeComputeJob","url":"classes/reflection-611.reflection-149.sasviyaapiclient.html#executecomputejob","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASViyaApiClient"},{"id":109,"kind":2048,"name":"executeJob","url":"classes/reflection-611.reflection-149.sasviyaapiclient.html#executejob","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASViyaApiClient"},{"id":110,"kind":2048,"name":"setCsrfTokenLocal","url":"classes/reflection-611.reflection-149.sasviyaapiclient.html#setcsrftokenlocal","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASViyaApiClient"},{"id":111,"kind":128,"name":"SASjs","url":"classes/reflection-611.reflection-149.sasjs.html","classes":"tsd-kind-class tsd-parent-kind-module","parent":"."},{"id":112,"kind":512,"name":"constructor","url":"classes/reflection-611.reflection-149.sasjs.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"..SASjs"},{"id":113,"kind":2048,"name":"executeScriptSAS9","url":"classes/reflection-611.reflection-149.sasjs.html#executescriptsas9","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":114,"kind":2048,"name":"getAllContexts","url":"classes/reflection-611.reflection-149.sasjs.html#getallcontexts","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":115,"kind":2048,"name":"getExecutableContexts","url":"classes/reflection-611.reflection-149.sasjs.html#getexecutablecontexts","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":116,"kind":2048,"name":"createSession","url":"classes/reflection-611.reflection-149.sasjs.html#createsession","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":117,"kind":2048,"name":"executeScriptSASViya","url":"classes/reflection-611.reflection-149.sasjs.html#executescriptsasviya","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":118,"kind":2048,"name":"createFolder","url":"classes/reflection-611.reflection-149.sasjs.html#createfolder","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":119,"kind":2048,"name":"createJobDefinition","url":"classes/reflection-611.reflection-149.sasjs.html#createjobdefinition","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":120,"kind":2048,"name":"getAuthCode","url":"classes/reflection-611.reflection-149.sasjs.html#getauthcode","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":121,"kind":2048,"name":"getAccessToken","url":"classes/reflection-611.reflection-149.sasjs.html#getaccesstoken","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":122,"kind":2048,"name":"refreshTokens","url":"classes/reflection-611.reflection-149.sasjs.html#refreshtokens","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":123,"kind":2048,"name":"deleteClient","url":"classes/reflection-611.reflection-149.sasjs.html#deleteclient","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":124,"kind":2048,"name":"getSasjsConfig","url":"classes/reflection-611.reflection-149.sasjs.html#getsasjsconfig","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":125,"kind":2048,"name":"getUserName","url":"classes/reflection-611.reflection-149.sasjs.html#getusername","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":126,"kind":2048,"name":"getCsrfApi","url":"classes/reflection-611.reflection-149.sasjs.html#getcsrfapi","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":127,"kind":2048,"name":"getCsrfWeb","url":"classes/reflection-611.reflection-149.sasjs.html#getcsrfweb","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":128,"kind":2048,"name":"setSASjsConfig","url":"classes/reflection-611.reflection-149.sasjs.html#setsasjsconfig","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":129,"kind":2048,"name":"setDebugState","url":"classes/reflection-611.reflection-149.sasjs.html#setdebugstate","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":130,"kind":2048,"name":"checkSession","url":"classes/reflection-611.reflection-149.sasjs.html#checksession","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":131,"kind":2048,"name":"logIn","url":"classes/reflection-611.reflection-149.sasjs.html#login","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":132,"kind":2048,"name":"logOut","url":"classes/reflection-611.reflection-149.sasjs.html#logout","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":133,"kind":2048,"name":"uploadFile","url":"classes/reflection-611.reflection-149.sasjs.html#uploadfile","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":134,"kind":2048,"name":"request","url":"classes/reflection-611.reflection-149.sasjs.html#request","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":135,"kind":2048,"name":"deployServicePack","url":"classes/reflection-611.reflection-149.sasjs.html#deployservicepack","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":136,"kind":2048,"name":"getSasRequests","url":"classes/reflection-611.reflection-149.sasjs.html#getsasrequests","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"}],"index":{"version":"2.3.8","fields":["name","parent"],"fieldVectors":[["name/0",[0,21.239]],["parent/0",[]],["name/1",[1,45.218]],["parent/1",[0,2.111]],["name/2",[2,22.531]],["parent/2",[]],["name/3",[3,45.218]],["parent/3",[2,2.24]],["name/4",[4,45.218]],["parent/4",[5,3.037]],["name/5",[6,45.218]],["parent/5",[5,3.037]],["name/6",[7,45.218]],["parent/6",[5,3.037]],["name/7",[8,45.218]],["parent/7",[5,3.037]],["name/8",[9,45.218]],["parent/8",[5,3.037]],["name/9",[10,45.218]],["parent/9",[5,3.037]],["name/10",[11,45.218]],["parent/10",[0,2.111]],["name/11",[12,45.218]],["parent/11",[0,2.111]],["name/12",[13,45.218]],["parent/12",[0,2.111]],["name/13",[14,45.218]],["parent/13",[0,2.111]],["name/14",[15,45.218]],["parent/14",[0,2.111]],["name/15",[16,45.218]],["parent/15",[2,2.24]],["name/16",[17,40.11]],["parent/16",[18,3.403]],["name/17",[19,34.232]],["parent/17",[18,3.403]],["name/18",[20,40.11]],["parent/18",[18,3.403]],["name/19",[21,45.218]],["parent/19",[18,3.403]],["name/20",[22,45.218]],["parent/20",[2,2.24]],["name/21",[23,45.218]],["parent/21",[24,3.987]],["name/22",[25,45.218]],["parent/22",[24,3.987]],["name/23",[26,45.218]],["parent/23",[2,2.24]],["name/24",[27,45.218]],["parent/24",[28,3.203]],["name/25",[29,45.218]],["parent/25",[28,3.203]],["name/26",[30,45.218]],["parent/26",[28,3.203]],["name/27",[31,36.745]],["parent/27",[28,3.203]],["name/28",[32,45.218]],["parent/28",[28,3.203]],["name/29",[33,45.218]],["parent/29",[2,2.24]],["name/30",[19,34.232]],["parent/30",[34,3.652]],["name/31",[31,36.745]],["parent/31",[34,3.652]],["name/32",[35,36.745]],["parent/32",[34,3.652]],["name/33",[36,45.218]],["parent/33",[2,2.24]],["name/34",[37,45.218]],["parent/34",[38,4.495]],["name/35",[39,45.218]],["parent/35",[2,2.24]],["name/36",[19,34.232]],["parent/36",[40,2.895]],["name/37",[17,40.11]],["parent/37",[40,2.895]],["name/38",[31,36.745]],["parent/38",[40,2.895]],["name/39",[20,40.11]],["parent/39",[40,2.895]],["name/40",[35,36.745]],["parent/40",[40,2.895]],["name/41",[41,45.218]],["parent/41",[40,2.895]],["name/42",[42,45.218]],["parent/42",[40,2.895]],["name/43",[43,40.11]],["parent/43",[2,2.24]],["name/44",[44,45.218]],["parent/44",[45,3.987]],["name/45",[46,45.218]],["parent/45",[45,3.987]],["name/46",[47,45.218]],["parent/46",[2,2.24]],["name/47",[48,45.218]],["parent/47",[49,2.77]],["name/48",[50,45.218]],["parent/48",[49,2.77]],["name/49",[51,45.218]],["parent/49",[49,2.77]],["name/50",[52,45.218]],["parent/50",[49,2.77]],["name/51",[43,40.11]],["parent/51",[49,2.77]],["name/52",[53,45.218]],["parent/52",[49,2.77]],["name/53",[54,45.218]],["parent/53",[49,2.77]],["name/54",[55,45.218]],["parent/54",[49,2.77]],["name/55",[56,45.218]],["parent/55",[2,2.24]],["name/56",[57,45.218]],["parent/56",[58,3.403]],["name/57",[59,45.218]],["parent/57",[60,4.495]],["name/58",[61,45.218]],["parent/58",[62,3.652]],["name/59",[63,45.218]],["parent/59",[62,3.652]],["name/60",[64,45.218]],["parent/60",[62,3.652]],["name/61",[65,45.218]],["parent/61",[58,3.403]],["name/62",[66,45.218]],["parent/62",[58,3.403]],["name/63",[67,45.218]],["parent/63",[58,3.403]],["name/64",[68,45.218]],["parent/64",[2,2.24]],["name/65",[19,34.232]],["parent/65",[69,3.652]],["name/66",[70,45.218]],["parent/66",[69,3.652]],["name/67",[35,36.745]],["parent/67",[69,3.652]],["name/68",[71,36.745]],["parent/68",[2,2.24]],["name/69",[72,45.218]],["parent/69",[73,3.987]],["name/70",[74,45.218]],["parent/70",[73,3.987]],["name/71",[75,45.218]],["parent/71",[0,2.111]],["name/72",[76,45.218]],["parent/72",[0,2.111]],["name/73",[77,45.218]],["parent/73",[0,2.111]],["name/74",[78,45.218]],["parent/74",[0,2.111]],["name/75",[79,45.218]],["parent/75",[0,2.111]],["name/76",[80,45.218]],["parent/76",[0,2.111]],["name/77",[81,45.218]],["parent/77",[0,2.111]],["name/78",[82,45.218]],["parent/78",[0,2.111]],["name/79",[83,36.745]],["parent/79",[84,3.203]],["name/80",[85,32.225]],["parent/80",[83,3.652]],["name/81",[71,36.745]],["parent/81",[83,3.652]],["name/82",[86,32.225]],["parent/82",[84,3.203]],["name/83",[85,32.225]],["parent/83",[86,3.203]],["name/84",[87,40.11]],["parent/84",[86,3.203]],["name/85",[88,40.11]],["parent/85",[86,3.203]],["name/86",[89,40.11]],["parent/86",[86,3.203]],["name/87",[90,45.218]],["parent/87",[2,2.24]],["name/88",[91,45.218]],["parent/88",[92,4.495]],["name/89",[93,45.218]],["parent/89",[0,2.111]],["name/90",[94,36.745]],["parent/90",[84,3.203]],["name/91",[85,32.225]],["parent/91",[94,3.652]],["name/92",[95,45.218]],["parent/92",[94,3.652]],["name/93",[96,20.095]],["parent/93",[84,3.203]],["name/94",[85,32.225]],["parent/94",[96,1.997]],["name/95",[97,45.218]],["parent/95",[96,1.997]],["name/96",[87,40.11]],["parent/96",[96,1.997]],["name/97",[88,40.11]],["parent/97",[96,1.997]],["name/98",[98,40.11]],["parent/98",[96,1.997]],["name/99",[99,40.11]],["parent/99",[96,1.997]],["name/100",[100,40.11]],["parent/100",[96,1.997]],["name/101",[89,40.11]],["parent/101",[96,1.997]],["name/102",[101,40.11]],["parent/102",[96,1.997]],["name/103",[102,40.11]],["parent/103",[96,1.997]],["name/104",[103,40.11]],["parent/104",[96,1.997]],["name/105",[104,40.11]],["parent/105",[96,1.997]],["name/106",[105,40.11]],["parent/106",[96,1.997]],["name/107",[106,40.11]],["parent/107",[96,1.997]],["name/108",[107,45.218]],["parent/108",[96,1.997]],["name/109",[108,45.218]],["parent/109",[96,1.997]],["name/110",[109,45.218]],["parent/110",[96,1.997]],["name/111",[110,16.501]],["parent/111",[84,3.203]],["name/112",[85,32.225]],["parent/112",[110,1.64]],["name/113",[111,45.218]],["parent/113",[110,1.64]],["name/114",[98,40.11]],["parent/114",[110,1.64]],["name/115",[99,40.11]],["parent/115",[110,1.64]],["name/116",[100,40.11]],["parent/116",[110,1.64]],["name/117",[112,45.218]],["parent/117",[110,1.64]],["name/118",[101,40.11]],["parent/118",[110,1.64]],["name/119",[102,40.11]],["parent/119",[110,1.64]],["name/120",[103,40.11]],["parent/120",[110,1.64]],["name/121",[104,40.11]],["parent/121",[110,1.64]],["name/122",[105,40.11]],["parent/122",[110,1.64]],["name/123",[106,40.11]],["parent/123",[110,1.64]],["name/124",[113,45.218]],["parent/124",[110,1.64]],["name/125",[114,45.218]],["parent/125",[110,1.64]],["name/126",[115,45.218]],["parent/126",[110,1.64]],["name/127",[116,45.218]],["parent/127",[110,1.64]],["name/128",[117,45.218]],["parent/128",[110,1.64]],["name/129",[118,45.218]],["parent/129",[110,1.64]],["name/130",[119,45.218]],["parent/130",[110,1.64]],["name/131",[120,45.218]],["parent/131",[110,1.64]],["name/132",[121,45.218]],["parent/132",[110,1.64]],["name/133",[71,36.745]],["parent/133",[110,1.64]],["name/134",[122,45.218]],["parent/134",[110,1.64]],["name/135",[123,45.218]],["parent/135",[110,1.64]],["name/136",[124,45.218]],["parent/136",[110,1.64]]],"invertedIndex":[["",{"_index":84,"name":{},"parent":{"79":{},"82":{},"90":{},"93":{},"111":{}}}],["__type",{"_index":59,"name":{"57":{}},"parent":{}}],["_webout.json",{"_index":37,"name":{"34":{}},"parent":{}}],["apploc",{"_index":52,"name":{"50":{}},"parent":{}}],["asyncforeach",{"_index":1,"name":{"1":{}},"parent":{}}],["checksession",{"_index":119,"name":{"130":{}},"parent":{}}],["code",{"_index":91,"name":{"88":{}},"parent":{}}],["comparetimestamps",{"_index":11,"name":{"10":{}},"parent":{}}],["config",{"_index":67,"name":{"63":{}},"parent":{}}],["constructor",{"_index":85,"name":{"80":{},"83":{},"91":{},"94":{},"112":{}},"parent":{}}],["context",{"_index":16,"name":{"15":{}},"parent":{}}],["contextname",{"_index":54,"name":{"53":{}},"parent":{}}],["converttocsv",{"_index":12,"name":{"11":{}},"parent":{}}],["createdby",{"_index":20,"name":{"18":{},"39":{}},"parent":{}}],["createfolder",{"_index":101,"name":{"102":{},"118":{}},"parent":{}}],["createjobdefinition",{"_index":102,"name":{"103":{},"119":{}},"parent":{}}],["createsession",{"_index":100,"name":{"100":{},"116":{}},"parent":{}}],["csrftoken",{"_index":22,"name":{"20":{}},"parent":{}}],["data",{"_index":66,"name":{"62":{}},"parent":{}}],["debug",{"_index":53,"name":{"52":{}},"parent":{}}],["deleteclient",{"_index":106,"name":{"107":{},"123":{}},"parent":{}}],["deployservicepack",{"_index":123,"name":{"135":{}},"parent":{}}],["error",{"_index":42,"name":{"42":{}},"parent":{}}],["executecomputejob",{"_index":107,"name":{"108":{}},"parent":{}}],["executejob",{"_index":108,"name":{"109":{}},"parent":{}}],["executescript",{"_index":89,"name":{"86":{},"101":{}},"parent":{}}],["executescriptsas9",{"_index":111,"name":{"113":{}},"parent":{}}],["executescriptsasviya",{"_index":112,"name":{"117":{}},"parent":{}}],["file",{"_index":72,"name":{"69":{}},"parent":{}}],["filename",{"_index":74,"name":{"70":{}},"parent":{}}],["fileuploader",{"_index":83,"name":{"79":{}},"parent":{"80":{},"81":{}}}],["folder",{"_index":33,"name":{"29":{}},"parent":{}}],["formatdataforrequest",{"_index":93,"name":{"89":{}},"parent":{}}],["generatedcode",{"_index":8,"name":{"7":{}},"parent":{}}],["getaccesstoken",{"_index":104,"name":{"105":{},"121":{}},"parent":{}}],["getallcontexts",{"_index":98,"name":{"98":{},"114":{}},"parent":{}}],["getapplocmap",{"_index":97,"name":{"95":{}},"parent":{}}],["getauthcode",{"_index":103,"name":{"104":{},"120":{}},"parent":{}}],["getconfig",{"_index":87,"name":{"84":{},"96":{}},"parent":{}}],["getcsrfapi",{"_index":115,"name":{"126":{}},"parent":{}}],["getcsrfweb",{"_index":116,"name":{"127":{}},"parent":{}}],["getexecutablecontexts",{"_index":99,"name":{"99":{},"115":{}},"parent":{}}],["getsasjsconfig",{"_index":113,"name":{"124":{}},"parent":{}}],["getsasrequests",{"_index":124,"name":{"136":{}},"parent":{}}],["getsession",{"_index":95,"name":{"92":{}},"parent":{}}],["getusername",{"_index":114,"name":{"125":{}},"parent":{}}],["headername",{"_index":23,"name":{"21":{}},"parent":{}}],["href",{"_index":30,"name":{"26":{}},"parent":{}}],["id",{"_index":19,"name":{"17":{},"30":{},"36":{},"65":{}},"parent":{}}],["isauthorizeformrequired",{"_index":13,"name":{"12":{}},"parent":{}}],["isloginrequired",{"_index":14,"name":{"13":{}},"parent":{}}],["isloginsuccess",{"_index":15,"name":{"14":{}},"parent":{}}],["job",{"_index":39,"name":{"35":{}},"parent":{}}],["jobdefinition",{"_index":90,"name":{"87":{}},"parent":{}}],["jobresult",{"_index":36,"name":{"33":{}},"parent":{}}],["link",{"_index":26,"name":{"23":{}},"parent":{}}],["links",{"_index":35,"name":{"32":{},"40":{},"67":{}},"parent":{}}],["logfile",{"_index":9,"name":{"8":{}},"parent":{}}],["login",{"_index":120,"name":{"131":{}},"parent":{}}],["logout",{"_index":121,"name":{"132":{}},"parent":{}}],["makerequest",{"_index":75,"name":{"71":{}},"parent":{}}],["method",{"_index":27,"name":{"24":{}},"parent":{}}],["name",{"_index":17,"name":{"16":{},"37":{}},"parent":{}}],["needsretry",{"_index":76,"name":{"72":{}},"parent":{}}],["parseandsubmitauthorizeform",{"_index":77,"name":{"73":{}},"parent":{}}],["parsegeneratedcode",{"_index":78,"name":{"74":{}},"parent":{}}],["parsesasviyalog",{"_index":80,"name":{"76":{}},"parent":{}}],["parsesourcecode",{"_index":79,"name":{"75":{}},"parent":{}}],["pathsas9",{"_index":50,"name":{"48":{}},"parent":{}}],["pathsasviya",{"_index":51,"name":{"49":{}},"parent":{}}],["promise",{"_index":61,"name":{"58":{}},"parent":{}}],["refreshtokens",{"_index":105,"name":{"106":{},"122":{}},"parent":{}}],["reject",{"_index":64,"name":{"60":{}},"parent":{}}],["rel",{"_index":29,"name":{"25":{}},"parent":{}}],["request",{"_index":122,"name":{"134":{}},"parent":{}}],["requestpromise",{"_index":57,"name":{"56":{}},"parent":{}}],["resolve",{"_index":63,"name":{"59":{}},"parent":{}}],["results",{"_index":41,"name":{"41":{}},"parent":{}}],["sas9",{"_index":46,"name":{"45":{}},"parent":{}}],["sas9apiclient",{"_index":86,"name":{"82":{}},"parent":{"83":{},"84":{},"85":{},"86":{}}}],["sasjob",{"_index":65,"name":{"61":{}},"parent":{}}],["sasjs",{"_index":110,"name":{"111":{}},"parent":{"112":{},"113":{},"114":{},"115":{},"116":{},"117":{},"118":{},"119":{},"120":{},"121":{},"122":{},"123":{},"124":{},"125":{},"126":{},"127":{},"128":{},"129":{},"130":{},"131":{},"132":{},"133":{},"134":{},"135":{},"136":{}}}],["sasjsconfig",{"_index":47,"name":{"46":{}},"parent":{}}],["sasjsrequest",{"_index":3,"name":{"3":{}},"parent":{}}],["sasjswaitingrequest",{"_index":56,"name":{"55":{}},"parent":{}}],["sasviya",{"_index":44,"name":{"44":{}},"parent":{}}],["sasviyaapiclient",{"_index":96,"name":{"93":{}},"parent":{"94":{},"95":{},"96":{},"97":{},"98":{},"99":{},"100":{},"101":{},"102":{},"103":{},"104":{},"105":{},"106":{},"107":{},"108":{},"109":{},"110":{}}}],["saswork",{"_index":10,"name":{"9":{}},"parent":{}}],["serialize",{"_index":81,"name":{"77":{}},"parent":{}}],["servertype",{"_index":43,"name":{"43":{},"51":{}},"parent":{}}],["serverurl",{"_index":48,"name":{"47":{}},"parent":{}}],["servicelink",{"_index":4,"name":{"4":{}},"parent":{}}],["session",{"_index":68,"name":{"64":{}},"parent":{}}],["sessionmanager",{"_index":94,"name":{"90":{}},"parent":{"91":{},"92":{}}}],["setconfig",{"_index":88,"name":{"85":{},"97":{}},"parent":{}}],["setcsrftokenlocal",{"_index":109,"name":{"110":{}},"parent":{}}],["setdebugstate",{"_index":118,"name":{"129":{}},"parent":{}}],["setsasjsconfig",{"_index":117,"name":{"128":{}},"parent":{}}],["sourcecode",{"_index":7,"name":{"6":{}},"parent":{}}],["splitchunks",{"_index":82,"name":{"78":{}},"parent":{}}],["state",{"_index":70,"name":{"66":{}},"parent":{}}],["timestamp",{"_index":6,"name":{"5":{}},"parent":{}}],["type",{"_index":32,"name":{"28":{}},"parent":{}}],["types",{"_index":2,"name":{"2":{}},"parent":{"3":{},"15":{},"20":{},"23":{},"29":{},"33":{},"35":{},"43":{},"46":{},"55":{},"64":{},"68":{},"87":{}}}],["types.context",{"_index":18,"name":{},"parent":{"16":{},"17":{},"18":{},"19":{}}}],["types.csrftoken",{"_index":24,"name":{},"parent":{"21":{},"22":{}}}],["types.folder",{"_index":34,"name":{},"parent":{"30":{},"31":{},"32":{}}}],["types.job",{"_index":40,"name":{},"parent":{"36":{},"37":{},"38":{},"39":{},"40":{},"41":{},"42":{}}}],["types.jobdefinition",{"_index":92,"name":{},"parent":{"88":{}}}],["types.jobresult",{"_index":38,"name":{},"parent":{"34":{}}}],["types.link",{"_index":28,"name":{},"parent":{"24":{},"25":{},"26":{},"27":{},"28":{}}}],["types.sasjsconfig",{"_index":49,"name":{},"parent":{"47":{},"48":{},"49":{},"50":{},"51":{},"52":{},"53":{},"54":{}}}],["types.sasjsrequest",{"_index":5,"name":{},"parent":{"4":{},"5":{},"6":{},"7":{},"8":{},"9":{}}}],["types.sasjswaitingrequest",{"_index":58,"name":{},"parent":{"56":{},"61":{},"62":{},"63":{}}}],["types.sasjswaitingrequest.requestpromise",{"_index":60,"name":{},"parent":{"57":{}}}],["types.sasjswaitingrequest.requestpromise.__type",{"_index":62,"name":{},"parent":{"58":{},"59":{},"60":{}}}],["types.servertype",{"_index":45,"name":{},"parent":{"44":{},"45":{}}}],["types.session",{"_index":69,"name":{},"parent":{"65":{},"66":{},"67":{}}}],["types.uploadfile",{"_index":73,"name":{},"parent":{"69":{},"70":{}}}],["uploadfile",{"_index":71,"name":{"68":{},"81":{},"133":{}},"parent":{}}],["uri",{"_index":31,"name":{"27":{},"31":{},"38":{}},"parent":{}}],["usecomputeapi",{"_index":55,"name":{"54":{}},"parent":{}}],["utils",{"_index":0,"name":{"0":{}},"parent":{"1":{},"10":{},"11":{},"12":{},"13":{},"14":{},"71":{},"72":{},"73":{},"74":{},"75":{},"76":{},"77":{},"78":{},"89":{}}}],["value",{"_index":25,"name":{"22":{}},"parent":{}}],["version",{"_index":21,"name":{"19":{}},"parent":{}}]],"pipeline":[]}} \ No newline at end of file diff --git a/docs/classes/reflection-560.reflection-1.sas9apiclient.html b/docs/classes/reflection-560.reflection-1.sas9apiclient.html new file mode 100644 index 0000000..263ae4d --- /dev/null +++ b/docs/classes/reflection-560.reflection-1.sas9apiclient.html @@ -0,0 +1,294 @@ + + + + + + SAS9ApiClient | @sasjs/adapter + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + +
+
+ Menu +
+
+
+
+
+
+ +
+
+
+
+
+ +
+

Class SAS9ApiClient

+
+
+

A client for interfacing with the SAS9 REST API

+
+
+
+

Hierarchy

+
    +
  • + SAS9ApiClient +
  • +
+
+
+
+
+
+

Constructors

+ +
+
+

Methods

+ +
+
+
+
+
+

Constructors

+
+ +

constructor

+ +
    +
  • + +

    Parameters

    +
      +
    • +
      serverUrl: string
      +
    • +
    +

    Returns SAS9ApiClient

    +
  • +
+
+
+
+

Methods

+
+ +

executeScript

+
    +
  • executeScript(linesOfCode: string[], serverName: string, repositoryName: string): Promise<string>
  • +
+
    +
  • + +
    +
    +

    Executes code on a SAS9 server.

    +
    +
    +

    Parameters

    +
      +
    • +
      linesOfCode: string[]
      +
      +

      an array of lines of code to execute

      +
      +
    • +
    • +
      serverName: string
      +
      +

      the server to execute the code on

      +
      +
    • +
    • +
      repositoryName: string
      +
      +

      the repository to execute the code on

      +
      +
    • +
    +

    Returns Promise<string>

    +
  • +
+
+
+ +

getConfig

+
    +
  • getConfig(): object
  • +
+
    +
  • + +
    +
    +

    returns on object containing the server URL

    +
    +
    +

    Returns object

    +
      +
    • +
      serverUrl: string
      +
    • +
    +
  • +
+
+
+ +

setConfig

+
    +
  • setConfig(serverUrl: string): void
  • +
+
    +
  • + +
    +
    +

    Updates serverurl which is not null

    +
    +
    +

    Parameters

    +
      +
    • +
      serverUrl: string
      +
      +

      the URL of the server.

      +
      +
    • +
    +

    Returns void

    +
  • +
+
+
+ +
+
+ +
+
+
+ +
+

Generated using TypeDoc

+
+
+ + + + \ No newline at end of file diff --git a/docs/classes/reflection-560.reflection-1.sasjs.html b/docs/classes/reflection-560.reflection-1.sasjs.html new file mode 100644 index 0000000..92bd09f --- /dev/null +++ b/docs/classes/reflection-560.reflection-1.sasjs.html @@ -0,0 +1,934 @@ + + + + + + SASjs | @sasjs/adapter + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + +
+
+ Menu +
+
+
+
+
+
+
    +
  • + +
  • +
  • + +
  • +
  • + SASjs +
  • +
+
+
+
+
+
+ +
+

Class SASjs

+
+
+

SASjs is a JavaScript adapter for SAS.

+
+
+
+

Hierarchy

+
    +
  • + SASjs +
  • +
+
+
+
+ +
+
+
+

Constructors

+
+ +

constructor

+
    +
  • new SASjs(config?: any): SASjs
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      Optional config: any
      +
    • +
    +

    Returns SASjs

    +
  • +
+
+
+
+

Methods

+
+ +

checkSession

+
    +
  • checkSession(): Promise<object>
  • +
+
    +
  • + +
    +
    +

    Checks whether a session is active, or login is required

    +
    +
    +

    Returns Promise<object>

    +

    a promise which resolves with an object containing two values - a boolean isLoggedIn, and a string userName

    +
  • +
+
+
+ +

createFolder

+
    +
  • createFolder(folderName: string, parentFolderPath: string, parentFolderUri?: undefined | string, accessToken?: undefined | string, sasApiClient?: SASViyaApiClient): Promise<Folder>
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      folderName: string
      +
    • +
    • +
      parentFolderPath: string
      +
    • +
    • +
      Optional parentFolderUri: undefined | string
      +
    • +
    • +
      Optional accessToken: undefined | string
      +
    • +
    • +
      Optional sasApiClient: SASViyaApiClient
      +
    • +
    +

    Returns Promise<Folder>

    +
  • +
+
+
+ +

createJobDefinition

+
    +
  • createJobDefinition(jobName: string, code: string, parentFolderPath?: undefined | string, parentFolderUri?: undefined | string, accessToken?: undefined | string, sasApiClient?: SASViyaApiClient): Promise<object>
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      jobName: string
      +
    • +
    • +
      code: string
      +
    • +
    • +
      Optional parentFolderPath: undefined | string
      +
    • +
    • +
      Optional parentFolderUri: undefined | string
      +
    • +
    • +
      Optional accessToken: undefined | string
      +
    • +
    • +
      Optional sasApiClient: SASViyaApiClient
      +
    • +
    +

    Returns Promise<object>

    +
  • +
+
+
+ +

createSession

+
    +
  • createSession(contextName: string, accessToken: string): Promise<Session>
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      contextName: string
      +
    • +
    • +
      accessToken: string
      +
    • +
    +

    Returns Promise<Session>

    +
  • +
+
+
+ +

deleteClient

+
    +
  • deleteClient(clientId: string, accessToken: string): Promise<object>
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      clientId: string
      +
    • +
    • +
      accessToken: string
      +
    • +
    +

    Returns Promise<object>

    +
  • +
+
+
+ +

deployServicePack

+
    +
  • deployServicePack(serviceJson: any, appLoc?: undefined | string, serverUrl?: undefined | string, accessToken?: undefined | string): Promise<void>
  • +
+
    +
  • + +
    +
    +

    Creates the folders and services in the provided JSON on the given location + (appLoc) on the given server (serverUrl).

    +
    +
    +

    Parameters

    +
      +
    • +
      serviceJson: any
      +
      +

      the JSON specifying the folders and services to be created.

      +
      +
    • +
    • +
      Optional appLoc: undefined | string
      +
      +

      the base folder in which to create the new folders and + services. If not provided, is taken from SASjsConfig.

      +
      +
    • +
    • +
      Optional serverUrl: undefined | string
      +
      +

      the server on which to deploy the folders and services. + If not provided, is taken from SASjsConfig.

      +
      +
    • +
    • +
      Optional accessToken: undefined | string
      +
      +

      an optional access token to be passed in when + using this function from the command line.

      +
      +
    • +
    +

    Returns Promise<void>

    +
  • +
+
+
+ +

executeScriptSAS9

+
    +
  • executeScriptSAS9(linesOfCode: string[], serverName: string, repositoryName: string): Promise<undefined | string>
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      linesOfCode: string[]
      +
    • +
    • +
      serverName: string
      +
    • +
    • +
      repositoryName: string
      +
    • +
    +

    Returns Promise<undefined | string>

    +
  • +
+
+
+ +

executeScriptSASViya

+
    +
  • executeScriptSASViya(fileName: string, linesOfCode: string[], contextName: string, accessToken?: undefined | string, sessionId?: string, silent?: boolean): Promise<object>
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      fileName: string
      +
    • +
    • +
      linesOfCode: string[]
      +
    • +
    • +
      contextName: string
      +
    • +
    • +
      Optional accessToken: undefined | string
      +
    • +
    • +
      Default value sessionId: string = ""
      +
    • +
    • +
      Default value silent: boolean = false
      +
    • +
    +

    Returns Promise<object>

    +
  • +
+
+
+ +

getAccessToken

+
    +
  • getAccessToken(clientId: string, clientSecret: string, authCode: string): Promise<any>
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      clientId: string
      +
    • +
    • +
      clientSecret: string
      +
    • +
    • +
      authCode: string
      +
    • +
    +

    Returns Promise<any>

    +
  • +
+
+
+ +

getAllContexts

+
    +
  • getAllContexts(accessToken: string): Promise<object[]>
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      accessToken: string
      +
    • +
    +

    Returns Promise<object[]>

    +
  • +
+
+
+ +

getAuthCode

+
    +
  • getAuthCode(clientId: string): Promise<null | string>
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      clientId: string
      +
    • +
    +

    Returns Promise<null | string>

    +
  • +
+
+
+ +

getCsrf

+
    +
  • getCsrf(): null | string
  • +
+
    +
  • + +
    +
    +

    Returns the _csrf token of the current session.

    +
    +
    +

    Returns null + | + string +

    +
  • +
+
+
+ +

getExecutableContexts

+
    +
  • getExecutableContexts(accessToken: string): Promise<any[]>
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      accessToken: string
      +
    • +
    +

    Returns Promise<any[]>

    +
  • +
+
+
+ +

getSasRequests

+ +
    +
  • + +

    Returns SASjsRequest[]

    +
  • +
+
+
+ +

getSasjsConfig

+ +
    +
  • + +
    +
    +

    Returns the current SASjs configuration.

    +
    +
    +

    Returns SASjsConfig

    +
  • +
+
+
+ +

getUserName

+
    +
  • getUserName(): string
  • +
+
    +
  • + +
    +
    +

    Returns the username of the user currently logged in.

    +
    +
    +

    Returns string

    +
  • +
+
+
+ +

logIn

+
    +
  • logIn(username: string, password: string): Promise<object>
  • +
+
    +
  • + +
    +
    +

    Logs into the SAS server with the supplied credentials

    +
    +
    +

    Parameters

    +
      +
    • +
      username: string
      +
      +

      a string representing the username

      +
      +
    • +
    • +
      password: string
      +
      +

      a string representing the password

      +
      +
    • +
    +

    Returns Promise<object>

    +
  • +
+
+
+ +

logOut

+
    +
  • logOut(): Promise<unknown>
  • +
+
    +
  • + +
    +
    +

    Logs out of the configured SAS server

    +
    +
    +

    Returns Promise<unknown>

    +
  • +
+
+
+ +

refreshTokens

+
    +
  • refreshTokens(clientId: string, clientSecret: string, refreshToken: string): Promise<any>
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      clientId: string
      +
    • +
    • +
      clientSecret: string
      +
    • +
    • +
      refreshToken: string
      +
    • +
    +

    Returns Promise<any>

    +
  • +
+
+
+ +

request

+
    +
  • request(sasJob: string, data: any, config?: any, loginRequiredCallback?: any, accessToken?: undefined | string): Promise<any>
  • +
+
    +
  • + +
    +
    +

    Makes a request to the SAS Service specified in SASjob. The response + object will always contain table names in lowercase, and column names in + uppercase. Values are returned formatted by default, unformatted + values can be configured as an option in the %webout macro.

    +
    +
    +

    Parameters

    +
      +
    • +
      sasJob: string
      +
      +

      The path to the SAS program (ultimately resolves to + the SAS _program parameter to run a Job Definition or SAS 9 Stored + Process.) Is prepended at runtime with the value of appLoc.

      +
      +
    • +
    • +
      data: any
      +
      +

      A JSON object containing one or more tables to be sent to + SAS. Can be null if no inputs required.

      +
      +
    • +
    • +
      Default value config: any = {}
      +
      +

      Provide any changes to the config here, for instance to + enable / disable debug. Any change provided will override the global config, + for that particular function call.

      +
      +
    • +
    • +
      Optional loginRequiredCallback: any
      +
      +

      provide a function here to be called if the + user is not logged in (eg to display a login form). The request will be + resubmitted after logon.

      +
      +
    • +
    • +
      Optional accessToken: undefined | string
      +
    • +
    +

    Returns Promise<any>

    +
  • +
+
+
+ +

setDebugState

+
    +
  • setDebugState(value: boolean): void
  • +
+
    +
  • + +
    +
    +

    Sets the debug state. Turning this on will enable additional logging to + be returned to the adapter.

    +
    +
    +

    Parameters

    +
      +
    • +
      value: boolean
      +
      +

      Boolean indicating debug state

      +
      +
    • +
    +

    Returns void

    +
  • +
+
+
+ +

setSASjsConfig

+
    +
  • setSASjsConfig(config: SASjsConfig): Promise<void>
  • +
+
    +
  • + +
    +
    +

    Sets the SASjs configuration.

    +
    +
    +

    Parameters

    +
      +
    • +
      config: SASjsConfig
      +
      +

      SASjsConfig indicating SASjs Configuration

      +
      +
    • +
    +

    Returns Promise<void>

    +
  • +
+
+
+ +
+ +
+
+ +
+

Generated using TypeDoc

+
+
+ + + + \ No newline at end of file diff --git a/docs/classes/reflection-560.reflection-1.sasviyaapiclient.html b/docs/classes/reflection-560.reflection-1.sasviyaapiclient.html new file mode 100644 index 0000000..6d014d3 --- /dev/null +++ b/docs/classes/reflection-560.reflection-1.sasviyaapiclient.html @@ -0,0 +1,892 @@ + + + + + + SASViyaApiClient | @sasjs/adapter + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + +
+
+ Menu +
+
+
+
+
+
+ +
+
+
+
+
+ +
+

Class SASViyaApiClient

+
+
+

A client for interfacing with the SAS Viya REST API

+
+
+
+

Hierarchy

+
    +
  • + SASViyaApiClient +
  • +
+
+
+
+ +
+
+
+

Constructors

+
+ +

constructor

+
    +
  • new SASViyaApiClient(serverUrl: string, rootFolderName: string, contextName: string, rootFolderMap?: Map<string, Job[]>): SASViyaApiClient
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      serverUrl: string
      +
    • +
    • +
      rootFolderName: string
      +
    • +
    • +
      contextName: string
      +
    • +
    • +
      Default value rootFolderMap: Map<string, Job[]> = new Map<string, Job[]>()
      +
    • +
    +

    Returns SASViyaApiClient

    +
  • +
+
+
+
+

Methods

+
+ +

createFolder

+
    +
  • createFolder(folderName: string, parentFolderPath?: undefined | string, parentFolderUri?: undefined | string, accessToken?: undefined | string): Promise<Folder>
  • +
+
    +
  • + +
    +
    +

    Creates a folder in the specified location. Either parentFolderPath or + parentFolderUri must be provided.

    +
    +
    +

    Parameters

    +
      +
    • +
      folderName: string
      +
      +

      the name of the new folder.

      +
      +
    • +
    • +
      Optional parentFolderPath: undefined | string
      +
      +

      the full path to the parent folder. If not + provided, the parentFolderUri must be provided.

      +
      +
    • +
    • +
      Optional parentFolderUri: undefined | string
      +
      +

      the URI (eg /folders/folders/UUID) of the parent + folder. If not provided, the parentFolderPath must be provided.

      +
      +
    • +
    • +
      Optional accessToken: undefined | string
      +
    • +
    +

    Returns Promise<Folder>

    +
  • +
+
+
+ +

createJobDefinition

+
    +
  • createJobDefinition(jobName: string, code: string, parentFolderPath?: undefined | string, parentFolderUri?: undefined | string, accessToken?: undefined | string): Promise<object>
  • +
+
    +
  • + +
    +
    +

    Creates a Job in the specified folder (or folder uri).

    +
    +
    +

    Parameters

    +
      +
    • +
      jobName: string
      +
      +

      the name of the new job to be created.

      +
      +
    • +
    • +
      code: string
      +
      +

      the SAS code for the new job.

      +
      +
    • +
    • +
      Optional parentFolderPath: undefined | string
      +
      +

      the location of the new job.

      +
      +
    • +
    • +
      Optional parentFolderUri: undefined | string
      +
      +

      the URI location of the new job. The function is a + little faster if the folder URI is supplied instead of the path.

      +
      +
    • +
    • +
      Optional accessToken: undefined | string
      +
    • +
    +

    Returns Promise<object>

    +
  • +
+
+
+ +

createSession

+
    +
  • createSession(contextName: string, accessToken?: undefined | string): Promise<Session>
  • +
+
    +
  • + +
    +
    +

    Creates a session on the given context.

    +
    +
    +

    Parameters

    +
      +
    • +
      contextName: string
      +
      +

      the name of the context to create a session on.

      +
      +
    • +
    • +
      Optional accessToken: undefined | string
      +
      +

      an access token for an authorized user.

      +
      +
    • +
    +

    Returns Promise<Session>

    +
  • +
+
+
+ +

deleteClient

+
    +
  • deleteClient(clientId: string, accessToken?: undefined | string): Promise<object>
  • +
+
    +
  • + +
    +
    +

    Deletes the client representing the supplied ID.

    +
    +
    +

    Parameters

    +
      +
    • +
      clientId: string
      +
      +

      the client ID to authenticate with.

      +
      +
    • +
    • +
      Optional accessToken: undefined | string
      +
      +

      an access token for an authorized user.

      +
      +
    • +
    +

    Returns Promise<object>

    +
  • +
+
+
+ +

executeComputeJob

+
    +
  • executeComputeJob(sasJob: string, contextName: string, debug: boolean, data?: any, accessToken?: undefined | string): Promise<object>
  • +
+
    +
  • + +
    +
    +

    Executes a job via the SAS Viya Compute API

    +
    +
    +

    Parameters

    +
      +
    • +
      sasJob: string
      +
      +

      the relative path to the job.

      +
      +
    • +
    • +
      contextName: string
      +
      +

      the name of the context where the job is to be executed.

      +
      +
    • +
    • +
      debug: boolean
      +
      +

      sets the _debug flag in the job arguments.

      +
      +
    • +
    • +
      Optional data: any
      +
      +

      any data to be passed in as input to the job.

      +
      +
    • +
    • +
      Optional accessToken: undefined | string
      +
      +

      an optional access token for an authorized user.

      +
      +
    • +
    +

    Returns Promise<object>

    +
  • +
+
+
+ +

executeJob

+
    +
  • executeJob(sasJob: string, contextName: string, debug: boolean, data?: any, accessToken?: undefined | string): Promise<object>
  • +
+
    +
  • + +
    +
    +

    Executes a job via the SAS Viya Job Execution API

    +
    +
    +

    Parameters

    +
      +
    • +
      sasJob: string
      +
      +

      the relative path to the job.

      +
      +
    • +
    • +
      contextName: string
      +
      +

      the name of the context where the job is to be executed.

      +
      +
    • +
    • +
      debug: boolean
      +
      +

      sets the _debug flag in the job arguments.

      +
      +
    • +
    • +
      Optional data: any
      +
      +

      any data to be passed in as input to the job.

      +
      +
    • +
    • +
      Optional accessToken: undefined | string
      +
      +

      an optional access token for an authorized user.

      +
      +
    • +
    +

    Returns Promise<object>

    +
  • +
+
+
+ +

executeScript

+
    +
  • executeScript(jobName: string, linesOfCode: string[], contextName: string, accessToken?: undefined | string, sessionId?: string, silent?: boolean, data?: null, debug?: boolean): Promise<object>
  • +
+
    +
  • + +
    +
    +

    Executes code on the current SAS Viya server.

    +
    +
    +

    Parameters

    +
      +
    • +
      jobName: string
      +
    • +
    • +
      linesOfCode: string[]
      +
      +

      an array of lines of code to execute.

      +
      +
    • +
    • +
      contextName: string
      +
      +

      the context to execute the code in.

      +
      +
    • +
    • +
      Optional accessToken: undefined | string
      +
      +

      an access token for an authorized user.

      +
      +
    • +
    • +
      Default value sessionId: string = ""
      +
      +

      optional session ID to reuse.

      +
      +
    • +
    • +
      Default value silent: boolean = false
      +
      +

      optional flag to turn of logging.

      +
      +
    • +
    • +
      Default value data: null = null
      +
    • +
    • +
      Default value debug: boolean = false
      +
    • +
    +

    Returns Promise<object>

    +
  • +
+
+
+ +

getAccessToken

+
    +
  • getAccessToken(clientId: string, clientSecret: string, authCode: string): Promise<any>
  • +
+
    +
  • + +
    +
    +

    Exchanges the auth code for an access token for the given client.

    +
    +
    +

    Parameters

    +
      +
    • +
      clientId: string
      +
      +

      the client ID to authenticate with.

      +
      +
    • +
    • +
      clientSecret: string
      +
      +

      the client secret to authenticate with.

      +
      +
    • +
    • +
      authCode: string
      +
      +

      the auth code received from the server.

      +
      +
    • +
    +

    Returns Promise<any>

    +
  • +
+
+
+ +

getAllContexts

+
    +
  • getAllContexts(accessToken?: undefined | string): Promise<object[]>
  • +
+
    +
  • + +
    +
    +

    Returns all available compute contexts on this server.

    +
    +
    +

    Parameters

    +
      +
    • +
      Optional accessToken: undefined | string
      +
      +

      an access token for an authorized user.

      +
      +
    • +
    +

    Returns Promise<object[]>

    +
  • +
+
+
+ +

getAppLocMap

+
    +
  • getAppLocMap(): Promise<Map<string, Job[]>>
  • +
+
    +
  • + +
    +
    +

    Returns a map containing the directory structure in the currently set root folder.

    +
    +
    +

    Returns Promise<Map<string, Job[]>>

    +
  • +
+
+
+ +

getAuthCode

+
    +
  • getAuthCode(clientId: string): Promise<null | string>
  • +
+
    +
  • + +
    +
    +

    Performs a login redirect and returns an auth code for the given client

    +
    +
    +

    Parameters

    +
      +
    • +
      clientId: string
      +
      +

      the client ID to authenticate with.

      +
      +
    • +
    +

    Returns Promise<null | string>

    +
  • +
+
+
+ +

getConfig

+
    +
  • getConfig(): object
  • +
+
    +
  • + +
    +
    +

    returns an object containing the Server URL and root folder name

    +
    +
    +

    Returns object

    +
      +
    • +
      rootFolderName: string
      +
    • +
    • +
      serverUrl: string
      +
    • +
    +
  • +
+
+
+ +

getExecutableContexts

+
    +
  • getExecutableContexts(accessToken?: undefined | string): Promise<any[]>
  • +
+
    +
  • + +
    +
    +

    Returns all compute contexts on this server that the user has access to.

    +
    +
    +

    Parameters

    +
      +
    • +
      Optional accessToken: undefined | string
      +
      +

      an access token for an authorized user.

      +
      +
    • +
    +

    Returns Promise<any[]>

    +
  • +
+
+
+ +

refreshTokens

+
    +
  • refreshTokens(clientId: string, clientSecret: string, refreshToken: string): Promise<any>
  • +
+
    +
  • + +
    +
    +

    Exchanges the refresh token for an access token for the given client.

    +
    +
    +

    Parameters

    +
      +
    • +
      clientId: string
      +
      +

      the client ID to authenticate with.

      +
      +
    • +
    • +
      clientSecret: string
      +
      +

      the client secret to authenticate with.

      +
      +
    • +
    • +
      refreshToken: string
      +
    • +
    +

    Returns Promise<any>

    +
  • +
+
+
+ +

setConfig

+
    +
  • setConfig(serverUrl: string, rootFolderName: string): void
  • +
+
    +
  • + +
    +
    +

    Updates server URL or root folder name when not null

    +
    +
    +

    Parameters

    +
      +
    • +
      serverUrl: string
      +
      +

      the URL of the server.

      +
      +
    • +
    • +
      rootFolderName: string
      +
      +

      the name for rootFolderName.

      +
      +
    • +
    +

    Returns void

    +
  • +
+
+
+ +

setCsrfToken

+
    +
  • setCsrfToken(csrfToken: CsrfToken): void
  • +
+
    +
  • + +

    Parameters

    + +

    Returns void

    +
  • +
+
+
+ +
+ +
+
+ +
+

Generated using TypeDoc

+
+
+ + + + \ No newline at end of file diff --git a/docs/classes/reflection-560.reflection-1.sessionmanager.html b/docs/classes/reflection-560.reflection-1.sessionmanager.html new file mode 100644 index 0000000..5d244f8 --- /dev/null +++ b/docs/classes/reflection-560.reflection-1.sessionmanager.html @@ -0,0 +1,206 @@ + + + + + + SessionManager | @sasjs/adapter + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + +
+
+ Menu +
+
+
+
+
+
+ +
+
+
+
+
+ +
+

Class SessionManager

+
+

Hierarchy

+
    +
  • + SessionManager +
  • +
+
+
+
+
+
+

Constructors

+ +
+
+

Methods

+ +
+
+
+
+
+

Constructors

+
+ +

constructor

+
    +
  • new SessionManager(serverUrl: string, contextName: string): SessionManager
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      serverUrl: string
      +
    • +
    • +
      contextName: string
      +
    • +
    +

    Returns SessionManager

    +
  • +
+
+
+
+

Methods

+
+ +

getSession

+
    +
  • getSession(accessToken?: undefined | string): Promise<undefined | Session>
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      Optional accessToken: undefined | string
      +
    • +
    +

    Returns Promise<undefined | Session>

    +
  • +
+
+
+ +
+
+ +
+
+
+ +
+

Generated using TypeDoc

+
+
+ + + + \ No newline at end of file diff --git a/docs/classes/reflection-588.reflection-1.sas9apiclient.html b/docs/classes/reflection-588.reflection-1.sas9apiclient.html new file mode 100644 index 0000000..572b75c --- /dev/null +++ b/docs/classes/reflection-588.reflection-1.sas9apiclient.html @@ -0,0 +1,294 @@ + + + + + + SAS9ApiClient | @sasjs/adapter + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + +
+
+ Menu +
+
+
+
+
+
+ +
+
+
+
+
+ +
+

Class SAS9ApiClient

+
+
+

A client for interfacing with the SAS9 REST API

+
+
+
+

Hierarchy

+
    +
  • + SAS9ApiClient +
  • +
+
+
+
+
+
+

Constructors

+ +
+
+

Methods

+ +
+
+
+
+
+

Constructors

+
+ +

constructor

+ +
    +
  • + +

    Parameters

    +
      +
    • +
      serverUrl: string
      +
    • +
    +

    Returns SAS9ApiClient

    +
  • +
+
+
+
+

Methods

+
+ +

executeScript

+
    +
  • executeScript(linesOfCode: string[], serverName: string, repositoryName: string): Promise<string>
  • +
+
    +
  • + +
    +
    +

    Executes code on a SAS9 server.

    +
    +
    +

    Parameters

    +
      +
    • +
      linesOfCode: string[]
      +
      +

      an array of lines of code to execute

      +
      +
    • +
    • +
      serverName: string
      +
      +

      the server to execute the code on

      +
      +
    • +
    • +
      repositoryName: string
      +
      +

      the repository to execute the code on

      +
      +
    • +
    +

    Returns Promise<string>

    +
  • +
+
+
+ +

getConfig

+
    +
  • getConfig(): object
  • +
+
    +
  • + +
    +
    +

    returns on object containing the server URL

    +
    +
    +

    Returns object

    +
      +
    • +
      serverUrl: string
      +
    • +
    +
  • +
+
+
+ +

setConfig

+
    +
  • setConfig(serverUrl: string): void
  • +
+
    +
  • + +
    +
    +

    Updates serverurl which is not null

    +
    +
    +

    Parameters

    +
      +
    • +
      serverUrl: string
      +
      +

      the URL of the server.

      +
      +
    • +
    +

    Returns void

    +
  • +
+
+
+ +
+
+ +
+
+
+ +
+

Generated using TypeDoc

+
+
+ + + + \ No newline at end of file diff --git a/docs/classes/reflection-588.reflection-1.sasjs.html b/docs/classes/reflection-588.reflection-1.sasjs.html new file mode 100644 index 0000000..ea40aed --- /dev/null +++ b/docs/classes/reflection-588.reflection-1.sasjs.html @@ -0,0 +1,1017 @@ + + + + + + SASjs | @sasjs/adapter + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + +
+
+ Menu +
+
+
+
+
+
+
    +
  • + +
  • +
  • + +
  • +
  • + SASjs +
  • +
+
+
+
+
+
+ +
+

Class SASjs

+
+
+

SASjs is a JavaScript adapter for SAS.

+
+
+
+

Hierarchy

+
    +
  • + SASjs +
  • +
+
+
+
+ +
+
+
+

Constructors

+
+ +

constructor

+
    +
  • new SASjs(config?: any): SASjs
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      Optional config: any
      +
    • +
    +

    Returns SASjs

    +
  • +
+
+
+
+

Methods

+
+ +

checkSession

+
    +
  • checkSession(): Promise<object>
  • +
+
    +
  • + +
    +
    +

    Checks whether a session is active, or login is required

    +
    +
    +

    Returns Promise<object>

    +

    a promise which resolves with an object containing two values - a boolean isLoggedIn, and a string userName

    +
  • +
+
+
+ +

createFolder

+
    +
  • createFolder(folderName: string, parentFolderPath: string, parentFolderUri?: undefined | string, accessToken?: undefined | string, sasApiClient?: SASViyaApiClient): Promise<Folder>
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      folderName: string
      +
    • +
    • +
      parentFolderPath: string
      +
    • +
    • +
      Optional parentFolderUri: undefined | string
      +
    • +
    • +
      Optional accessToken: undefined | string
      +
    • +
    • +
      Optional sasApiClient: SASViyaApiClient
      +
    • +
    +

    Returns Promise<Folder>

    +
  • +
+
+
+ +

createJobDefinition

+
    +
  • createJobDefinition(jobName: string, code: string, parentFolderPath?: undefined | string, parentFolderUri?: undefined | string, accessToken?: undefined | string, sasApiClient?: SASViyaApiClient): Promise<object>
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      jobName: string
      +
    • +
    • +
      code: string
      +
    • +
    • +
      Optional parentFolderPath: undefined | string
      +
    • +
    • +
      Optional parentFolderUri: undefined | string
      +
    • +
    • +
      Optional accessToken: undefined | string
      +
    • +
    • +
      Optional sasApiClient: SASViyaApiClient
      +
    • +
    +

    Returns Promise<object>

    +
  • +
+
+
+ +

createSession

+
    +
  • createSession(contextName: string, accessToken: string): Promise<Session>
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      contextName: string
      +
    • +
    • +
      accessToken: string
      +
    • +
    +

    Returns Promise<Session>

    +
  • +
+
+
+ +

deleteClient

+
    +
  • deleteClient(clientId: string, accessToken: string): Promise<object>
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      clientId: string
      +
    • +
    • +
      accessToken: string
      +
    • +
    +

    Returns Promise<object>

    +
  • +
+
+
+ +

deployServicePack

+
    +
  • deployServicePack(serviceJson: any, appLoc?: undefined | string, serverUrl?: undefined | string, accessToken?: undefined | string): Promise<void>
  • +
+
    +
  • + +
    +
    +

    Creates the folders and services in the provided JSON on the given location + (appLoc) on the given server (serverUrl).

    +
    +
    +

    Parameters

    +
      +
    • +
      serviceJson: any
      +
      +

      the JSON specifying the folders and services to be created.

      +
      +
    • +
    • +
      Optional appLoc: undefined | string
      +
      +

      the base folder in which to create the new folders and + services. If not provided, is taken from SASjsConfig.

      +
      +
    • +
    • +
      Optional serverUrl: undefined | string
      +
      +

      the server on which to deploy the folders and services. + If not provided, is taken from SASjsConfig.

      +
      +
    • +
    • +
      Optional accessToken: undefined | string
      +
      +

      an optional access token to be passed in when + using this function from the command line.

      +
      +
    • +
    +

    Returns Promise<void>

    +
  • +
+
+
+ +

executeScriptSAS9

+
    +
  • executeScriptSAS9(linesOfCode: string[], serverName: string, repositoryName: string): Promise<undefined | string>
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      linesOfCode: string[]
      +
    • +
    • +
      serverName: string
      +
    • +
    • +
      repositoryName: string
      +
    • +
    +

    Returns Promise<undefined | string>

    +
  • +
+
+
+ +

executeScriptSASViya

+
    +
  • executeScriptSASViya(fileName: string, linesOfCode: string[], contextName: string, accessToken?: undefined | string, sessionId?: string, silent?: boolean): Promise<object>
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      fileName: string
      +
    • +
    • +
      linesOfCode: string[]
      +
    • +
    • +
      contextName: string
      +
    • +
    • +
      Optional accessToken: undefined | string
      +
    • +
    • +
      Default value sessionId: string = ""
      +
    • +
    • +
      Default value silent: boolean = false
      +
    • +
    +

    Returns Promise<object>

    +
  • +
+
+
+ +

getAccessToken

+
    +
  • getAccessToken(clientId: string, clientSecret: string, authCode: string): Promise<any>
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      clientId: string
      +
    • +
    • +
      clientSecret: string
      +
    • +
    • +
      authCode: string
      +
    • +
    +

    Returns Promise<any>

    +
  • +
+
+
+ +

getAllContexts

+
    +
  • getAllContexts(accessToken: string): Promise<object[]>
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      accessToken: string
      +
    • +
    +

    Returns Promise<object[]>

    +
  • +
+
+
+ +

getAuthCode

+
    +
  • getAuthCode(clientId: string): Promise<null | string>
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      clientId: string
      +
    • +
    +

    Returns Promise<null | string>

    +
  • +
+
+
+ +

getCsrfApi

+
    +
  • getCsrfApi(): undefined | string
  • +
+
    +
  • + +
    +
    +

    Returns the _csrf token of the current session for the API approach

    +
    +
    +

    Returns undefined + | + string +

    +
  • +
+
+
+ +

getCsrfWeb

+
    +
  • getCsrfWeb(): undefined | string
  • +
+
    +
  • + +
    +
    +

    Returns the _csrf token of the current session for the WEB approach.

    +
    +
    +

    Returns undefined + | + string +

    +
  • +
+
+
+ +

getExecutableContexts

+
    +
  • getExecutableContexts(accessToken: string): Promise<any[]>
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      accessToken: string
      +
    • +
    +

    Returns Promise<any[]>

    +
  • +
+
+
+ +

getSasRequests

+ +
    +
  • + +

    Returns SASjsRequest[]

    +
  • +
+
+
+ +

getSasjsConfig

+ +
    +
  • + +
    +
    +

    Returns the current SASjs configuration.

    +
    +
    +

    Returns SASjsConfig

    +
  • +
+
+
+ +

getUserName

+
    +
  • getUserName(): string
  • +
+
    +
  • + +
    +
    +

    Returns the username of the user currently logged in.

    +
    +
    +

    Returns string

    +
  • +
+
+
+ +

logIn

+
    +
  • logIn(username: string, password: string): Promise<object>
  • +
+
    +
  • + +
    +
    +

    Logs into the SAS server with the supplied credentials

    +
    +
    +

    Parameters

    +
      +
    • +
      username: string
      +
      +

      a string representing the username

      +
      +
    • +
    • +
      password: string
      +
      +

      a string representing the password

      +
      +
    • +
    +

    Returns Promise<object>

    +
  • +
+
+
+ +

logOut

+
    +
  • logOut(): Promise<unknown>
  • +
+
    +
  • + +
    +
    +

    Logs out of the configured SAS server

    +
    +
    +

    Returns Promise<unknown>

    +
  • +
+
+
+ +

refreshTokens

+
    +
  • refreshTokens(clientId: string, clientSecret: string, refreshToken: string): Promise<any>
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      clientId: string
      +
    • +
    • +
      clientSecret: string
      +
    • +
    • +
      refreshToken: string
      +
    • +
    +

    Returns Promise<any>

    +
  • +
+
+
+ +

request

+
    +
  • request(sasJob: string, data: any, params?: any, loginRequiredCallback?: any, accessToken?: undefined | string): Promise<any>
  • +
+
    +
  • + +
    +
    +

    Makes a request to the SAS Service specified in SASjob. The response + object will always contain table names in lowercase, and column names in + uppercase. Values are returned formatted by default, unformatted + values can be configured as an option in the %webout macro.

    +
    +
    +

    Parameters

    +
      +
    • +
      sasJob: string
      +
      +

      The path to the SAS program (ultimately resolves to + the SAS _program parameter to run a Job Definition or SAS 9 Stored + Process.) Is prepended at runtime with the value of appLoc.

      +
      +
    • +
    • +
      data: any
      +
      +

      A JSON object containing one or more tables to be sent to + SAS. Can be null if no inputs required.

      +
      +
    • +
    • +
      Optional params: any
      +
      +

      Provide any changes to the config here, for instance to + enable / disable debug.

      +
      +
    • +
    • +
      Optional loginRequiredCallback: any
      +
      +

      provide a function here to be called if the + user is not logged in (eg to display a login form). The request will be + resubmitted after logon.

      +
      +
    • +
    • +
      Optional accessToken: undefined | string
      +
    • +
    +

    Returns Promise<any>

    +
  • +
+
+
+ +

setDebugState

+
    +
  • setDebugState(value: boolean): void
  • +
+
    +
  • + +
    +
    +

    Sets the debug state. Turning this on will enable additional logging to + be returned to the adapter.

    +
    +
    +

    Parameters

    +
      +
    • +
      value: boolean
      +
      +

      Boolean indicating debug state

      +
      +
    • +
    +

    Returns void

    +
  • +
+
+
+ +

setSASjsConfig

+
    +
  • setSASjsConfig(config: SASjsConfig): Promise<void>
  • +
+
    +
  • + +
    +
    +

    Sets the SASjs configuration.

    +
    +
    +

    Parameters

    +
      +
    • +
      config: SASjsConfig
      +
      +

      SASjsConfig indicating SASjs Configuration

      +
      +
    • +
    +

    Returns Promise<void>

    +
  • +
+
+
+ +

uploadFile

+
    +
  • uploadFile(sasJob: string, file: File, fileName: string, params: any): Promise<unknown>
  • +
+
    +
  • + +
    +
    +

    Uploads a file to the given service

    +
    +
    +

    Parameters

    +
      +
    • +
      sasJob: string
      +
      +

      The path to the SAS program (ultimately resolves to + the SAS _program parameter to run a Job Definition or SAS 9 Stored + Process.) Is prepended at runtime with the value of appLoc.

      +
      +
    • +
    • +
      file: File
      +
      +

      File to be uploaded

      +
      +
    • +
    • +
      fileName: string
      +
      +

      Name of the file to be uploaded

      +
      +
    • +
    • +
      params: any
      +
      +

      Request URL paramaters

      +
      +
    • +
    +

    Returns Promise<unknown>

    +
  • +
+
+
+ +
+ +
+
+ +
+

Generated using TypeDoc

+
+
+ + + + \ No newline at end of file diff --git a/docs/classes/reflection-588.reflection-1.sasviyaapiclient.html b/docs/classes/reflection-588.reflection-1.sasviyaapiclient.html new file mode 100644 index 0000000..43aadc4 --- /dev/null +++ b/docs/classes/reflection-588.reflection-1.sasviyaapiclient.html @@ -0,0 +1,913 @@ + + + + + + SASViyaApiClient | @sasjs/adapter + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + +
+
+ Menu +
+
+
+
+
+
+ +
+
+
+
+
+ +
+

Class SASViyaApiClient

+
+
+

A client for interfacing with the SAS Viya REST API

+
+
+
+

Hierarchy

+
    +
  • + SASViyaApiClient +
  • +
+
+
+
+ +
+
+
+

Constructors

+
+ +

constructor

+
    +
  • new SASViyaApiClient(serverUrl: string, rootFolderName: string, contextName: string, setCsrfToken: function, rootFolderMap?: Map<string, Job[]>): SASViyaApiClient
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      serverUrl: string
      +
    • +
    • +
      rootFolderName: string
      +
    • +
    • +
      contextName: string
      +
    • +
    • +
      setCsrfToken: function
      +
        +
      • + +
          +
        • +

          Parameters

          + +

          Returns void

          +
        • +
        +
      • +
      +
    • +
    • +
      Default value rootFolderMap: Map<string, Job[]> = new Map<string, Job[]>()
      +
    • +
    +

    Returns SASViyaApiClient

    +
  • +
+
+
+
+

Methods

+
+ +

createFolder

+
    +
  • createFolder(folderName: string, parentFolderPath?: undefined | string, parentFolderUri?: undefined | string, accessToken?: undefined | string): Promise<Folder>
  • +
+
    +
  • + +
    +
    +

    Creates a folder in the specified location. Either parentFolderPath or + parentFolderUri must be provided.

    +
    +
    +

    Parameters

    +
      +
    • +
      folderName: string
      +
      +

      the name of the new folder.

      +
      +
    • +
    • +
      Optional parentFolderPath: undefined | string
      +
      +

      the full path to the parent folder. If not + provided, the parentFolderUri must be provided.

      +
      +
    • +
    • +
      Optional parentFolderUri: undefined | string
      +
      +

      the URI (eg /folders/folders/UUID) of the parent + folder. If not provided, the parentFolderPath must be provided.

      +
      +
    • +
    • +
      Optional accessToken: undefined | string
      +
    • +
    +

    Returns Promise<Folder>

    +
  • +
+
+
+ +

createJobDefinition

+
    +
  • createJobDefinition(jobName: string, code: string, parentFolderPath?: undefined | string, parentFolderUri?: undefined | string, accessToken?: undefined | string): Promise<object>
  • +
+
    +
  • + +
    +
    +

    Creates a Job in the specified folder (or folder uri).

    +
    +
    +

    Parameters

    +
      +
    • +
      jobName: string
      +
      +

      the name of the new job to be created.

      +
      +
    • +
    • +
      code: string
      +
      +

      the SAS code for the new job.

      +
      +
    • +
    • +
      Optional parentFolderPath: undefined | string
      +
      +

      the location of the new job.

      +
      +
    • +
    • +
      Optional parentFolderUri: undefined | string
      +
      +

      the URI location of the new job. The function is a + little faster if the folder URI is supplied instead of the path.

      +
      +
    • +
    • +
      Optional accessToken: undefined | string
      +
    • +
    +

    Returns Promise<object>

    +
  • +
+
+
+ +

createSession

+
    +
  • createSession(contextName: string, accessToken?: undefined | string): Promise<Session>
  • +
+
    +
  • + +
    +
    +

    Creates a session on the given context.

    +
    +
    +

    Parameters

    +
      +
    • +
      contextName: string
      +
      +

      the name of the context to create a session on.

      +
      +
    • +
    • +
      Optional accessToken: undefined | string
      +
      +

      an access token for an authorized user.

      +
      +
    • +
    +

    Returns Promise<Session>

    +
  • +
+
+
+ +

deleteClient

+
    +
  • deleteClient(clientId: string, accessToken?: undefined | string): Promise<object>
  • +
+
    +
  • + +
    +
    +

    Deletes the client representing the supplied ID.

    +
    +
    +

    Parameters

    +
      +
    • +
      clientId: string
      +
      +

      the client ID to authenticate with.

      +
      +
    • +
    • +
      Optional accessToken: undefined | string
      +
      +

      an access token for an authorized user.

      +
      +
    • +
    +

    Returns Promise<object>

    +
  • +
+
+
+ +

executeComputeJob

+
    +
  • executeComputeJob(sasJob: string, contextName: string, debug: boolean, data?: any, accessToken?: undefined | string): Promise<object>
  • +
+
    +
  • + +
    +
    +

    Executes a job via the SAS Viya Compute API

    +
    +
    +

    Parameters

    +
      +
    • +
      sasJob: string
      +
      +

      the relative path to the job.

      +
      +
    • +
    • +
      contextName: string
      +
      +

      the name of the context where the job is to be executed.

      +
      +
    • +
    • +
      debug: boolean
      +
      +

      sets the _debug flag in the job arguments.

      +
      +
    • +
    • +
      Optional data: any
      +
      +

      any data to be passed in as input to the job.

      +
      +
    • +
    • +
      Optional accessToken: undefined | string
      +
      +

      an optional access token for an authorized user.

      +
      +
    • +
    +

    Returns Promise<object>

    +
  • +
+
+
+ +

executeJob

+
    +
  • executeJob(sasJob: string, contextName: string, debug: boolean, data?: any, accessToken?: undefined | string): Promise<object>
  • +
+
    +
  • + +
    +
    +

    Executes a job via the SAS Viya Job Execution API

    +
    +
    +

    Parameters

    +
      +
    • +
      sasJob: string
      +
      +

      the relative path to the job.

      +
      +
    • +
    • +
      contextName: string
      +
      +

      the name of the context where the job is to be executed.

      +
      +
    • +
    • +
      debug: boolean
      +
      +

      sets the _debug flag in the job arguments.

      +
      +
    • +
    • +
      Optional data: any
      +
      +

      any data to be passed in as input to the job.

      +
      +
    • +
    • +
      Optional accessToken: undefined | string
      +
      +

      an optional access token for an authorized user.

      +
      +
    • +
    +

    Returns Promise<object>

    +
  • +
+
+
+ +

executeScript

+
    +
  • executeScript(jobName: string, linesOfCode: string[], contextName: string, accessToken?: undefined | string, sessionId?: string, silent?: boolean, data?: null, debug?: boolean): Promise<object>
  • +
+
    +
  • + +
    +
    +

    Executes code on the current SAS Viya server.

    +
    +
    +

    Parameters

    +
      +
    • +
      jobName: string
      +
    • +
    • +
      linesOfCode: string[]
      +
      +

      an array of lines of code to execute.

      +
      +
    • +
    • +
      contextName: string
      +
      +

      the context to execute the code in.

      +
      +
    • +
    • +
      Optional accessToken: undefined | string
      +
      +

      an access token for an authorized user.

      +
      +
    • +
    • +
      Default value sessionId: string = ""
      +
      +

      optional session ID to reuse.

      +
      +
    • +
    • +
      Default value silent: boolean = false
      +
      +

      optional flag to turn of logging.

      +
      +
    • +
    • +
      Default value data: null = null
      +
    • +
    • +
      Default value debug: boolean = false
      +
    • +
    +

    Returns Promise<object>

    +
  • +
+
+
+ +

getAccessToken

+
    +
  • getAccessToken(clientId: string, clientSecret: string, authCode: string): Promise<any>
  • +
+
    +
  • + +
    +
    +

    Exchanges the auth code for an access token for the given client.

    +
    +
    +

    Parameters

    +
      +
    • +
      clientId: string
      +
      +

      the client ID to authenticate with.

      +
      +
    • +
    • +
      clientSecret: string
      +
      +

      the client secret to authenticate with.

      +
      +
    • +
    • +
      authCode: string
      +
      +

      the auth code received from the server.

      +
      +
    • +
    +

    Returns Promise<any>

    +
  • +
+
+
+ +

getAllContexts

+
    +
  • getAllContexts(accessToken?: undefined | string): Promise<object[]>
  • +
+
    +
  • + +
    +
    +

    Returns all available compute contexts on this server.

    +
    +
    +

    Parameters

    +
      +
    • +
      Optional accessToken: undefined | string
      +
      +

      an access token for an authorized user.

      +
      +
    • +
    +

    Returns Promise<object[]>

    +
  • +
+
+
+ +

getAppLocMap

+
    +
  • getAppLocMap(): Promise<Map<string, Job[]>>
  • +
+
    +
  • + +
    +
    +

    Returns a map containing the directory structure in the currently set root folder.

    +
    +
    +

    Returns Promise<Map<string, Job[]>>

    +
  • +
+
+
+ +

getAuthCode

+
    +
  • getAuthCode(clientId: string): Promise<null | string>
  • +
+
    +
  • + +
    +
    +

    Performs a login redirect and returns an auth code for the given client

    +
    +
    +

    Parameters

    +
      +
    • +
      clientId: string
      +
      +

      the client ID to authenticate with.

      +
      +
    • +
    +

    Returns Promise<null | string>

    +
  • +
+
+
+ +

getConfig

+
    +
  • getConfig(): object
  • +
+
    +
  • + +
    +
    +

    returns an object containing the Server URL and root folder name

    +
    +
    +

    Returns object

    +
      +
    • +
      rootFolderName: string
      +
    • +
    • +
      serverUrl: string
      +
    • +
    +
  • +
+
+
+ +

getExecutableContexts

+
    +
  • getExecutableContexts(accessToken?: undefined | string): Promise<any[]>
  • +
+
    +
  • + +
    +
    +

    Returns all compute contexts on this server that the user has access to.

    +
    +
    +

    Parameters

    +
      +
    • +
      Optional accessToken: undefined | string
      +
      +

      an access token for an authorized user.

      +
      +
    • +
    +

    Returns Promise<any[]>

    +
  • +
+
+
+ +

refreshTokens

+
    +
  • refreshTokens(clientId: string, clientSecret: string, refreshToken: string): Promise<any>
  • +
+
    +
  • + +
    +
    +

    Exchanges the refresh token for an access token for the given client.

    +
    +
    +

    Parameters

    +
      +
    • +
      clientId: string
      +
      +

      the client ID to authenticate with.

      +
      +
    • +
    • +
      clientSecret: string
      +
      +

      the client secret to authenticate with.

      +
      +
    • +
    • +
      refreshToken: string
      +
    • +
    +

    Returns Promise<any>

    +
  • +
+
+
+ +

setConfig

+
    +
  • setConfig(serverUrl: string, rootFolderName: string): void
  • +
+
    +
  • + +
    +
    +

    Updates server URL or root folder name when not null

    +
    +
    +

    Parameters

    +
      +
    • +
      serverUrl: string
      +
      +

      the URL of the server.

      +
      +
    • +
    • +
      rootFolderName: string
      +
      +

      the name for rootFolderName.

      +
      +
    • +
    +

    Returns void

    +
  • +
+
+
+ +

setCsrfTokenLocal

+
    +
  • setCsrfTokenLocal(csrfToken: CsrfToken): void
  • +
+
    +
  • + +

    Parameters

    + +

    Returns void

    +
  • +
+
+
+ +
+ +
+
+ +
+

Generated using TypeDoc

+
+
+ + + + \ No newline at end of file diff --git a/docs/classes/reflection-588.reflection-1.sessionmanager.html b/docs/classes/reflection-588.reflection-1.sessionmanager.html new file mode 100644 index 0000000..eb681b4 --- /dev/null +++ b/docs/classes/reflection-588.reflection-1.sessionmanager.html @@ -0,0 +1,227 @@ + + + + + + SessionManager | @sasjs/adapter + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + +
+
+ Menu +
+
+
+
+
+
+ +
+
+
+
+
+ +
+

Class SessionManager

+
+

Hierarchy

+
    +
  • + SessionManager +
  • +
+
+
+
+
+
+

Constructors

+ +
+
+

Methods

+ +
+
+
+
+
+

Constructors

+
+ +

constructor

+
    +
  • new SessionManager(serverUrl: string, contextName: string, setCsrfToken: function): SessionManager
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      serverUrl: string
      +
    • +
    • +
      contextName: string
      +
    • +
    • +
      setCsrfToken: function
      +
        +
      • + +
          +
        • +

          Parameters

          + +

          Returns void

          +
        • +
        +
      • +
      +
    • +
    +

    Returns SessionManager

    +
  • +
+
+
+
+

Methods

+
+ +

getSession

+
    +
  • getSession(accessToken?: undefined | string): Promise<undefined | Session>
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      Optional accessToken: undefined | string
      +
    • +
    +

    Returns Promise<undefined | Session>

    +
  • +
+
+
+ +
+
+ +
+
+
+ +
+

Generated using TypeDoc

+
+
+ + + + \ No newline at end of file diff --git a/docs/classes/reflection-607.reflection-145.fileuploader.html b/docs/classes/reflection-607.reflection-145.fileuploader.html new file mode 100644 index 0000000..a145f43 --- /dev/null +++ b/docs/classes/reflection-607.reflection-145.fileuploader.html @@ -0,0 +1,224 @@ + + + + + + FileUploader | @sasjs/adapter + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + +
+
+ Menu +
+
+
+
+
+
+ +
+
+
+
+
+ +
+

Class FileUploader

+
+

Hierarchy

+
    +
  • + FileUploader +
  • +
+
+
+
+
+
+

Constructors

+ +
+
+

Methods

+ +
+
+
+
+
+

Constructors

+
+ +

constructor

+
    +
  • new FileUploader(appLoc: string, serverUrl: string, jobsPath: string, csrfToken?: CsrfToken | null): FileUploader
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      appLoc: string
      +
    • +
    • +
      serverUrl: string
      +
    • +
    • +
      jobsPath: string
      +
    • +
    • +
      Default value csrfToken: CsrfToken | null = null
      +
    • +
    +

    Returns FileUploader

    +
  • +
+
+
+
+

Methods

+
+ +

uploadFile

+
    +
  • uploadFile(sasJob: string, file: File, fileName: string, params: any): Promise<unknown>
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      sasJob: string
      +
    • +
    • +
      file: File
      +
    • +
    • +
      fileName: string
      +
    • +
    • +
      params: any
      +
    • +
    +

    Returns Promise<unknown>

    +
  • +
+
+
+ +
+
+ +
+
+
+ +
+

Generated using TypeDoc

+
+
+ + + + \ No newline at end of file diff --git a/docs/classes/reflection-607.reflection-145.sas9apiclient.html b/docs/classes/reflection-607.reflection-145.sas9apiclient.html new file mode 100644 index 0000000..e64bc5c --- /dev/null +++ b/docs/classes/reflection-607.reflection-145.sas9apiclient.html @@ -0,0 +1,297 @@ + + + + + + SAS9ApiClient | @sasjs/adapter + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + +
+
+ Menu +
+
+
+
+
+
+ +
+
+
+
+
+ +
+

Class SAS9ApiClient

+
+
+

A client for interfacing with the SAS9 REST API

+
+
+
+

Hierarchy

+
    +
  • + SAS9ApiClient +
  • +
+
+
+
+
+
+

Constructors

+ +
+
+

Methods

+ +
+
+
+
+
+

Constructors

+
+ +

constructor

+ +
    +
  • + +

    Parameters

    +
      +
    • +
      serverUrl: string
      +
    • +
    +

    Returns SAS9ApiClient

    +
  • +
+
+
+
+

Methods

+
+ +

executeScript

+
    +
  • executeScript(linesOfCode: string[], serverName: string, repositoryName: string): Promise<string>
  • +
+
    +
  • + +
    +
    +

    Executes code on a SAS9 server.

    +
    +
    +

    Parameters

    +
      +
    • +
      linesOfCode: string[]
      +
      +

      an array of lines of code to execute

      +
      +
    • +
    • +
      serverName: string
      +
      +

      the server to execute the code on

      +
      +
    • +
    • +
      repositoryName: string
      +
      +

      the repository to execute the code on

      +
      +
    • +
    +

    Returns Promise<string>

    +
  • +
+
+
+ +

getConfig

+
    +
  • getConfig(): object
  • +
+
    +
  • + +
    +
    +

    returns on object containing the server URL

    +
    +
    +

    Returns object

    +
      +
    • +
      serverUrl: string
      +
    • +
    +
  • +
+
+
+ +

setConfig

+
    +
  • setConfig(serverUrl: string): void
  • +
+
    +
  • + +
    +
    +

    Updates serverurl which is not null

    +
    +
    +

    Parameters

    +
      +
    • +
      serverUrl: string
      +
      +

      the URL of the server.

      +
      +
    • +
    +

    Returns void

    +
  • +
+
+
+ +
+
+ +
+
+
+ +
+

Generated using TypeDoc

+
+
+ + + + \ No newline at end of file diff --git a/docs/classes/reflection-607.reflection-145.sasjs.html b/docs/classes/reflection-607.reflection-145.sasjs.html new file mode 100644 index 0000000..9c3525c --- /dev/null +++ b/docs/classes/reflection-607.reflection-145.sasjs.html @@ -0,0 +1,1021 @@ + + + + + + SASjs | @sasjs/adapter + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + +
+
+ Menu +
+
+
+
+
+
+
    +
  • + +
  • +
  • + +
  • +
  • + SASjs +
  • +
+
+
+
+
+
+ +
+

Class SASjs

+
+
+

SASjs is a JavaScript adapter for SAS.

+
+
+
+

Hierarchy

+
    +
  • + SASjs +
  • +
+
+
+
+ +
+
+
+

Constructors

+
+ +

constructor

+
    +
  • new SASjs(config?: any): SASjs
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      Optional config: any
      +
    • +
    +

    Returns SASjs

    +
  • +
+
+
+
+

Methods

+
+ +

checkSession

+
    +
  • checkSession(): Promise<object>
  • +
+
    +
  • + +
    +
    +

    Checks whether a session is active, or login is required

    +
    +
    +

    Returns Promise<object>

    +

    a promise which resolves with an object containing two values - a boolean isLoggedIn, and a string userName

    +
  • +
+
+
+ +

createFolder

+
    +
  • createFolder(folderName: string, parentFolderPath: string, parentFolderUri?: undefined | string, accessToken?: undefined | string, sasApiClient?: SASViyaApiClient): Promise<Folder>
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      folderName: string
      +
    • +
    • +
      parentFolderPath: string
      +
    • +
    • +
      Optional parentFolderUri: undefined | string
      +
    • +
    • +
      Optional accessToken: undefined | string
      +
    • +
    • +
      Optional sasApiClient: SASViyaApiClient
      +
    • +
    +

    Returns Promise<Folder>

    +
  • +
+
+
+ +

createJobDefinition

+
    +
  • createJobDefinition(jobName: string, code: string, parentFolderPath?: undefined | string, parentFolderUri?: undefined | string, accessToken?: undefined | string, sasApiClient?: SASViyaApiClient): Promise<object>
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      jobName: string
      +
    • +
    • +
      code: string
      +
    • +
    • +
      Optional parentFolderPath: undefined | string
      +
    • +
    • +
      Optional parentFolderUri: undefined | string
      +
    • +
    • +
      Optional accessToken: undefined | string
      +
    • +
    • +
      Optional sasApiClient: SASViyaApiClient
      +
    • +
    +

    Returns Promise<object>

    +
  • +
+
+
+ +

createSession

+
    +
  • createSession(contextName: string, accessToken: string): Promise<Session>
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      contextName: string
      +
    • +
    • +
      accessToken: string
      +
    • +
    +

    Returns Promise<Session>

    +
  • +
+
+
+ +

deleteClient

+
    +
  • deleteClient(clientId: string, accessToken: string): Promise<object>
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      clientId: string
      +
    • +
    • +
      accessToken: string
      +
    • +
    +

    Returns Promise<object>

    +
  • +
+
+
+ +

deployServicePack

+
    +
  • deployServicePack(serviceJson: any, appLoc?: undefined | string, serverUrl?: undefined | string, accessToken?: undefined | string): Promise<void>
  • +
+
    +
  • + +
    +
    +

    Creates the folders and services in the provided JSON on the given location + (appLoc) on the given server (serverUrl).

    +
    +
    +

    Parameters

    +
      +
    • +
      serviceJson: any
      +
      +

      the JSON specifying the folders and services to be created.

      +
      +
    • +
    • +
      Optional appLoc: undefined | string
      +
      +

      the base folder in which to create the new folders and + services. If not provided, is taken from SASjsConfig.

      +
      +
    • +
    • +
      Optional serverUrl: undefined | string
      +
      +

      the server on which to deploy the folders and services. + If not provided, is taken from SASjsConfig.

      +
      +
    • +
    • +
      Optional accessToken: undefined | string
      +
      +

      an optional access token to be passed in when + using this function from the command line.

      +
      +
    • +
    +

    Returns Promise<void>

    +
  • +
+
+
+ +

executeScriptSAS9

+
    +
  • executeScriptSAS9(linesOfCode: string[], serverName: string, repositoryName: string): Promise<undefined | string>
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      linesOfCode: string[]
      +
    • +
    • +
      serverName: string
      +
    • +
    • +
      repositoryName: string
      +
    • +
    +

    Returns Promise<undefined | string>

    +
  • +
+
+
+ +

executeScriptSASViya

+
    +
  • executeScriptSASViya(fileName: string, linesOfCode: string[], contextName: string, accessToken?: undefined | string, sessionId?: string, silent?: boolean): Promise<object>
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      fileName: string
      +
    • +
    • +
      linesOfCode: string[]
      +
    • +
    • +
      contextName: string
      +
    • +
    • +
      Optional accessToken: undefined | string
      +
    • +
    • +
      Default value sessionId: string = ""
      +
    • +
    • +
      Default value silent: boolean = false
      +
    • +
    +

    Returns Promise<object>

    +
  • +
+
+
+ +

getAccessToken

+
    +
  • getAccessToken(clientId: string, clientSecret: string, authCode: string): Promise<any>
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      clientId: string
      +
    • +
    • +
      clientSecret: string
      +
    • +
    • +
      authCode: string
      +
    • +
    +

    Returns Promise<any>

    +
  • +
+
+
+ +

getAllContexts

+
    +
  • getAllContexts(accessToken: string): Promise<object[]>
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      accessToken: string
      +
    • +
    +

    Returns Promise<object[]>

    +
  • +
+
+
+ +

getAuthCode

+
    +
  • getAuthCode(clientId: string): Promise<null | string>
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      clientId: string
      +
    • +
    +

    Returns Promise<null | string>

    +
  • +
+
+
+ +

getCsrfApi

+
    +
  • getCsrfApi(): undefined | string
  • +
+
    +
  • + +
    +
    +

    Returns the _csrf token of the current session for the API approach

    +
    +
    +

    Returns undefined + | + string +

    +
  • +
+
+
+ +

getCsrfWeb

+
    +
  • getCsrfWeb(): undefined | string
  • +
+
    +
  • + +
    +
    +

    Returns the _csrf token of the current session for the WEB approach.

    +
    +
    +

    Returns undefined + | + string +

    +
  • +
+
+
+ +

getExecutableContexts

+
    +
  • getExecutableContexts(accessToken: string): Promise<any[]>
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      accessToken: string
      +
    • +
    +

    Returns Promise<any[]>

    +
  • +
+
+
+ +

getSasRequests

+ +
    +
  • + +

    Returns SASjsRequest[]

    +
  • +
+
+
+ +

getSasjsConfig

+ +
    +
  • + +
    +
    +

    Returns the current SASjs configuration.

    +
    +
    +

    Returns SASjsConfig

    +
  • +
+
+
+ +

getUserName

+
    +
  • getUserName(): string
  • +
+
    +
  • + +
    +
    +

    Returns the username of the user currently logged in.

    +
    +
    +

    Returns string

    +
  • +
+
+
+ +

logIn

+
    +
  • logIn(username: string, password: string): Promise<object>
  • +
+
    +
  • + +
    +
    +

    Logs into the SAS server with the supplied credentials

    +
    +
    +

    Parameters

    +
      +
    • +
      username: string
      +
      +

      a string representing the username

      +
      +
    • +
    • +
      password: string
      +
      +

      a string representing the password

      +
      +
    • +
    +

    Returns Promise<object>

    +
  • +
+
+
+ +

logOut

+
    +
  • logOut(): Promise<unknown>
  • +
+
    +
  • + +
    +
    +

    Logs out of the configured SAS server

    +
    +
    +

    Returns Promise<unknown>

    +
  • +
+
+
+ +

refreshTokens

+
    +
  • refreshTokens(clientId: string, clientSecret: string, refreshToken: string): Promise<any>
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      clientId: string
      +
    • +
    • +
      clientSecret: string
      +
    • +
    • +
      refreshToken: string
      +
    • +
    +

    Returns Promise<any>

    +
  • +
+
+
+ +

request

+
    +
  • request(sasJob: string, data: any, config?: any, loginRequiredCallback?: any, accessToken?: undefined | string): Promise<any>
  • +
+
    +
  • + +
    +
    +

    Makes a request to the SAS Service specified in SASjob. The response + object will always contain table names in lowercase, and column names in + uppercase. Values are returned formatted by default, unformatted + values can be configured as an option in the %webout macro.

    +
    +
    +

    Parameters

    +
      +
    • +
      sasJob: string
      +
      +

      The path to the SAS program (ultimately resolves to + the SAS _program parameter to run a Job Definition or SAS 9 Stored + Process.) Is prepended at runtime with the value of appLoc.

      +
      +
    • +
    • +
      data: any
      +
      +

      A JSON object containing one or more tables to be sent to + SAS. Can be null if no inputs required.

      +
      +
    • +
    • +
      Default value config: any = {}
      +
      +

      Provide any changes to the config here, for instance to + enable / disable debug. Any change provided will override the global config, + for that particular function call.

      +
      +
    • +
    • +
      Optional loginRequiredCallback: any
      +
      +

      provide a function here to be called if the + user is not logged in (eg to display a login form). The request will be + resubmitted after logon.

      +
      +
    • +
    • +
      Optional accessToken: undefined | string
      +
    • +
    +

    Returns Promise<any>

    +
  • +
+
+
+ +

setDebugState

+
    +
  • setDebugState(value: boolean): void
  • +
+
    +
  • + +
    +
    +

    Sets the debug state. Turning this on will enable additional logging to + be returned to the adapter.

    +
    +
    +

    Parameters

    +
      +
    • +
      value: boolean
      +
      +

      Boolean indicating debug state

      +
      +
    • +
    +

    Returns void

    +
  • +
+
+
+ +

setSASjsConfig

+
    +
  • setSASjsConfig(config: SASjsConfig): Promise<void>
  • +
+
    +
  • + +
    +
    +

    Sets the SASjs configuration.

    +
    +
    +

    Parameters

    +
      +
    • +
      config: SASjsConfig
      +
      +

      SASjsConfig indicating SASjs Configuration

      +
      +
    • +
    +

    Returns Promise<void>

    +
  • +
+
+
+ +

uploadFile

+
    +
  • uploadFile(sasJob: string, file: File, fileName: string, params: any): Promise<unknown>
  • +
+
    +
  • + +
    +
    +

    Uploads a file to the given service

    +
    +
    +

    Parameters

    +
      +
    • +
      sasJob: string
      +
      +

      The path to the SAS program (ultimately resolves to + the SAS _program parameter to run a Job Definition or SAS 9 Stored + Process.) Is prepended at runtime with the value of appLoc.

      +
      +
    • +
    • +
      file: File
      +
      +

      File to be uploaded

      +
      +
    • +
    • +
      fileName: string
      +
      +

      Name of the file to be uploaded

      +
      +
    • +
    • +
      params: any
      +
      +

      Request URL paramaters

      +
      +
    • +
    +

    Returns Promise<unknown>

    +
  • +
+
+
+ +
+ +
+
+ +
+

Generated using TypeDoc

+
+
+ + + + \ No newline at end of file diff --git a/docs/classes/reflection-607.reflection-145.sasviyaapiclient.html b/docs/classes/reflection-607.reflection-145.sasviyaapiclient.html new file mode 100644 index 0000000..130c473 --- /dev/null +++ b/docs/classes/reflection-607.reflection-145.sasviyaapiclient.html @@ -0,0 +1,916 @@ + + + + + + SASViyaApiClient | @sasjs/adapter + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + +
+
+ Menu +
+
+
+
+
+
+ +
+
+
+
+
+ +
+

Class SASViyaApiClient

+
+
+

A client for interfacing with the SAS Viya REST API

+
+
+
+

Hierarchy

+
    +
  • + SASViyaApiClient +
  • +
+
+
+
+ +
+
+
+

Constructors

+
+ +

constructor

+
    +
  • new SASViyaApiClient(serverUrl: string, rootFolderName: string, contextName: string, setCsrfToken: function, rootFolderMap?: Map<string, Job[]>): SASViyaApiClient
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      serverUrl: string
      +
    • +
    • +
      rootFolderName: string
      +
    • +
    • +
      contextName: string
      +
    • +
    • +
      setCsrfToken: function
      +
        +
      • + +
          +
        • +

          Parameters

          + +

          Returns void

          +
        • +
        +
      • +
      +
    • +
    • +
      Default value rootFolderMap: Map<string, Job[]> = new Map<string, Job[]>()
      +
    • +
    +

    Returns SASViyaApiClient

    +
  • +
+
+
+
+

Methods

+
+ +

createFolder

+
    +
  • createFolder(folderName: string, parentFolderPath?: undefined | string, parentFolderUri?: undefined | string, accessToken?: undefined | string): Promise<Folder>
  • +
+
    +
  • + +
    +
    +

    Creates a folder in the specified location. Either parentFolderPath or + parentFolderUri must be provided.

    +
    +
    +

    Parameters

    +
      +
    • +
      folderName: string
      +
      +

      the name of the new folder.

      +
      +
    • +
    • +
      Optional parentFolderPath: undefined | string
      +
      +

      the full path to the parent folder. If not + provided, the parentFolderUri must be provided.

      +
      +
    • +
    • +
      Optional parentFolderUri: undefined | string
      +
      +

      the URI (eg /folders/folders/UUID) of the parent + folder. If not provided, the parentFolderPath must be provided.

      +
      +
    • +
    • +
      Optional accessToken: undefined | string
      +
    • +
    +

    Returns Promise<Folder>

    +
  • +
+
+
+ +

createJobDefinition

+
    +
  • createJobDefinition(jobName: string, code: string, parentFolderPath?: undefined | string, parentFolderUri?: undefined | string, accessToken?: undefined | string): Promise<object>
  • +
+
    +
  • + +
    +
    +

    Creates a Job in the specified folder (or folder uri).

    +
    +
    +

    Parameters

    +
      +
    • +
      jobName: string
      +
      +

      the name of the new job to be created.

      +
      +
    • +
    • +
      code: string
      +
      +

      the SAS code for the new job.

      +
      +
    • +
    • +
      Optional parentFolderPath: undefined | string
      +
      +

      the location of the new job.

      +
      +
    • +
    • +
      Optional parentFolderUri: undefined | string
      +
      +

      the URI location of the new job. The function is a + little faster if the folder URI is supplied instead of the path.

      +
      +
    • +
    • +
      Optional accessToken: undefined | string
      +
    • +
    +

    Returns Promise<object>

    +
  • +
+
+
+ +

createSession

+
    +
  • createSession(contextName: string, accessToken?: undefined | string): Promise<Session>
  • +
+
    +
  • + +
    +
    +

    Creates a session on the given context.

    +
    +
    +

    Parameters

    +
      +
    • +
      contextName: string
      +
      +

      the name of the context to create a session on.

      +
      +
    • +
    • +
      Optional accessToken: undefined | string
      +
      +

      an access token for an authorized user.

      +
      +
    • +
    +

    Returns Promise<Session>

    +
  • +
+
+
+ +

deleteClient

+
    +
  • deleteClient(clientId: string, accessToken?: undefined | string): Promise<object>
  • +
+
    +
  • + +
    +
    +

    Deletes the client representing the supplied ID.

    +
    +
    +

    Parameters

    +
      +
    • +
      clientId: string
      +
      +

      the client ID to authenticate with.

      +
      +
    • +
    • +
      Optional accessToken: undefined | string
      +
      +

      an access token for an authorized user.

      +
      +
    • +
    +

    Returns Promise<object>

    +
  • +
+
+
+ +

executeComputeJob

+
    +
  • executeComputeJob(sasJob: string, contextName: string, debug: boolean, data?: any, accessToken?: undefined | string): Promise<object>
  • +
+
    +
  • + +
    +
    +

    Executes a job via the SAS Viya Compute API

    +
    +
    +

    Parameters

    +
      +
    • +
      sasJob: string
      +
      +

      the relative path to the job.

      +
      +
    • +
    • +
      contextName: string
      +
      +

      the name of the context where the job is to be executed.

      +
      +
    • +
    • +
      debug: boolean
      +
      +

      sets the _debug flag in the job arguments.

      +
      +
    • +
    • +
      Optional data: any
      +
      +

      any data to be passed in as input to the job.

      +
      +
    • +
    • +
      Optional accessToken: undefined | string
      +
      +

      an optional access token for an authorized user.

      +
      +
    • +
    +

    Returns Promise<object>

    +
  • +
+
+
+ +

executeJob

+
    +
  • executeJob(sasJob: string, contextName: string, debug: boolean, data?: any, accessToken?: undefined | string): Promise<object>
  • +
+
    +
  • + +
    +
    +

    Executes a job via the SAS Viya Job Execution API

    +
    +
    +

    Parameters

    +
      +
    • +
      sasJob: string
      +
      +

      the relative path to the job.

      +
      +
    • +
    • +
      contextName: string
      +
      +

      the name of the context where the job is to be executed.

      +
      +
    • +
    • +
      debug: boolean
      +
      +

      sets the _debug flag in the job arguments.

      +
      +
    • +
    • +
      Optional data: any
      +
      +

      any data to be passed in as input to the job.

      +
      +
    • +
    • +
      Optional accessToken: undefined | string
      +
      +

      an optional access token for an authorized user.

      +
      +
    • +
    +

    Returns Promise<object>

    +
  • +
+
+
+ +

executeScript

+
    +
  • executeScript(jobName: string, linesOfCode: string[], contextName: string, accessToken?: undefined | string, sessionId?: string, silent?: boolean, data?: null, debug?: boolean): Promise<object>
  • +
+
    +
  • + +
    +
    +

    Executes code on the current SAS Viya server.

    +
    +
    +

    Parameters

    +
      +
    • +
      jobName: string
      +
    • +
    • +
      linesOfCode: string[]
      +
      +

      an array of lines of code to execute.

      +
      +
    • +
    • +
      contextName: string
      +
      +

      the context to execute the code in.

      +
      +
    • +
    • +
      Optional accessToken: undefined | string
      +
      +

      an access token for an authorized user.

      +
      +
    • +
    • +
      Default value sessionId: string = ""
      +
      +

      optional session ID to reuse.

      +
      +
    • +
    • +
      Default value silent: boolean = false
      +
      +

      optional flag to turn of logging.

      +
      +
    • +
    • +
      Default value data: null = null
      +
    • +
    • +
      Default value debug: boolean = false
      +
    • +
    +

    Returns Promise<object>

    +
  • +
+
+
+ +

getAccessToken

+
    +
  • getAccessToken(clientId: string, clientSecret: string, authCode: string): Promise<any>
  • +
+
    +
  • + +
    +
    +

    Exchanges the auth code for an access token for the given client.

    +
    +
    +

    Parameters

    +
      +
    • +
      clientId: string
      +
      +

      the client ID to authenticate with.

      +
      +
    • +
    • +
      clientSecret: string
      +
      +

      the client secret to authenticate with.

      +
      +
    • +
    • +
      authCode: string
      +
      +

      the auth code received from the server.

      +
      +
    • +
    +

    Returns Promise<any>

    +
  • +
+
+
+ +

getAllContexts

+
    +
  • getAllContexts(accessToken?: undefined | string): Promise<object[]>
  • +
+
    +
  • + +
    +
    +

    Returns all available compute contexts on this server.

    +
    +
    +

    Parameters

    +
      +
    • +
      Optional accessToken: undefined | string
      +
      +

      an access token for an authorized user.

      +
      +
    • +
    +

    Returns Promise<object[]>

    +
  • +
+
+
+ +

getAppLocMap

+
    +
  • getAppLocMap(): Promise<Map<string, Job[]>>
  • +
+
    +
  • + +
    +
    +

    Returns a map containing the directory structure in the currently set root folder.

    +
    +
    +

    Returns Promise<Map<string, Job[]>>

    +
  • +
+
+
+ +

getAuthCode

+
    +
  • getAuthCode(clientId: string): Promise<null | string>
  • +
+
    +
  • + +
    +
    +

    Performs a login redirect and returns an auth code for the given client

    +
    +
    +

    Parameters

    +
      +
    • +
      clientId: string
      +
      +

      the client ID to authenticate with.

      +
      +
    • +
    +

    Returns Promise<null | string>

    +
  • +
+
+
+ +

getConfig

+
    +
  • getConfig(): object
  • +
+
    +
  • + +
    +
    +

    returns an object containing the Server URL and root folder name

    +
    +
    +

    Returns object

    +
      +
    • +
      rootFolderName: string
      +
    • +
    • +
      serverUrl: string
      +
    • +
    +
  • +
+
+
+ +

getExecutableContexts

+
    +
  • getExecutableContexts(accessToken?: undefined | string): Promise<any[]>
  • +
+
    +
  • + +
    +
    +

    Returns all compute contexts on this server that the user has access to.

    +
    +
    +

    Parameters

    +
      +
    • +
      Optional accessToken: undefined | string
      +
      +

      an access token for an authorized user.

      +
      +
    • +
    +

    Returns Promise<any[]>

    +
  • +
+
+
+ +

refreshTokens

+
    +
  • refreshTokens(clientId: string, clientSecret: string, refreshToken: string): Promise<any>
  • +
+
    +
  • + +
    +
    +

    Exchanges the refresh token for an access token for the given client.

    +
    +
    +

    Parameters

    +
      +
    • +
      clientId: string
      +
      +

      the client ID to authenticate with.

      +
      +
    • +
    • +
      clientSecret: string
      +
      +

      the client secret to authenticate with.

      +
      +
    • +
    • +
      refreshToken: string
      +
    • +
    +

    Returns Promise<any>

    +
  • +
+
+
+ +

setConfig

+
    +
  • setConfig(serverUrl: string, rootFolderName: string): void
  • +
+
    +
  • + +
    +
    +

    Updates server URL or root folder name when not null

    +
    +
    +

    Parameters

    +
      +
    • +
      serverUrl: string
      +
      +

      the URL of the server.

      +
      +
    • +
    • +
      rootFolderName: string
      +
      +

      the name for rootFolderName.

      +
      +
    • +
    +

    Returns void

    +
  • +
+
+
+ +

setCsrfTokenLocal

+
    +
  • setCsrfTokenLocal(csrfToken: CsrfToken): void
  • +
+
    +
  • + +

    Parameters

    + +

    Returns void

    +
  • +
+
+
+ +
+ +
+
+ +
+

Generated using TypeDoc

+
+
+ + + + \ No newline at end of file diff --git a/docs/classes/reflection-607.reflection-145.sessionmanager.html b/docs/classes/reflection-607.reflection-145.sessionmanager.html new file mode 100644 index 0000000..bc06418 --- /dev/null +++ b/docs/classes/reflection-607.reflection-145.sessionmanager.html @@ -0,0 +1,230 @@ + + + + + + SessionManager | @sasjs/adapter + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + +
+
+ Menu +
+
+
+
+
+
+ +
+
+
+
+
+ +
+

Class SessionManager

+
+

Hierarchy

+
    +
  • + SessionManager +
  • +
+
+
+
+
+
+

Constructors

+ +
+
+

Methods

+ +
+
+
+
+
+

Constructors

+
+ +

constructor

+
    +
  • new SessionManager(serverUrl: string, contextName: string, setCsrfToken: function): SessionManager
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      serverUrl: string
      +
    • +
    • +
      contextName: string
      +
    • +
    • +
      setCsrfToken: function
      +
        +
      • + +
          +
        • +

          Parameters

          + +

          Returns void

          +
        • +
        +
      • +
      +
    • +
    +

    Returns SessionManager

    +
  • +
+
+
+
+

Methods

+
+ +

getSession

+
    +
  • getSession(accessToken?: undefined | string): Promise<undefined | Session>
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      Optional accessToken: undefined | string
      +
    • +
    +

    Returns Promise<undefined | Session>

    +
  • +
+
+
+ +
+
+ +
+
+
+ +
+

Generated using TypeDoc

+
+
+ + + + \ No newline at end of file diff --git a/docs/classes/reflection-610.reflection-149.fileuploader.html b/docs/classes/reflection-610.reflection-149.fileuploader.html new file mode 100644 index 0000000..b405421 --- /dev/null +++ b/docs/classes/reflection-610.reflection-149.fileuploader.html @@ -0,0 +1,221 @@ + + + + + + FileUploader | @sasjs/adapter + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + +
+
+ Menu +
+
+
+
+
+
+ +
+
+
+
+
+ +
+

Class FileUploader

+
+

Hierarchy

+
    +
  • + FileUploader +
  • +
+
+
+
+
+
+

Constructors

+ +
+
+

Methods

+ +
+
+
+
+
+

Constructors

+
+ +

constructor

+
    +
  • new FileUploader(appLoc: string, serverUrl: string, jobsPath: string, csrfToken?: CsrfToken | null): FileUploader
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      appLoc: string
      +
    • +
    • +
      serverUrl: string
      +
    • +
    • +
      jobsPath: string
      +
    • +
    • +
      Default value csrfToken: CsrfToken | null = null
      +
    • +
    +

    Returns FileUploader

    +
  • +
+
+
+
+

Methods

+
+ +

uploadFile

+
    +
  • uploadFile(sasJob: string, files: UploadFile[], params: any): Promise<unknown>
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      sasJob: string
      +
    • +
    • +
      files: UploadFile[]
      +
    • +
    • +
      params: any
      +
    • +
    +

    Returns Promise<unknown>

    +
  • +
+
+
+ +
+
+ +
+
+
+ +
+

Generated using TypeDoc

+
+
+ + + + \ No newline at end of file diff --git a/docs/classes/reflection-610.reflection-149.sas9apiclient.html b/docs/classes/reflection-610.reflection-149.sas9apiclient.html new file mode 100644 index 0000000..f229d0e --- /dev/null +++ b/docs/classes/reflection-610.reflection-149.sas9apiclient.html @@ -0,0 +1,297 @@ + + + + + + SAS9ApiClient | @sasjs/adapter + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + +
+
+ Menu +
+
+
+
+
+
+ +
+
+
+
+
+ +
+

Class SAS9ApiClient

+
+
+

A client for interfacing with the SAS9 REST API

+
+
+
+

Hierarchy

+
    +
  • + SAS9ApiClient +
  • +
+
+
+
+
+
+

Constructors

+ +
+
+

Methods

+ +
+
+
+
+
+

Constructors

+
+ +

constructor

+ +
    +
  • + +

    Parameters

    +
      +
    • +
      serverUrl: string
      +
    • +
    +

    Returns SAS9ApiClient

    +
  • +
+
+
+
+

Methods

+
+ +

executeScript

+
    +
  • executeScript(linesOfCode: string[], serverName: string, repositoryName: string): Promise<string>
  • +
+
    +
  • + +
    +
    +

    Executes code on a SAS9 server.

    +
    +
    +

    Parameters

    +
      +
    • +
      linesOfCode: string[]
      +
      +

      an array of lines of code to execute

      +
      +
    • +
    • +
      serverName: string
      +
      +

      the server to execute the code on

      +
      +
    • +
    • +
      repositoryName: string
      +
      +

      the repository to execute the code on

      +
      +
    • +
    +

    Returns Promise<string>

    +
  • +
+
+
+ +

getConfig

+
    +
  • getConfig(): object
  • +
+
    +
  • + +
    +
    +

    returns on object containing the server URL

    +
    +
    +

    Returns object

    +
      +
    • +
      serverUrl: string
      +
    • +
    +
  • +
+
+
+ +

setConfig

+
    +
  • setConfig(serverUrl: string): void
  • +
+
    +
  • + +
    +
    +

    Updates serverurl which is not null

    +
    +
    +

    Parameters

    +
      +
    • +
      serverUrl: string
      +
      +

      the URL of the server.

      +
      +
    • +
    +

    Returns void

    +
  • +
+
+
+ +
+
+ +
+
+
+ +
+

Generated using TypeDoc

+
+
+ + + + \ No newline at end of file diff --git a/docs/classes/reflection-610.reflection-149.sasjs.html b/docs/classes/reflection-610.reflection-149.sasjs.html new file mode 100644 index 0000000..fc7f443 --- /dev/null +++ b/docs/classes/reflection-610.reflection-149.sasjs.html @@ -0,0 +1,1015 @@ + + + + + + SASjs | @sasjs/adapter + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + +
+
+ Menu +
+
+
+
+
+
+
    +
  • + +
  • +
  • + +
  • +
  • + SASjs +
  • +
+
+
+
+
+
+ +
+

Class SASjs

+
+
+

SASjs is a JavaScript adapter for SAS.

+
+
+
+

Hierarchy

+
    +
  • + SASjs +
  • +
+
+
+
+ +
+
+
+

Constructors

+
+ +

constructor

+
    +
  • new SASjs(config?: any): SASjs
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      Optional config: any
      +
    • +
    +

    Returns SASjs

    +
  • +
+
+
+
+

Methods

+
+ +

checkSession

+
    +
  • checkSession(): Promise<object>
  • +
+
    +
  • + +
    +
    +

    Checks whether a session is active, or login is required

    +
    +
    +

    Returns Promise<object>

    +

    a promise which resolves with an object containing two values - a boolean isLoggedIn, and a string userName

    +
  • +
+
+
+ +

createFolder

+
    +
  • createFolder(folderName: string, parentFolderPath: string, parentFolderUri?: undefined | string, accessToken?: undefined | string, sasApiClient?: SASViyaApiClient): Promise<Folder>
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      folderName: string
      +
    • +
    • +
      parentFolderPath: string
      +
    • +
    • +
      Optional parentFolderUri: undefined | string
      +
    • +
    • +
      Optional accessToken: undefined | string
      +
    • +
    • +
      Optional sasApiClient: SASViyaApiClient
      +
    • +
    +

    Returns Promise<Folder>

    +
  • +
+
+
+ +

createJobDefinition

+
    +
  • createJobDefinition(jobName: string, code: string, parentFolderPath?: undefined | string, parentFolderUri?: undefined | string, accessToken?: undefined | string, sasApiClient?: SASViyaApiClient): Promise<object>
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      jobName: string
      +
    • +
    • +
      code: string
      +
    • +
    • +
      Optional parentFolderPath: undefined | string
      +
    • +
    • +
      Optional parentFolderUri: undefined | string
      +
    • +
    • +
      Optional accessToken: undefined | string
      +
    • +
    • +
      Optional sasApiClient: SASViyaApiClient
      +
    • +
    +

    Returns Promise<object>

    +
  • +
+
+
+ +

createSession

+
    +
  • createSession(contextName: string, accessToken: string): Promise<Session>
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      contextName: string
      +
    • +
    • +
      accessToken: string
      +
    • +
    +

    Returns Promise<Session>

    +
  • +
+
+
+ +

deleteClient

+
    +
  • deleteClient(clientId: string, accessToken: string): Promise<object>
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      clientId: string
      +
    • +
    • +
      accessToken: string
      +
    • +
    +

    Returns Promise<object>

    +
  • +
+
+
+ +

deployServicePack

+
    +
  • deployServicePack(serviceJson: any, appLoc?: undefined | string, serverUrl?: undefined | string, accessToken?: undefined | string): Promise<void>
  • +
+
    +
  • + +
    +
    +

    Creates the folders and services in the provided JSON on the given location + (appLoc) on the given server (serverUrl).

    +
    +
    +

    Parameters

    +
      +
    • +
      serviceJson: any
      +
      +

      the JSON specifying the folders and services to be created.

      +
      +
    • +
    • +
      Optional appLoc: undefined | string
      +
      +

      the base folder in which to create the new folders and + services. If not provided, is taken from SASjsConfig.

      +
      +
    • +
    • +
      Optional serverUrl: undefined | string
      +
      +

      the server on which to deploy the folders and services. + If not provided, is taken from SASjsConfig.

      +
      +
    • +
    • +
      Optional accessToken: undefined | string
      +
      +

      an optional access token to be passed in when + using this function from the command line.

      +
      +
    • +
    +

    Returns Promise<void>

    +
  • +
+
+
+ +

executeScriptSAS9

+
    +
  • executeScriptSAS9(linesOfCode: string[], serverName: string, repositoryName: string): Promise<undefined | string>
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      linesOfCode: string[]
      +
    • +
    • +
      serverName: string
      +
    • +
    • +
      repositoryName: string
      +
    • +
    +

    Returns Promise<undefined | string>

    +
  • +
+
+
+ +

executeScriptSASViya

+
    +
  • executeScriptSASViya(fileName: string, linesOfCode: string[], contextName: string, accessToken?: undefined | string, sessionId?: string, silent?: boolean): Promise<object>
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      fileName: string
      +
    • +
    • +
      linesOfCode: string[]
      +
    • +
    • +
      contextName: string
      +
    • +
    • +
      Optional accessToken: undefined | string
      +
    • +
    • +
      Default value sessionId: string = ""
      +
    • +
    • +
      Default value silent: boolean = false
      +
    • +
    +

    Returns Promise<object>

    +
  • +
+
+
+ +

getAccessToken

+
    +
  • getAccessToken(clientId: string, clientSecret: string, authCode: string): Promise<any>
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      clientId: string
      +
    • +
    • +
      clientSecret: string
      +
    • +
    • +
      authCode: string
      +
    • +
    +

    Returns Promise<any>

    +
  • +
+
+
+ +

getAllContexts

+
    +
  • getAllContexts(accessToken: string): Promise<object[]>
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      accessToken: string
      +
    • +
    +

    Returns Promise<object[]>

    +
  • +
+
+
+ +

getAuthCode

+
    +
  • getAuthCode(clientId: string): Promise<null | string>
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      clientId: string
      +
    • +
    +

    Returns Promise<null | string>

    +
  • +
+
+
+ +

getCsrfApi

+
    +
  • getCsrfApi(): undefined | string
  • +
+
    +
  • + +
    +
    +

    Returns the _csrf token of the current session for the API approach

    +
    +
    +

    Returns undefined + | + string +

    +
  • +
+
+
+ +

getCsrfWeb

+
    +
  • getCsrfWeb(): undefined | string
  • +
+
    +
  • + +
    +
    +

    Returns the _csrf token of the current session for the WEB approach.

    +
    +
    +

    Returns undefined + | + string +

    +
  • +
+
+
+ +

getExecutableContexts

+
    +
  • getExecutableContexts(accessToken: string): Promise<any[]>
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      accessToken: string
      +
    • +
    +

    Returns Promise<any[]>

    +
  • +
+
+
+ +

getSasRequests

+ +
    +
  • + +

    Returns SASjsRequest[]

    +
  • +
+
+
+ +

getSasjsConfig

+ +
    +
  • + +
    +
    +

    Returns the current SASjs configuration.

    +
    +
    +

    Returns SASjsConfig

    +
  • +
+
+
+ +

getUserName

+
    +
  • getUserName(): string
  • +
+
    +
  • + +
    +
    +

    Returns the username of the user currently logged in.

    +
    +
    +

    Returns string

    +
  • +
+
+
+ +

logIn

+
    +
  • logIn(username: string, password: string): Promise<object>
  • +
+
    +
  • + +
    +
    +

    Logs into the SAS server with the supplied credentials

    +
    +
    +

    Parameters

    +
      +
    • +
      username: string
      +
      +

      a string representing the username

      +
      +
    • +
    • +
      password: string
      +
      +

      a string representing the password

      +
      +
    • +
    +

    Returns Promise<object>

    +
  • +
+
+
+ +

logOut

+
    +
  • logOut(): Promise<unknown>
  • +
+
    +
  • + +
    +
    +

    Logs out of the configured SAS server

    +
    +
    +

    Returns Promise<unknown>

    +
  • +
+
+
+ +

refreshTokens

+
    +
  • refreshTokens(clientId: string, clientSecret: string, refreshToken: string): Promise<any>
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      clientId: string
      +
    • +
    • +
      clientSecret: string
      +
    • +
    • +
      refreshToken: string
      +
    • +
    +

    Returns Promise<any>

    +
  • +
+
+
+ +

request

+
    +
  • request(sasJob: string, data: any, config?: any, loginRequiredCallback?: any, accessToken?: undefined | string): Promise<any>
  • +
+
    +
  • + +
    +
    +

    Makes a request to the SAS Service specified in SASjob. The response + object will always contain table names in lowercase, and column names in + uppercase. Values are returned formatted by default, unformatted + values can be configured as an option in the %webout macro.

    +
    +
    +

    Parameters

    +
      +
    • +
      sasJob: string
      +
      +

      The path to the SAS program (ultimately resolves to + the SAS _program parameter to run a Job Definition or SAS 9 Stored + Process.) Is prepended at runtime with the value of appLoc.

      +
      +
    • +
    • +
      data: any
      +
      +

      A JSON object containing one or more tables to be sent to + SAS. Can be null if no inputs required.

      +
      +
    • +
    • +
      Default value config: any = {}
      +
      +

      Provide any changes to the config here, for instance to + enable / disable debug. Any change provided will override the global config, + for that particular function call.

      +
      +
    • +
    • +
      Optional loginRequiredCallback: any
      +
      +

      provide a function here to be called if the + user is not logged in (eg to display a login form). The request will be + resubmitted after logon.

      +
      +
    • +
    • +
      Optional accessToken: undefined | string
      +
    • +
    +

    Returns Promise<any>

    +
  • +
+
+
+ +

setDebugState

+
    +
  • setDebugState(value: boolean): void
  • +
+
    +
  • + +
    +
    +

    Sets the debug state. Turning this on will enable additional logging to + be returned to the adapter.

    +
    +
    +

    Parameters

    +
      +
    • +
      value: boolean
      +
      +

      Boolean indicating debug state

      +
      +
    • +
    +

    Returns void

    +
  • +
+
+
+ +

setSASjsConfig

+
    +
  • setSASjsConfig(config: SASjsConfig): Promise<void>
  • +
+
    +
  • + +
    +
    +

    Sets the SASjs configuration.

    +
    +
    +

    Parameters

    +
      +
    • +
      config: SASjsConfig
      +
      +

      SASjsConfig indicating SASjs Configuration

      +
      +
    • +
    +

    Returns Promise<void>

    +
  • +
+
+
+ +

uploadFile

+
    +
  • uploadFile(sasJob: string, files: UploadFile[], fileName: string, params: any): Promise<unknown>
  • +
+
    +
  • + +
    +
    +

    Uploads a file to the given service

    +
    +
    +

    Parameters

    +
      +
    • +
      sasJob: string
      +
      +

      The path to the SAS program (ultimately resolves to + the SAS _program parameter to run a Job Definition or SAS 9 Stored + Process.) Is prepended at runtime with the value of appLoc.

      +
      +
    • +
    • +
      files: UploadFile[]
      +
    • +
    • +
      fileName: string
      +
    • +
    • +
      params: any
      +
      +

      Request URL paramaters

      +
      +
    • +
    +

    Returns Promise<unknown>

    +
  • +
+
+
+ +
+ +
+
+ +
+

Generated using TypeDoc

+
+
+ + + + \ No newline at end of file diff --git a/docs/classes/reflection-610.reflection-149.sasviyaapiclient.html b/docs/classes/reflection-610.reflection-149.sasviyaapiclient.html new file mode 100644 index 0000000..ccd26a9 --- /dev/null +++ b/docs/classes/reflection-610.reflection-149.sasviyaapiclient.html @@ -0,0 +1,916 @@ + + + + + + SASViyaApiClient | @sasjs/adapter + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + +
+
+ Menu +
+
+
+
+
+
+ +
+
+
+
+
+ +
+

Class SASViyaApiClient

+
+
+

A client for interfacing with the SAS Viya REST API

+
+
+
+

Hierarchy

+
    +
  • + SASViyaApiClient +
  • +
+
+
+
+ +
+
+
+

Constructors

+
+ +

constructor

+
    +
  • new SASViyaApiClient(serverUrl: string, rootFolderName: string, contextName: string, setCsrfToken: function, rootFolderMap?: Map<string, Job[]>): SASViyaApiClient
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      serverUrl: string
      +
    • +
    • +
      rootFolderName: string
      +
    • +
    • +
      contextName: string
      +
    • +
    • +
      setCsrfToken: function
      +
        +
      • + +
          +
        • +

          Parameters

          + +

          Returns void

          +
        • +
        +
      • +
      +
    • +
    • +
      Default value rootFolderMap: Map<string, Job[]> = new Map<string, Job[]>()
      +
    • +
    +

    Returns SASViyaApiClient

    +
  • +
+
+
+
+

Methods

+
+ +

createFolder

+
    +
  • createFolder(folderName: string, parentFolderPath?: undefined | string, parentFolderUri?: undefined | string, accessToken?: undefined | string): Promise<Folder>
  • +
+
    +
  • + +
    +
    +

    Creates a folder in the specified location. Either parentFolderPath or + parentFolderUri must be provided.

    +
    +
    +

    Parameters

    +
      +
    • +
      folderName: string
      +
      +

      the name of the new folder.

      +
      +
    • +
    • +
      Optional parentFolderPath: undefined | string
      +
      +

      the full path to the parent folder. If not + provided, the parentFolderUri must be provided.

      +
      +
    • +
    • +
      Optional parentFolderUri: undefined | string
      +
      +

      the URI (eg /folders/folders/UUID) of the parent + folder. If not provided, the parentFolderPath must be provided.

      +
      +
    • +
    • +
      Optional accessToken: undefined | string
      +
    • +
    +

    Returns Promise<Folder>

    +
  • +
+
+
+ +

createJobDefinition

+
    +
  • createJobDefinition(jobName: string, code: string, parentFolderPath?: undefined | string, parentFolderUri?: undefined | string, accessToken?: undefined | string): Promise<object>
  • +
+
    +
  • + +
    +
    +

    Creates a Job in the specified folder (or folder uri).

    +
    +
    +

    Parameters

    +
      +
    • +
      jobName: string
      +
      +

      the name of the new job to be created.

      +
      +
    • +
    • +
      code: string
      +
      +

      the SAS code for the new job.

      +
      +
    • +
    • +
      Optional parentFolderPath: undefined | string
      +
      +

      the location of the new job.

      +
      +
    • +
    • +
      Optional parentFolderUri: undefined | string
      +
      +

      the URI location of the new job. The function is a + little faster if the folder URI is supplied instead of the path.

      +
      +
    • +
    • +
      Optional accessToken: undefined | string
      +
    • +
    +

    Returns Promise<object>

    +
  • +
+
+
+ +

createSession

+
    +
  • createSession(contextName: string, accessToken?: undefined | string): Promise<Session>
  • +
+
    +
  • + +
    +
    +

    Creates a session on the given context.

    +
    +
    +

    Parameters

    +
      +
    • +
      contextName: string
      +
      +

      the name of the context to create a session on.

      +
      +
    • +
    • +
      Optional accessToken: undefined | string
      +
      +

      an access token for an authorized user.

      +
      +
    • +
    +

    Returns Promise<Session>

    +
  • +
+
+
+ +

deleteClient

+
    +
  • deleteClient(clientId: string, accessToken?: undefined | string): Promise<object>
  • +
+
    +
  • + +
    +
    +

    Deletes the client representing the supplied ID.

    +
    +
    +

    Parameters

    +
      +
    • +
      clientId: string
      +
      +

      the client ID to authenticate with.

      +
      +
    • +
    • +
      Optional accessToken: undefined | string
      +
      +

      an access token for an authorized user.

      +
      +
    • +
    +

    Returns Promise<object>

    +
  • +
+
+
+ +

executeComputeJob

+
    +
  • executeComputeJob(sasJob: string, contextName: string, debug: boolean, data?: any, accessToken?: undefined | string): Promise<object>
  • +
+
    +
  • + +
    +
    +

    Executes a job via the SAS Viya Compute API

    +
    +
    +

    Parameters

    +
      +
    • +
      sasJob: string
      +
      +

      the relative path to the job.

      +
      +
    • +
    • +
      contextName: string
      +
      +

      the name of the context where the job is to be executed.

      +
      +
    • +
    • +
      debug: boolean
      +
      +

      sets the _debug flag in the job arguments.

      +
      +
    • +
    • +
      Optional data: any
      +
      +

      any data to be passed in as input to the job.

      +
      +
    • +
    • +
      Optional accessToken: undefined | string
      +
      +

      an optional access token for an authorized user.

      +
      +
    • +
    +

    Returns Promise<object>

    +
  • +
+
+
+ +

executeJob

+
    +
  • executeJob(sasJob: string, contextName: string, debug: boolean, data?: any, accessToken?: undefined | string): Promise<object>
  • +
+
    +
  • + +
    +
    +

    Executes a job via the SAS Viya Job Execution API

    +
    +
    +

    Parameters

    +
      +
    • +
      sasJob: string
      +
      +

      the relative path to the job.

      +
      +
    • +
    • +
      contextName: string
      +
      +

      the name of the context where the job is to be executed.

      +
      +
    • +
    • +
      debug: boolean
      +
      +

      sets the _debug flag in the job arguments.

      +
      +
    • +
    • +
      Optional data: any
      +
      +

      any data to be passed in as input to the job.

      +
      +
    • +
    • +
      Optional accessToken: undefined | string
      +
      +

      an optional access token for an authorized user.

      +
      +
    • +
    +

    Returns Promise<object>

    +
  • +
+
+
+ +

executeScript

+
    +
  • executeScript(jobName: string, linesOfCode: string[], contextName: string, accessToken?: undefined | string, sessionId?: string, silent?: boolean, data?: null, debug?: boolean): Promise<object>
  • +
+
    +
  • + +
    +
    +

    Executes code on the current SAS Viya server.

    +
    +
    +

    Parameters

    +
      +
    • +
      jobName: string
      +
    • +
    • +
      linesOfCode: string[]
      +
      +

      an array of lines of code to execute.

      +
      +
    • +
    • +
      contextName: string
      +
      +

      the context to execute the code in.

      +
      +
    • +
    • +
      Optional accessToken: undefined | string
      +
      +

      an access token for an authorized user.

      +
      +
    • +
    • +
      Default value sessionId: string = ""
      +
      +

      optional session ID to reuse.

      +
      +
    • +
    • +
      Default value silent: boolean = false
      +
      +

      optional flag to turn of logging.

      +
      +
    • +
    • +
      Default value data: null = null
      +
    • +
    • +
      Default value debug: boolean = false
      +
    • +
    +

    Returns Promise<object>

    +
  • +
+
+
+ +

getAccessToken

+
    +
  • getAccessToken(clientId: string, clientSecret: string, authCode: string): Promise<any>
  • +
+
    +
  • + +
    +
    +

    Exchanges the auth code for an access token for the given client.

    +
    +
    +

    Parameters

    +
      +
    • +
      clientId: string
      +
      +

      the client ID to authenticate with.

      +
      +
    • +
    • +
      clientSecret: string
      +
      +

      the client secret to authenticate with.

      +
      +
    • +
    • +
      authCode: string
      +
      +

      the auth code received from the server.

      +
      +
    • +
    +

    Returns Promise<any>

    +
  • +
+
+
+ +

getAllContexts

+
    +
  • getAllContexts(accessToken?: undefined | string): Promise<object[]>
  • +
+
    +
  • + +
    +
    +

    Returns all available compute contexts on this server.

    +
    +
    +

    Parameters

    +
      +
    • +
      Optional accessToken: undefined | string
      +
      +

      an access token for an authorized user.

      +
      +
    • +
    +

    Returns Promise<object[]>

    +
  • +
+
+
+ +

getAppLocMap

+
    +
  • getAppLocMap(): Promise<Map<string, Job[]>>
  • +
+
    +
  • + +
    +
    +

    Returns a map containing the directory structure in the currently set root folder.

    +
    +
    +

    Returns Promise<Map<string, Job[]>>

    +
  • +
+
+
+ +

getAuthCode

+
    +
  • getAuthCode(clientId: string): Promise<null | string>
  • +
+
    +
  • + +
    +
    +

    Performs a login redirect and returns an auth code for the given client

    +
    +
    +

    Parameters

    +
      +
    • +
      clientId: string
      +
      +

      the client ID to authenticate with.

      +
      +
    • +
    +

    Returns Promise<null | string>

    +
  • +
+
+
+ +

getConfig

+
    +
  • getConfig(): object
  • +
+
    +
  • + +
    +
    +

    returns an object containing the Server URL and root folder name

    +
    +
    +

    Returns object

    +
      +
    • +
      rootFolderName: string
      +
    • +
    • +
      serverUrl: string
      +
    • +
    +
  • +
+
+
+ +

getExecutableContexts

+
    +
  • getExecutableContexts(accessToken?: undefined | string): Promise<any[]>
  • +
+
    +
  • + +
    +
    +

    Returns all compute contexts on this server that the user has access to.

    +
    +
    +

    Parameters

    +
      +
    • +
      Optional accessToken: undefined | string
      +
      +

      an access token for an authorized user.

      +
      +
    • +
    +

    Returns Promise<any[]>

    +
  • +
+
+
+ +

refreshTokens

+
    +
  • refreshTokens(clientId: string, clientSecret: string, refreshToken: string): Promise<any>
  • +
+
    +
  • + +
    +
    +

    Exchanges the refresh token for an access token for the given client.

    +
    +
    +

    Parameters

    +
      +
    • +
      clientId: string
      +
      +

      the client ID to authenticate with.

      +
      +
    • +
    • +
      clientSecret: string
      +
      +

      the client secret to authenticate with.

      +
      +
    • +
    • +
      refreshToken: string
      +
    • +
    +

    Returns Promise<any>

    +
  • +
+
+
+ +

setConfig

+
    +
  • setConfig(serverUrl: string, rootFolderName: string): void
  • +
+
    +
  • + +
    +
    +

    Updates server URL or root folder name when not null

    +
    +
    +

    Parameters

    +
      +
    • +
      serverUrl: string
      +
      +

      the URL of the server.

      +
      +
    • +
    • +
      rootFolderName: string
      +
      +

      the name for rootFolderName.

      +
      +
    • +
    +

    Returns void

    +
  • +
+
+
+ +

setCsrfTokenLocal

+
    +
  • setCsrfTokenLocal(csrfToken: CsrfToken): void
  • +
+
    +
  • + +

    Parameters

    + +

    Returns void

    +
  • +
+
+
+ +
+ +
+
+ +
+

Generated using TypeDoc

+
+
+ + + + \ No newline at end of file diff --git a/docs/classes/reflection-610.reflection-149.sessionmanager.html b/docs/classes/reflection-610.reflection-149.sessionmanager.html new file mode 100644 index 0000000..7bb431d --- /dev/null +++ b/docs/classes/reflection-610.reflection-149.sessionmanager.html @@ -0,0 +1,230 @@ + + + + + + SessionManager | @sasjs/adapter + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + +
+
+ Menu +
+
+
+
+
+
+ +
+
+
+
+
+ +
+

Class SessionManager

+
+

Hierarchy

+
    +
  • + SessionManager +
  • +
+
+
+
+
+
+

Constructors

+ +
+
+

Methods

+ +
+
+
+
+
+

Constructors

+
+ +

constructor

+
    +
  • new SessionManager(serverUrl: string, contextName: string, setCsrfToken: function): SessionManager
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      serverUrl: string
      +
    • +
    • +
      contextName: string
      +
    • +
    • +
      setCsrfToken: function
      +
        +
      • + +
          +
        • +

          Parameters

          + +

          Returns void

          +
        • +
        +
      • +
      +
    • +
    +

    Returns SessionManager

    +
  • +
+
+
+
+

Methods

+
+ +

getSession

+
    +
  • getSession(accessToken?: undefined | string): Promise<undefined | Session>
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      Optional accessToken: undefined | string
      +
    • +
    +

    Returns Promise<undefined | Session>

    +
  • +
+
+
+ +
+
+ +
+
+
+ +
+

Generated using TypeDoc

+
+
+ + + + \ No newline at end of file diff --git a/docs/classes/reflection-611.reflection-149.fileuploader.html b/docs/classes/reflection-611.reflection-149.fileuploader.html new file mode 100644 index 0000000..9344102 --- /dev/null +++ b/docs/classes/reflection-611.reflection-149.fileuploader.html @@ -0,0 +1,221 @@ + + + + + + FileUploader | @sasjs/adapter + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + +
+
+ Menu +
+
+
+
+
+
+ +
+
+
+
+
+ +
+

Class FileUploader

+
+

Hierarchy

+
    +
  • + FileUploader +
  • +
+
+
+
+
+
+

Constructors

+ +
+
+

Methods

+ +
+
+
+
+
+

Constructors

+
+ +

constructor

+
    +
  • new FileUploader(appLoc: string, serverUrl: string, jobsPath: string, csrfToken?: CsrfToken | null): FileUploader
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      appLoc: string
      +
    • +
    • +
      serverUrl: string
      +
    • +
    • +
      jobsPath: string
      +
    • +
    • +
      Default value csrfToken: CsrfToken | null = null
      +
    • +
    +

    Returns FileUploader

    +
  • +
+
+
+
+

Methods

+
+ +

uploadFile

+
    +
  • uploadFile(sasJob: string, files: UploadFile[], params: any): Promise<unknown>
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      sasJob: string
      +
    • +
    • +
      files: UploadFile[]
      +
    • +
    • +
      params: any
      +
    • +
    +

    Returns Promise<unknown>

    +
  • +
+
+
+ +
+
+ +
+
+
+ +
+

Generated using TypeDoc

+
+
+ + + + \ No newline at end of file diff --git a/docs/classes/reflection-611.reflection-149.sas9apiclient.html b/docs/classes/reflection-611.reflection-149.sas9apiclient.html new file mode 100644 index 0000000..e63657b --- /dev/null +++ b/docs/classes/reflection-611.reflection-149.sas9apiclient.html @@ -0,0 +1,297 @@ + + + + + + SAS9ApiClient | @sasjs/adapter + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + +
+
+ Menu +
+
+
+
+
+
+ +
+
+
+
+
+ +
+

Class SAS9ApiClient

+
+
+

A client for interfacing with the SAS9 REST API

+
+
+
+

Hierarchy

+
    +
  • + SAS9ApiClient +
  • +
+
+
+
+
+
+

Constructors

+ +
+
+

Methods

+ +
+
+
+
+
+

Constructors

+
+ +

constructor

+ +
    +
  • + +

    Parameters

    +
      +
    • +
      serverUrl: string
      +
    • +
    +

    Returns SAS9ApiClient

    +
  • +
+
+
+
+

Methods

+
+ +

executeScript

+
    +
  • executeScript(linesOfCode: string[], serverName: string, repositoryName: string): Promise<string>
  • +
+
    +
  • + +
    +
    +

    Executes code on a SAS9 server.

    +
    +
    +

    Parameters

    +
      +
    • +
      linesOfCode: string[]
      +
      +

      an array of lines of code to execute

      +
      +
    • +
    • +
      serverName: string
      +
      +

      the server to execute the code on

      +
      +
    • +
    • +
      repositoryName: string
      +
      +

      the repository to execute the code on

      +
      +
    • +
    +

    Returns Promise<string>

    +
  • +
+
+
+ +

getConfig

+
    +
  • getConfig(): object
  • +
+
    +
  • + +
    +
    +

    returns on object containing the server URL

    +
    +
    +

    Returns object

    +
      +
    • +
      serverUrl: string
      +
    • +
    +
  • +
+
+
+ +

setConfig

+
    +
  • setConfig(serverUrl: string): void
  • +
+
    +
  • + +
    +
    +

    Updates serverurl which is not null

    +
    +
    +

    Parameters

    +
      +
    • +
      serverUrl: string
      +
      +

      the URL of the server.

      +
      +
    • +
    +

    Returns void

    +
  • +
+
+
+ +
+
+ +
+
+
+ +
+

Generated using TypeDoc

+
+
+ + + + \ No newline at end of file diff --git a/docs/classes/reflection-611.reflection-149.sasjs.html b/docs/classes/reflection-611.reflection-149.sasjs.html new file mode 100644 index 0000000..6c55ebd --- /dev/null +++ b/docs/classes/reflection-611.reflection-149.sasjs.html @@ -0,0 +1,1012 @@ + + + + + + SASjs | @sasjs/adapter + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + +
+
+ Menu +
+
+
+
+
+
+
    +
  • + +
  • +
  • + +
  • +
  • + SASjs +
  • +
+
+
+
+
+
+ +
+

Class SASjs

+
+
+

SASjs is a JavaScript adapter for SAS.

+
+
+
+

Hierarchy

+
    +
  • + SASjs +
  • +
+
+
+
+ +
+
+
+

Constructors

+
+ +

constructor

+
    +
  • new SASjs(config?: any): SASjs
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      Optional config: any
      +
    • +
    +

    Returns SASjs

    +
  • +
+
+
+
+

Methods

+
+ +

checkSession

+
    +
  • checkSession(): Promise<object>
  • +
+
    +
  • + +
    +
    +

    Checks whether a session is active, or login is required

    +
    +
    +

    Returns Promise<object>

    +

    a promise which resolves with an object containing two values - a boolean isLoggedIn, and a string userName

    +
  • +
+
+
+ +

createFolder

+
    +
  • createFolder(folderName: string, parentFolderPath: string, parentFolderUri?: undefined | string, accessToken?: undefined | string, sasApiClient?: SASViyaApiClient): Promise<Folder>
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      folderName: string
      +
    • +
    • +
      parentFolderPath: string
      +
    • +
    • +
      Optional parentFolderUri: undefined | string
      +
    • +
    • +
      Optional accessToken: undefined | string
      +
    • +
    • +
      Optional sasApiClient: SASViyaApiClient
      +
    • +
    +

    Returns Promise<Folder>

    +
  • +
+
+
+ +

createJobDefinition

+
    +
  • createJobDefinition(jobName: string, code: string, parentFolderPath?: undefined | string, parentFolderUri?: undefined | string, accessToken?: undefined | string, sasApiClient?: SASViyaApiClient): Promise<object>
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      jobName: string
      +
    • +
    • +
      code: string
      +
    • +
    • +
      Optional parentFolderPath: undefined | string
      +
    • +
    • +
      Optional parentFolderUri: undefined | string
      +
    • +
    • +
      Optional accessToken: undefined | string
      +
    • +
    • +
      Optional sasApiClient: SASViyaApiClient
      +
    • +
    +

    Returns Promise<object>

    +
  • +
+
+
+ +

createSession

+
    +
  • createSession(contextName: string, accessToken: string): Promise<Session>
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      contextName: string
      +
    • +
    • +
      accessToken: string
      +
    • +
    +

    Returns Promise<Session>

    +
  • +
+
+
+ +

deleteClient

+
    +
  • deleteClient(clientId: string, accessToken: string): Promise<object>
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      clientId: string
      +
    • +
    • +
      accessToken: string
      +
    • +
    +

    Returns Promise<object>

    +
  • +
+
+
+ +

deployServicePack

+
    +
  • deployServicePack(serviceJson: any, appLoc?: undefined | string, serverUrl?: undefined | string, accessToken?: undefined | string): Promise<void>
  • +
+
    +
  • + +
    +
    +

    Creates the folders and services in the provided JSON on the given location + (appLoc) on the given server (serverUrl).

    +
    +
    +

    Parameters

    +
      +
    • +
      serviceJson: any
      +
      +

      the JSON specifying the folders and services to be created.

      +
      +
    • +
    • +
      Optional appLoc: undefined | string
      +
      +

      the base folder in which to create the new folders and + services. If not provided, is taken from SASjsConfig.

      +
      +
    • +
    • +
      Optional serverUrl: undefined | string
      +
      +

      the server on which to deploy the folders and services. + If not provided, is taken from SASjsConfig.

      +
      +
    • +
    • +
      Optional accessToken: undefined | string
      +
      +

      an optional access token to be passed in when + using this function from the command line.

      +
      +
    • +
    +

    Returns Promise<void>

    +
  • +
+
+
+ +

executeScriptSAS9

+
    +
  • executeScriptSAS9(linesOfCode: string[], serverName: string, repositoryName: string): Promise<undefined | string>
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      linesOfCode: string[]
      +
    • +
    • +
      serverName: string
      +
    • +
    • +
      repositoryName: string
      +
    • +
    +

    Returns Promise<undefined | string>

    +
  • +
+
+
+ +

executeScriptSASViya

+
    +
  • executeScriptSASViya(fileName: string, linesOfCode: string[], contextName: string, accessToken?: undefined | string, sessionId?: string, silent?: boolean): Promise<object>
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      fileName: string
      +
    • +
    • +
      linesOfCode: string[]
      +
    • +
    • +
      contextName: string
      +
    • +
    • +
      Optional accessToken: undefined | string
      +
    • +
    • +
      Default value sessionId: string = ""
      +
    • +
    • +
      Default value silent: boolean = false
      +
    • +
    +

    Returns Promise<object>

    +
  • +
+
+
+ +

getAccessToken

+
    +
  • getAccessToken(clientId: string, clientSecret: string, authCode: string): Promise<any>
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      clientId: string
      +
    • +
    • +
      clientSecret: string
      +
    • +
    • +
      authCode: string
      +
    • +
    +

    Returns Promise<any>

    +
  • +
+
+
+ +

getAllContexts

+
    +
  • getAllContexts(accessToken: string): Promise<object[]>
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      accessToken: string
      +
    • +
    +

    Returns Promise<object[]>

    +
  • +
+
+
+ +

getAuthCode

+
    +
  • getAuthCode(clientId: string): Promise<null | string>
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      clientId: string
      +
    • +
    +

    Returns Promise<null | string>

    +
  • +
+
+
+ +

getCsrfApi

+
    +
  • getCsrfApi(): undefined | string
  • +
+
    +
  • + +
    +
    +

    Returns the _csrf token of the current session for the API approach

    +
    +
    +

    Returns undefined + | + string +

    +
  • +
+
+
+ +

getCsrfWeb

+
    +
  • getCsrfWeb(): undefined | string
  • +
+
    +
  • + +
    +
    +

    Returns the _csrf token of the current session for the WEB approach.

    +
    +
    +

    Returns undefined + | + string +

    +
  • +
+
+
+ +

getExecutableContexts

+
    +
  • getExecutableContexts(accessToken: string): Promise<any[]>
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      accessToken: string
      +
    • +
    +

    Returns Promise<any[]>

    +
  • +
+
+
+ +

getSasRequests

+ +
    +
  • + +

    Returns SASjsRequest[]

    +
  • +
+
+
+ +

getSasjsConfig

+ +
    +
  • + +
    +
    +

    Returns the current SASjs configuration.

    +
    +
    +

    Returns SASjsConfig

    +
  • +
+
+
+ +

getUserName

+
    +
  • getUserName(): string
  • +
+
    +
  • + +
    +
    +

    Returns the username of the user currently logged in.

    +
    +
    +

    Returns string

    +
  • +
+
+
+ +

logIn

+
    +
  • logIn(username: string, password: string): Promise<object>
  • +
+
    +
  • + +
    +
    +

    Logs into the SAS server with the supplied credentials

    +
    +
    +

    Parameters

    +
      +
    • +
      username: string
      +
      +

      a string representing the username

      +
      +
    • +
    • +
      password: string
      +
      +

      a string representing the password

      +
      +
    • +
    +

    Returns Promise<object>

    +
  • +
+
+
+ +

logOut

+
    +
  • logOut(): Promise<unknown>
  • +
+
    +
  • + +
    +
    +

    Logs out of the configured SAS server

    +
    +
    +

    Returns Promise<unknown>

    +
  • +
+
+
+ +

refreshTokens

+
    +
  • refreshTokens(clientId: string, clientSecret: string, refreshToken: string): Promise<any>
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      clientId: string
      +
    • +
    • +
      clientSecret: string
      +
    • +
    • +
      refreshToken: string
      +
    • +
    +

    Returns Promise<any>

    +
  • +
+
+
+ +

request

+
    +
  • request(sasJob: string, data: any, config?: any, loginRequiredCallback?: any, accessToken?: undefined | string): Promise<any>
  • +
+
    +
  • + +
    +
    +

    Makes a request to the SAS Service specified in SASjob. The response + object will always contain table names in lowercase, and column names in + uppercase. Values are returned formatted by default, unformatted + values can be configured as an option in the %webout macro.

    +
    +
    +

    Parameters

    +
      +
    • +
      sasJob: string
      +
      +

      The path to the SAS program (ultimately resolves to + the SAS _program parameter to run a Job Definition or SAS 9 Stored + Process.) Is prepended at runtime with the value of appLoc.

      +
      +
    • +
    • +
      data: any
      +
      +

      A JSON object containing one or more tables to be sent to + SAS. Can be null if no inputs required.

      +
      +
    • +
    • +
      Default value config: any = {}
      +
      +

      Provide any changes to the config here, for instance to + enable / disable debug. Any change provided will override the global config, + for that particular function call.

      +
      +
    • +
    • +
      Optional loginRequiredCallback: any
      +
      +

      provide a function here to be called if the + user is not logged in (eg to display a login form). The request will be + resubmitted after logon.

      +
      +
    • +
    • +
      Optional accessToken: undefined | string
      +
    • +
    +

    Returns Promise<any>

    +
  • +
+
+
+ +

setDebugState

+
    +
  • setDebugState(value: boolean): void
  • +
+
    +
  • + +
    +
    +

    Sets the debug state. Turning this on will enable additional logging to + be returned to the adapter.

    +
    +
    +

    Parameters

    +
      +
    • +
      value: boolean
      +
      +

      Boolean indicating debug state

      +
      +
    • +
    +

    Returns void

    +
  • +
+
+
+ +

setSASjsConfig

+
    +
  • setSASjsConfig(config: SASjsConfig): Promise<void>
  • +
+
    +
  • + +
    +
    +

    Sets the SASjs configuration.

    +
    +
    +

    Parameters

    +
      +
    • +
      config: SASjsConfig
      +
      +

      SASjsConfig indicating SASjs Configuration

      +
      +
    • +
    +

    Returns Promise<void>

    +
  • +
+
+
+ +

uploadFile

+
    +
  • uploadFile(sasJob: string, files: UploadFile[], params: any): Promise<unknown>
  • +
+
    +
  • + +
    +
    +

    Uploads a file to the given service

    +
    +
    +

    Parameters

    +
      +
    • +
      sasJob: string
      +
      +

      The path to the SAS program (ultimately resolves to + the SAS _program parameter to run a Job Definition or SAS 9 Stored + Process.) Is prepended at runtime with the value of appLoc.

      +
      +
    • +
    • +
      files: UploadFile[]
      +
    • +
    • +
      params: any
      +
      +

      Request URL paramaters

      +
      +
    • +
    +

    Returns Promise<unknown>

    +
  • +
+
+
+ +
+ +
+
+ +
+

Generated using TypeDoc

+
+
+ + + + \ No newline at end of file diff --git a/docs/classes/reflection-611.reflection-149.sasviyaapiclient.html b/docs/classes/reflection-611.reflection-149.sasviyaapiclient.html new file mode 100644 index 0000000..fb18083 --- /dev/null +++ b/docs/classes/reflection-611.reflection-149.sasviyaapiclient.html @@ -0,0 +1,916 @@ + + + + + + SASViyaApiClient | @sasjs/adapter + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + +
+
+ Menu +
+
+
+
+
+
+ +
+
+
+
+
+ +
+

Class SASViyaApiClient

+
+
+

A client for interfacing with the SAS Viya REST API

+
+
+
+

Hierarchy

+
    +
  • + SASViyaApiClient +
  • +
+
+
+
+ +
+
+
+

Constructors

+
+ +

constructor

+
    +
  • new SASViyaApiClient(serverUrl: string, rootFolderName: string, contextName: string, setCsrfToken: function, rootFolderMap?: Map<string, Job[]>): SASViyaApiClient
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      serverUrl: string
      +
    • +
    • +
      rootFolderName: string
      +
    • +
    • +
      contextName: string
      +
    • +
    • +
      setCsrfToken: function
      +
        +
      • + +
          +
        • +

          Parameters

          + +

          Returns void

          +
        • +
        +
      • +
      +
    • +
    • +
      Default value rootFolderMap: Map<string, Job[]> = new Map<string, Job[]>()
      +
    • +
    +

    Returns SASViyaApiClient

    +
  • +
+
+
+
+

Methods

+
+ +

createFolder

+
    +
  • createFolder(folderName: string, parentFolderPath?: undefined | string, parentFolderUri?: undefined | string, accessToken?: undefined | string): Promise<Folder>
  • +
+
    +
  • + +
    +
    +

    Creates a folder in the specified location. Either parentFolderPath or + parentFolderUri must be provided.

    +
    +
    +

    Parameters

    +
      +
    • +
      folderName: string
      +
      +

      the name of the new folder.

      +
      +
    • +
    • +
      Optional parentFolderPath: undefined | string
      +
      +

      the full path to the parent folder. If not + provided, the parentFolderUri must be provided.

      +
      +
    • +
    • +
      Optional parentFolderUri: undefined | string
      +
      +

      the URI (eg /folders/folders/UUID) of the parent + folder. If not provided, the parentFolderPath must be provided.

      +
      +
    • +
    • +
      Optional accessToken: undefined | string
      +
    • +
    +

    Returns Promise<Folder>

    +
  • +
+
+
+ +

createJobDefinition

+
    +
  • createJobDefinition(jobName: string, code: string, parentFolderPath?: undefined | string, parentFolderUri?: undefined | string, accessToken?: undefined | string): Promise<object>
  • +
+
    +
  • + +
    +
    +

    Creates a Job in the specified folder (or folder uri).

    +
    +
    +

    Parameters

    +
      +
    • +
      jobName: string
      +
      +

      the name of the new job to be created.

      +
      +
    • +
    • +
      code: string
      +
      +

      the SAS code for the new job.

      +
      +
    • +
    • +
      Optional parentFolderPath: undefined | string
      +
      +

      the location of the new job.

      +
      +
    • +
    • +
      Optional parentFolderUri: undefined | string
      +
      +

      the URI location of the new job. The function is a + little faster if the folder URI is supplied instead of the path.

      +
      +
    • +
    • +
      Optional accessToken: undefined | string
      +
    • +
    +

    Returns Promise<object>

    +
  • +
+
+
+ +

createSession

+
    +
  • createSession(contextName: string, accessToken?: undefined | string): Promise<Session>
  • +
+
    +
  • + +
    +
    +

    Creates a session on the given context.

    +
    +
    +

    Parameters

    +
      +
    • +
      contextName: string
      +
      +

      the name of the context to create a session on.

      +
      +
    • +
    • +
      Optional accessToken: undefined | string
      +
      +

      an access token for an authorized user.

      +
      +
    • +
    +

    Returns Promise<Session>

    +
  • +
+
+
+ +

deleteClient

+
    +
  • deleteClient(clientId: string, accessToken?: undefined | string): Promise<object>
  • +
+
    +
  • + +
    +
    +

    Deletes the client representing the supplied ID.

    +
    +
    +

    Parameters

    +
      +
    • +
      clientId: string
      +
      +

      the client ID to authenticate with.

      +
      +
    • +
    • +
      Optional accessToken: undefined | string
      +
      +

      an access token for an authorized user.

      +
      +
    • +
    +

    Returns Promise<object>

    +
  • +
+
+
+ +

executeComputeJob

+
    +
  • executeComputeJob(sasJob: string, contextName: string, debug: boolean, data?: any, accessToken?: undefined | string): Promise<object>
  • +
+
    +
  • + +
    +
    +

    Executes a job via the SAS Viya Compute API

    +
    +
    +

    Parameters

    +
      +
    • +
      sasJob: string
      +
      +

      the relative path to the job.

      +
      +
    • +
    • +
      contextName: string
      +
      +

      the name of the context where the job is to be executed.

      +
      +
    • +
    • +
      debug: boolean
      +
      +

      sets the _debug flag in the job arguments.

      +
      +
    • +
    • +
      Optional data: any
      +
      +

      any data to be passed in as input to the job.

      +
      +
    • +
    • +
      Optional accessToken: undefined | string
      +
      +

      an optional access token for an authorized user.

      +
      +
    • +
    +

    Returns Promise<object>

    +
  • +
+
+
+ +

executeJob

+
    +
  • executeJob(sasJob: string, contextName: string, debug: boolean, data?: any, accessToken?: undefined | string): Promise<object>
  • +
+
    +
  • + +
    +
    +

    Executes a job via the SAS Viya Job Execution API

    +
    +
    +

    Parameters

    +
      +
    • +
      sasJob: string
      +
      +

      the relative path to the job.

      +
      +
    • +
    • +
      contextName: string
      +
      +

      the name of the context where the job is to be executed.

      +
      +
    • +
    • +
      debug: boolean
      +
      +

      sets the _debug flag in the job arguments.

      +
      +
    • +
    • +
      Optional data: any
      +
      +

      any data to be passed in as input to the job.

      +
      +
    • +
    • +
      Optional accessToken: undefined | string
      +
      +

      an optional access token for an authorized user.

      +
      +
    • +
    +

    Returns Promise<object>

    +
  • +
+
+
+ +

executeScript

+
    +
  • executeScript(jobName: string, linesOfCode: string[], contextName: string, accessToken?: undefined | string, sessionId?: string, silent?: boolean, data?: null, debug?: boolean): Promise<object>
  • +
+
    +
  • + +
    +
    +

    Executes code on the current SAS Viya server.

    +
    +
    +

    Parameters

    +
      +
    • +
      jobName: string
      +
    • +
    • +
      linesOfCode: string[]
      +
      +

      an array of lines of code to execute.

      +
      +
    • +
    • +
      contextName: string
      +
      +

      the context to execute the code in.

      +
      +
    • +
    • +
      Optional accessToken: undefined | string
      +
      +

      an access token for an authorized user.

      +
      +
    • +
    • +
      Default value sessionId: string = ""
      +
      +

      optional session ID to reuse.

      +
      +
    • +
    • +
      Default value silent: boolean = false
      +
      +

      optional flag to turn of logging.

      +
      +
    • +
    • +
      Default value data: null = null
      +
    • +
    • +
      Default value debug: boolean = false
      +
    • +
    +

    Returns Promise<object>

    +
  • +
+
+
+ +

getAccessToken

+
    +
  • getAccessToken(clientId: string, clientSecret: string, authCode: string): Promise<any>
  • +
+
    +
  • + +
    +
    +

    Exchanges the auth code for an access token for the given client.

    +
    +
    +

    Parameters

    +
      +
    • +
      clientId: string
      +
      +

      the client ID to authenticate with.

      +
      +
    • +
    • +
      clientSecret: string
      +
      +

      the client secret to authenticate with.

      +
      +
    • +
    • +
      authCode: string
      +
      +

      the auth code received from the server.

      +
      +
    • +
    +

    Returns Promise<any>

    +
  • +
+
+
+ +

getAllContexts

+
    +
  • getAllContexts(accessToken?: undefined | string): Promise<object[]>
  • +
+
    +
  • + +
    +
    +

    Returns all available compute contexts on this server.

    +
    +
    +

    Parameters

    +
      +
    • +
      Optional accessToken: undefined | string
      +
      +

      an access token for an authorized user.

      +
      +
    • +
    +

    Returns Promise<object[]>

    +
  • +
+
+
+ +

getAppLocMap

+
    +
  • getAppLocMap(): Promise<Map<string, Job[]>>
  • +
+
    +
  • + +
    +
    +

    Returns a map containing the directory structure in the currently set root folder.

    +
    +
    +

    Returns Promise<Map<string, Job[]>>

    +
  • +
+
+
+ +

getAuthCode

+
    +
  • getAuthCode(clientId: string): Promise<null | string>
  • +
+
    +
  • + +
    +
    +

    Performs a login redirect and returns an auth code for the given client

    +
    +
    +

    Parameters

    +
      +
    • +
      clientId: string
      +
      +

      the client ID to authenticate with.

      +
      +
    • +
    +

    Returns Promise<null | string>

    +
  • +
+
+
+ +

getConfig

+
    +
  • getConfig(): object
  • +
+
    +
  • + +
    +
    +

    returns an object containing the Server URL and root folder name

    +
    +
    +

    Returns object

    +
      +
    • +
      rootFolderName: string
      +
    • +
    • +
      serverUrl: string
      +
    • +
    +
  • +
+
+
+ +

getExecutableContexts

+
    +
  • getExecutableContexts(accessToken?: undefined | string): Promise<any[]>
  • +
+
    +
  • + +
    +
    +

    Returns all compute contexts on this server that the user has access to.

    +
    +
    +

    Parameters

    +
      +
    • +
      Optional accessToken: undefined | string
      +
      +

      an access token for an authorized user.

      +
      +
    • +
    +

    Returns Promise<any[]>

    +
  • +
+
+
+ +

refreshTokens

+
    +
  • refreshTokens(clientId: string, clientSecret: string, refreshToken: string): Promise<any>
  • +
+
    +
  • + +
    +
    +

    Exchanges the refresh token for an access token for the given client.

    +
    +
    +

    Parameters

    +
      +
    • +
      clientId: string
      +
      +

      the client ID to authenticate with.

      +
      +
    • +
    • +
      clientSecret: string
      +
      +

      the client secret to authenticate with.

      +
      +
    • +
    • +
      refreshToken: string
      +
    • +
    +

    Returns Promise<any>

    +
  • +
+
+
+ +

setConfig

+
    +
  • setConfig(serverUrl: string, rootFolderName: string): void
  • +
+
    +
  • + +
    +
    +

    Updates server URL or root folder name when not null

    +
    +
    +

    Parameters

    +
      +
    • +
      serverUrl: string
      +
      +

      the URL of the server.

      +
      +
    • +
    • +
      rootFolderName: string
      +
      +

      the name for rootFolderName.

      +
      +
    • +
    +

    Returns void

    +
  • +
+
+
+ +

setCsrfTokenLocal

+
    +
  • setCsrfTokenLocal(csrfToken: CsrfToken): void
  • +
+
    +
  • + +

    Parameters

    + +

    Returns void

    +
  • +
+
+
+ +
+ +
+
+ +
+

Generated using TypeDoc

+
+
+ + + + \ No newline at end of file diff --git a/docs/classes/reflection-611.reflection-149.sessionmanager.html b/docs/classes/reflection-611.reflection-149.sessionmanager.html new file mode 100644 index 0000000..1267f4b --- /dev/null +++ b/docs/classes/reflection-611.reflection-149.sessionmanager.html @@ -0,0 +1,230 @@ + + + + + + SessionManager | @sasjs/adapter + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + +
+
+ Menu +
+
+
+
+
+
+ +
+
+
+
+
+ +
+

Class SessionManager

+
+

Hierarchy

+
    +
  • + SessionManager +
  • +
+
+
+
+
+
+

Constructors

+ +
+
+

Methods

+ +
+
+
+
+
+

Constructors

+
+ +

constructor

+
    +
  • new SessionManager(serverUrl: string, contextName: string, setCsrfToken: function): SessionManager
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      serverUrl: string
      +
    • +
    • +
      contextName: string
      +
    • +
    • +
      setCsrfToken: function
      +
        +
      • + +
          +
        • +

          Parameters

          + +

          Returns void

          +
        • +
        +
      • +
      +
    • +
    +

    Returns SessionManager

    +
  • +
+
+
+
+

Methods

+
+ +

getSession

+
    +
  • getSession(accessToken?: undefined | string): Promise<undefined | Session>
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      Optional accessToken: undefined | string
      +
    • +
    +

    Returns Promise<undefined | Session>

    +
  • +
+
+
+ +
+
+ +
+
+
+ +
+

Generated using TypeDoc

+
+
+ + + + \ No newline at end of file diff --git a/docs/classes/types.sasjsconfig.html b/docs/classes/types.sasjsconfig.html index 879299a..530aa12 100644 --- a/docs/classes/types.sasjsconfig.html +++ b/docs/classes/types.sasjsconfig.html @@ -79,7 +79,8 @@

Specifies the configuration for the SASjs instance.

-
+ +

Hierarchy

@@ -121,7 +123,8 @@

The appLoc is the parent folder under which the SAS services (STPs or Job Execution Services) are stored.

-
+ +
@@ -145,7 +148,8 @@

Set to true to enable additional debugging.

-
+ +
@@ -179,7 +183,8 @@

Can be SAS9 or SASVIYA

-
+ +
@@ -195,10 +200,21 @@

The location (including http protocol and port) of the SAS Server. Can be omitted, eg if serving directly from the SAS Web Server or being streamed.

- + + +
+
+ +

useComputeApi

+
useComputeApi: boolean = false
+
- +
diff --git a/docs/enums/types.servertype.html b/docs/enums/types.servertype.html index e1f42fc..315cba6 100644 --- a/docs/enums/types.servertype.html +++ b/docs/enums/types.servertype.html @@ -79,7 +79,8 @@

Server type - Viya or SAS9.

-
+ +
@@ -116,7 +117,7 @@
- +
diff --git a/docs/globals.html b/docs/globals.html index 3f4fd3a..e9581f1 100644 --- a/docs/globals.html +++ b/docs/globals.html @@ -76,7 +76,7 @@

Modules

@@ -84,7 +84,7 @@
- +
diff --git a/docs/interfaces/types.csrftoken.html b/docs/interfaces/types.csrftoken.html index e061e76..815f72a 100644 --- a/docs/interfaces/types.csrftoken.html +++ b/docs/interfaces/types.csrftoken.html @@ -120,7 +120,7 @@ - +
diff --git a/docs/interfaces/types.folder.html b/docs/interfaces/types.folder.html index 9a8948a..6ec8dcd 100644 --- a/docs/interfaces/types.folder.html +++ b/docs/interfaces/types.folder.html @@ -131,7 +131,7 @@ - +
diff --git a/docs/interfaces/types.job.html b/docs/interfaces/types.job.html index c21e9a6..27799df 100644 --- a/docs/interfaces/types.job.html +++ b/docs/interfaces/types.job.html @@ -91,6 +91,7 @@

Properties

+
+ +

Optional error

+
error: any
+ +

id

@@ -164,7 +175,7 @@
- +
diff --git a/docs/interfaces/types.jobdefinition.html b/docs/interfaces/types.jobdefinition.html new file mode 100644 index 0000000..ad8cf5d --- /dev/null +++ b/docs/interfaces/types.jobdefinition.html @@ -0,0 +1,179 @@ + + + + + + JobDefinition | @sasjs/adapter + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + +
+
+ Menu +
+
+
+
+
+
+ +
+
+
+
+
+ +
+

Interface JobDefinition

+
+

Hierarchy

+
    +
  • + JobDefinition +
  • +
+
+
+
+
+
+

Properties

+ +
+
+
+
+
+

Properties

+
+ +

code

+
code: string
+ +
+
+ +
+
+ +
+
+
+ +
+

Generated using TypeDoc

+
+
+ + + + \ No newline at end of file diff --git a/docs/interfaces/types.jobresult.html b/docs/interfaces/types.jobresult.html index 40f8d6b..707e9a1 100644 --- a/docs/interfaces/types.jobresult.html +++ b/docs/interfaces/types.jobresult.html @@ -109,7 +109,7 @@ - +
diff --git a/docs/interfaces/types.link.html b/docs/interfaces/types.link.html index c8d343b..f7015d5 100644 --- a/docs/interfaces/types.link.html +++ b/docs/interfaces/types.link.html @@ -153,7 +153,7 @@ - +
diff --git a/docs/interfaces/types.sasjsrequest.html b/docs/interfaces/types.sasjsrequest.html index 4184c70..28f7558 100644 --- a/docs/interfaces/types.sasjsrequest.html +++ b/docs/interfaces/types.sasjsrequest.html @@ -79,7 +79,8 @@

Represents a SASjs request, its response and logs.

-
+ +

Hierarchy

- +
diff --git a/docs/interfaces/types.sasjswaitingrequest.html b/docs/interfaces/types.sasjswaitingrequest.html index 8d3a3c2..230b0d0 100644 --- a/docs/interfaces/types.sasjswaitingrequest.html +++ b/docs/interfaces/types.sasjswaitingrequest.html @@ -79,7 +79,8 @@

Represents requests that are queued, pending a signon event

-
+ +

Hierarchy

@@ -115,6 +116,16 @@ +
+ +

Optional config

+
config: any
+ +

data

@@ -125,16 +136,6 @@
-
- -

Optional params

-
params: any
- -

requestPromise

@@ -160,7 +161,7 @@
- +
diff --git a/docs/interfaces/types.session.html b/docs/interfaces/types.session.html index ed13332..816e170 100644 --- a/docs/interfaces/types.session.html +++ b/docs/interfaces/types.session.html @@ -91,6 +91,8 @@

Properties

@@ -104,12 +106,32 @@
id: string
+ +
+ +

links

+
links: Link[]
+ +
+
+ +

state

+
state: string
+
- +
diff --git a/docs/interfaces/types.uploadfile.html b/docs/interfaces/types.uploadfile.html new file mode 100644 index 0000000..163b55f --- /dev/null +++ b/docs/interfaces/types.uploadfile.html @@ -0,0 +1,198 @@ + + + + + + UploadFile | @sasjs/adapter + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + +
+
+ Menu +
+
+
+
+
+
+ +
+
+
+
+
+ +
+

Interface UploadFile

+
+
+

Represents a object that is passed to file uploader

+
+
+
+

Hierarchy

+
    +
  • + UploadFile +
  • +
+
+
+
+
+
+

Properties

+ +
+
+
+
+
+

Properties

+
+ +

file

+
file: File
+ +
+
+ +

fileName

+
fileName: string
+ +
+
+ +
+
+ +
+
+
+ +
+

Generated using TypeDoc

+
+
+ + + + \ No newline at end of file diff --git a/docs/modules/reflection-560.html b/docs/modules/reflection-560.html new file mode 100644 index 0000000..330dfbb --- /dev/null +++ b/docs/modules/reflection-560.html @@ -0,0 +1,107 @@ + + + + + + | @sasjs/adapter + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + +
+
+ Menu +
+
+
+
+
+
+
    +
  • + +
  • +
+
+
+
+
+
+ +
+

Module

+
+
+
+
+

Modules

+ +
+
+
+
+ +
+
+ +
+
+
+ +
+

Generated using TypeDoc

+
+
+ + + + \ No newline at end of file diff --git a/docs/modules/reflection-560.reflection-1.html b/docs/modules/reflection-560.reflection-1.html new file mode 100644 index 0000000..34f75fd --- /dev/null +++ b/docs/modules/reflection-560.reflection-1.html @@ -0,0 +1,125 @@ + + + + + + | @sasjs/adapter + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + +
+
+ Menu +
+
+
+
+
+
+
    +
  • + +
  • +
  • + +
  • +
+
+
+
+
+
+ +
+

Module

+
+
+
+
+

Classes

+ +
+
+
+
+ +
+
+ +
+
+
+ +
+

Generated using TypeDoc

+
+
+ + + + \ No newline at end of file diff --git a/docs/modules/reflection-588.html b/docs/modules/reflection-588.html new file mode 100644 index 0000000..a5dda87 --- /dev/null +++ b/docs/modules/reflection-588.html @@ -0,0 +1,107 @@ + + + + + + | @sasjs/adapter + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + +
+
+ Menu +
+
+
+
+
+
+
    +
  • + +
  • +
+
+
+
+
+
+ +
+

Module

+
+
+
+
+

Modules

+ +
+
+
+
+ +
+
+ +
+
+
+ +
+

Generated using TypeDoc

+
+
+ + + + \ No newline at end of file diff --git a/docs/modules/reflection-588.reflection-1.html b/docs/modules/reflection-588.reflection-1.html new file mode 100644 index 0000000..302f633 --- /dev/null +++ b/docs/modules/reflection-588.reflection-1.html @@ -0,0 +1,125 @@ + + + + + + | @sasjs/adapter + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + +
+
+ Menu +
+
+
+
+
+
+
    +
  • + +
  • +
  • + +
  • +
+
+
+
+
+
+ +
+

Module

+
+
+
+
+

Classes

+ +
+
+
+
+ +
+
+ +
+
+
+ +
+

Generated using TypeDoc

+
+
+ + + + \ No newline at end of file diff --git a/docs/modules/reflection-607.html b/docs/modules/reflection-607.html new file mode 100644 index 0000000..71afdcf --- /dev/null +++ b/docs/modules/reflection-607.html @@ -0,0 +1,107 @@ + + + + + + | @sasjs/adapter + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + +
+
+ Menu +
+
+
+
+
+
+
    +
  • + +
  • +
+
+
+
+
+
+ +
+

Module

+
+
+
+
+

Modules

+ +
+
+
+
+ +
+
+ +
+
+
+ +
+

Generated using TypeDoc

+
+
+ + + + \ No newline at end of file diff --git a/docs/modules/reflection-607.reflection-145.html b/docs/modules/reflection-607.reflection-145.html new file mode 100644 index 0000000..7124938 --- /dev/null +++ b/docs/modules/reflection-607.reflection-145.html @@ -0,0 +1,129 @@ + + + + + + | @sasjs/adapter + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + +
+
+ Menu +
+
+
+
+
+
+
    +
  • + +
  • +
  • + +
  • +
+
+
+
+
+
+ +
+

Module

+
+
+ +
+
+ +
+
+ +
+
+
+ +
+

Generated using TypeDoc

+
+
+ + + + \ No newline at end of file diff --git a/docs/modules/reflection-610.html b/docs/modules/reflection-610.html new file mode 100644 index 0000000..476c0f9 --- /dev/null +++ b/docs/modules/reflection-610.html @@ -0,0 +1,107 @@ + + + + + + | @sasjs/adapter + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + +
+
+ Menu +
+
+
+
+
+
+
    +
  • + +
  • +
+
+
+
+
+
+ +
+

Module

+
+
+
+
+

Modules

+ +
+
+
+
+ +
+
+ +
+
+
+ +
+

Generated using TypeDoc

+
+
+ + + + \ No newline at end of file diff --git a/docs/modules/reflection-610.reflection-149.html b/docs/modules/reflection-610.reflection-149.html new file mode 100644 index 0000000..22545b3 --- /dev/null +++ b/docs/modules/reflection-610.reflection-149.html @@ -0,0 +1,129 @@ + + + + + + | @sasjs/adapter + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + +
+
+ Menu +
+
+
+
+
+
+
    +
  • + +
  • +
  • + +
  • +
+
+
+
+
+
+ +
+

Module

+
+
+ +
+
+ +
+
+ +
+
+
+ +
+

Generated using TypeDoc

+
+
+ + + + \ No newline at end of file diff --git a/docs/modules/reflection-611.html b/docs/modules/reflection-611.html new file mode 100644 index 0000000..f1dd1bb --- /dev/null +++ b/docs/modules/reflection-611.html @@ -0,0 +1,107 @@ + + + + + + | @sasjs/adapter + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + +
+
+ Menu +
+
+
+
+
+
+
    +
  • + +
  • +
+
+
+
+
+
+ +
+

Module

+
+
+
+
+

Modules

+ +
+
+
+
+ +
+
+ +
+
+
+ +
+

Generated using TypeDoc

+
+
+ + + + \ No newline at end of file diff --git a/docs/modules/reflection-611.reflection-149.html b/docs/modules/reflection-611.reflection-149.html new file mode 100644 index 0000000..aa9c8ab --- /dev/null +++ b/docs/modules/reflection-611.reflection-149.html @@ -0,0 +1,129 @@ + + + + + + | @sasjs/adapter + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + +
+
+ Menu +
+
+
+
+
+
+
    +
  • + +
  • +
  • + +
  • +
+
+
+
+
+
+ +
+

Module

+
+
+ +
+
+ +
+
+ +
+
+
+ +
+

Generated using TypeDoc

+
+
+ + + + \ No newline at end of file diff --git a/docs/modules/types.html b/docs/modules/types.html index 8900e4e..231d21c 100644 --- a/docs/modules/types.html +++ b/docs/modules/types.html @@ -95,17 +95,19 @@
  • CsrfToken
  • Folder
  • Job
  • +
  • JobDefinition
  • JobResult
  • Link
  • SASjsRequest
  • SASjsWaitingRequest
  • Session
  • +
  • UploadFile
  • - +
    diff --git a/docs/modules/utils.html b/docs/modules/utils.html index 023f5dc..1b2240a 100644 --- a/docs/modules/utils.html +++ b/docs/modules/utils.html @@ -82,6 +82,7 @@
  • asyncForEach
  • compareTimestamps
  • convertToCSV
  • +
  • formatDataForRequest
  • isAuthorizeFormRequired
  • isLogInRequired
  • isLogInSuccess
  • @@ -142,7 +143,8 @@

    Comparator for SASjs request timestamps

    -
    + +

    Parameters

    +
    + +

    Const formatDataForRequest

    + + +

    Const isAuthorizeFormRequired

    @@ -260,7 +287,7 @@

    makeRequest

    -

    Returns Promise<T>

    +

    Returns Promise<object>

    @@ -485,7 +512,7 @@ - +