refactoring of deal documents

This commit is contained in:
2024-11-09 17:10:33 +04:00
parent 33dd65c497
commit c8b8629be5
3 changed files with 9 additions and 8 deletions

View File

@@ -301,18 +301,18 @@ export class DealService {
});
}
/**
* Get Deal Document
* Get Billing Document
* @returns any Successful Response
* @throws ApiError
*/
public static getDealDocument({
public static getBillingDocument({
dealId,
}: {
dealId: number,
}): CancelablePromise<any> {
return __request(OpenAPI, {
method: 'GET',
url: '/deal/document/{deal_id}',
url: '/deal/billing-document/{deal_id}',
path: {
'deal_id': dealId,
},
@@ -322,18 +322,18 @@ export class DealService {
});
}
/**
* Get Detailed Deal Document
* Get Deal Tech Spec
* @returns any Successful Response
* @throws ApiError
*/
public static getDealDocumentDetailed({
public static getDealTechSpec({
dealId,
}: {
dealId: number,
}): CancelablePromise<any> {
return __request(OpenAPI, {
method: 'GET',
url: '/deal/detailedDocument/{deal_id}',
url: '/deal/tech-spec/{deal_id}',
path: {
'deal_id': dealId,
},