diff --git a/.gitignore b/.gitignore
index 41db3ac..359ebc8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,3 +6,5 @@ build
/coverage
.DS_Store
+
+/docs/*
\ No newline at end of file
diff --git a/docs/.nojekyll b/docs/.nojekyll
deleted file mode 100644
index e2ac661..0000000
--- a/docs/.nojekyll
+++ /dev/null
@@ -1 +0,0 @@
-TypeDoc added this file to prevent GitHub Pages from using Jekyll. You can turn off this behavior by setting the `githubPages` option to false.
\ No newline at end of file
diff --git a/docs/classes/SAS9ApiClient.SAS9ApiClient.html b/docs/classes/SAS9ApiClient.SAS9ApiClient.html
index 1a2b601..9484041 100644
--- a/docs/classes/SAS9ApiClient.SAS9ApiClient.html
+++ b/docs/classes/SAS9ApiClient.SAS9ApiClient.html
@@ -22,7 +22,7 @@
+Defined in SAS9ApiClient.ts:11
@@ -56,7 +56,7 @@
Optional httpsAgentOptions: AgentOptions
+Defined in SAS9ApiClient.ts:14
get Config
@@ -96,7 +96,7 @@
server Url: string
+Defined in SAS9ApiClient.ts:26
+Defined in SAS9ApiClient.ts:36
Returns void
+Defined in SASViyaApiClient.ts:64
create Compute Context
Returns Promise < Context >
+Defined in SASViyaApiClient.ts:194
create File
Returns Promise < File >
+Defined in SASViyaApiClient.ts:329
create Folder
Returns Promise < Folder >
+Defined in SASViyaApiClient.ts:373
create Job Definition
@@ -274,7 +274,7 @@ little faster if the folder URI is supplied instead of the path.
Optional accessToken: string
Returns Promise < { etag: string ; result: Job } >
+Defined in SASViyaApiClient.ts:456
create Launcher Context
@@ -303,7 +303,7 @@ little faster if the folder URI is supplied instead of the path.
Returns Promise < Context >
+Defined in SASViyaApiClient.ts:219
create Session
@@ -324,7 +324,7 @@ little faster if the folder URI is supplied instead of the path.
Returns Promise < Session >
+Defined in SASViyaApiClient.ts:155
delete Client
@@ -345,7 +345,7 @@ little faster if the folder URI is supplied instead of the path.
Returns Promise < unknown >
+Defined in SASViyaApiClient.ts:573
delete Compute Context
@@ -366,7 +366,7 @@ little faster if the folder URI is supplied instead of the path.
Returns Promise < { etag: string ; result: Context } >
+Defined in SASViyaApiClient.ts:256
delete Folder
@@ -387,7 +387,7 @@ little faster if the folder URI is supplied instead of the path.
Returns Promise < undefined | Folder >
+Defined in SASViyaApiClient.ts:1053
edit Compute Context
@@ -412,7 +412,7 @@ little faster if the folder URI is supplied instead of the path.
Returns Promise < { etag: string ; result: Context } >
+Defined in SASViyaApiClient.ts:239
execute Compute Job
@@ -463,7 +463,7 @@ little faster if the folder URI is supplied instead of the path.
Returns Promise < any >
+Defined in SASViyaApiClient.ts:598
execute Job
@@ -494,7 +494,7 @@ little faster if the folder URI is supplied instead of the path.
Optional authConfig: AuthConfig
Returns Promise < { log: any ; result: any } >
+Defined in SASViyaApiClient.ts:699
execute Script
@@ -551,7 +551,7 @@ little faster if the folder URI is supplied instead of the path.
Returns Promise < any >
+Defined in SASViyaApiClient.ts:277
get Access Token
@@ -576,7 +576,7 @@ little faster if the folder URI is supplied instead of the path.
Returns Promise < SasAuthResponse >
+Defined in SASViyaApiClient.ts:536
get Auth Code
@@ -593,7 +593,7 @@ little faster if the folder URI is supplied instead of the path.
Returns Promise < null | string >
+Defined in SASViyaApiClient.ts:493
get Compute Context By Id
@@ -614,7 +614,7 @@ little faster if the folder URI is supplied instead of the path.
+Defined in SASViyaApiClient.ts:938
get Compute Context By Name
@@ -636,7 +636,7 @@ little faster if the folder URI is supplied instead of the path.
Returns Promise < Context >
+Defined in SASViyaApiClient.ts:923
get Compute Contexts
@@ -653,7 +653,7 @@ little faster if the folder URI is supplied instead of the path.
Returns Promise < { attributes: {} ; createdBy: any ; id: any ; name: any ; version: any } [] >
+Defined in SASViyaApiClient.ts:118
get Config
@@ -668,7 +668,7 @@ little faster if the folder URI is supplied instead of the path.
server Url: string
+Defined in SASViyaApiClient.ts:97
get Default Compute Contexts
@@ -678,7 +678,7 @@ little faster if the folder URI is supplied instead of the path.
Returns string []
+Defined in SASViyaApiClient.ts:125
get Executable Contexts
@@ -695,7 +695,7 @@ little faster if the folder URI is supplied instead of the path.
Returns Promise < any [] >
+Defined in SASViyaApiClient.ts:141
get Folder
@@ -716,7 +716,7 @@ little faster if the folder URI is supplied instead of the path.
Returns Promise < unknown >
+Defined in SASViyaApiClient.ts:313
get Jobs In Folder
@@ -731,7 +731,7 @@ little faster if the folder URI is supplied instead of the path.
folderPath: string
Returns Promise < undefined | Job [] >
+Defined in SASViyaApiClient.ts:82
get Launcher Contexts
@@ -748,7 +748,7 @@ little faster if the folder URI is supplied instead of the path.
Returns Promise < { attributes: {} ; createdBy: any ; id: any ; name: any ; version: any } [] >
+Defined in SASViyaApiClient.ts:133
list Folder
@@ -771,7 +771,7 @@ little faster if the folder URI is supplied instead of the path.
limit: number = 20
Returns Promise < any [] >
+Defined in SASViyaApiClient.ts:953
move Folder
@@ -800,7 +800,7 @@ little faster if the folder URI is supplied instead of the path.
Returns Promise < undefined | Folder >
+Defined in SASViyaApiClient.ts:982
refresh Tokens
@@ -825,7 +825,7 @@ little faster if the folder URI is supplied instead of the path.
Returns Promise < SasAuthResponse >
+Defined in SASViyaApiClient.ts:555
set Config
@@ -846,7 +846,7 @@ little faster if the folder URI is supplied instead of the path.
Returns void
+Defined in SASViyaApiClient.ts:109
Returns Promise < { isLoggedIn: boolean ; loginForm?: any ; userName: string } >
+Defined in SASjs.ts:579
clear Sas Requests
@@ -115,7 +115,7 @@
Returns void
+Defined in SASjs.ts:956
create Compute Context
Returns Promise < Context >
+Defined in SASjs.ts:200
create File
Returns Promise < File >
+Defined in SASjs.ts:357
create Folder
Returns Promise < Folder >
+Defined in SASjs.ts:324
create Job Definition
Returns Promise < { etag: string ; result: Job } >
+Defined in SASjs.ts:445
create Launcher Context
Returns Promise < Context >
+Defined in SASjs.ts:227
create Session
@@ -293,7 +293,7 @@
accessToken: string
Returns Promise < Session >
+Defined in SASjs.ts:309
delete Client
@@ -308,7 +308,7 @@
accessToken: string
Returns Promise < unknown >
+Defined in SASjs.ts:530
delete Compute Context
Returns Promise < { etag: string ; result: Context } >
+Defined in SASjs.ts:268
delete Folder
Returns Promise < undefined | Folder >
+Defined in SASjs.ts:397
deploy Service Pack
@@ -386,7 +386,7 @@ using this function from the command line.
Returns Promise < void >
+Defined in SASjs.ts:768
deploy ToSASjs
@@ -413,7 +413,7 @@ services. If not provided, is taken from SASjsConfig. Precedence will be of app
Returns Promise < undefined | { example?: {} ; message: string ; status: string ; streamServiceName?: string } >
+Defined in SASjs.ts:837
edit Compute Context
@@ -438,11 +438,11 @@ services. If not provided, is taken from SASjsConfig. Precedence will be of app
Returns Promise < { etag: string ; result: Context } >
+Defined in SASjs.ts:249
execute JobSASjs
-execute JobSASjs( query: ExecutionQuery , authConfig?: AuthConfig ) : Promise < undefined | { _webout?: string ; error?: {} ; log?: string ; logPath?: string ; message: string ; status: string } >
+execute JobSASjs( query: ExecutionQuery , authConfig?: AuthConfig ) : Promise < undefined | { log: any ; result: any } >
Parameters
@@ -451,9 +451,9 @@ services. If not provided, is taken from SASjsConfig. Precedence will be of app
Optional authConfig: AuthConfig
-Returns Promise < undefined | { _webout?: string ; error?: {} ; log?: string ; logPath?: string ; message: string ; status: string } >
+Returns Promise < undefined | { log: any ; result: any } >
+Defined in SASjs.ts:848
execute ScriptSAS9
@@ -477,7 +477,7 @@ the users home directory in metadata.
Returns Promise < undefined | string >
+Defined in SASjs.ts:88
execute ScriptSASViya
@@ -510,7 +510,7 @@ the users home directory in metadata.
Returns Promise < any >
+Defined in SASjs.ts:125
execute ScriptSASjs
@@ -533,7 +533,7 @@ the users home directory in metadata.
Returns Promise < undefined | string >
+Defined in SASjs.ts:107
fetch Log File Content
@@ -554,7 +554,7 @@ the users home directory in metadata.
Returns Promise < string >
+Defined in SASjs.ts:922
get Access Token
@@ -579,7 +579,7 @@ the users home directory in metadata.
Returns Promise < SasAuthResponse | SASjsAuthResponse >
+Defined in SASjs.ts:484
get Auth Code
@@ -592,7 +592,7 @@ the users home directory in metadata.
clientId: string
Returns Promise < null | string >
+Defined in SASjs.ts:472
get Compute Context By Id
@@ -613,7 +613,7 @@ the users home directory in metadata.
+Defined in SASjs.ts:300
get Compute Context By Name
@@ -635,7 +635,7 @@ the users home directory in metadata.
Returns Promise < Context >
+Defined in SASjs.ts:283
get Compute Contexts
@@ -652,7 +652,7 @@ the users home directory in metadata.
Returns Promise < { attributes: {} ; createdBy: any ; id: any ; name: any ; version: any } [] >
+Defined in SASjs.ts:156
get Csrf Token
@@ -665,7 +665,7 @@ the users home directory in metadata.
type: "general" | "file" = 'general'
Returns undefined | CsrfToken
+Defined in SASjs.ts:77
get Default Compute Contexts
@@ -675,7 +675,7 @@ the users home directory in metadata.
Returns string []
+Defined in SASjs.ts:175
get Executable Contexts
@@ -692,7 +692,7 @@ the users home directory in metadata.
Returns Promise < any [] >
+Defined in SASjs.ts:185
get Folder
@@ -713,7 +713,7 @@ the users home directory in metadata.
Returns Promise < unknown >
+Defined in SASjs.ts:387
get Launcher Contexts
@@ -730,7 +730,7 @@ the users home directory in metadata.
Returns Promise < { attributes: {} ; createdBy: any ; id: any ; name: any ; version: any } [] >
+Defined in SASjs.ts:166
get Sas Requests
@@ -742,7 +742,7 @@ the users home directory in metadata.
+Defined in SASjs.ts:950
get Sasjs Config
@@ -752,7 +752,7 @@ the users home directory in metadata.
+Defined in SASjs.ts:540
get User Name
@@ -762,7 +762,7 @@ the users home directory in metadata.
Returns string
+Defined in SASjs.ts:548
list Folder
@@ -785,7 +785,7 @@ the users home directory in metadata.
Optional limit: number
Returns Promise < undefined | any [] >
+Defined in SASjs.ts:408
log In
@@ -812,7 +812,7 @@ the users home directory in metadata.
options: LoginOptions = {}
Returns Promise < LoginResult >
+Defined in SASjs.ts:589
log Out
@@ -822,7 +822,7 @@ the users home directory in metadata.
Returns Promise < boolean >
+Defined in SASjs.ts:616
move Folder
@@ -851,7 +851,7 @@ the users home directory in metadata.
Returns Promise < undefined | Folder >
+Defined in SASjs.ts:429
refresh Tokens
@@ -876,7 +876,7 @@ the users home directory in metadata.
Returns Promise < SasAuthResponse | SASjsAuthResponse >
+Defined in SASjs.ts:510
request
@@ -938,7 +938,7 @@ Supported values are declared in ExtraResponseAttributes type.
Returns Promise < any >
+Defined in SASjs.ts:682
set Debug State
@@ -955,7 +955,7 @@ Supported values are declared in ExtraResponseAttributes type.
Returns void
+Defined in SASjs.ts:568
setSASjs Config
@@ -972,7 +972,7 @@ Supported values are declared in ExtraResponseAttributes type.
Returns Promise < void >
+Defined in SASjs.ts:556
start Compute Job
@@ -1025,7 +1025,7 @@ The access token is not required when the user is authenticated via the browser.
Returns Promise < any >
+Defined in SASjs.ts:874
upload File
@@ -1073,7 +1073,7 @@ resubmitted after successful login.
Returns any
Returns Promise < unknown >
+Defined in SASjs.ts:634
Returns Promise < { example?: {} ; message: string ; status: string ; streamServiceName?: string } >
+Defined in SASjsApiClient.ts:11
execute Job
-execute Job( query: ExecutionQuery , authConfig?: AuthConfig ) : Promise < { _webout?: string ; error?: {} ; log?: string ; logPath?: string ; message: string ; status: string } >
+execute Job( query: ExecutionQuery , appLoc: string , authConfig?: AuthConfig ) : Promise < { log: any ; result: any } >
Parameters
@@ -82,10 +82,12 @@
+appLoc: string
+
Optional authConfig: AuthConfig
-Returns Promise < { _webout?: string ; error?: {} ; log?: string ; logPath?: string ; message: string ; status: string } >
+Returns Promise < { log: any ; result: any } >
+Defined in SASjsApiClient.ts:44
execute Script
Returns Promise < string >
+Defined in SASjsApiClient.ts:71
+Defined in SASjsApiClient.ts:101
+Defined in SASjsApiClient.ts:112
+Defined in types/SASjsConfig.ts:52
debug
debug: boolean = true
+Defined in types/SASjsConfig.ts:47
Optional https Agent Options
https Agent Options?: AgentOptions
@@ -94,14 +94,14 @@ By providing key, cert, ca to connect wit
Other options can be set rejectUnauthorized and requestCert
+Defined in types/SASjsConfig.ts:67
+Defined in types/SASjsConfig.ts:71
pathSAS9
pathSAS9: string = ''
@@ -109,7 +109,7 @@ Other options can be set rejectUnauthorized and requestCert
will use '/SASStoredProcess/do' on SAS 9.
+Defined in types/SASjsConfig.ts:24
pathSASJS
pathSASJS: string = ''
@@ -117,7 +117,7 @@ will use '/SASStoredProcess/do' on SAS 9.
will use '/SASjsApi/stp/execute' on SAS JS.
+Defined in types/SASjsConfig.ts:19
pathSASViya
pathSASViya: string = ''
@@ -125,7 +125,7 @@ will use '/SASjsApi/stp/execute' on SAS JS.
will use '/SASJobExecution' on SAS Viya.
+Defined in types/SASjsConfig.ts:29
Optional request History Limit
request History Limit?: number = 10
@@ -133,14 +133,14 @@ will use '/SASJobExecution' on SAS Viya.
may affect browser performance, especially with debug (logs) enabled.
+Defined in types/SASjsConfig.ts:76
server Type
server Type: null | ServerType = null
+Defined in types/SASjsConfig.ts:43
server Url
server Url: string = ''
@@ -149,7 +149,7 @@ Can be omitted, eg if serving directly from the SAS Web Server or being
streamed.
+Defined in types/SASjsConfig.ts:14
use Compute Api
use Compute Api: null | boolean = null
@@ -161,7 +161,7 @@ under the identity in the JES context. If useComputeApi is n
triggered using the APIs instead of the Job Execution Web Service broker.
+Defined in types/SASjsConfig.ts:61
+Defined in types/SASjsConfig.ts:81
+Defined in types/Context.ts:29
+Defined in types/Context.ts:36
launch Context
launch Context: { contextName: string }
@@ -87,32 +87,32 @@
context Name: string
+Defined in types/Context.ts:32
launch Type
launch Type: string
+Defined in types/Context.ts:28
modified By
modified By: string
+Defined in types/Context.ts:35
modified Time Stamp
modified Time Stamp: string
+Defined in types/Context.ts:25
+Defined in types/Context.ts:38
+Defined in types/Context.ts:37
+Defined in types/Context.ts:12
Optional name
name?: string
+Defined in types/Context.ts:10
+Defined in types/Session.ts:5
+Defined in types/WriteStream.ts:2
+Defined in SASViyaApiClient.ts:1
diff --git a/docs/modules/SASjs.html b/docs/modules/SASjs.html
index baeca87..e148dae 100644
--- a/docs/modules/SASjs.html
+++ b/docs/modules/SASjs.html
@@ -14,7 +14,7 @@
SASjs
Module SASjs
+Defined in SASjs.ts:1
diff --git a/docs/modules/SASjsApiClient.html b/docs/modules/SASjsApiClient.html
index e65a084..8eb10ef 100644
--- a/docs/modules/SASjsApiClient.html
+++ b/docs/modules/SASjsApiClient.html
@@ -14,7 +14,7 @@
SASjsApiClient
Module SASjsApiClient
+Defined in SASjsApiClient.ts:1
diff --git a/docs/modules/types.html b/docs/modules/types.html
index e89ed83..e07c13a 100644
--- a/docs/modules/types.html
+++ b/docs/modules/types.html
@@ -14,7 +14,7 @@
types
Module types
+Defined in types/index.ts:1
Set to
trueto enable additional debugging.