- 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.
23 lines
677 B
TypeScript
23 lines
677 B
TypeScript
/**
|
|
* Generated by orval v7.17.0 🍺
|
|
* Do not edit manually.
|
|
* OpenAPI spec version: 0.0.0
|
|
*/
|
|
|
|
/**
|
|
* * `retuning_before_fourteen_day_period` - cz#Vrácení před uplynutím 14-ti denní lhůty
|
|
* `damaged_product` - cz#Poškozený produkt
|
|
* `wrong_item` - cz#Špatná položka
|
|
* `other` - cz#Jiný důvod
|
|
*/
|
|
export type ReasonChoiceEnum =
|
|
(typeof ReasonChoiceEnum)[keyof typeof ReasonChoiceEnum];
|
|
|
|
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
export const ReasonChoiceEnum = {
|
|
retuning_before_fourteen_day_period: "retuning_before_fourteen_day_period",
|
|
damaged_product: "damaged_product",
|
|
wrong_item: "wrong_item",
|
|
other: "other",
|
|
} as const;
|