feat: save pdf as file

This commit is contained in:
2024-09-12 18:58:53 +03:00
parent 9e29a3f868
commit 39599cdbf4
4 changed files with 46 additions and 4 deletions

View File

@@ -284,6 +284,27 @@ export class DealService {
},
});
}
/**
* Get Deal Document
* @returns any Successful Response
* @throws ApiError
*/
public static getDealDocument({
dealId,
}: {
dealId: number,
}): CancelablePromise<any> {
return __request(OpenAPI, {
method: 'GET',
url: '/deal/document/{deal_id}',
path: {
'deal_id': dealId,
},
errors: {
422: `Validation Error`,
},
});
}
/**
* Services Add
* @returns DealAddServicesResponse Successful Response