22 lines
439 B
TypeScript
22 lines
439 B
TypeScript
|
|
export interface IStockKeepingUnitRawResponse {
|
||
|
|
id: string;
|
||
|
|
code: string;
|
||
|
|
name: string;
|
||
|
|
VAT: number;
|
||
|
|
type: string;
|
||
|
|
is_public: boolean;
|
||
|
|
is_domestic: boolean;
|
||
|
|
created_at?: string;
|
||
|
|
}
|
||
|
|
|
||
|
|
export interface IStockKeepingUnitResponse extends IStockKeepingUnitRawResponse {}
|
||
|
|
|
||
|
|
export interface IStockKeepingUnitRequest {
|
||
|
|
code: string;
|
||
|
|
name: string;
|
||
|
|
VAT: number;
|
||
|
|
type?: string;
|
||
|
|
is_public?: boolean;
|
||
|
|
is_domestic?: boolean;
|
||
|
|
}
|