@@ -510,25 +510,6 @@ export class ModernTreasury extends Core.APIClient {
510
510
static fileFromPath = Uploads . fileFromPath ;
511
511
}
512
512
513
- export {
514
- ModernTreasuryError ,
515
- APIError ,
516
- APIConnectionError ,
517
- APIConnectionTimeoutError ,
518
- APIUserAbortError ,
519
- NotFoundError ,
520
- ConflictError ,
521
- RateLimitError ,
522
- BadRequestError ,
523
- AuthenticationError ,
524
- InternalServerError ,
525
- PermissionDeniedError ,
526
- UnprocessableEntityError ,
527
- } from './error' ;
528
-
529
- export import toFile = Uploads . toFile ;
530
- export import fileFromPath = Uploads . fileFromPath ;
531
-
532
513
ModernTreasury . Connections = Connections ;
533
514
ModernTreasury . ConnectionsPage = ConnectionsPage ;
534
515
ModernTreasury . Counterparties = Counterparties ;
@@ -599,7 +580,6 @@ ModernTreasury.ConnectionLegalEntitiesPage = ConnectionLegalEntitiesPage;
599
580
ModernTreasury . LegalEntities = LegalEntities ;
600
581
ModernTreasury . LegalEntitiesPage = LegalEntitiesPage ;
601
582
ModernTreasury . LegalEntityAssociations = LegalEntityAssociations ;
602
-
603
583
export declare namespace ModernTreasury {
604
584
export type RequestOptions = Core . RequestOptions ;
605
585
@@ -935,4 +915,21 @@ export declare namespace ModernTreasury {
935
915
export type TransactionDirection = API . TransactionDirection ;
936
916
}
937
917
918
+ export { toFile , fileFromPath } from 'modern-treasury/uploads' ;
919
+ export {
920
+ ModernTreasuryError ,
921
+ APIError ,
922
+ APIConnectionError ,
923
+ APIConnectionTimeoutError ,
924
+ APIUserAbortError ,
925
+ NotFoundError ,
926
+ ConflictError ,
927
+ RateLimitError ,
928
+ BadRequestError ,
929
+ AuthenticationError ,
930
+ InternalServerError ,
931
+ PermissionDeniedError ,
932
+ UnprocessableEntityError ,
933
+ } from 'modern-treasury/error' ;
934
+
938
935
export default ModernTreasury ;
0 commit comments