diff --git a/docs/classes/SAS9ApiClient.SAS9ApiClient-1.html b/docs/classes/SAS9ApiClient.SAS9ApiClient-1.html index a56cc74..cb0fcbf 100644 --- a/docs/classes/SAS9ApiClient.SAS9ApiClient-1.html +++ b/docs/classes/SAS9ApiClient.SAS9ApiClient-1.html @@ -1,6 +1,6 @@
Executes code on a SAS9 server.
an array of code lines to execute.
@@ -8,9 +8,9 @@the user name to log into the current SAS server.
the password to log into the current SAS server.
-Returns an object containing server URL.
-Updates server URL which is not null.
URL of the server to be set.
diff --git a/docs/classes/SASViyaApiClient.SASViyaApiClient-1.html b/docs/classes/SASViyaApiClient.SASViyaApiClient-1.html index 6511a96..ffc41f3 100644 --- a/docs/classes/SASViyaApiClient.SASViyaApiClient-1.html +++ b/docs/classes/SASViyaApiClient.SASViyaApiClient-1.html @@ -1,6 +1,6 @@A client for interfacing with the SAS Viya REST API.
-A helper method used to call appendRequest method of RequestClient
response from sasjs request
@@ -8,7 +8,7 @@name of program
a boolean that indicates whether debug was enabled or not
-Creates a compute context on the given server.
the name of the context to be created.
@@ -22,7 +22,7 @@an access token for an authorized user.
an optional list of authorized user IDs.
-Creates a file. Path to or URI of the parent folder is required.
the name of the new file.
@@ -36,7 +36,7 @@ folder. If not provided, the parentFolderPath must be provided.an access token for authorizing the request.
-Creates a folder. Path to or URI of the parent folder is required.
the name of the new folder.
@@ -50,7 +50,7 @@an access token for authorizing the request.
flag that indicates if target folder already exists, it and all subfolders have to be deleted.
-Creates a Job in the specified folder (or folder uri).
the name of the new job to be created.
@@ -61,7 +61,7 @@the URI location of the new job. The function is a little faster if the folder URI is supplied instead of the path.
-Creates a launcher context on the given server.
the name of the context to be created.
@@ -71,31 +71,31 @@ little faster if the folder URI is supplied instead of the path.launch type of the context to be created.
an access token for an authorized user.
-Creates a session on the given context.
the name of the context to create a session on.
an access token for an authorized user.
-Deletes the client representing the supplied ID.
the client ID to authenticate with.
an access token for authorizing the request.
-Deletes a compute context on the given server.
the name of the context to be deleted.
an access token for an authorized user.
-For performance (and in case of accidental error) the deleteFolder function does not actually delete the folder (and all its content and subfolder content). Instead the folder is simply moved to the recycle bin. Deletion time will be added to the folder name.
the full path (eg /Public/example/deleteThis) of the folder to be deleted.
an access token for authorizing the request.
-Updates a compute context on the given server.
the original name of the context to be updated.
@@ -103,7 +103,7 @@ little faster if the folder URI is supplied instead of the path.an object with the properties to be updated.
an access token for an authorized user.
-Executes a job via the SAS Viya Compute API.
the relative path to the job.
@@ -123,7 +123,7 @@ little faster if the folder URI is supplied instead of the path.a boolean that indicates whether the function should print (PID) of the started job.
an object that represents macro variables.
-Executes a job via the SAS Viya Job Execution API
the relative or absolute path to the job.
@@ -133,7 +133,7 @@ little faster if the folder URI is supplied instead of the path.sets the _debug flag in the job arguments.
any data to be passed in as input to the job.
-Executes code on the current SAS Viya server.
the path to the file being submitted for execution.
@@ -157,7 +157,7 @@ little faster if the folder URI is supplied instead of the path.a boolean that indicates whether the function should print (PID) of the started job.
an object that represents macro variables.
-Exchanges the auth code for an access token for the given client.
the client ID to authenticate with.
@@ -165,54 +165,54 @@ little faster if the folder URI is supplied instead of the path.the client secret to authenticate with.
the auth code received from the server.
-Performs a login redirect and returns an auth code for the given client.
the client ID to authenticate with.
-Returns a JSON representation of a compute context.
an id of the context to return.
an access token for an authorized user.
-Returns a JSON representation of a compute context.
the name of the context to return.
an access token for an authorized user.
-Returns all available compute contexts on this server.
an access token for an authorized user.
-Returns an object containing the server URL and root folder name.
-Returns default(system) compute contexts.
-Returns all compute contexts on this server that the user has access to.
an access token, refresh token, client and secret for an authorized user.
-Fetches a folder. Path to the folder is required.
the absolute path to the folder.
an access token for authorizing the request.
-Returns a list of jobs in the currently set root folder.
-Returns all available launcher contexts on this server.
an access token for an authorized user.
-Lists children folders for given Viya folder.
the full path (eg /Public/example/myFolder) or URI of the source folder listed. Providing URI instead of path will save one extra request.
an access token for authorizing the request.
-Moves Viya folder to a new location. The folder may be renamed at the same time.
the full path (eg /Public/example/myFolder) or URI of the source folder to be moved. Providing URI instead of path will save one extra request.
the name of the "moved" folder. If left blank, the original folder name will be used (eg myFolder in /Public/newDestination/myFolder for the example above). Optional field.
an access token for authorizing the request.
-Exchanges the refresh token for an access token for the given client.
the client ID to authenticate with.
@@ -230,7 +230,7 @@ little faster if the folder URI is supplied instead of the path.the client secret to authenticate with.
the refresh token received from the server.
-Updates server URL and root folder name, if it was not set.
the URL of the server.
diff --git a/docs/classes/SASjs.SASjs-1.html b/docs/classes/SASjs.SASjs-1.html index 4b2add5..50ae35f 100644 --- a/docs/classes/SASjs.SASjs-1.html +++ b/docs/classes/SASjs.SASjs-1.html @@ -1,11 +1,11 @@SASjs is a JavaScript adapter for SAS.
-Checks whether a session is active, or login is required.
isLoggedIn, and a string userName.Creates a compute context on the given server.
the name of the context to be created.
@@ -19,7 +19,7 @@an access token for an authorised user.
an optional list of authorised user IDs.
-Creates a file in the logical SAS folder tree
name of the file to be created.
@@ -33,7 +33,7 @@the access token to authorizing the request.
a client for interfacing with SAS API.
-Creates a folder in the logical SAS folder tree
name of the folder to be created.
@@ -47,7 +47,7 @@a client for interfacing with SAS API.
flag that indicates if target folder already exists, it and all subfolders have to be deleted. Applicable for SAS VIYA only.
-Creates a launcher context on the given server.
the name of the context to be created.
@@ -57,19 +57,19 @@launch type of the context to be created.
an access token for an authorised user.
-Deletes a compute context on the given server.
the name of the context to be deleted.
an access token for an authorised user.
-For performance (and in case of accidental error) the deleteFolder function does not actually delete the folder (and all its content and subfolder content). Instead the folder is simply moved to the recycle bin. Deletion time will be added to the folder name.
the full path (eg /Public/example/deleteThis) of the folder to be deleted.
an access token for authorizing the request.
-Creates the folders and services at the given location appLoc on the given server serverUrl.
the JSON specifying the folders and services to be created.
@@ -84,7 +84,7 @@ If not provided, is taken from SASjsConfig. using this function from the command line.flag that indicates if target folder already exists, it and all subfolders have to be deleted.
-Creates the folders and services at the given location appLoc on the given server serverUrl.
the JSON specifying the folders and files to be created, can also includes @@ -94,7 +94,7 @@ appLoc, streamServiceName, streamWebFolder, streamLogo
services. If not provided, is taken from SASjsConfig. Precedence will be of appLoc present in dataJson.(optional) a valid client, secret, refresh and access tokens that are authorised to execute compute jobs.
-Updates a compute context on the given server.
the original name of the context to be deleted.
@@ -102,14 +102,14 @@ services. If not provided, is taken from SASjsConfig. Precedence will be of appan object with the properties to be updated.
an access token for an authorised user.
-Executes SAS code on a SAS 9 server. Requires a runner to be present in the users home directory in metadata.
lines of sas code from the file to run.
a string representing the password.
-Executes sas code in a SAS Viya compute session.
name of the file to run. It will be converted to path to the file being submitted for execution.
@@ -121,19 +121,19 @@ the users home directory in metadata.(optional) the access token, refresh token, client and secret for authorizing the request.
(optional) if true, global debug config will be overriden
-Executes SAS code on a SASJS server
a string of code from the file to run.
(optional) a valid client, secret, refresh and access tokens that are authorised to execute scripts.
-Fetches content of the log file
url of the log file.
an access token for an authorised user.
-Exchanges the auth code for an access token for the given client.
the client ID to authenticate with.
@@ -141,53 +141,53 @@ the users home directory in metadata.the client secret to authenticate with.
the auth code received from the server.
-Returns a JSON representation of a compute context.
an id of the context to return.
an access token for an authorised user.
-Returns a JSON representation of a compute context.
the name of the context to return.
an access token for an authorised user.
-Gets compute contexts.
an access token for an authorised user.
-Gets default(system) launcher contexts.
-Gets executable compute contexts.
an access token, refresh token, client and secret for an authorised user.
-Fetches a folder from the SAS file system.
path of the folder to be fetched.
the access token to authorize the request.
-Gets launcher contexts.
an access token for an authorised user.
-this method returns an array of SASjsRequest
SASjsRequest[]
-Returns the current SASjs configuration.
-Returns the username of the user currently logged in.
-Lists children folders for given Viya folder.
the full path (eg /Public/example/myFolder) or URI of the source folder listed. Providing URI instead of path will save one extra request.
an access token for authorizing the request.
-Logs into the SAS server with the supplied credentials.
a string representing the username.
@@ -195,9 +195,9 @@ the users home directory in metadata.a string representing the password.
a string representing the client ID.
-Logs out of the configured SAS server.
-Moves folder to a new location. The folder may be renamed at the same time.
the full path (eg /Public/example/myFolder) or URI of the source folder to be moved. Providing URI instead of path will save one extra request.
the name of the "moved" folder. If left blank, the original folder name will be used (eg myFolder in /Public/newDestination/myFolder for the example above). Optional field.
an access token for authorizing the request.
-Exchanges the refresh token for an access token for the given client.
the client ID to authenticate with.
@@ -215,7 +215,7 @@ the users home directory in metadata.the client secret to authenticate with.
the refresh token received from the server.
-Makes a request to program specified in SASjob (could be a Viya Job, a
SAS 9 Stored Process, or a SASjs Server Stored Program). The response
object will always contain table names in lowercase, and column names in
@@ -245,15 +245,15 @@ If you are not passing in any data and configuration, it will look like so:
a array of predefined values that are used to provide extra attributes (same names as those values) to be added in response Supported values are declared in ExtraResponseAttributes type.
-Sets the debug state. Turning this on will enable additional logging in the adapter.
boolean indicating debug state (on/off).
-Sets the SASjs configuration.
SASjs configuration.
-Kicks off execution of the given job via the compute API.
the path to the SAS program (ultimately resolves to @@ -278,7 +278,7 @@ The access token is not required when the user is authenticated via the browser.
an object that represents macro variables.
an object representing the compute session created for the given job.
-Uploads a file to the given service.
the path to the SAS program (ultimately resolves to diff --git a/docs/classes/SASjsApiClient.SASjsApiClient-1.html b/docs/classes/SASjsApiClient.SASjsApiClient-1.html index 8267ee8..6be44d7 100644 --- a/docs/classes/SASjsApiClient.SASjsApiClient-1.html +++ b/docs/classes/SASjsApiClient.SASjsApiClient-1.html @@ -1,4 +1,4 @@ -
Executes code on a SASJS server.
a string of code to execute.
@@ -6,13 +6,13 @@a string to representing runTime for code execution
an object for authentication.
-Exchanges the auth code for an access token for the given client.
the client ID to authenticate with.
the auth code received from the server.
-Exchanges the refresh token for an access token.
the refresh token received from the server.
diff --git a/docs/classes/types.SASjsConfig.html b/docs/classes/types.SASjsConfig.html index 895f40d..f5a0557 100644 --- a/docs/classes/types.SASjsConfig.html +++ b/docs/classes/types.SASjsConfig.html @@ -1,7 +1,7 @@Specifies the configuration for the SASjs instance - eg where and how to connect to SAS.
-The appLoc is the parent folder under which the SAS services (STPs or Job
Execution Services) are stored. We recommend that each app is stored in
a dedicated parent folder (the appLoc) and the services are grouped inside
@@ -9,36 +9,36 @@ subfolders within the appLoc - allowing functionality to be restricted
according to those groups at backend.
When using appLoc, the paths provided in the request function should be
without a leading slash (/).
The name of the compute context to use when calling the Viya services directly. Example value: 'SAS Job Execution compute context'
-Set to true to enable additional debugging.
Optional setting to configure HTTPS Agent.
By providing key, cert, ca to connect with server
Other options can be set rejectUnauthorized and requestCert
Supported login mechanisms are - Redirected and Default
-The location of the Stored Process Web Application. By default the adapter will use '/SASStoredProcess/do' on SAS 9.
-The location of the STP Process Web Application. By default the adapter will use '/SASjsApi/stp/execute' on SAS JS.
-The location of the Job Execution Web Application. By default the adapter will use '/SASJobExecution' on SAS Viya.
-Optional setting to configure request history limit. Increasing this limit may affect browser performance, especially with debug (logs) enabled.
-Can be SAS9 or SASVIYA.
The location (including http protocol and port) of the SAS Server. Can be omitted, eg if serving directly from the SAS Web Server or being streamed.
-If it's false adapter will use the JES API as connection approach. To enhance VIYA
performance, set to true and provide a contextName on which to run
the code. When running on a named context, the code executes under the
diff --git a/docs/enums/types.LoginMechanism.html b/docs/enums/types.LoginMechanism.html
index 84c9e03..be86d8e 100644
--- a/docs/enums/types.LoginMechanism.html
+++ b/docs/enums/types.LoginMechanism.html
@@ -1 +1 @@
-
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
A client for interfacing with the SAS9 REST API.
-