@sasjs/adapter 4.3.3 → 4.3.4
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/SASViyaApiClient.d.ts +2 -2
- package/index-dev.js +2 -2
- package/index.js +1 -1
- package/node/SASViyaApiClient.d.ts +2 -2
- package/node/index.js +1 -1
- package/package.json +2 -2
- package/src/SASViyaApiClient.ts +35 -6
- package/src/SASjs.ts +11 -8
package/SASViyaApiClient.d.ts
CHANGED
|
@@ -255,11 +255,11 @@ export declare class SASViyaApiClient {
|
|
|
255
255
|
* @param targetFolderName - 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.
|
|
256
256
|
* @param accessToken - an access token for authorizing the request.
|
|
257
257
|
*/
|
|
258
|
-
moveFolder(sourceFolder: string, targetParentFolder: string, targetFolderName: string, accessToken
|
|
258
|
+
moveFolder(sourceFolder: string, targetParentFolder: string, targetFolderName: string, accessToken?: string): Promise<Folder | undefined>;
|
|
259
259
|
/**
|
|
260
260
|
* 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.
|
|
261
261
|
* @param folderPath - the full path (eg `/Public/example/deleteThis`) of the folder to be deleted.
|
|
262
262
|
* @param accessToken - an access token for authorizing the request.
|
|
263
263
|
*/
|
|
264
|
-
deleteFolder(folderPath: string, accessToken
|
|
264
|
+
deleteFolder(folderPath: string, accessToken?: string): Promise<Folder | undefined>;
|
|
265
265
|
}
|