gukgjzkgjhgjh

This commit is contained in:
2026-04-20 00:04:15 +02:00
parent 5280a87e8b
commit 659999f4fd
409 changed files with 19957 additions and 5176 deletions

View File

@@ -1,5 +1,5 @@
/**
* Generated by orval v7.17.0 🍺
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/

View File

@@ -1,5 +1,5 @@
/**
* Generated by orval v7.17.0 🍺
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/

View File

@@ -1,5 +1,5 @@
/**
* Generated by orval v7.17.0 🍺
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/

View File

@@ -1,5 +1,5 @@
/**
* Generated by orval v7.17.0 🍺
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/

View File

@@ -1,5 +1,5 @@
/**
* Generated by orval v7.17.0 🍺
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/

View File

@@ -1,5 +1,5 @@
/**
* Generated by orval v7.17.0 🍺
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/

View File

@@ -1,12 +1,20 @@
/**
* Generated by orval v7.17.0 🍺
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/
export type ApiCommerceOrdersListParams = {
/**
* Which field to use when ordering the results.
*/
ordering?: string;
/**
* A page number within the paginated result set.
*/
page?: number;
/**
* A search term.
*/
search?: string;
};

View File

@@ -1,5 +1,5 @@
/**
* Generated by orval v7.17.0 🍺
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/

View File

@@ -1,10 +1,14 @@
/**
* Generated by orval v7.17.0 🍺
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/
export type ApiCommerceProductsListParams = {
category?: number;
created_at?: Date;
is_active?: boolean;
limited_to?: Date;
/**
* Which field to use when ordering the results.
*/
@@ -13,8 +17,11 @@ export type ApiCommerceProductsListParams = {
* A page number within the paginated result set.
*/
page?: number;
price?: number;
/**
* A search term.
*/
search?: string;
stock?: number;
updated_at?: Date;
};

View File

@@ -1,12 +0,0 @@
/**
* Generated by orval v7.17.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/
export type ApiConfigurationPublicShopConfigurationListParams = {
/**
* A page number within the paginated result set.
*/
page?: number;
};

View File

@@ -1,5 +1,5 @@
/**
* Generated by orval v7.17.0 🍺
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/

View File

@@ -1,5 +1,5 @@
/**
* Generated by orval v7.17.0 🍺
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/

View File

@@ -1,15 +1,15 @@
/**
* Generated by orval v7.17.0 🍺
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/
import type { ShippingMethodEnum } from "./shippingMethodEnum";
import type { StateFdaEnum } from "./stateFdaEnum";
import type { State1f6Enum } from "./state1f6Enum";
import type { ZasilkovnaPacketRead } from "./zasilkovnaPacketRead";
export interface CarrierRead {
readonly shipping_method: ShippingMethodEnum;
readonly state: StateFdaEnum;
readonly state: State1f6Enum;
readonly zasilkovna: readonly ZasilkovnaPacketRead[];
/** @pattern ^-?\d{0,8}(?:\.\d{0,2})?$ */
readonly shipping_price: string;

View File

@@ -0,0 +1,17 @@
/**
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/
import type { CartItem } from "./cartItem";
export interface Cart {
readonly id: number;
/** @nullable */
readonly user: number | null;
readonly items: readonly CartItem[];
readonly total: string;
readonly items_count: string;
readonly created_at: Date;
readonly updated_at: Date;
}

View File

@@ -0,0 +1,20 @@
/**
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/
export interface CartItem {
readonly id: number;
product: number;
readonly product_name: string;
/** @pattern ^-?\d{0,8}(?:\.\d{0,2})?$ */
readonly product_price: string;
/**
* @minimum 0
* @maximum 9223372036854776000
*/
quantity?: number;
readonly subtotal: string;
readonly added_at: Date;
}

View File

@@ -1,5 +1,5 @@
/**
* Generated by orval v7.17.0 🍺
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/

View File

@@ -0,0 +1,25 @@
/**
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/
import type { ChatTypeEnum } from "./chatTypeEnum";
export interface Chat {
readonly id: number;
chat_type?: ChatTypeEnum;
/** @nullable */
readonly owner: number | null;
/** @maxLength 255 */
name?: string;
/** @nullable */
icon?: string | null;
/** @nullable */
banner?: string | null;
members?: number[];
moderators?: number[];
/** @nullable */
hub?: number | null;
readonly created_at: Date;
readonly updated_at: Date;
}

View File

@@ -0,0 +1,10 @@
/**
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/
export interface ChatMember {
/** PK of the user to add or remove. */
user_id: number;
}

View File

@@ -0,0 +1,16 @@
/**
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/
/**
* * `DM` - Direct Message
* `GROUP` - Group
*/
export type ChatTypeEnum = (typeof ChatTypeEnum)[keyof typeof ChatTypeEnum];
export const ChatTypeEnum = {
DM: "DM",
GROUP: "GROUP",
} as const;

View File

