feat: profit chart in statistics
This commit is contained in:
11
src/client/models/GetProfitDataRequest.ts
Normal file
11
src/client/models/GetProfitDataRequest.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type GetProfitDataRequest = {
|
||||
dateRange: any[];
|
||||
clientId: number;
|
||||
baseMarketplaceKey: string;
|
||||
dealStatusId: number;
|
||||
};
|
||||
|
||||
9
src/client/models/GetProfitDataResponse.ts
Normal file
9
src/client/models/GetProfitDataResponse.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { ProfitDataItem } from './ProfitDataItem';
|
||||
export type GetProfitDataResponse = {
|
||||
data: Array<ProfitDataItem>;
|
||||
};
|
||||
|
||||
11
src/client/models/ProfitDataItem.ts
Normal file
11
src/client/models/ProfitDataItem.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type ProfitDataItem = {
|
||||
date: string;
|
||||
revenue: number;
|
||||
profit: number;
|
||||
dealsCount: number;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user