diff --git a/docs/assets/js/search.json b/docs/assets/js/search.json index ee77a94..1b16fee 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":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":"params","url":"interfaces/types.sasjswaitingrequest.html#params","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":64,"name":"makeRequest","url":"modules/utils.html#makerequest","classes":"tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter","parent":"utils"},{"id":69,"kind":64,"name":"needsRetry","url":"modules/utils.html#needsretry","classes":"tsd-kind-function tsd-parent-kind-module","parent":"utils"},{"id":70,"kind":64,"name":"parseAndSubmitAuthorizeForm","url":"modules/utils.html#parseandsubmitauthorizeform","classes":"tsd-kind-function tsd-parent-kind-module","parent":"utils"},{"id":71,"kind":64,"name":"parseGeneratedCode","url":"modules/utils.html#parsegeneratedcode","classes":"tsd-kind-function tsd-parent-kind-module","parent":"utils"},{"id":72,"kind":64,"name":"parseSourceCode","url":"modules/utils.html#parsesourcecode","classes":"tsd-kind-function tsd-parent-kind-module","parent":"utils"},{"id":73,"kind":64,"name":"parseSasViyaLog","url":"modules/utils.html#parsesasviyalog","classes":"tsd-kind-function tsd-parent-kind-module","parent":"utils"},{"id":74,"kind":64,"name":"serialize","url":"modules/utils.html#serialize","classes":"tsd-kind-function tsd-parent-kind-module","parent":"utils"},{"id":75,"kind":64,"name":"splitChunks","url":"modules/utils.html#splitchunks","classes":"tsd-kind-function tsd-parent-kind-module","parent":"utils"},{"id":76,"kind":128,"name":"FileUploader","url":"classes/reflection-607.reflection-145.fileuploader.html","classes":"tsd-kind-class tsd-parent-kind-module","parent":"."},{"id":77,"kind":512,"name":"constructor","url":"classes/reflection-607.reflection-145.fileuploader.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"..FileUploader"},{"id":78,"kind":2048,"name":"uploadFile","url":"classes/reflection-607.reflection-145.fileuploader.html#uploadfile","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..FileUploader"},{"id":79,"kind":128,"name":"SAS9ApiClient","url":"classes/reflection-607.reflection-145.sas9apiclient.html","classes":"tsd-kind-class tsd-parent-kind-module","parent":"."},{"id":80,"kind":512,"name":"constructor","url":"classes/reflection-607.reflection-145.sas9apiclient.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"..SAS9ApiClient"},{"id":81,"kind":2048,"name":"getConfig","url":"classes/reflection-607.reflection-145.sas9apiclient.html#getconfig","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SAS9ApiClient"},{"id":82,"kind":2048,"name":"setConfig","url":"classes/reflection-607.reflection-145.sas9apiclient.html#setconfig","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SAS9ApiClient"},{"id":83,"kind":2048,"name":"executeScript","url":"classes/reflection-607.reflection-145.sas9apiclient.html#executescript","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SAS9ApiClient"},{"id":84,"kind":256,"name":"JobDefinition","url":"interfaces/types.jobdefinition.html","classes":"tsd-kind-interface tsd-parent-kind-module","parent":"types"},{"id":85,"kind":1024,"name":"code","url":"interfaces/types.jobdefinition.html#code","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"types.JobDefinition"},{"id":86,"kind":64,"name":"formatDataForRequest","url":"modules/utils.html#formatdataforrequest","classes":"tsd-kind-function tsd-parent-kind-module","parent":"utils"},{"id":87,"kind":128,"name":"SessionManager","url":"classes/reflection-607.reflection-145.sessionmanager.html","classes":"tsd-kind-class tsd-parent-kind-module","parent":"."},{"id":88,"kind":512,"name":"constructor","url":"classes/reflection-607.reflection-145.sessionmanager.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"..SessionManager"},{"id":89,"kind":2048,"name":"getSession","url":"classes/reflection-607.reflection-145.sessionmanager.html#getsession","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SessionManager"},{"id":90,"kind":128,"name":"SASViyaApiClient","url":"classes/reflection-607.reflection-145.sasviyaapiclient.html","classes":"tsd-kind-class tsd-parent-kind-module","parent":"."},{"id":91,"kind":512,"name":"constructor","url":"classes/reflection-607.reflection-145.sasviyaapiclient.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"..SASViyaApiClient"},{"id":92,"kind":2048,"name":"getAppLocMap","url":"classes/reflection-607.reflection-145.sasviyaapiclient.html#getapplocmap","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASViyaApiClient"},{"id":93,"kind":2048,"name":"getConfig","url":"classes/reflection-607.reflection-145.sasviyaapiclient.html#getconfig","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASViyaApiClient"},{"id":94,"kind":2048,"name":"setConfig","url":"classes/reflection-607.reflection-145.sasviyaapiclient.html#setconfig","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASViyaApiClient"},{"id":95,"kind":2048,"name":"getAllContexts","url":"classes/reflection-607.reflection-145.sasviyaapiclient.html#getallcontexts","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASViyaApiClient"},{"id":96,"kind":2048,"name":"getExecutableContexts","url":"classes/reflection-607.reflection-145.sasviyaapiclient.html#getexecutablecontexts","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASViyaApiClient"},{"id":97,"kind":2048,"name":"createSession","url":"classes/reflection-607.reflection-145.sasviyaapiclient.html#createsession","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASViyaApiClient"},{"id":98,"kind":2048,"name":"executeScript","url":"classes/reflection-607.reflection-145.sasviyaapiclient.html#executescript","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASViyaApiClient"},{"id":99,"kind":2048,"name":"createFolder","url":"classes/reflection-607.reflection-145.sasviyaapiclient.html#createfolder","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASViyaApiClient"},{"id":100,"kind":2048,"name":"createJobDefinition","url":"classes/reflection-607.reflection-145.sasviyaapiclient.html#createjobdefinition","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASViyaApiClient"},{"id":101,"kind":2048,"name":"getAuthCode","url":"classes/reflection-607.reflection-145.sasviyaapiclient.html#getauthcode","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASViyaApiClient"},{"id":102,"kind":2048,"name":"getAccessToken","url":"classes/reflection-607.reflection-145.sasviyaapiclient.html#getaccesstoken","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASViyaApiClient"},{"id":103,"kind":2048,"name":"refreshTokens","url":"classes/reflection-607.reflection-145.sasviyaapiclient.html#refreshtokens","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASViyaApiClient"},{"id":104,"kind":2048,"name":"deleteClient","url":"classes/reflection-607.reflection-145.sasviyaapiclient.html#deleteclient","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASViyaApiClient"},{"id":105,"kind":2048,"name":"executeComputeJob","url":"classes/reflection-607.reflection-145.sasviyaapiclient.html#executecomputejob","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASViyaApiClient"},{"id":106,"kind":2048,"name":"executeJob","url":"classes/reflection-607.reflection-145.sasviyaapiclient.html#executejob","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASViyaApiClient"},{"id":107,"kind":2048,"name":"setCsrfTokenLocal","url":"classes/reflection-607.reflection-145.sasviyaapiclient.html#setcsrftokenlocal","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASViyaApiClient"},{"id":108,"kind":128,"name":"SASjs","url":"classes/reflection-607.reflection-145.sasjs.html","classes":"tsd-kind-class tsd-parent-kind-module","parent":"."},{"id":109,"kind":512,"name":"constructor","url":"classes/reflection-607.reflection-145.sasjs.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"..SASjs"},{"id":110,"kind":2048,"name":"executeScriptSAS9","url":"classes/reflection-607.reflection-145.sasjs.html#executescriptsas9","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":111,"kind":2048,"name":"getAllContexts","url":"classes/reflection-607.reflection-145.sasjs.html#getallcontexts","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":112,"kind":2048,"name":"getExecutableContexts","url":"classes/reflection-607.reflection-145.sasjs.html#getexecutablecontexts","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":113,"kind":2048,"name":"createSession","url":"classes/reflection-607.reflection-145.sasjs.html#createsession","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":114,"kind":2048,"name":"executeScriptSASViya","url":"classes/reflection-607.reflection-145.sasjs.html#executescriptsasviya","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":115,"kind":2048,"name":"createFolder","url":"classes/reflection-607.reflection-145.sasjs.html#createfolder","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":116,"kind":2048,"name":"createJobDefinition","url":"classes/reflection-607.reflection-145.sasjs.html#createjobdefinition","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":117,"kind":2048,"name":"getAuthCode","url":"classes/reflection-607.reflection-145.sasjs.html#getauthcode","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":118,"kind":2048,"name":"getAccessToken","url":"classes/reflection-607.reflection-145.sasjs.html#getaccesstoken","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":119,"kind":2048,"name":"refreshTokens","url":"classes/reflection-607.reflection-145.sasjs.html#refreshtokens","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":120,"kind":2048,"name":"deleteClient","url":"classes/reflection-607.reflection-145.sasjs.html#deleteclient","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":121,"kind":2048,"name":"getSasjsConfig","url":"classes/reflection-607.reflection-145.sasjs.html#getsasjsconfig","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":122,"kind":2048,"name":"getUserName","url":"classes/reflection-607.reflection-145.sasjs.html#getusername","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":123,"kind":2048,"name":"getCsrfApi","url":"classes/reflection-607.reflection-145.sasjs.html#getcsrfapi","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":124,"kind":2048,"name":"getCsrfWeb","url":"classes/reflection-607.reflection-145.sasjs.html#getcsrfweb","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":125,"kind":2048,"name":"setSASjsConfig","url":"classes/reflection-607.reflection-145.sasjs.html#setsasjsconfig","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":126,"kind":2048,"name":"setDebugState","url":"classes/reflection-607.reflection-145.sasjs.html#setdebugstate","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":127,"kind":2048,"name":"checkSession","url":"classes/reflection-607.reflection-145.sasjs.html#checksession","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":128,"kind":2048,"name":"logIn","url":"classes/reflection-607.reflection-145.sasjs.html#login","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":129,"kind":2048,"name":"logOut","url":"classes/reflection-607.reflection-145.sasjs.html#logout","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":130,"kind":2048,"name":"uploadFile","url":"classes/reflection-607.reflection-145.sasjs.html#uploadfile","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":131,"kind":2048,"name":"request","url":"classes/reflection-607.reflection-145.sasjs.html#request","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":132,"kind":2048,"name":"deployServicePack","url":"classes/reflection-607.reflection-145.sasjs.html#deployservicepack","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":133,"kind":2048,"name":"getSasRequests","url":"classes/reflection-607.reflection-145.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.019]],["parent/0",[]],["name/1",[1,44.998]],["parent/1",[0,2.089]],["name/2",[2,23.026]],["parent/2",[]],["name/3",[3,44.998]],["parent/3",[2,2.288]],["name/4",[4,44.998]],["parent/4",[5,3.015]],["name/5",[6,44.998]],["parent/5",[5,3.015]],["name/6",[7,44.998]],["parent/6",[5,3.015]],["name/7",[8,44.998]],["parent/7",[5,3.015]],["name/8",[9,44.998]],["parent/8",[5,3.015]],["name/9",[10,44.998]],["parent/9",[5,3.015]],["name/10",[11,44.998]],["parent/10",[0,2.089]],["name/11",[12,44.998]],["parent/11",[0,2.089]],["name/12",[13,44.998]],["parent/12",[0,2.089]],["name/13",[14,44.998]],["parent/13",[0,2.089]],["name/14",[15,44.998]],["parent/14",[0,2.089]],["name/15",[16,44.998]],["parent/15",[2,2.288]],["name/16",[17,39.89]],["parent/16",[18,3.38]],["name/17",[19,34.012]],["parent/17",[18,3.38]],["name/18",[20,39.89]],["parent/18",[18,3.38]],["name/19",[21,44.998]],["parent/19",[18,3.38]],["name/20",[22,44.998]],["parent/20",[2,2.288]],["name/21",[23,44.998]],["parent/21",[24,3.964]],["name/22",[25,44.998]],["parent/22",[24,3.964]],["name/23",[26,44.998]],["parent/23",[2,2.288]],["name/24",[27,44.998]],["parent/24",[28,3.181]],["name/25",[29,44.998]],["parent/25",[28,3.181]],["name/26",[30,44.998]],["parent/26",[28,3.181]],["name/27",[31,36.525]],["parent/27",[28,3.181]],["name/28",[32,44.998]],["parent/28",[28,3.181]],["name/29",[33,44.998]],["parent/29",[2,2.288]],["name/30",[19,34.012]],["parent/30",[34,3.63]],["name/31",[31,36.525]],["parent/31",[34,3.63]],["name/32",[35,36.525]],["parent/32",[34,3.63]],["name/33",[36,44.998]],["parent/33",[2,2.288]],["name/34",[37,44.998]],["parent/34",[38,4.472]],["name/35",[39,44.998]],["parent/35",[2,2.288]],["name/36",[19,34.012]],["parent/36",[40,2.873]],["name/37",[17,39.89]],["parent/37",[40,2.873]],["name/38",[31,36.525]],["parent/38",[40,2.873]],["name/39",[20,39.89]],["parent/39",[40,2.873]],["name/40",[35,36.525]],["parent/40",[40,2.873]],["name/41",[41,44.998]],["parent/41",[40,2.873]],["name/42",[42,44.998]],["parent/42",[40,2.873]],["name/43",[43,39.89]],["parent/43",[2,2.288]],["name/44",[44,44.998]],["parent/44",[45,3.964]],["name/45",[46,44.998]],["parent/45",[45,3.964]],["name/46",[47,44.998]],["parent/46",[2,2.288]],["name/47",[48,44.998]],["parent/47",[49,2.748]],["name/48",[50,44.998]],["parent/48",[49,2.748]],["name/49",[51,44.998]],["parent/49",[49,2.748]],["name/50",[52,44.998]],["parent/50",[49,2.748]],["name/51",[43,39.89]],["parent/51",[49,2.748]],["name/52",[53,44.998]],["parent/52",[49,2.748]],["name/53",[54,44.998]],["parent/53",[49,2.748]],["name/54",[55,44.998]],["parent/54",[49,2.748]],["name/55",[56,44.998]],["parent/55",[2,2.288]],["name/56",[57,44.998]],["parent/56",[58,3.38]],["name/57",[59,44.998]],["parent/57",[60,4.472]],["name/58",[61,44.998]],["parent/58",[62,3.63]],["name/59",[63,44.998]],["parent/59",[62,3.63]],["name/60",[64,44.998]],["parent/60",[62,3.63]],["name/61",[65,44.998]],["parent/61",[58,3.38]],["name/62",[66,44.998]],["parent/62",[58,3.38]],["name/63",[67,44.998]],["parent/63",[58,3.38]],["name/64",[68,44.998]],["parent/64",[2,2.288]],["name/65",[19,34.012]],["parent/65",[69,3.63]],["name/66",[70,44.998]],["parent/66",[69,3.63]],["name/67",[35,36.525]],["parent/67",[69,3.63]],["name/68",[71,44.998]],["parent/68",[0,2.089]],["name/69",[72,44.998]],["parent/69",[0,2.089]],["name/70",[73,44.998]],["parent/70",[0,2.089]],["name/71",[74,44.998]],["parent/71",[0,2.089]],["name/72",[75,44.998]],["parent/72",[0,2.089]],["name/73",[76,44.998]],["parent/73",[0,2.089]],["name/74",[77,44.998]],["parent/74",[0,2.089]],["name/75",[78,44.998]],["parent/75",[0,2.089]],["name/76",[79,36.525]],["parent/76",[80,3.181]],["name/77",[81,32.005]],["parent/77",[79,3.63]],["name/78",[82,39.89]],["parent/78",[79,3.63]],["name/79",[83,32.005]],["parent/79",[80,3.181]],["name/80",[81,32.005]],["parent/80",[83,3.181]],["name/81",[84,39.89]],["parent/81",[83,3.181]],["name/82",[85,39.89]],["parent/82",[83,3.181]],["name/83",[86,39.89]],["parent/83",[83,3.181]],["name/84",[87,44.998]],["parent/84",[2,2.288]],["name/85",[88,44.998]],["parent/85",[89,4.472]],["name/86",[90,44.998]],["parent/86",[0,2.089]],["name/87",[91,36.525]],["parent/87",[80,3.181]],["name/88",[81,32.005]],["parent/88",[91,3.63]],["name/89",[92,44.998]],["parent/89",[91,3.63]],["name/90",[93,19.875]],["parent/90",[80,3.181]],["name/91",[81,32.005]],["parent/91",[93,1.975]],["name/92",[94,44.998]],["parent/92",[93,1.975]],["name/93",[84,39.89]],["parent/93",[93,1.975]],["name/94",[85,39.89]],["parent/94",[93,1.975]],["name/95",[95,39.89]],["parent/95",[93,1.975]],["name/96",[96,39.89]],["parent/96",[93,1.975]],["name/97",[97,39.89]],["parent/97",[93,1.975]],["name/98",[86,39.89]],["parent/98",[93,1.975]],["name/99",[98,39.89]],["parent/99",[93,1.975]],["name/100",[99,39.89]],["parent/100",[93,1.975]],["name/101",[100,39.89]],["parent/101",[93,1.975]],["name/102",[101,39.89]],["parent/102",[93,1.975]],["name/103",[102,39.89]],["parent/103",[93,1.975]],["name/104",[103,39.89]],["parent/104",[93,1.975]],["name/105",[104,44.998]],["parent/105",[93,1.975]],["name/106",[105,44.998]],["parent/106",[93,1.975]],["name/107",[106,44.998]],["parent/107",[93,1.975]],["name/108",[107,16.281]],["parent/108",[80,3.181]],["name/109",[81,32.005]],["parent/109",[107,1.618]],["name/110",[108,44.998]],["parent/110",[107,1.618]],["name/111",[95,39.89]],["parent/111",[107,1.618]],["name/112",[96,39.89]],["parent/112",[107,1.618]],["name/113",[97,39.89]],["parent/113",[107,1.618]],["name/114",[109,44.998]],["parent/114",[107,1.618]],["name/115",[98,39.89]],["parent/115",[107,1.618]],["name/116",[99,39.89]],["parent/116",[107,1.618]],["name/117",[100,39.89]],["parent/117",[107,1.618]],["name/118",[101,39.89]],["parent/118",[107,1.618]],["name/119",[102,39.89]],["parent/119",[107,1.618]],["name/120",[103,39.89]],["parent/120",[107,1.618]],["name/121",[110,44.998]],["parent/121",[107,1.618]],["name/122",[111,44.998]],["parent/122",[107,1.618]],["name/123",[112,44.998]],["parent/123",[107,1.618]],["name/124",[113,44.998]],["parent/124",[107,1.618]],["name/125",[114,44.998]],["parent/125",[107,1.618]],["name/126",[115,44.998]],["parent/126",[107,1.618]],["name/127",[116,44.998]],["parent/127",[107,1.618]],["name/128",[117,44.998]],["parent/128",[107,1.618]],["name/129",[118,44.998]],["parent/129",[107,1.618]],["name/130",[82,39.89]],["parent/130",[107,1.618]],["name/131",[119,44.998]],["parent/131",[107,1.618]],["name/132",[120,44.998]],["parent/132",[107,1.618]],["name/133",[121,44.998]],["parent/133",[107,1.618]]],"invertedIndex":[["",{"_index":80,"name":{},"parent":{"76":{},"79":{},"87":{},"90":{},"108":{}}}],["__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":116,"name":{"127":{}},"parent":{}}],["code",{"_index":88,"name":{"85":{}},"parent":{}}],["comparetimestamps",{"_index":11,"name":{"10":{}},"parent":{}}],["constructor",{"_index":81,"name":{"77":{},"80":{},"88":{},"91":{},"109":{}},"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":98,"name":{"99":{},"115":{}},"parent":{}}],["createjobdefinition",{"_index":99,"name":{"100":{},"116":{}},"parent":{}}],["createsession",{"_index":97,"name":{"97":{},"113":{}},"parent":{}}],["csrftoken",{"_index":22,"name":{"20":{}},"parent":{}}],["data",{"_index":66,"name":{"62":{}},"parent":{}}],["debug",{"_index":53,"name":{"52":{}},"parent":{}}],["deleteclient",{"_index":103,"name":{"104":{},"120":{}},"parent":{}}],["deployservicepack",{"_index":120,"name":{"132":{}},"parent":{}}],["error",{"_index":42,"name":{"42":{}},"parent":{}}],["executecomputejob",{"_index":104,"name":{"105":{}},"parent":{}}],["executejob",{"_index":105,"name":{"106":{}},"parent":{}}],["executescript",{"_index":86,"name":{"83":{},"98":{}},"parent":{}}],["executescriptsas9",{"_index":108,"name":{"110":{}},"parent":{}}],["executescriptsasviya",{"_index":109,"name":{"114":{}},"parent":{}}],["fileuploader",{"_index":79,"name":{"76":{}},"parent":{"77":{},"78":{}}}],["folder",{"_index":33,"name":{"29":{}},"parent":{}}],["formatdataforrequest",{"_index":90,"name":{"86":{}},"parent":{}}],["generatedcode",{"_index":8,"name":{"7":{}},"parent":{}}],["getaccesstoken",{"_index":101,"name":{"102":{},"118":{}},"parent":{}}],["getallcontexts",{"_index":95,"name":{"95":{},"111":{}},"parent":{}}],["getapplocmap",{"_index":94,"name":{"92":{}},"parent":{}}],["getauthcode",{"_index":100,"name":{"101":{},"117":{}},"parent":{}}],["getconfig",{"_index":84,"name":{"81":{},"93":{}},"parent":{}}],["getcsrfapi",{"_index":112,"name":{"123":{}},"parent":{}}],["getcsrfweb",{"_index":113,"name":{"124":{}},"parent":{}}],["getexecutablecontexts",{"_index":96,"name":{"96":{},"112":{}},"parent":{}}],["getsasjsconfig",{"_index":110,"name":{"121":{}},"parent":{}}],["getsasrequests",{"_index":121,"name":{"133":{}},"parent":{}}],["getsession",{"_index":92,"name":{"89":{}},"parent":{}}],["getusername",{"_index":111,"name":{"122":{}},"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":87,"name":{"84":{}},"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":117,"name":{"128":{}},"parent":{}}],["logout",{"_index":118,"name":{"129":{}},"parent":{}}],["makerequest",{"_index":71,"name":{"68":{}},"parent":{}}],["method",{"_index":27,"name":{"24":{}},"parent":{}}],["name",{"_index":17,"name":{"16":{},"37":{}},"parent":{}}],["needsretry",{"_index":72,"name":{"69":{}},"parent":{}}],["params",{"_index":67,"name":{"63":{}},"parent":{}}],["parseandsubmitauthorizeform",{"_index":73,"name":{"70":{}},"parent":{}}],["parsegeneratedcode",{"_index":74,"name":{"71":{}},"parent":{}}],["parsesasviyalog",{"_index":76,"name":{"73":{}},"parent":{}}],["parsesourcecode",{"_index":75,"name":{"72":{}},"parent":{}}],["pathsas9",{"_index":50,"name":{"48":{}},"parent":{}}],["pathsasviya",{"_index":51,"name":{"49":{}},"parent":{}}],["promise",{"_index":61,"name":{"58":{}},"parent":{}}],["refreshtokens",{"_index":102,"name":{"103":{},"119":{}},"parent":{}}],["reject",{"_index":64,"name":{"60":{}},"parent":{}}],["rel",{"_index":29,"name":{"25":{}},"parent":{}}],["request",{"_index":119,"name":{"131":{}},"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":83,"name":{"79":{}},"parent":{"80":{},"81":{},"82":{},"83":{}}}],["sasjob",{"_index":65,"name":{"61":{}},"parent":{}}],["sasjs",{"_index":107,"name":{"108":{}},"parent":{"109":{},"110":{},"111":{},"112":{},"113":{},"114":{},"115":{},"116":{},"117":{},"118":{},"119":{},"120":{},"121":{},"122":{},"123":{},"124":{},"125":{},"126":{},"127":{},"128":{},"129":{},"130":{},"131":{},"132":{},"133":{}}}],["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":93,"name":{"90":{}},"parent":{"91":{},"92":{},"93":{},"94":{},"95":{},"96":{},"97":{},"98":{},"99":{},"100":{},"101":{},"102":{},"103":{},"104":{},"105":{},"106":{},"107":{}}}],["saswork",{"_index":10,"name":{"9":{}},"parent":{}}],["serialize",{"_index":77,"name":{"74":{}},"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":91,"name":{"87":{}},"parent":{"88":{},"89":{}}}],["setconfig",{"_index":85,"name":{"82":{},"94":{}},"parent":{}}],["setcsrftokenlocal",{"_index":106,"name":{"107":{}},"parent":{}}],["setdebugstate",{"_index":115,"name":{"126":{}},"parent":{}}],["setsasjsconfig",{"_index":114,"name":{"125":{}},"parent":{}}],["sourcecode",{"_index":7,"name":{"6":{}},"parent":{}}],["splitchunks",{"_index":78,"name":{"75":{}},"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":{},"84":{}}}],["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":89,"name":{},"parent":{"85":{}}}],["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":{}}}],["uploadfile",{"_index":82,"name":{"78":{},"130":{}},"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":{},"68":{},"69":{},"70":{},"71":{},"72":{},"73":{},"74":{},"75":{},"86":{}}}],["value",{"_index":25,"name":{"22":{}},"parent":{}}],["version",{"_index":21,"name":{"19":{}},"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":64,"name":"makeRequest","url":"modules/utils.html#makerequest","classes":"tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter","parent":"utils"},{"id":69,"kind":64,"name":"needsRetry","url":"modules/utils.html#needsretry","classes":"tsd-kind-function tsd-parent-kind-module","parent":"utils"},{"id":70,"kind":64,"name":"parseAndSubmitAuthorizeForm","url":"modules/utils.html#parseandsubmitauthorizeform","classes":"tsd-kind-function tsd-parent-kind-module","parent":"utils"},{"id":71,"kind":64,"name":"parseGeneratedCode","url":"modules/utils.html#parsegeneratedcode","classes":"tsd-kind-function tsd-parent-kind-module","parent":"utils"},{"id":72,"kind":64,"name":"parseSourceCode","url":"modules/utils.html#parsesourcecode","classes":"tsd-kind-function tsd-parent-kind-module","parent":"utils"},{"id":73,"kind":64,"name":"parseSasViyaLog","url":"modules/utils.html#parsesasviyalog","classes":"tsd-kind-function tsd-parent-kind-module","parent":"utils"},{"id":74,"kind":64,"name":"serialize","url":"modules/utils.html#serialize","classes":"tsd-kind-function tsd-parent-kind-module","parent":"utils"},{"id":75,"kind":64,"name":"splitChunks","url":"modules/utils.html#splitchunks","classes":"tsd-kind-function tsd-parent-kind-module","parent":"utils"},{"id":76,"kind":128,"name":"FileUploader","url":"classes/reflection-607.reflection-145.fileuploader.html","classes":"tsd-kind-class tsd-parent-kind-module","parent":"."},{"id":77,"kind":512,"name":"constructor","url":"classes/reflection-607.reflection-145.fileuploader.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"..FileUploader"},{"id":78,"kind":2048,"name":"uploadFile","url":"classes/reflection-607.reflection-145.fileuploader.html#uploadfile","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..FileUploader"},{"id":79,"kind":128,"name":"SAS9ApiClient","url":"classes/reflection-607.reflection-145.sas9apiclient.html","classes":"tsd-kind-class tsd-parent-kind-module","parent":"."},{"id":80,"kind":512,"name":"constructor","url":"classes/reflection-607.reflection-145.sas9apiclient.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"..SAS9ApiClient"},{"id":81,"kind":2048,"name":"getConfig","url":"classes/reflection-607.reflection-145.sas9apiclient.html#getconfig","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SAS9ApiClient"},{"id":82,"kind":2048,"name":"setConfig","url":"classes/reflection-607.reflection-145.sas9apiclient.html#setconfig","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SAS9ApiClient"},{"id":83,"kind":2048,"name":"executeScript","url":"classes/reflection-607.reflection-145.sas9apiclient.html#executescript","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SAS9ApiClient"},{"id":84,"kind":256,"name":"JobDefinition","url":"interfaces/types.jobdefinition.html","classes":"tsd-kind-interface tsd-parent-kind-module","parent":"types"},{"id":85,"kind":1024,"name":"code","url":"interfaces/types.jobdefinition.html#code","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"types.JobDefinition"},{"id":86,"kind":64,"name":"formatDataForRequest","url":"modules/utils.html#formatdataforrequest","classes":"tsd-kind-function tsd-parent-kind-module","parent":"utils"},{"id":87,"kind":128,"name":"SessionManager","url":"classes/reflection-607.reflection-145.sessionmanager.html","classes":"tsd-kind-class tsd-parent-kind-module","parent":"."},{"id":88,"kind":512,"name":"constructor","url":"classes/reflection-607.reflection-145.sessionmanager.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"..SessionManager"},{"id":89,"kind":2048,"name":"getSession","url":"classes/reflection-607.reflection-145.sessionmanager.html#getsession","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SessionManager"},{"id":90,"kind":128,"name":"SASViyaApiClient","url":"classes/reflection-607.reflection-145.sasviyaapiclient.html","classes":"tsd-kind-class tsd-parent-kind-module","parent":"."},{"id":91,"kind":512,"name":"constructor","url":"classes/reflection-607.reflection-145.sasviyaapiclient.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"..SASViyaApiClient"},{"id":92,"kind":2048,"name":"getAppLocMap","url":"classes/reflection-607.reflection-145.sasviyaapiclient.html#getapplocmap","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASViyaApiClient"},{"id":93,"kind":2048,"name":"getConfig","url":"classes/reflection-607.reflection-145.sasviyaapiclient.html#getconfig","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASViyaApiClient"},{"id":94,"kind":2048,"name":"setConfig","url":"classes/reflection-607.reflection-145.sasviyaapiclient.html#setconfig","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASViyaApiClient"},{"id":95,"kind":2048,"name":"getAllContexts","url":"classes/reflection-607.reflection-145.sasviyaapiclient.html#getallcontexts","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASViyaApiClient"},{"id":96,"kind":2048,"name":"getExecutableContexts","url":"classes/reflection-607.reflection-145.sasviyaapiclient.html#getexecutablecontexts","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASViyaApiClient"},{"id":97,"kind":2048,"name":"createSession","url":"classes/reflection-607.reflection-145.sasviyaapiclient.html#createsession","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASViyaApiClient"},{"id":98,"kind":2048,"name":"executeScript","url":"classes/reflection-607.reflection-145.sasviyaapiclient.html#executescript","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASViyaApiClient"},{"id":99,"kind":2048,"name":"createFolder","url":"classes/reflection-607.reflection-145.sasviyaapiclient.html#createfolder","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASViyaApiClient"},{"id":100,"kind":2048,"name":"createJobDefinition","url":"classes/reflection-607.reflection-145.sasviyaapiclient.html#createjobdefinition","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASViyaApiClient"},{"id":101,"kind":2048,"name":"getAuthCode","url":"classes/reflection-607.reflection-145.sasviyaapiclient.html#getauthcode","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASViyaApiClient"},{"id":102,"kind":2048,"name":"getAccessToken","url":"classes/reflection-607.reflection-145.sasviyaapiclient.html#getaccesstoken","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASViyaApiClient"},{"id":103,"kind":2048,"name":"refreshTokens","url":"classes/reflection-607.reflection-145.sasviyaapiclient.html#refreshtokens","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASViyaApiClient"},{"id":104,"kind":2048,"name":"deleteClient","url":"classes/reflection-607.reflection-145.sasviyaapiclient.html#deleteclient","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASViyaApiClient"},{"id":105,"kind":2048,"name":"executeComputeJob","url":"classes/reflection-607.reflection-145.sasviyaapiclient.html#executecomputejob","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASViyaApiClient"},{"id":106,"kind":2048,"name":"executeJob","url":"classes/reflection-607.reflection-145.sasviyaapiclient.html#executejob","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASViyaApiClient"},{"id":107,"kind":2048,"name":"setCsrfTokenLocal","url":"classes/reflection-607.reflection-145.sasviyaapiclient.html#setcsrftokenlocal","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASViyaApiClient"},{"id":108,"kind":128,"name":"SASjs","url":"classes/reflection-607.reflection-145.sasjs.html","classes":"tsd-kind-class tsd-parent-kind-module","parent":"."},{"id":109,"kind":512,"name":"constructor","url":"classes/reflection-607.reflection-145.sasjs.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"..SASjs"},{"id":110,"kind":2048,"name":"executeScriptSAS9","url":"classes/reflection-607.reflection-145.sasjs.html#executescriptsas9","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":111,"kind":2048,"name":"getAllContexts","url":"classes/reflection-607.reflection-145.sasjs.html#getallcontexts","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":112,"kind":2048,"name":"getExecutableContexts","url":"classes/reflection-607.reflection-145.sasjs.html#getexecutablecontexts","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":113,"kind":2048,"name":"createSession","url":"classes/reflection-607.reflection-145.sasjs.html#createsession","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":114,"kind":2048,"name":"executeScriptSASViya","url":"classes/reflection-607.reflection-145.sasjs.html#executescriptsasviya","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":115,"kind":2048,"name":"createFolder","url":"classes/reflection-607.reflection-145.sasjs.html#createfolder","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":116,"kind":2048,"name":"createJobDefinition","url":"classes/reflection-607.reflection-145.sasjs.html#createjobdefinition","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":117,"kind":2048,"name":"getAuthCode","url":"classes/reflection-607.reflection-145.sasjs.html#getauthcode","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":118,"kind":2048,"name":"getAccessToken","url":"classes/reflection-607.reflection-145.sasjs.html#getaccesstoken","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":119,"kind":2048,"name":"refreshTokens","url":"classes/reflection-607.reflection-145.sasjs.html#refreshtokens","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":120,"kind":2048,"name":"deleteClient","url":"classes/reflection-607.reflection-145.sasjs.html#deleteclient","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":121,"kind":2048,"name":"getSasjsConfig","url":"classes/reflection-607.reflection-145.sasjs.html#getsasjsconfig","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":122,"kind":2048,"name":"getUserName","url":"classes/reflection-607.reflection-145.sasjs.html#getusername","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":123,"kind":2048,"name":"getCsrfApi","url":"classes/reflection-607.reflection-145.sasjs.html#getcsrfapi","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":124,"kind":2048,"name":"getCsrfWeb","url":"classes/reflection-607.reflection-145.sasjs.html#getcsrfweb","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":125,"kind":2048,"name":"setSASjsConfig","url":"classes/reflection-607.reflection-145.sasjs.html#setsasjsconfig","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":126,"kind":2048,"name":"setDebugState","url":"classes/reflection-607.reflection-145.sasjs.html#setdebugstate","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":127,"kind":2048,"name":"checkSession","url":"classes/reflection-607.reflection-145.sasjs.html#checksession","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":128,"kind":2048,"name":"logIn","url":"classes/reflection-607.reflection-145.sasjs.html#login","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":129,"kind":2048,"name":"logOut","url":"classes/reflection-607.reflection-145.sasjs.html#logout","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":130,"kind":2048,"name":"uploadFile","url":"classes/reflection-607.reflection-145.sasjs.html#uploadfile","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":131,"kind":2048,"name":"request","url":"classes/reflection-607.reflection-145.sasjs.html#request","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":132,"kind":2048,"name":"deployServicePack","url":"classes/reflection-607.reflection-145.sasjs.html#deployservicepack","classes":"tsd-kind-method tsd-parent-kind-class","parent":"..SASjs"},{"id":133,"kind":2048,"name":"getSasRequests","url":"classes/reflection-607.reflection-145.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.019]],["parent/0",[]],["name/1",[1,44.998]],["parent/1",[0,2.089]],["name/2",[2,23.026]],["parent/2",[]],["name/3",[3,44.998]],["parent/3",[2,2.288]],["name/4",[4,44.998]],["parent/4",[5,3.015]],["name/5",[6,44.998]],["parent/5",[5,3.015]],["name/6",[7,44.998]],["parent/6",[5,3.015]],["name/7",[8,44.998]],["parent/7",[5,3.015]],["name/8",[9,44.998]],["parent/8",[5,3.015]],["name/9",[10,44.998]],["parent/9",[5,3.015]],["name/10",[11,44.998]],["parent/10",[0,2.089]],["name/11",[12,44.998]],["parent/11",[0,2.089]],["name/12",[13,44.998]],["parent/12",[0,2.089]],["name/13",[14,44.998]],["parent/13",[0,2.089]],["name/14",[15,44.998]],["parent/14",[0,2.089]],["name/15",[16,44.998]],["parent/15",[2,2.288]],["name/16",[17,39.89]],["parent/16",[18,3.38]],["name/17",[19,34.012]],["parent/17",[18,3.38]],["name/18",[20,39.89]],["parent/18",[18,3.38]],["name/19",[21,44.998]],["parent/19",[18,3.38]],["name/20",[22,44.998]],["parent/20",[2,2.288]],["name/21",[23,44.998]],["parent/21",[24,3.964]],["name/22",[25,44.998]],["parent/22",[24,3.964]],["name/23",[26,44.998]],["parent/23",[2,2.288]],["name/24",[27,44.998]],["parent/24",[28,3.181]],["name/25",[29,44.998]],["parent/25",[28,3.181]],["name/26",[30,44.998]],["parent/26",[28,3.181]],["name/27",[31,36.525]],["parent/27",[28,3.181]],["name/28",[32,44.998]],["parent/28",[28,3.181]],["name/29",[33,44.998]],["parent/29",[2,2.288]],["name/30",[19,34.012]],["parent/30",[34,3.63]],["name/31",[31,36.525]],["parent/31",[34,3.63]],["name/32",[35,36.525]],["parent/32",[34,3.63]],["name/33",[36,44.998]],["parent/33",[2,2.288]],["name/34",[37,44.998]],["parent/34",[38,4.472]],["name/35",[39,44.998]],["parent/35",[2,2.288]],["name/36",[19,34.012]],["parent/36",[40,2.873]],["name/37",[17,39.89]],["parent/37",[40,2.873]],["name/38",[31,36.525]],["parent/38",[40,2.873]],["name/39",[20,39.89]],["parent/39",[40,2.873]],["name/40",[35,36.525]],["parent/40",[40,2.873]],["name/41",[41,44.998]],["parent/41",[40,2.873]],["name/42",[42,44.998]],["parent/42",[40,2.873]],["name/43",[43,39.89]],["parent/43",[2,2.288]],["name/44",[44,44.998]],["parent/44",[45,3.964]],["name/45",[46,44.998]],["parent/45",[45,3.964]],["name/46",[47,44.998]],["parent/46",[2,2.288]],["name/47",[48,44.998]],["parent/47",[49,2.748]],["name/48",[50,44.998]],["parent/48",[49,2.748]],["name/49",[51,44.998]],["parent/49",[49,2.748]],["name/50",[52,44.998]],["parent/50",[49,2.748]],["name/51",[43,39.89]],["parent/51",[49,2.748]],["name/52",[53,44.998]],["parent/52",[49,2.748]],["name/53",[54,44.998]],["parent/53",[49,2.748]],["name/54",[55,44.998]],["parent/54",[49,2.748]],["name/55",[56,44.998]],["parent/55",[2,2.288]],["name/56",[57,44.998]],["parent/56",[58,3.38]],["name/57",[59,44.998]],["parent/57",[60,4.472]],["name/58",[61,44.998]],["parent/58",[62,3.63]],["name/59",[63,44.998]],["parent/59",[62,3.63]],["name/60",[64,44.998]],["parent/60",[62,3.63]],["name/61",[65,44.998]],["parent/61",[58,3.38]],["name/62",[66,44.998]],["parent/62",[58,3.38]],["name/63",[67,44.998]],["parent/63",[58,3.38]],["name/64",[68,44.998]],["parent/64",[2,2.288]],["name/65",[19,34.012]],["parent/65",[69,3.63]],["name/66",[70,44.998]],["parent/66",[69,3.63]],["name/67",[35,36.525]],["parent/67",[69,3.63]],["name/68",[71,44.998]],["parent/68",[0,2.089]],["name/69",[72,44.998]],["parent/69",[0,2.089]],["name/70",[73,44.998]],["parent/70",[0,2.089]],["name/71",[74,44.998]],["parent/71",[0,2.089]],["name/72",[75,44.998]],["parent/72",[0,2.089]],["name/73",[76,44.998]],["parent/73",[0,2.089]],["name/74",[77,44.998]],["parent/74",[0,2.089]],["name/75",[78,44.998]],["parent/75",[0,2.089]],["name/76",[79,36.525]],["parent/76",[80,3.181]],["name/77",[81,32.005]],["parent/77",[79,3.63]],["name/78",[82,39.89]],["parent/78",[79,3.63]],["name/79",[83,32.005]],["parent/79",[80,3.181]],["name/80",[81,32.005]],["parent/80",[83,3.181]],["name/81",[84,39.89]],["parent/81",[83,3.181]],["name/82",[85,39.89]],["parent/82",[83,3.181]],["name/83",[86,39.89]],["parent/83",[83,3.181]],["name/84",[87,44.998]],["parent/84",[2,2.288]],["name/85",[88,44.998]],["parent/85",[89,4.472]],["name/86",[90,44.998]],["parent/86",[0,2.089]],["name/87",[91,36.525]],["parent/87",[80,3.181]],["name/88",[81,32.005]],["parent/88",[91,3.63]],["name/89",[92,44.998]],["parent/89",[91,3.63]],["name/90",[93,19.875]],["parent/90",[80,3.181]],["name/91",[81,32.005]],["parent/91",[93,1.975]],["name/92",[94,44.998]],["parent/92",[93,1.975]],["name/93",[84,39.89]],["parent/93",[93,1.975]],["name/94",[85,39.89]],["parent/94",[93,1.975]],["name/95",[95,39.89]],["parent/95",[93,1.975]],["name/96",[96,39.89]],["parent/96",[93,1.975]],["name/97",[97,39.89]],["parent/97",[93,1.975]],["name/98",[86,39.89]],["parent/98",[93,1.975]],["name/99",[98,39.89]],["parent/99",[93,1.975]],["name/100",[99,39.89]],["parent/100",[93,1.975]],["name/101",[100,39.89]],["parent/101",[93,1.975]],["name/102",[101,39.89]],["parent/102",[93,1.975]],["name/103",[102,39.89]],["parent/103",[93,1.975]],["name/104",[103,39.89]],["parent/104",[93,1.975]],["name/105",[104,44.998]],["parent/105",[93,1.975]],["name/106",[105,44.998]],["parent/106",[93,1.975]],["name/107",[106,44.998]],["parent/107",[93,1.975]],["name/108",[107,16.281]],["parent/108",[80,3.181]],["name/109",[81,32.005]],["parent/109",[107,1.618]],["name/110",[108,44.998]],["parent/110",[107,1.618]],["name/111",[95,39.89]],["parent/111",[107,1.618]],["name/112",[96,39.89]],["parent/112",[107,1.618]],["name/113",[97,39.89]],["parent/113",[107,1.618]],["name/114",[109,44.998]],["parent/114",[107,1.618]],["name/115",[98,39.89]],["parent/115",[107,1.618]],["name/116",[99,39.89]],["parent/116",[107,1.618]],["name/117",[100,39.89]],["parent/117",[107,1.618]],["name/118",[101,39.89]],["parent/118",[107,1.618]],["name/119",[102,39.89]],["parent/119",[107,1.618]],["name/120",[103,39.89]],["parent/120",[107,1.618]],["name/121",[110,44.998]],["parent/121",[107,1.618]],["name/122",[111,44.998]],["parent/122",[107,1.618]],["name/123",[112,44.998]],["parent/123",[107,1.618]],["name/124",[113,44.998]],["parent/124",[107,1.618]],["name/125",[114,44.998]],["parent/125",[107,1.618]],["name/126",[115,44.998]],["parent/126",[107,1.618]],["name/127",[116,44.998]],["parent/127",[107,1.618]],["name/128",[117,44.998]],["parent/128",[107,1.618]],["name/129",[118,44.998]],["parent/129",[107,1.618]],["name/130",[82,39.89]],["parent/130",[107,1.618]],["name/131",[119,44.998]],["parent/131",[107,1.618]],["name/132",[120,44.998]],["parent/132",[107,1.618]],["name/133",[121,44.998]],["parent/133",[107,1.618]]],"invertedIndex":[["",{"_index":80,"name":{},"parent":{"76":{},"79":{},"87":{},"90":{},"108":{}}}],["__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":116,"name":{"127":{}},"parent":{}}],["code",{"_index":88,"name":{"85":{}},"parent":{}}],["comparetimestamps",{"_index":11,"name":{"10":{}},"parent":{}}],["config",{"_index":67,"name":{"63":{}},"parent":{}}],["constructor",{"_index":81,"name":{"77":{},"80":{},"88":{},"91":{},"109":{}},"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":98,"name":{"99":{},"115":{}},"parent":{}}],["createjobdefinition",{"_index":99,"name":{"100":{},"116":{}},"parent":{}}],["createsession",{"_index":97,"name":{"97":{},"113":{}},"parent":{}}],["csrftoken",{"_index":22,"name":{"20":{}},"parent":{}}],["data",{"_index":66,"name":{"62":{}},"parent":{}}],["debug",{"_index":53,"name":{"52":{}},"parent":{}}],["deleteclient",{"_index":103,"name":{"104":{},"120":{}},"parent":{}}],["deployservicepack",{"_index":120,"name":{"132":{}},"parent":{}}],["error",{"_index":42,"name":{"42":{}},"parent":{}}],["executecomputejob",{"_index":104,"name":{"105":{}},"parent":{}}],["executejob",{"_index":105,"name":{"106":{}},"parent":{}}],["executescript",{"_index":86,"name":{"83":{},"98":{}},"parent":{}}],["executescriptsas9",{"_index":108,"name":{"110":{}},"parent":{}}],["executescriptsasviya",{"_index":109,"name":{"114":{}},"parent":{}}],["fileuploader",{"_index":79,"name":{"76":{}},"parent":{"77":{},"78":{}}}],["folder",{"_index":33,"name":{"29":{}},"parent":{}}],["formatdataforrequest",{"_index":90,"name":{"86":{}},"parent":{}}],["generatedcode",{"_index":8,"name":{"7":{}},"parent":{}}],["getaccesstoken",{"_index":101,"name":{"102":{},"118":{}},"parent":{}}],["getallcontexts",{"_index":95,"name":{"95":{},"111":{}},"parent":{}}],["getapplocmap",{"_index":94,"name":{"92":{}},"parent":{}}],["getauthcode",{"_index":100,"name":{"101":{},"117":{}},"parent":{}}],["getconfig",{"_index":84,"name":{"81":{},"93":{}},"parent":{}}],["getcsrfapi",{"_index":112,"name":{"123":{}},"parent":{}}],["getcsrfweb",{"_index":113,"name":{"124":{}},"parent":{}}],["getexecutablecontexts",{"_index":96,"name":{"96":{},"112":{}},"parent":{}}],["getsasjsconfig",{"_index":110,"name":{"121":{}},"parent":{}}],["getsasrequests",{"_index":121,"name":{"133":{}},"parent":{}}],["getsession",{"_index":92,"name":{"89":{}},"parent":{}}],["getusername",{"_index":111,"name":{"122":{}},"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":87,"name":{"84":{}},"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":117,"name":{"128":{}},"parent":{}}],["logout",{"_index":118,"name":{"129":{}},"parent":{}}],["makerequest",{"_index":71,"name":{"68":{}},"parent":{}}],["method",{"_index":27,"name":{"24":{}},"parent":{}}],["name",{"_index":17,"name":{"16":{},"37":{}},"parent":{}}],["needsretry",{"_index":72,"name":{"69":{}},"parent":{}}],["parseandsubmitauthorizeform",{"_index":73,"name":{"70":{}},"parent":{}}],["parsegeneratedcode",{"_index":74,"name":{"71":{}},"parent":{}}],["parsesasviyalog",{"_index":76,"name":{"73":{}},"parent":{}}],["parsesourcecode",{"_index":75,"name":{"72":{}},"parent":{}}],["pathsas9",{"_index":50,"name":{"48":{}},"parent":{}}],["pathsasviya",{"_index":51,"name":{"49":{}},"parent":{}}],["promise",{"_index":61,"name":{"58":{}},"parent":{}}],["refreshtokens",{"_index":102,"name":{"103":{},"119":{}},"parent":{}}],["reject",{"_index":64,"name":{"60":{}},"parent":{}}],["rel",{"_index":29,"name":{"25":{}},"parent":{}}],["request",{"_index":119,"name":{"131":{}},"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":83,"name":{"79":{}},"parent":{"80":{},"81":{},"82":{},"83":{}}}],["sasjob",{"_index":65,"name":{"61":{}},"parent":{}}],["sasjs",{"_index":107,"name":{"108":{}},"parent":{"109":{},"110":{},"111":{},"112":{},"113":{},"114":{},"115":{},"116":{},"117":{},"118":{},"119":{},"120":{},"121":{},"122":{},"123":{},"124":{},"125":{},"126":{},"127":{},"128":{},"129":{},"130":{},"131":{},"132":{},"133":{}}}],["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":93,"name":{"90":{}},"parent":{"91":{},"92":{},"93":{},"94":{},"95":{},"96":{},"97":{},"98":{},"99":{},"100":{},"101":{},"102":{},"103":{},"104":{},"105":{},"106":{},"107":{}}}],["saswork",{"_index":10,"name":{"9":{}},"parent":{}}],["serialize",{"_index":77,"name":{"74":{}},"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":91,"name":{"87":{}},"parent":{"88":{},"89":{}}}],["setconfig",{"_index":85,"name":{"82":{},"94":{}},"parent":{}}],["setcsrftokenlocal",{"_index":106,"name":{"107":{}},"parent":{}}],["setdebugstate",{"_index":115,"name":{"126":{}},"parent":{}}],["setsasjsconfig",{"_index":114,"name":{"125":{}},"parent":{}}],["sourcecode",{"_index":7,"name":{"6":{}},"parent":{}}],["splitchunks",{"_index":78,"name":{"75":{}},"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":{},"84":{}}}],["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":89,"name":{},"parent":{"85":{}}}],["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":{}}}],["uploadfile",{"_index":82,"name":{"78":{},"130":{}},"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":{},"68":{},"69":{},"70":{},"71":{},"72":{},"73":{},"74":{},"75":{},"86":{}}}],["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-607.reflection-145.sasjs.html b/docs/classes/reflection-607.reflection-145.sasjs.html index e9fd27e..9c3525c 100644 --- a/docs/classes/reflection-607.reflection-145.sasjs.html +++ b/docs/classes/reflection-607.reflection-145.sasjs.html @@ -319,7 +319,7 @@
  • @@ -587,7 +587,7 @@
  • Returns SASjsRequest[]

    @@ -730,13 +730,13 @@

    request

    +
    + +

    Optional config

    +
    config: any
    + +

    data

    @@ -126,16 +136,6 @@
    -
    - -

    Optional params

    -
    params: any
    - -

    requestPromise

    @@ -205,10 +205,10 @@ SASjob
  • - data + config
  • - params + data
  • requestPromise 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/sasjs-tests/package.json b/sasjs-tests/package.json index ca165e1..29b9734 100644 --- a/sasjs-tests/package.json +++ b/sasjs-tests/package.json @@ -24,7 +24,7 @@ "build": "react-scripts build", "test": "react-scripts test", "eject": "react-scripts eject", - "deploy": "npm run build && rsync -avhe ssh ./build/* --delete kriaco@sas.analytium.co.uk:/var/www/html/kriaco/sasjs-tests" + "deploy": "cd .. && npm run package:lib && cd sasjs-tests && npm i ../build/sasjs-adapter-5.0.0.tgz && npm run build && rsync -avhe ssh ./build/* --delete kriaco@sas.analytium.co.uk:/var/www/html/kriaco/sasjs-tests" }, "eslintConfig": { "extends": "react-app" diff --git a/src/SASjs.ts b/src/SASjs.ts index 422b0ec..b5b10f6 100644 --- a/src/SASjs.ts +++ b/src/SASjs.ts @@ -44,7 +44,7 @@ const requestRetryLimit = 5; * */ export default class SASjs { - private sasjsConfig = new SASjsConfig(); + private sasjsConfig: SASjsConfig = new SASjsConfig(); private jobsPath: string = ""; private logoutUrl: string = ""; private loginUrl: string = ""; @@ -406,8 +406,9 @@ export default class SASjs { * Process.) Is prepended at runtime with the value of `appLoc`. * @param data - A JSON object containing one or more tables to be sent to * SAS. Can be `null` if no inputs required. - * @param params - Provide any changes to the config here, for instance to - * enable / disable `debug`. + * @param config - 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. * @param loginRequiredCallback - 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. @@ -415,40 +416,47 @@ export default class SASjs { public async request( sasJob: string, data: any, - params?: any, + config: any = {}, loginRequiredCallback?: any, accessToken?: string ) { + let requestResponse; + + config = { + ...this.sasjsConfig, + ...config, + }; + sasJob = sasJob.startsWith("/") ? sasJob.replace("/", "") : sasJob; - if ( - this.sasjsConfig.serverType === ServerType.SASViya && - this.sasjsConfig.contextName - ) { - if (this.sasjsConfig.useComputeApi) { - return await this.executeJobViaComputeApi( + + if (config.serverType === ServerType.SASViya && config.contextName) { + if (config.useComputeApi) { + requestResponse = await this.executeJobViaComputeApi( sasJob, data, - params, + config, loginRequiredCallback, accessToken ); } else { - return await this.executeJobViaJesApi( + requestResponse = await this.executeJobViaJesApi( sasJob, data, - params, + config, loginRequiredCallback, accessToken ); } } else { - return await this.executeJobViaJes( + requestResponse = await this.executeJobViaWeb( sasJob, data, - params, + config, loginRequiredCallback ); } + + return requestResponse; } /** @@ -515,7 +523,7 @@ export default class SASjs { private async executeJobViaComputeApi( sasJob: string, data: any, - params?: any, + config: any, loginRequiredCallback?: any, accessToken?: string ) { @@ -527,7 +535,6 @@ export default class SASjs { }, SASjob: sasJob, data, - params, }; sasjsWaitingRequest.requestPromise.promise = new Promise( @@ -536,13 +543,13 @@ export default class SASjs { await this.sasViyaApiClient ?.executeComputeJob( sasJob, - this.sasjsConfig.contextName, - this.sasjsConfig.debug, + config.contextName, + config.debug, data, accessToken ) .then((response) => { - if (!this.sasjsConfig.debug) { + if (!config.debug) { this.appendSasjsRequest(null, sasJob, null); } else { this.appendSasjsRequest(response, sasJob, null); @@ -554,6 +561,7 @@ export default class SASjs { if (loginRequiredCallback) loginRequiredCallback(true); sasjsWaitingRequest.requestPromise.resolve = resolve; sasjsWaitingRequest.requestPromise.reject = reject; + sasjsWaitingRequest.config = config; this.sasjsWaitingRequests.push(sasjsWaitingRequest); } else { reject({ MESSAGE: e || "Job execution failed" }); @@ -568,7 +576,7 @@ export default class SASjs { private async executeJobViaJesApi( sasJob: string, data: any, - params?: any, + config: any, loginRequiredCallback?: any, accessToken?: string ) { @@ -580,7 +588,6 @@ export default class SASjs { }, SASjob: sasJob, data, - params, }; sasjsWaitingRequest.requestPromise.promise = new Promise( @@ -591,19 +598,20 @@ export default class SASjs { if (loginRequiredCallback) loginRequiredCallback(true); sasjsWaitingRequest.requestPromise.resolve = resolve; sasjsWaitingRequest.requestPromise.reject = reject; + sasjsWaitingRequest.config = config; this.sasjsWaitingRequests.push(sasjsWaitingRequest); } else { resolve( await this.sasViyaApiClient ?.executeJob( sasJob, - this.sasjsConfig.contextName, - this.sasjsConfig.debug, + config.contextName, + config.debug, data, accessToken ) .then((response) => { - if (!this.sasjsConfig.debug) { + if (!config.debug) { this.appendSasjsRequest(null, sasJob, null); } else { this.appendSasjsRequest(response, sasJob, null); @@ -620,10 +628,10 @@ export default class SASjs { return sasjsWaitingRequest.requestPromise.promise; } - private async executeJobViaJes( + private async executeJobViaWeb( sasJob: string, data: any, - params?: any, + config: any, loginRequiredCallback?: any ) { const sasjsWaitingRequest: SASjsWaitingRequest = { @@ -634,24 +642,19 @@ export default class SASjs { }, SASjob: sasJob, data, - params, }; - const program = this.sasjsConfig.appLoc - ? this.sasjsConfig.appLoc.replace(/\/?$/, "/") + sasJob.replace(/^\//, "") + const program = config.appLoc + ? config.appLoc.replace(/\/?$/, "/") + sasJob.replace(/^\//, "") : sasJob; const jobUri = - this.sasjsConfig.serverType === "SASVIYA" - ? await this.getJobUri(sasJob) - : ""; - const apiUrl = `${this.sasjsConfig.serverUrl}${this.jobsPath}/?${ + config.serverType === "SASVIYA" ? await this.getJobUri(sasJob) : ""; + const apiUrl = `${config.serverUrl}${this.jobsPath}/?${ jobUri.length > 0 ? "__program=" + program + "&_job=" + jobUri : "_program=" + program }`; - const inputParams = params ? params : {}; const requestParams = { - ...inputParams, ...this.getRequestParamsWeb(), }; @@ -663,7 +666,7 @@ export default class SASjs { if (data) { const stringifiedData = JSON.stringify(data); if ( - this.sasjsConfig.serverType === ServerType.SAS9 || + config.serverType === ServerType.SAS9 || stringifiedData.length > 500000 || stringifiedData.includes(";") ) { @@ -755,10 +758,7 @@ export default class SASjs { } } - if ( - response.redirected && - this.sasjsConfig.serverType === ServerType.SAS9 - ) { + if (response.redirected && config.serverType === ServerType.SAS9) { isRedirected = true; } @@ -771,7 +771,7 @@ export default class SASjs { ) { if (this.retryCountRequest < requestRetryLimit) { this.retryCountRequest++; - this.request(sasJob, data, params).then( + this.request(sasJob, data).then( (res: any) => resolve(res), (err: any) => reject(err) ); @@ -787,12 +787,10 @@ export default class SASjs { if (loginRequiredCallback) loginRequiredCallback(true); sasjsWaitingRequest.requestPromise.resolve = resolve; sasjsWaitingRequest.requestPromise.reject = reject; + sasjsWaitingRequest.config = config; this.sasjsWaitingRequests.push(sasjsWaitingRequest); } else { - if ( - this.sasjsConfig.serverType === ServerType.SAS9 && - this.sasjsConfig.debug - ) { + if (config.serverType === ServerType.SAS9 && config.debug) { this.updateUsername(responseText); const jsonResponseText = this.parseSAS9Response(responseText); @@ -804,8 +802,8 @@ export default class SASjs { }); } } else if ( - this.sasjsConfig.serverType === ServerType.SASViya && - this.sasjsConfig.debug + config.serverType === ServerType.SASViya && + config.debug ) { try { this.parseSASVIYADebugResponse(responseText).then( @@ -851,11 +849,7 @@ export default class SASjs { private async resendWaitingRequests() { for (const sasjsWaitingRequest of this.sasjsWaitingRequests) { - this.request( - sasjsWaitingRequest.SASjob, - sasjsWaitingRequest.data, - sasjsWaitingRequest.params - ).then( + this.request(sasjsWaitingRequest.SASjob, sasjsWaitingRequest.data).then( (res: any) => { sasjsWaitingRequest.requestPromise.resolve(res); }, diff --git a/src/types/SASjsWaitingRequest.ts b/src/types/SASjsWaitingRequest.ts index f3c289d..f47c832 100644 --- a/src/types/SASjsWaitingRequest.ts +++ b/src/types/SASjsWaitingRequest.ts @@ -10,5 +10,5 @@ export interface SASjsWaitingRequest { }; SASjob: string; data: any; - params?: any; + config?: any; }