@@ -1,5 +1,5 @@
/**
* Generated by orval v7.17.0 🍺
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/

View File

@@ -1,5 +1,5 @@
/**
* Generated by orval v7.17.0 🍺
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/

View File

@@ -1,17 +1,32 @@
/**
* Generated by orval v7.17.0 🍺
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/
/**
* * `CZK` - cz#Czech Koruna
* `EUR` - cz#Euro
* * `EUR` - Euro
* `CZK` - Czech Koruna
* `USD` - US Dollar
* `GBP` - British Pound
* `PLN` - Polish Zloty
* `HUF` - Hungarian Forint
* `SEK` - Swedish Krona
* `DKK` - Danish Krone
* `NOK` - Norwegian Krone
* `CHF` - Swiss Franc
*/
export type CurrencyEnum = (typeof CurrencyEnum)[keyof typeof CurrencyEnum];
// eslint-disable-next-line @typescript-eslint/no-redeclare
export const CurrencyEnum = {
CZK: "CZK",
EUR: "EUR",
CZK: "CZK",
USD: "USD",
GBP: "GBP",
PLN: "PLN",
HUF: "HUF",
SEK: "SEK",
DKK: "DKK",
NOK: "NOK",
CHF: "CHF",
} as const;

View File

@@ -1,5 +1,5 @@
/**
* Generated by orval v7.17.0 🍺
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/

View File

@@ -1,5 +1,5 @@
/**
* Generated by orval v7.17.0 🍺
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/

View File

@@ -0,0 +1,47 @@
/**
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/
import type { DeutschePostBulkOrderStatusEnum } from "./deutschePostBulkOrderStatusEnum";
export interface DeutschePostBulkOrder {
readonly id: number;
readonly created_at: Date;
status?: DeutschePostBulkOrderStatusEnum;
readonly status_display: string;
/**
* Deutsche Post bulk order ID from API
* @nullable
*/
readonly bulk_order_id: string | null;
/**
* MIXED_BAG, etc.
* @maxLength 20
*/
bulk_order_type?: string;
/** @maxLength 255 */
description?: string;
readonly deutschepost_orders: readonly number[];
/** List of DeutschePostOrder IDs to include in bulk order */
deutschepost_order_ids: number[];
readonly orders_count: string;
readonly total_weight_kg: string;
readonly tracking_url: string;
readonly status_url: string;
readonly can_be_cancelled: string;
/**
* Bulk shipment label PDF
* @nullable
*/
readonly bulk_label_pdf: string | null;
/**
* Bulk shipment paperwork PDF
* @nullable
*/
readonly paperwork_pdf: string | null;
/** Raw API response data */
readonly metadata: unknown;
/** Last API error message */
readonly last_error: string;
}

View File

@@ -0,0 +1,21 @@
/**
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/
/**
* * `CREATED` - Vytvořeno
* `PROCESSING` - Zpracovává se
* `COMPLETED` - Dokončeno
* `ERROR` - Chyba
*/
export type DeutschePostBulkOrderStatusEnum =
(typeof DeutschePostBulkOrderStatusEnum)[keyof typeof DeutschePostBulkOrderStatusEnum];
export const DeutschePostBulkOrderStatusEnum = {
CREATED: "CREATED",
PROCESSING: "PROCESSING",
COMPLETED: "COMPLETED",
ERROR: "ERROR",
} as const;

View File

@@ -0,0 +1,113 @@
/**
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/
import type { DeutschePostOrderStateEnum } from "./deutschePostOrderStateEnum";
import type { LabelSizeEnum } from "./labelSizeEnum";
export interface DeutschePostOrder {
readonly id: number;
readonly created_at: Date;
state?: DeutschePostOrderStateEnum;
readonly state_display: string;
/**
* Deutsche Post order ID from API
* @nullable
*/
readonly order_id: string | null;
/**
* @maxLength 20
* @nullable
*/
customer_ekp?: string | null;
/** @maxLength 200 */
recipient_name: string;
/** @maxLength 20 */
recipient_phone?: string;
/** @maxLength 254 */
recipient_email?: string;
/** @maxLength 255 */
address_line1: string;
/** @maxLength 255 */
address_line2?: string;
/** @maxLength 255 */
address_line3?: string;
/** @maxLength 100 */
city: string;
/**
* State/Province for shipping address
* @maxLength 100
*/
address_state?: string;
/** @maxLength 20 */
postal_code: string;
/**
* ISO 2-letter country code
* @maxLength 2
*/
destination_country: string;
/**
* Deutsche Post product type (GPT, GMP, etc.)
* @maxLength 10
*/
product_type?: string;
/**
* PRIORITY, STANDARD
* @maxLength 20
*/
service_level?: string;
/**
* Weight in grams
* @minimum 0
* @maximum 9223372036854776000
*/
shipment_gross_weight: number;
/** @pattern ^-?\d{0,8}(?:\.\d{0,2})?$ */
shipment_amount?: string;
/** @maxLength 3 */
shipment_currency?: string;
/**
* IOSS number or sender tax ID
* @maxLength 50
*/
sender_tax_id?: string;
/**
* IOSS number or importer tax ID
* @maxLength 50
*/
importer_tax_id?: string;
return_item_wanted?: boolean;
/**
* Customer reference
* @maxLength 100
*/
cust_ref?: string;
/**
* Air Waybill number
* @nullable
*/
readonly awb_number: string | null;
/**
* Item barcode
* @nullable
*/
readonly barcode: string | null;
readonly tracking_url: string;
/**
* Shipping label PDF
* @nullable
*/
readonly label_pdf: string | null;
label_size?: LabelSizeEnum;
readonly label_size_display: string;
/** Raw API response data */
readonly metadata: unknown;
/** Last API error message */
readonly last_error: string;
readonly estimated_delivery_days: string;
readonly shipping_cost_estimate: string;
readonly can_be_finalized: string;
readonly can_be_cancelled: string;
readonly is_trackable: string;
}

