Files
vontor-cz/frontend/src/api/generated/public/models/zasilkovnaPacket.ts
David Bruno Vontor 9c48aee522 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.
2025-12-21 04:42:15 +01:00

33 lines
851 B
TypeScript

/**
* Generated by orval v7.17.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/
import type { StateE15Enum } from "./stateE15Enum";
import type { ZasilkovnaPacketReturnRouting } from "./zasilkovnaPacketReturnRouting";
export interface ZasilkovnaPacket {
readonly id: number;
readonly created_at: Date;
/**
* Číslo zásilky v Packetě (vraceno od API od Packety)
* @minimum -9223372036854776000
* @maximum 9223372036854776000
* @nullable
*/
packet_id?: number | null;
/**
* Čárový kód zásilky od Packety
* @nullable
*/
readonly barcode: string | null;
readonly state: StateE15Enum;
/** Hmotnost zásilky v gramech */
readonly weight: number;
/**
* Seznam 2 routing stringů pro vrácení zásilky
* @nullable
*/
readonly return_routing: ZasilkovnaPacketReturnRouting;
}