gukgjzkgjhgjh
This commit is contained in:
31
frontend/src/api/generated/public/models/patchedVATRate.ts
Normal file
31
frontend/src/api/generated/public/models/patchedVATRate.ts
Normal file
@@ -0,0 +1,31 @@
|
||||
/**
|
||||
* Generated by orval v8.8.0 🍺
|
||||
* Do not edit manually.
|
||||
* OpenAPI spec version: 0.0.0
|
||||
*/
|
||||
|
||||
/**
|
||||
* VAT Rate serializer - admin fields only visible to admins
|
||||
*/
|
||||
export interface PatchedVATRate {
|
||||
readonly id?: number;
|
||||
/**
|
||||
* E.g. 'German Standard', 'German Reduced', 'Czech Standard'
|
||||
* @maxLength 100
|
||||
*/
|
||||
name?: string;
|
||||
/**
|
||||
* VAT rate as percentage (e.g. 19.00 for 19%)
|
||||
* @pattern ^-?\d{0,1}(?:\.\d{0,4})?$
|
||||
*/
|
||||
rate?: string;
|
||||
/** VAT rate as decimal (e.g., 0.19 for 19%) */
|
||||
readonly rate_decimal?: string;
|
||||
/** Optional description: 'Standard rate for most products', 'Books and food', etc. */
|
||||
description?: string;
|
||||
/** Whether this VAT rate is active and available for use */
|
||||
is_active?: boolean;
|
||||
/** Default rate for new products */
|
||||
is_default?: boolean;
|
||||
readonly created_at?: Date;
|
||||
}
|
||||
Reference in New Issue
Block a user