View File

@@ -0,0 +1,25 @@
/**
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/
/**
* * `CREATED` - Vytvořeno
* `FINALIZED` - Dokončeno
* `SHIPPED` - Odesláno
* `DELIVERED` - Doručeno
* `CANCELLED` - Zrušeno
* `ERROR` - Chyba
*/
export type DeutschePostOrderStateEnum =
(typeof DeutschePostOrderStateEnum)[keyof typeof DeutschePostOrderStateEnum];
export const DeutschePostOrderStateEnum = {
CREATED: "CREATED",
FINALIZED: "FINALIZED",
SHIPPED: "SHIPPED",
DELIVERED: "DELIVERED",
CANCELLED: "CANCELLED",
ERROR: "ERROR",
} as const;

View File

@@ -0,0 +1,18 @@
/**
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/
/**
* Serializer for tracking information response.
*/
export interface DeutschePostTracking {
readonly order_id: string;
readonly awb_number: string;
readonly barcode: string;
readonly tracking_url: string;
readonly state: string;
readonly last_updated: Date;
readonly tracking_events: unknown;
}

View File

@@ -1,5 +1,5 @@
/**
* Generated by orval v7.17.0 🍺
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/
@@ -18,7 +18,7 @@ export interface DiscountCode {
*/
percent?: number | null;
/**
* Fixní sleva v CZK
* Fixed discount amount in site currency
* @nullable
* @pattern ^-?\d{0,8}(?:\.\d{0,2})?$
*/

View File

@@ -1,5 +1,5 @@
/**
* Generated by orval v7.17.0 🍺
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/

View File

@@ -1,5 +1,5 @@
/**
* Generated by orval v7.17.0 🍺
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/

View File

@@ -1,19 +1,36 @@
/**
* Generated by orval v7.17.0 🍺
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/
import type { PlatformCount } from "./platformCount";
import type { QualityCount } from "./qualityCount";
import type { TimeseriesPoint } from "./timeseriesPoint";
import type { TopUrl } from "./topUrl";
export interface DownloaderStats {
total_downloads: number;
successful_downloads: number;
failed_downloads: number;
/** Percentage 0-100 */
success_rate: number;
/** @nullable */
avg_length_of_media: number | null;
/** @nullable */
avg_file_size: number | null;
/** @nullable */
total_length_of_media: number | null;
/** @nullable */
avg_file_size: number | null;
/** @nullable */
total_file_size: number | null;
/** @nullable */
avg_processing_time: number | null;
/** @nullable */
most_common_format: string | null;
audio_only_count: number;
video_count: number;
downloads_by_platform: PlatformCount[];
downloads_by_quality: QualityCount[];
most_downloaded_urls: TopUrl[];
downloads_per_day: TimeseriesPoint[];
downloads_per_hour: TimeseriesPoint[];
}

View File

@@ -1,5 +1,5 @@
/**
* Generated by orval v7.17.0 🍺
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/

View File

@@ -0,0 +1,25 @@
/**
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/
import type { HubPermission } from "./hubPermission";
import type { Tags } from "./tags";
export interface Hub {
readonly id: number;
/** @maxLength 255 */
name: string;
/** @nullable */
description?: string | null;
/** @nullable */
readonly owner: number | null;
/** @nullable */
icon?: string | null;
/** @nullable */
banner?: string | null;
members?: number[];
is_public?: boolean;
readonly tags: readonly Tags[];
readonly moderators: readonly HubPermission[];
}

View File

