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:
@@ -0,0 +1,111 @@
|
||||
/**
|
||||
* Generated by orval v7.17.0 🍺
|
||||
* Do not edit manually.
|
||||
* OpenAPI spec version: 0.0.0
|
||||
*/
|
||||
|
||||
export type ApiSchemaRetrieveLang =
|
||||
(typeof ApiSchemaRetrieveLang)[keyof typeof ApiSchemaRetrieveLang];
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
||||
export const ApiSchemaRetrieveLang = {
|
||||
af: "af",
|
||||
ar: "ar",
|
||||
"ar-dz": "ar-dz",
|
||||
ast: "ast",
|
||||
az: "az",
|
||||
be: "be",
|
||||
bg: "bg",
|
||||
bn: "bn",
|
||||
br: "br",
|
||||
bs: "bs",
|
||||
ca: "ca",
|
||||
ckb: "ckb",
|
||||
cs: "cs",
|
||||
cy: "cy",
|
||||
da: "da",
|
||||
de: "de",
|
||||
dsb: "dsb",
|
||||
el: "el",
|
||||
en: "en",
|
||||
"en-au": "en-au",
|
||||
"en-gb": "en-gb",
|
||||
eo: "eo",
|
||||
es: "es",
|
||||
"es-ar": "es-ar",
|
||||
"es-co": "es-co",
|
||||
"es-mx": "es-mx",
|
||||
"es-ni": "es-ni",
|
||||
"es-ve": "es-ve",
|
||||
et: "et",
|
||||
eu: "eu",
|
||||
fa: "fa",
|
||||
fi: "fi",
|
||||
fr: "fr",
|
||||
fy: "fy",
|
||||
ga: "ga",
|
||||
gd: "gd",
|
||||
gl: "gl",
|
||||
he: "he",
|
||||
hi: "hi",
|
||||
hr: "hr",
|
||||
hsb: "hsb",
|
||||
hu: "hu",
|
||||
hy: "hy",
|
||||
ia: "ia",
|
||||
id: "id",
|
||||
ig: "ig",
|
||||
io: "io",
|
||||
is: "is",
|
||||
it: "it",
|
||||
ja: "ja",
|
||||
ka: "ka",
|
||||
kab: "kab",
|
||||
kk: "kk",
|
||||
km: "km",
|
||||
kn: "kn",
|
||||
ko: "ko",
|
||||
ky: "ky",
|
||||
lb: "lb",
|
||||
lt: "lt",
|
||||
lv: "lv",
|
||||
mk: "mk",
|
||||
ml: "ml",
|
||||
mn: "mn",
|
||||
mr: "mr",
|
||||
ms: "ms",
|
||||
my: "my",
|
||||
nb: "nb",
|
||||
ne: "ne",
|
||||
nl: "nl",
|
||||
nn: "nn",
|
||||
os: "os",
|
||||
pa: "pa",
|
||||
pl: "pl",
|
||||
pt: "pt",
|
||||
"pt-br": "pt-br",
|
||||
ro: "ro",
|
||||
ru: "ru",
|
||||
sk: "sk",
|
||||
sl: "sl",
|
||||
sq: "sq",
|
||||
sr: "sr",
|
||||
"sr-latn": "sr-latn",
|
||||
sv: "sv",
|
||||
sw: "sw",
|
||||
ta: "ta",
|
||||
te: "te",
|
||||
tg: "tg",
|
||||
th: "th",
|
||||
tk: "tk",
|
||||
tr: "tr",
|
||||
tt: "tt",
|
||||
udm: "udm",
|
||||
ug: "ug",
|
||||
uk: "uk",
|
||||
ur: "ur",
|
||||
uz: "uz",
|
||||
vi: "vi",
|
||||
"zh-hans": "zh-hans",
|
||||
"zh-hant": "zh-hant",
|
||||
} as const;
|
||||
Reference in New Issue
Block a user