update pos consumer

This commit is contained in:
2026-03-29 18:07:10 +03:30
parent 1e2f94261e
commit c10623bc3f
86 changed files with 2935 additions and 385 deletions
+22
View File
@@ -0,0 +1,22 @@
import ISummary from '@/core/models/summary';
import { UnitType } from '@/utils';
export interface IGoodRawResponse {
id: string;
name: string;
sku: string;
category: ISummary;
unit_type: UnitType;
pricing_model: string;
description?: string;
created_at: string;
updated_at: string;
}
export interface IGoodResponse extends IGoodRawResponse {}
export interface IGoodCategoryRawResponse {
id: string;
name: string;
goods_count: number;
}
export interface IGoodCategoryResponse extends IGoodCategoryRawResponse {}