@@ -0,0 +1,17 @@
/**
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/
export interface HubPermission {
readonly id: number;
user: number;
changing_name?: boolean;
changing_description?: boolean;
changing_icon?: boolean;
changing_banner?: boolean;
managing_members?: boolean;
managing_posts?: boolean;
managing_chats?: boolean;
}

View File

@@ -1,34 +1,51 @@
/**
* Generated by orval v7.17.0 🍺
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/
export * from "./additionalParam";
export * from "./apiChoicesRetrieve200";
export * from "./apiChoicesRetrieve200Item";
export * from "./apiChoicesRetrieveParams";
export * from "./apiCommerceCategoriesListParams";
export * from "./apiCommerceDiscountCodesListParams";
export * from "./apiCommerceOrdersListParams";
export * from "./apiCommerceProductImagesListParams";
export * from "./apiCommerceProductsListParams";
export * from "./apiConfigurationPublicShopConfigurationListParams";
export * from "./apiDownloaderDownloadRetrieveParams";
export * from "./apiChoicesRetrieve200";
export * from "./apiChoicesRetrieve200Item";
export * from "./apiChoicesRetrieveParams";
export * from "./callback";
export * from "./carrierRead";
export * from "./cart";
export * from "./cartItem";
export * from "./category";
export * from "./contact";
export * from "./contactMe";
export * from "./currencyEnum";
export * from "./customTokenObtainPair";
export * from "./customUser";
export * from "./deutschePostBulkOrder";
export * from "./deutschePostBulkOrderStatusEnum";
export * from "./deutschePostOrder";
export * from "./deutschePostOrderStateEnum";
export * from "./deutschePostTracking";
export * from "./discountCode";
export * from "./downloadErrorResponse";
export * from "./downloadRequest";
export * from "./downloaderStats";
export * from "./downloadRequest";
export * from "./errorResponse";
export * from "./hub";
export * from "./hubPermission";
export * from "./chat";
export * from "./chatMember";
export * from "./chatTypeEnum";
export * from "./item";
export * from "./labelSizeEnum";
export * from "./mediaTypeEnum";
export * from "./message";
export * from "./messageFile";
export * from "./messageReaction";
export * from "./messageSend";
export * from "./orderCarrier";
export * from "./orderCreate";
export * from "./orderItemCreate";
@@ -38,52 +55,83 @@ export * from "./orderRead";
export * from "./paginatedCategoryList";
export * from "./paginatedContactMeList";
export * from "./paginatedCustomUserList";
export * from "./paginatedDeutschePostBulkOrderList";
export * from "./paginatedDeutschePostOrderList";
export * from "./paginatedDiscountCodeList";
export * from "./paginatedHubList";
export * from "./paginatedHubPermissionList";
export * from "./paginatedChatList";
export * from "./paginatedMessageList";
export * from "./paginatedOrderReadList";
export * from "./paginatedPostList";
export * from "./paginatedProductImageList";
export * from "./paginatedProductList";
export * from "./paginatedRefundList";
export * from "./paginatedSiteConfigurationAdminList";
export * from "./paginatedSiteConfigurationPublicList";
export * from "./paginatedReviewSerializerPublicList";
export * from "./paginatedSiteConfigurationList";
export * from "./paginatedTagsList";
export * from "./paginatedVATRateList";
export * from "./paginatedWishlistList";
export * from "./paginatedZasilkovnaShipmentList";
export * from "./passwordResetConfirm";
export * from "./passwordResetRequest";
export * from "./patchedCart";
export * from "./patchedCategory";
export * from "./patchedContactMe";
export * from "./patchedCustomUser";
export * from "./patchedDeutschePostOrder";
export * from "./patchedDiscountCode";
export * from "./patchedHub";
export * from "./patchedHubPermission";
export * from "./patchedChat";
export * from "./patchedMessage";
export * from "./patchedOrderRead";
export * from "./patchedPost";
export * from "./patchedProduct";
export * from "./patchedProductImage";
export * from "./patchedRefund";
export * from "./patchedSiteConfigurationAdmin";
export * from "./patchedSiteConfigurationAdminOpeningHours";
export * from "./patchedReviewSerializerPublic";
export * from "./patchedSiteConfiguration";
export * from "./patchedTags";
export * from "./patchedVATRate";
export * from "./patchedWishlist";
export * from "./payer";
export * from "./payment";
export * from "./paymentBody";
export * from "./paymentCreate";
export * from "./paymentMethodEnum";
export * from "./paymentRead";
export * from "./platformCount";
export * from "./post";
export * from "./postContent";
export * from "./postVote";
export * from "./product";
export * from "./productImage";
export * from "./productMini";
export * from "./productMiniForWishlist";
export * from "./qualityCount";
export * from "./reasonChoiceEnum";
export * from "./refund";
export * from "./reviewSerializerPublic";
export * from "./roleEnum";
export * from "./shippingMethodEnum";
export * from "./siteConfigurationAdmin";
export * from "./siteConfigurationAdminOpeningHours";
export * from "./siteConfigurationPublic";
export * from "./siteConfigurationPublicOpeningHours";
export * from "./stateE15Enum";
export * from "./stateFdaEnum";
export * from "./statusEnum";
export * from "./siteConfiguration";
export * from "./state1f6Enum";
export * from "./stateCdfEnum";
export * from "./statusD4fEnum";
export * from "./tagAttach";
export * from "./tags";
export * from "./timeseriesPoint";
export * from "./topUrl";
export * from "./trackingURL";
export * from "./transferInit";
export * from "./transferVerify";
export * from "./userRegistration";
export * from "./vATRate";
export * from "./videoInfo";
export * from "./videoInfoResponse";
export * from "./voteEnum";
export * from "./wishlist";
export * from "./zasilkovnaPacket";
export * from "./zasilkovnaPacketRead";
export * from "./zasilkovnaPacketReadReturnRouting";
export * from "./zasilkovnaPacketReturnRouting";
export * from "./zasilkovnaShipment";

View File

@@ -1,5 +1,5 @@
/**
* Generated by orval v7.17.0 🍺
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/

View File

@@ -0,0 +1,18 @@
/**
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/
/**
* * `A4` - A4 (210x297mm)
* `A5` - A5 (148x210mm)
* `A6` - A6 (105x148mm)
*/
export type LabelSizeEnum = (typeof LabelSizeEnum)[keyof typeof LabelSizeEnum];
export const LabelSizeEnum = {
A4: "A4",
A5: "A5",
A6: "A6",
} as const;

View File

@@ -0,0 +1,18 @@
/**
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/
/**
* * `IMAGE` - Image
* `VIDEO` - Video
* `FILE` - File
*/
export type MediaTypeEnum = (typeof MediaTypeEnum)[keyof typeof MediaTypeEnum];
export const MediaTypeEnum = {
IMAGE: "IMAGE",
VIDEO: "VIDEO",
FILE: "FILE",
} as const;

View File

