Merge remote-tracking branch 'origin/statistics'
# Conflicts: # src/client/models/DealSchema.ts
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { UserSchema } from './UserSchema';
|
||||
export type DealGeneralInfoSchema = {
|
||||
name: string;
|
||||
isDeleted: boolean;
|
||||
@@ -10,5 +11,6 @@ export type DealGeneralInfoSchema = {
|
||||
shippingWarehouse?: (string | null);
|
||||
deliveryDate?: (string | null);
|
||||
receivingSlotDate?: (string | null);
|
||||
manager?: (UserSchema | null);
|
||||
};
|
||||
|
||||
|
||||
@@ -4,12 +4,14 @@
|
||||
/* eslint-disable */
|
||||
import type { ClientSchema } from './ClientSchema';
|
||||
import type { DealBillRequestSchema } from './DealBillRequestSchema';
|
||||
import type { DealGroupSchema } from './DealGroupSchema';
|
||||
import type { DealProductSchema } from './DealProductSchema';
|
||||
import type { DealServiceSchema } from './DealServiceSchema';
|
||||
import type { DealStatusHistorySchema } from './DealStatusHistorySchema';
|
||||
import type { ServicePriceCategorySchema } from './ServicePriceCategorySchema';
|
||||
import type { ShippingWarehouseSchema } from './ShippingWarehouseSchema';
|
||||
import type { UserSchema } from './UserSchema';
|
||||
import type { DealGroupSchema } from './DealGroupSchema';
|
||||
|
||||
export type DealSchema = {
|
||||
id: number;
|
||||
name: string;
|
||||
@@ -28,6 +30,8 @@ export type DealSchema = {
|
||||
billRequest?: (DealBillRequestSchema | null);
|
||||
category?: (ServicePriceCategorySchema | null);
|
||||
group?: (DealGroupSchema | null);
|
||||
manager?: (UserSchema | null);
|
||||
|
||||
deliveryDate?: (string | null);
|
||||
receivingSlotDate?: (string | null);
|
||||
};
|
||||
|
||||
11
src/client/models/GetProfitChartDataRequest.ts
Normal file
11
src/client/models/GetProfitChartDataRequest.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type GetProfitChartDataRequest = {
|
||||
dateRange: any[];
|
||||
clientId: number;
|
||||
baseMarketplaceKey: string;
|
||||
dealStatusId: number;
|
||||
};
|
||||
|
||||
9
src/client/models/GetProfitChartDataResponse.ts
Normal file
9
src/client/models/GetProfitChartDataResponse.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { ProfitChartDataItem } from './ProfitChartDataItem';
|
||||
export type GetProfitChartDataResponse = {
|
||||
data: Array<ProfitChartDataItem>;
|
||||
};
|
||||
|
||||
10
src/client/models/GetProfitTableDataRequest.ts
Normal file
10
src/client/models/GetProfitTableDataRequest.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { ProfitTableGroupBy } from './ProfitTableGroupBy';
|
||||
export type GetProfitTableDataRequest = {
|
||||
dateRange: any[];
|
||||
groupTableBy: ProfitTableGroupBy;
|
||||
};
|
||||
|
||||
9
src/client/models/GetProfitTableDataResponse.ts
Normal file
9
src/client/models/GetProfitTableDataResponse.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { ProfitTableDataItem } from './ProfitTableDataItem';
|
||||
export type GetProfitTableDataResponse = {
|
||||
data: Array<ProfitTableDataItem>;
|
||||
};
|
||||
|
||||
11
src/client/models/ProfitChartDataItem.ts
Normal file
11
src/client/models/ProfitChartDataItem.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type ProfitChartDataItem = {
|
||||
date: string;
|
||||
revenue: number;
|
||||
profit: number;
|
||||
dealsCount: number;
|
||||
};
|
||||
|
||||
11
src/client/models/ProfitTableDataItem.ts
Normal file
11
src/client/models/ProfitTableDataItem.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type ProfitTableDataItem = {
|
||||
groupedValue: (string | number);
|
||||
revenue: number;
|
||||
profit: number;
|
||||
dealsCount: number;
|
||||
};
|
||||
|
||||
5
src/client/models/ProfitTableGroupBy.ts
Normal file
5
src/client/models/ProfitTableGroupBy.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type ProfitTableGroupBy = 0 | 1 | 2 | 3 | 4;
|
||||
Reference in New Issue
Block a user