Files
vontor-cz/frontend/src/api/generated/public/models/patchedSiteConfiguration.ts
2026-04-20 00:04:15 +02:00

107 lines
2.5 KiB
TypeScript

/**
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/
import type { CurrencyEnum } from "./currencyEnum";
/**
* Site configuration serializer - sensitive fields only for admins
*/
export interface PatchedSiteConfiguration {
readonly id?: number;
/** @maxLength 100 */
name?: string;
/** @nullable */
logo?: string | null;
/** @nullable */
favicon?: string | null;
/**
* @maxLength 254
* @nullable
*/
contact_email?: string | null;
/**
* @maxLength 20
* @nullable
*/
contact_phone?: string | null;
/** @nullable */
contact_address?: string | null;
opening_hours?: unknown | null;
/**
* @maxLength 200
* @nullable
*/
facebook_url?: string | null;
/**
* @maxLength 200
* @nullable
*/
instagram_url?: string | null;
/**
* @maxLength 200
* @nullable
*/
youtube_url?: string | null;
/**
* @maxLength 200
* @nullable
*/
tiktok_url?: string | null;
/**
* @maxLength 20
* @nullable
*/
whatsapp_number?: string | null;
/** @pattern ^-?\d{0,8}(?:\.\d{0,2})?$ */
zasilkovna_shipping_price?: string;
/**
* API klíč pro přístup k Zásilkovna API (zatím není využito)
* @maxLength 255
* @nullable
*/
zasilkovna_api_key?: string | null;
/**
* API heslo pro přístup k Zásilkovna API (zatím není využito)
* @maxLength 255
* @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 */
multiplying_coupons?: boolean;
/** Sčítání slevových kupónů v objednávce (ano/ne), pokud ne tak se použije pouze nejvyšší slevový kupón */
addition_of_coupons_amount?: boolean;
currency?: CurrencyEnum;
}