@@ -0,0 +1,24 @@
/**
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/
import type { MessageFile } from "./messageFile";
import type { MessageReaction } from "./messageReaction";
export interface Message {
readonly id: number;
readonly chat: number;
/** @nullable */
readonly sender: number | null;
/** @nullable */
readonly reply_to: number | null;
content?: string;
readonly is_edited: boolean;
/** @nullable */
readonly edited_at: Date | null;
readonly created_at: Date;
readonly updated_at: Date;
readonly media_files: readonly MessageFile[];
readonly reactions: readonly MessageReaction[];
}

View File

@@ -0,0 +1,13 @@
/**
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/
import type { MediaTypeEnum } from "./mediaTypeEnum";
export interface MessageFile {
readonly id: number;
file: string;
media_type?: MediaTypeEnum;
readonly uploaded_at: Date;
}

View File

@@ -0,0 +1,13 @@
/**
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/
export interface MessageReaction {
readonly id: number;
readonly user: number;
/** @maxLength 10 */
emoji: string;
readonly created_at: Date;
}

View File

@@ -0,0 +1,16 @@
/**
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/
/**
* Used for the HTTP send endpoint (text + optional files).
*/
export interface MessageSend {
chat: number;
content?: string;
/** @nullable */
reply_to?: number | null;
files?: string[];
}

View File

@@ -1,15 +1,15 @@
/**
* Generated by orval v7.17.0 🍺
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/
import type { ShippingMethodEnum } from "./shippingMethodEnum";
import type { StateFdaEnum } from "./stateFdaEnum";
import type { State1f6Enum } from "./state1f6Enum";
import type { ZasilkovnaPacket } from "./zasilkovnaPacket";
export interface OrderCarrier {
shipping_method?: ShippingMethodEnum;
readonly state: StateFdaEnum;
readonly state: State1f6Enum;
readonly zasilkovna: readonly ZasilkovnaPacket[];
/** @pattern ^-?\d{0,8}(?:\.\d{0,2})?$ */
readonly shipping_price: string;

View File

@@ -1,10 +1,10 @@
/**
* Generated by orval v7.17.0 🍺
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/
import type { OrderItemCreate } from "./orderItemCreate";
import type { OrderCarrier } from "./orderCarrier";
import type { OrderItemCreate } from "./orderItemCreate";
import type { Payment } from "./payment";
export interface OrderCreate {

View File

@@ -1,5 +1,5 @@
/**
* Generated by orval v7.17.0 🍺
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/

View File

@@ -1,5 +1,5 @@
/**
* Generated by orval v7.17.0 🍺
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/

View File

@@ -1,13 +1,13 @@
/**
* Generated by orval v7.17.0 🍺
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/
import type { StatusEnum } from "./statusEnum";
import type { StatusD4fEnum } from "./statusD4fEnum";
export interface OrderMini {
readonly id: number;
readonly status: StatusEnum;
readonly status: StatusD4fEnum;
/** @pattern ^-?\d{0,8}(?:\.\d{0,2})?$ */
readonly total_price: string;
readonly created_at: Date;

View File

@@ -1,18 +1,19 @@
/**
* Generated by orval v7.17.0 🍺
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/
import type { StatusEnum } from "./statusEnum";
import type { OrderItemRead } from "./orderItemRead";
import type { CarrierRead } from "./carrierRead";
import type { OrderItemRead } from "./orderItemRead";
import type { PaymentRead } from "./paymentRead";
import type { StatusD4fEnum } from "./statusD4fEnum";
export interface OrderRead {
readonly id: number;
readonly status: StatusEnum;
readonly status: StatusD4fEnum;
/** @pattern ^-?\d{0,8}(?:\.\d{0,2})?$ */
readonly total_price: string;
/** Order currency - captured from site configuration at order creation and never changes */
readonly currency: string;
/** @nullable */
readonly user: number | null;

View File

@@ -1,5 +1,5 @@
/**
* Generated by orval v7.17.0 🍺
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/

View File

@@ -0,0 +1,15 @@
/**
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/
import type { Chat } from "./chat";
export interface PaginatedChatList {
count: number;
/** @nullable */
next?: string | null;
/** @nullable */
previous?: string | null;
results: Chat[];
}

View File

@@ -1,5 +1,5 @@
/**
* Generated by orval v7.17.0 🍺
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/

View File

@@ -1,5 +1,5 @@
/**
* Generated by orval v7.17.0 🍺
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/

View File

@@ -0,0 +1,15 @@
/**
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/
import type { DeutschePostBulkOrder } from "./deutschePostBulkOrder";
export interface PaginatedDeutschePostBulkOrderList {
count: number;
/** @nullable */
next?: string | null;
/** @nullable */
previous?: string | null;
results: DeutschePostBulkOrder[];
}

View File

@@ -0,0 +1,15 @@
/**
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/
import type { DeutschePostOrder } from "./deutschePostOrder";
export interface PaginatedDeutschePostOrderList {
count: number;
/** @nullable */
next?: string | null;
/** @nullable */
previous?: string | null;
results: DeutschePostOrder[];
}

View File

@@ -1,5 +1,5 @@
/**
* Generated by orval v7.17.0 🍺
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/

View File

@@ -0,0 +1,15 @@
/**
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/
import type { Hub } from "./hub";
export interface PaginatedHubList {
count: number;
/** @nullable */
next?: string | null;
/** @nullable */
previous?: string | null;
results: Hub[];
}

