feat(hiboutik): add Hiboutik API client, repositories and DTOs
HiboutikClient handles Basic auth and walks paginated endpoints. One read-only repository per entity (brands, categories, suppliers, products, stocks, customers).
This commit is contained in:
7
src/models/hiboutikDTO/brand.hiboutik.dto.ts
Normal file
7
src/models/hiboutikDTO/brand.hiboutik.dto.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
/** Brand as returned by Hiboutik `GET /brands`. */
|
||||
export interface BrandHiboutikDto {
|
||||
brand_id: number;
|
||||
brand_name: string;
|
||||
/** 1 = enabled, 0 = disabled. */
|
||||
brand_enabled: number;
|
||||
}
|
||||
Reference in New Issue
Block a user