@sasjs/adapter 3.10.12 → 3.10.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/SASjs.d.ts +2 -1
- package/SASjsApiClient.d.ts +2 -1
- package/index.js +2 -2
- package/job-execution/JobExecutor.d.ts +1 -0
- package/job-execution/Sas9JobExecutor.d.ts +1 -1
- package/job-execution/SasjsJobExecutor.d.ts +9 -0
- package/job-execution/WebJobExecutor.d.ts +0 -2
- package/job-execution/index.d.ts +1 -0
- package/node/SASjs.d.ts +2 -1
- package/node/SASjsApiClient.d.ts +2 -1
- package/node/index.js +2 -2
- package/node/job-execution/JobExecutor.d.ts +1 -0
- package/node/job-execution/Sas9JobExecutor.d.ts +1 -1
- package/node/job-execution/SasjsJobExecutor.d.ts +9 -0
- package/node/job-execution/WebJobExecutor.d.ts +0 -2
- package/node/job-execution/index.d.ts +1 -0
- package/node/request/SasjsRequestClient.d.ts +7 -0
- package/node/utils/constants.d.ts +1 -0
- package/node/utils/index.d.ts +1 -0
- package/package.json +1 -1
- package/request/SasjsRequestClient.d.ts +7 -0
- package/src/SASjs.ts +15 -3
- package/src/SASjsApiClient.ts +9 -8
- package/src/job-execution/FileUploader.ts +3 -15
- package/src/job-execution/JobExecutor.ts +14 -1
- package/src/job-execution/Sas9JobExecutor.ts +1 -1
- package/src/job-execution/SasjsJobExecutor.ts +141 -0
- package/src/job-execution/WebJobExecutor.ts +4 -78
- package/src/job-execution/index.ts +1 -0
- package/src/request/RequestClient.ts +0 -20
- package/src/request/SasjsRequestClient.ts +31 -0
- package/src/utils/constants.ts +2 -0
- package/src/utils/index.ts +1 -0
- package/utils/constants.d.ts +1 -0
- package/utils/index.d.ts +1 -0
package/SASjs.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ export default class SASjs {
|
|
|
18
18
|
private authManager;
|
|
19
19
|
private requestClient;
|
|
20
20
|
private webJobExecutor;
|
|
21
|
+
private sasjsJobExecutor;
|
|
21
22
|
private computeJobExecutor;
|
|
22
23
|
private jesJobExecutor;
|
|
23
24
|
private sas9JobExecutor;
|
|
@@ -36,7 +37,7 @@ export default class SASjs {
|
|
|
36
37
|
* @param code - a string of code from the file to run.
|
|
37
38
|
* @param authConfig - (optional) a valid client, secret, refresh and access tokens that are authorised to execute scripts.
|
|
38
39
|
*/
|
|
39
|
-
executeScriptSASjs(code: string, authConfig?: AuthConfig): Promise<string | undefined>;
|
|
40
|
+
executeScriptSASjs(code: string, runTime?: string, authConfig?: AuthConfig): Promise<string | undefined>;
|
|
40
41
|
/**
|
|
41
42
|
* Executes sas code in a SAS Viya compute session.
|
|
42
43
|
* @param fileName - name of the file to run. It will be converted to path to the file being submitted for execution.
|
package/SASjsApiClient.d.ts
CHANGED
|
@@ -21,9 +21,10 @@ export declare class SASjsApiClient {
|
|
|
21
21
|
/**
|
|
22
22
|
* Executes code on a SASJS server.
|
|
23
23
|
* @param code - a string of code to execute.
|
|
24
|
+
* @param runTime - a string to representing runTime for code execution
|
|
24
25
|
* @param authConfig - an object for authentication.
|
|
25
26
|
*/
|
|
26
|
-
executeScript(code: string, authConfig?: AuthConfig): Promise<string>;
|
|
27
|
+
executeScript(code: string, runTime?: string, authConfig?: AuthConfig): Promise<string>;
|
|
27
28
|
/**
|
|
28
29
|
* Exchanges the auth code for an access token for the given client.
|
|
29
30
|
* @param clientId - the client ID to authenticate with.
|