View File

@@ -0,0 +1,15 @@
/**
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/
import type { HubPermission } from "./hubPermission";
export interface PaginatedHubPermissionList {
count: number;
/** @nullable */
next?: string | null;
/** @nullable */
previous?: string | null;
results: HubPermission[];
}

View File

@@ -0,0 +1,15 @@
/**
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/
import type { Message } from "./message";
export interface PaginatedMessageList {
count: number;
/** @nullable */
next?: string | null;
/** @nullable */
previous?: string | null;
results: Message[];
}

View File

@@ -1,5 +1,5 @@
/**
* Generated by orval v7.17.0 🍺
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/

View File

@@ -0,0 +1,15 @@
/**
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/
import type { Post } from "./post";
export interface PaginatedPostList {
count: number;
/** @nullable */
next?: string | null;
/** @nullable */
previous?: string | null;
results: Post[];
}

View File

@@ -1,5 +1,5 @@
/**
* Generated by orval v7.17.0 🍺
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/

View File

@@ -1,5 +1,5 @@
/**
* Generated by orval v7.17.0 🍺
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/

View File

@@ -1,5 +1,5 @@
/**
* Generated by orval v7.17.0 🍺
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/

View File

@@ -0,0 +1,15 @@
/**
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/
import type { ReviewSerializerPublic } from "./reviewSerializerPublic";
export interface PaginatedReviewSerializerPublicList {
count: number;
/** @nullable */
next?: string | null;
/** @nullable */
previous?: string | null;
results: ReviewSerializerPublic[];
}

View File

@@ -1,15 +0,0 @@
/**
* Generated by orval v7.17.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/
import type { SiteConfigurationAdmin } from "./siteConfigurationAdmin";
export interface PaginatedSiteConfigurationAdminList {
count: number;
/** @nullable */
next?: string | null;
/** @nullable */
previous?: string | null;
results: SiteConfigurationAdmin[];
}

View File

@@ -0,0 +1,15 @@
/**
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/
import type { SiteConfiguration } from "./siteConfiguration";
export interface PaginatedSiteConfigurationList {
count: number;
/** @nullable */
next?: string | null;
/** @nullable */
previous?: string | null;
results: SiteConfiguration[];
}

View File

@@ -1,15 +0,0 @@
/**
* Generated by orval v7.17.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/
import type { SiteConfigurationPublic } from "./siteConfigurationPublic";
export interface PaginatedSiteConfigurationPublicList {
count: number;
/** @nullable */
next?: string | null;
/** @nullable */
previous?: string | null;
results: SiteConfigurationPublic[];
}

View File

@@ -0,0 +1,15 @@
/**
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/
import type { Tags } from "./tags";
export interface PaginatedTagsList {
count: number;
/** @nullable */
next?: string | null;
/** @nullable */
previous?: string | null;
results: Tags[];
}

View File

@@ -0,0 +1,15 @@
/**
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/
import type { VATRate } from "./vATRate";
export interface PaginatedVATRateList {
count: number;
/** @nullable */
next?: string | null;
/** @nullable */
previous?: string | null;
results: VATRate[];
}

View File

@@ -0,0 +1,15 @@
/**
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/
import type { Wishlist } from "./wishlist";
export interface PaginatedWishlistList {
count: number;
/** @nullable */
next?: string | null;
/** @nullable */
previous?: string | null;
results: Wishlist[];
}

View File

@@ -1,5 +1,5 @@
/**
* Generated by orval v7.17.0 🍺
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/

View File

@@ -1,5 +1,5 @@
/**
* Generated by orval v7.17.0 🍺
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/

View File

@@ -1,5 +1,5 @@
/**
* Generated by orval v7.17.0 🍺
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/

View File

@@ -0,0 +1,17 @@
/**
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/
import type { CartItem } from "./cartItem";
export interface PatchedCart {
readonly id?: number;
/** @nullable */
readonly user?: number | null;
readonly items?: readonly CartItem[];
readonly total?: string;
readonly items_count?: string;
readonly created_at?: Date;
readonly updated_at?: Date;
}

View File

@@ -1,5 +1,5 @@
/**
* Generated by orval v7.17.0 🍺
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/

View File

@@ -0,0 +1,25 @@
/**
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/
import type { ChatTypeEnum } from "./chatTypeEnum";
export interface PatchedChat {
readonly id?: number;
chat_type?: ChatTypeEnum;
/** @nullable */
readonly owner?: number | null;
/** @maxLength 255 */
name?: string;
/** @nullable */
icon?: string | null;
/** @nullable */
banner?: string | null;
members?: number[];
moderators?: number[];
/** @nullable */
hub?: number | null;
readonly created_at?: Date;
readonly updated_at?: Date;
}

View File

