@@ -15,6 +15,7 @@ import { Components } from "./api/resources/components/client/Client.js";
1515import { Actions } from "./api/resources/actions/client/Client.js" ;
1616import { Triggers } from "./api/resources/triggers/client/Client.js" ;
1717import { DeployedTriggers } from "./api/resources/deployedTriggers/client/Client.js" ;
18+ import { FileStash } from "./api/resources/fileStash/client/Client.js" ;
1819import { Projects } from "./api/resources/projects/client/Client.js" ;
1920import { Proxy } from "./api/resources/proxy/client/Client.js" ;
2021import { Tokens } from "./api/resources/tokens/client/Client.js" ;
@@ -62,6 +63,7 @@ export class PipedreamClient {
6263 protected _actions : Actions | undefined ;
6364 protected _triggers : Triggers | undefined ;
6465 protected _deployedTriggers : DeployedTriggers | undefined ;
66+ protected _fileStash : FileStash | undefined ;
6567 protected _projects : Projects | undefined ;
6668 protected _proxy : Proxy | undefined ;
6769 protected _tokens : Tokens | undefined ;
@@ -168,6 +170,13 @@ export class PipedreamClient {
168170 } ) ) ;
169171 }
170172
173+ public get fileStash ( ) : FileStash {
174+ return ( this . _fileStash ??= new FileStash ( {
175+ ...this . _options ,
176+ token : async ( ) => await this . _tokenProvider . getToken ( ) ,
177+ } ) ) ;
178+ }
179+
171180 public get projects ( ) : Projects {
172181 return ( this . _projects ??= new Projects ( {
173182 ...this . _options ,
0 commit comments