feat(api): generate models for patched products, refunds, site configurations, payments, and user registration
- Added PatchedProduct, PatchedProductImage, PatchedRefund, and related models. - Introduced Payment, PaymentBody, PaymentCreate, and PaymentRead models. - Created enums for payment methods, reasons for refunds, roles, and shipping methods. - Implemented models for site configurations and their opening hours. - Added ZasilkovnaPacket and ZasilkovnaShipment models for handling shipping data. - Generated user registration model with validation rules. - Updated public API functions to support new models and queries.
This commit is contained in:
21
frontend/src/api/generated/public/models/stateFdaEnum.ts
Normal file
21
frontend/src/api/generated/public/models/stateFdaEnum.ts
Normal file
@@ -0,0 +1,21 @@
|
||||
/**
|
||||
* Generated by orval v7.17.0 🍺
|
||||
* Do not edit manually.
|
||||
* OpenAPI spec version: 0.0.0
|
||||
*/
|
||||
|
||||
/**
|
||||
* * `ordered` - cz#Objednávka se připravuje
|
||||
* `shipped` - cz#Odesláno
|
||||
* `delivered` - cz#Doručeno
|
||||
* `ready_to_pickup` - cz#Připraveno k vyzvednutí
|
||||
*/
|
||||
export type StateFdaEnum = (typeof StateFdaEnum)[keyof typeof StateFdaEnum];
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
||||
export const StateFdaEnum = {
|
||||
ordered: "ordered",
|
||||
shipped: "shipped",
|
||||
delivered: "delivered",
|
||||
ready_to_pickup: "ready_to_pickup",
|
||||
} as const;
|
||||
Reference in New Issue
Block a user