@@ -1,5 +1,5 @@
/**
* Generated by orval v7.17.0 🍺
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/

View File

@@ -1,5 +1,5 @@
/**
* Generated by orval v7.17.0 🍺
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/

View File

@@ -0,0 +1,113 @@
/**
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/
import type { DeutschePostOrderStateEnum } from "./deutschePostOrderStateEnum";
import type { LabelSizeEnum } from "./labelSizeEnum";
export interface PatchedDeutschePostOrder {
readonly id?: number;
readonly created_at?: Date;
state?: DeutschePostOrderStateEnum;
readonly state_display?: string;
/**
* Deutsche Post order ID from API
* @nullable
*/
readonly order_id?: string | null;
/**
* @maxLength 20
* @nullable
*/
customer_ekp?: string | null;
/** @maxLength 200 */
recipient_name?: string;
/** @maxLength 20 */
recipient_phone?: string;
/** @maxLength 254 */
recipient_email?: string;
/** @maxLength 255 */
address_line1?: string;
/** @maxLength 255 */
address_line2?: string;
/** @maxLength 255 */
address_line3?: string;
/** @maxLength 100 */
city?: string;
/**
* State/Province for shipping address
* @maxLength 100
*/
address_state?: string;
/** @maxLength 20 */
postal_code?: string;
/**
* ISO 2-letter country code
* @maxLength 2
*/
destination_country?: string;
/**
* Deutsche Post product type (GPT, GMP, etc.)
* @maxLength 10
*/
product_type?: string;
/**
* PRIORITY, STANDARD
* @maxLength 20
*/
service_level?: string;
/**
* Weight in grams
* @minimum 0
* @maximum 9223372036854776000
*/
shipment_gross_weight?: number;
/** @pattern ^-?\d{0,8}(?:\.\d{0,2})?$ */
shipment_amount?: string;
/** @maxLength 3 */
shipment_currency?: string;
/**
* IOSS number or sender tax ID
* @maxLength 50
*/
sender_tax_id?: string;
/**
* IOSS number or importer tax ID
* @maxLength 50
*/
importer_tax_id?: string;
return_item_wanted?: boolean;
/**
* Customer reference
* @maxLength 100
*/
cust_ref?: string;
/**
* Air Waybill number
* @nullable
*/
readonly awb_number?: string | null;
/**
* Item barcode
* @nullable
*/
readonly barcode?: string | null;
readonly tracking_url?: string;
/**
* Shipping label PDF
* @nullable
*/
readonly label_pdf?: string | null;
label_size?: LabelSizeEnum;
readonly label_size_display?: string;
/** Raw API response data */
readonly metadata?: unknown;
/** Last API error message */
readonly last_error?: string;
readonly estimated_delivery_days?: string;
readonly shipping_cost_estimate?: string;
readonly can_be_finalized?: string;
readonly can_be_cancelled?: string;
readonly is_trackable?: string;
}

View File

@@ -1,5 +1,5 @@
/**
* Generated by orval v7.17.0 🍺
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/
@@ -18,7 +18,7 @@ export interface PatchedDiscountCode {
*/
percent?: number | null;
/**
* Fixní sleva v CZK
* Fixed discount amount in site currency
* @nullable
* @pattern ^-?\d{0,8}(?:\.\d{0,2})?$
*/

View File

@@ -0,0 +1,25 @@
/**
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/
import type { HubPermission } from "./hubPermission";
import type { Tags } from "./tags";
export interface PatchedHub {
readonly id?: number;
/** @maxLength 255 */
name?: string;
/** @nullable */
description?: string | null;
/** @nullable */
readonly owner?: number | null;
/** @nullable */
icon?: string | null;
/** @nullable */
banner?: string | null;
members?: number[];
is_public?: boolean;
readonly tags?: readonly Tags[];
readonly moderators?: readonly HubPermission[];
}

View File

@@ -0,0 +1,17 @@
/**
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/
export interface PatchedHubPermission {
readonly id?: number;
user?: number;
changing_name?: boolean;
changing_description?: boolean;
changing_icon?: boolean;
changing_banner?: boolean;
managing_members?: boolean;
managing_posts?: boolean;
managing_chats?: boolean;
}

View File

@@ -0,0 +1,24 @@
/**
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/
import type { MessageFile } from "./messageFile";
import type { MessageReaction } from "./messageReaction";
export interface PatchedMessage {
readonly id?: number;
readonly chat?: number;
/** @nullable */
readonly sender?: number | null;
/** @nullable */
readonly reply_to?: number | null;
content?: string;
readonly is_edited?: boolean;
/** @nullable */
readonly edited_at?: Date | null;
readonly created_at?: Date;
readonly updated_at?: Date;
readonly media_files?: readonly MessageFile[];
readonly reactions?: readonly MessageReaction[];
}

View File

@@ -1,18 +1,19 @@
/**
* Generated by orval v7.17.0 🍺
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/
import type { StatusEnum } from "./statusEnum";
import type { OrderItemRead } from "./orderItemRead";
import type { CarrierRead } from "./carrierRead";
import type { OrderItemRead } from "./orderItemRead";
import type { PaymentRead } from "./paymentRead";
import type { StatusD4fEnum } from "./statusD4fEnum";
export interface PatchedOrderRead {
readonly id?: number;
readonly status?: StatusEnum;
readonly status?: StatusD4fEnum;
/** @pattern ^-?\d{0,8}(?:\.\d{0,2})?$ */
readonly total_price?: string;
/** Order currency - captured from site configuration at order creation and never changes */
readonly currency?: string;
/** @nullable */
readonly user?: number | null;

View File

@@ -0,0 +1,21 @@
/**
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/
import type { PostContent } from "./postContent";
import type { Tags } from "./tags";
export interface PatchedPost {
readonly id?: number;
content?: string;
readonly created_at?: Date;
readonly updated_at?: Date;
readonly author?: number;
/** @nullable */
hub?: number | null;
/** @nullable */
reply_to?: number | null;
readonly tags?: readonly Tags[];
readonly contents?: readonly PostContent[];
}

View File

@@ -1,5 +1,5 @@
/**
* Generated by orval v7.17.0 🍺
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/
@@ -14,7 +14,10 @@ export interface PatchedProduct {
* @nullable
*/
code?: string | null;
/** @pattern ^-?\d{0,8}(?:\.\d{0,2})?$ */
/**
* Net price (without VAT)
* @pattern ^-?\d{0,8}(?:\.\d{0,2})?$
*/
price?: string;
/**
* @maxLength 50
@@ -29,9 +32,15 @@ export interface PatchedProduct {
is_active?: boolean;
/** @nullable */
limited_to?: Date | null;
include_in_week_summary_email?: boolean;
readonly created_at?: Date;
readonly updated_at?: Date;
category?: number;
/**
* VAT rate for this product. Leave empty to use default rate.
* @nullable
*/
vat_rate?: number | null;
/** @nullable */
default_carrier?: number | null;
/** Symetrické varianty produktu: pokud přidáte variantu A → B, Django automaticky přidá i variantu B → A. Všechny varianty jsou rovnocenné a zobrazí se vzájemně. */

View File

@@ -1,5 +1,5 @@
/**
* Generated by orval v7.17.0 🍺
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/

View File

@@ -1,5 +1,5 @@
/**
* Generated by orval v7.17.0 🍺
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/

View File

@@ -0,0 +1,19 @@
/**
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/
export interface PatchedReviewSerializerPublic {
readonly id?: number;
/**
* @minimum 1
* @maximum 5
*/
rating?: number;
comment?: string;
readonly created_at?: Date;
readonly updated_at?: Date;
product?: number;
readonly user?: number;
}

View File

@@ -1,12 +1,14 @@
/**
* Generated by orval v7.17.0 🍺
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/
import type { PatchedSiteConfigurationAdminOpeningHours } from "./patchedSiteConfigurationAdminOpeningHours";
import type { CurrencyEnum } from "./currencyEnum";
export interface PatchedSiteConfigurationAdmin {
/**
* Site configuration serializer - sensitive fields only for admins
*/
export interface PatchedSiteConfiguration {
readonly id?: number;
/** @maxLength 100 */
name?: string;
@@ -26,8 +28,7 @@ export interface PatchedSiteConfigurationAdmin {
contact_phone?: string | null;
/** @nullable */
contact_address?: string | null;
/** @nullable */
opening_hours?: PatchedSiteConfigurationAdminOpeningHours;
opening_hours?: unknown | null;
/**
* @maxLength 200
* @nullable
@@ -67,6 +68,34 @@ export interface PatchedSiteConfigurationAdmin {
* @nullable
*/
zasilkovna_api_password?: string | null;
/**
* Deutsche Post API URL (sandbox/production)
* @maxLength 255
*/
deutschepost_api_url?: string;
/**
* Deutsche Post OAuth Client ID
* @maxLength 255
* @nullable
*/
deutschepost_client_id?: string | null;
/**
* Deutsche Post OAuth Client Secret
* @maxLength 255
* @nullable
*/
deutschepost_client_secret?: string | null;
/**
* Deutsche Post Customer EKP number
* @maxLength 20
* @nullable
*/
deutschepost_customer_ekp?: string | null;
/**
* Default Deutsche Post shipping price in EUR
* @pattern ^-?\d{0,8}(?:\.\d{0,2})?$
*/
deutschepost_shipping_price?: string;
/** @pattern ^-?\d{0,8}(?:\.\d{0,2})?$ */
free_shipping_over?: string;
/** Násobení kupónů v objednávce (ano/ne), pokud ne tak se použije pouze nejvyšší slevový kupón */

View File

@@ -1,10 +0,0 @@
/**
* Generated by orval v7.17.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/
/**
* @nullable
*/
export type PatchedSiteConfigurationAdminOpeningHours = unknown | null;

View File

@@ -0,0 +1,15 @@
/**
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/
export interface PatchedTags {
readonly id?: number;
/** @maxLength 50 */
name?: string;
/** @nullable */
description?: string | null;
/** @maxLength 7 */
color?: string;
}

View 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;
}

View File

@@ -0,0 +1,15 @@
/**
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/
import type { ProductMiniForWishlist } from "./productMiniForWishlist";
export interface PatchedWishlist {
readonly id?: number;
readonly user?: number;
readonly products?: readonly ProductMiniForWishlist[];
readonly products_count?: string;
readonly created_at?: Date;
readonly updated_at?: Date;
}

View File

@@ -1,5 +1,5 @@
/**
* Generated by orval v7.17.0 🍺
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/

View File

@@ -1,5 +1,5 @@
/**
* Generated by orval v7.17.0 🍺
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/

View File

@@ -1,12 +1,12 @@
/**
* Generated by orval v7.17.0 🍺
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/
import type { Payer } from "./payer";
import type { AdditionalParam } from "./additionalParam";
import type { Callback } from "./callback";
import type { Item } from "./item";
import type { AdditionalParam } from "./additionalParam";
import type { Payer } from "./payer";
export interface PaymentBody {
/**

View File

@@ -1,5 +1,5 @@
/**
* Generated by orval v7.17.0 🍺
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/

Some files were not shown because too many files have changed in this diff Show More