@shophost/rest-api 0.1.16 → 0.1.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/package.json +9 -6
  2. package/src/contracts/cart.contract.d.ts +6 -140
  3. package/src/contracts/customers.contract.d.ts +3 -3
  4. package/src/contracts/index.d.ts +100 -515
  5. package/src/contracts/manufacturers.contract.d.ts +15 -15
  6. package/src/contracts/orders.contract.d.ts +13 -13
  7. package/src/contracts/organizations.contract.d.ts +3 -3
  8. package/src/contracts/product-categories.contract.d.ts +18 -18
  9. package/src/contracts/products.contract.d.ts +24 -292
  10. package/src/contracts/shipping-methods.contract.d.ts +6 -6
  11. package/src/contracts/shipping.contract.d.ts +15 -28
  12. package/src/db/__generated__/client/internal/class.js +3 -3
  13. package/src/db/__generated__/client/internal/class.js.map +1 -1
  14. package/src/db/__generated__/client/internal/prismaNamespace.d.ts +11 -11
  15. package/src/db/__generated__/client/internal/prismaNamespace.js +4 -4
  16. package/src/db/__generated__/client/libquery_engine-darwin-arm64.dylib.node +0 -0
  17. package/src/db/__generated__/client/libquery_engine-debian-openssl-3.0.x.so.node +0 -0
  18. package/src/db/__generated__/client/libquery_engine-rhel-openssl-3.0.x.so.node +0 -0
  19. package/src/lib/better-auth.lib.d.ts +1 -10202
  20. package/src/lib/better-auth.lib.js +0 -1
  21. package/src/lib/better-auth.lib.js.map +1 -1
  22. package/src/routers/cart.router.d.ts +6 -140
  23. package/src/routers/manufacturer.router.d.ts +15 -15
  24. package/src/routers/order.router.d.ts +13 -13
  25. package/src/routers/organization.router.d.ts +3 -3
  26. package/src/routers/product-category.router.d.ts +18 -18
  27. package/src/routers/product.router.d.ts +24 -292
  28. package/src/routers/shipping-method.router.d.ts +6 -6
  29. package/src/routers/shipping.router.d.ts +15 -28
  30. package/src/schemas/address.schema.d.ts +9 -16
  31. package/src/schemas/cart.schema.d.ts +6 -140
  32. package/src/schemas/manufacturer.schema.d.ts +3 -3
  33. package/src/schemas/order.schema.d.ts +3 -3
  34. package/src/schemas/organization.schema.d.ts +3 -3
  35. package/src/schemas/params.schema.d.ts +3 -3
  36. package/src/schemas/product-category.schema.d.ts +6 -6
  37. package/src/schemas/product-modifier.schema.d.ts +3 -3
  38. package/src/schemas/product.schema.d.ts +9 -143
  39. package/src/schemas/recipient.schema.d.ts +3 -3
  40. package/src/schemas/shipping-method.schema.d.ts +3 -3
@@ -24,7 +24,6 @@ const owner = ac.newRole({
24
24
  organization: ["update", "delete"],
25
25
  });
26
26
  export const createAuthClient = ({ prisma, domain, trustedOrigins, socialProviders, }) => {
27
- console.log({ domain });
28
27
  const auth = betterAuth({
29
28
  database: prismaAdapter(prisma, {
30
29
  provider: "postgresql",
@@ -1 +1 @@
1
- {"version":3,"file":"better-auth.lib.js","sourceRoot":"","sources":["../../../../../packages/rest-api/src/lib/better-auth.lib.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAEjE,OAAO,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAG/D,MAAM,SAAS,GAAG;IAChB,OAAO,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,CAAC;IAC/C,YAAY,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,CAAC;CAC5C,CAAC;AAEX,MAAM,EAAE,GAAG,mBAAmB,CAAC,SAAS,CAAC,CAAC;AAE1C,MAAM,QAAQ,GAAG,EAAE,CAAC,OAAO,CAAC;IAC1B,OAAO,EAAE,CAAC,MAAM,CAA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AAE,wEAAwE;gBACzF,QAAQ,EAAE,IAAI,EAAE,wCAAwC;gBACxD,MAAM,EAAE,MAAM,KAAK,WAAW;aAC/B;SACF;QACD,gBAAgB,EAAE;YAChB,OAAO,EAAE,IAAI;SACd;QACD,eAAe,oBACV,CAAC,CAAA,eAAe,aAAf,eAAe,uBAAf,eAAe,CAAE,MAAM;YACzB,CAAC,CAAC;gBACE,MAAM,EAAE;oBACN,MAAM,EAAE,gBAAgB;oBACxB,QAAQ,EAAE,eAAe,CAAC,MAAM,CAAC,QAAQ;oBACzC,YAAY,EAAE,eAAe,CAAC,MAAM,CAAC,YAAY;oBACjD,gBAAgB,EAAE,CAAC,OAAO,EAAE,EAAE;wBAC5B,OAAO;4BACL,SAAS,EAAE,OAAO,CAAC,UAAU;4BAC7B,QAAQ,EAAE,OAAO,CAAC,WAAW;yBAC9B,CAAC;oBACJ,CAAC;iBACF;aACF;YACH,CAAC,CAAC,EAAE,CAAC,CACR;QACD,OAAO,EAAE;YACP,OAAO,EAAE;YACT,WAAW,EAAE;YACb,YAAY,CAAC;gBACX,EAAE;gBACF,KAAK,EAAE;oBACL,QAAQ;oBACR,OAAO;oBACP,KAAK;oBACL,KAAK;iBACN;aACF,CAAC;SACH;KACF,CAAC,CAAC;IAEH,OAAO;QACL,IAAI;QACJ,cAAc,EAAE,cAAc,CAAC,IAAI,CAAC;QACpC,SAAS,EAAE,SAAS,CAAC,IAAI,CAAC;KAC3B,CAAC;AACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"better-auth.lib.js","sourceRoot":"","sources":["../../../../../packages/rest-api/src/lib/better-auth.lib.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAC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;QACpC,SAAS,EAAE,SAAS,CAAC,IAAI,CAAC;KAC3B,CAAC;AACJ,CAAC,CAAC"}
@@ -109,7 +109,7 @@ export declare const buildCartRouter: (prisma: PrismaClientType) => import("@ts-
109
109
  }>>;
110
110
  responses: {
111
111
  200: import("zod").ZodObject<{
112
- products: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<Omit<import("zod").objectUtil.extendShape<{
112
+ products: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<Omit<{
113
113
  id: import("zod").ZodString;
114
114
  slug: import("zod").ZodOptional<import("zod").ZodString>;
115
115
  sku: import("zod").ZodOptional<import("zod").ZodString>;
@@ -135,140 +135,6 @@ export declare const buildCartRouter: (prisma: PrismaClientType) => import("@ts-
135
135
  filename: string;
136
136
  url: string;
137
137
  }>, "many">>;
138
- modifierGroups: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
139
- id: import("zod").ZodString;
140
- selectMin: import("zod").ZodNumber;
141
- selectMax: import("zod").ZodNumber;
142
- defaultLocale: import("zod").ZodOptional<import("zod").ZodEnum<["af", "sq", "ar_dz", "ar_bh", "ar_eg", "ar_iq", "ar_jo", "ar_kw", "ar_lb", "ar_ly", "ar_ma", "ar_om", "ar_qa", "ar_sa", "ar_sy", "ar_tn", "ar_ae", "ar_ye", "eu", "be", "bg", "ca", "zh_hk", "zh_cn", "zh_sg", "zh_tw", "hr", "cs", "da", "nl_be", "nl", "en", "en_au", "en_bz", "en_ca", "en_ie", "en_jm", "en_nz", "en_za", "en_tt", "en_gb", "en_us", "et", "fo", "fa", "fi", "fr_be", "fr_ca", "fr_lu", "fr", "fr_ch", "gd", "de_at", "de_li", "de_lu", "de", "de_ch", "el", "he", "hi", "hu", "is", "id", "ga", "it", "it_ch", "ja", "ko", "ku", "lv", "lt", "mk", "ml", "ms", "mt", "no", "nb", "nn", "pl", "pt_br", "pt", "pa", "rm", "ro", "ro_md", "ru", "ru_md", "sr", "sk", "sl", "sb", "es_ar", "es_bo", "es_cl", "es_co", "es_cr", "es_do", "es_ec", "es_sv", "es_gt", "es_hn", "es_mx", "es", "sv", "sv_fi", "th", "tr", "uk", "ur", "vi", "cy", "ji", "zu"]>>;
143
- modifiers: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
144
- id: import("zod").ZodOptional<import("zod").ZodString>;
145
- title: import("zod").ZodString;
146
- sku: import("zod").ZodOptional<import("zod").ZodString>;
147
- price: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
148
- }, "strip", import("zod").ZodTypeAny, {
149
- title: string;
150
- price: number;
151
- id?: string | undefined;
152
- sku?: string | undefined;
153
- }, {
154
- title: string;
155
- id?: string | undefined;
156
- sku?: string | undefined;
157
- price?: number | undefined;
158
- }>, "many">>;
159
- translations: import("zod").ZodArray<import("zod").ZodObject<{
160
- locale: import("zod").ZodEnum<["af", "sq", "ar_dz", "ar_bh", "ar_eg", "ar_iq", "ar_jo", "ar_kw", "ar_lb", "ar_ly", "ar_ma", "ar_om", "ar_qa", "ar_sa", "ar_sy", "ar_tn", "ar_ae", "ar_ye", "eu", "be", "bg", "ca", "zh_hk", "zh_cn", "zh_sg", "zh_tw", "hr", "cs", "da", "nl_be", "nl", "en", "en_au", "en_bz", "en_ca", "en_ie", "en_jm", "en_nz", "en_za", "en_tt", "en_gb", "en_us", "et", "fo", "fa", "fi", "fr_be", "fr_ca", "fr_lu", "fr", "fr_ch", "gd", "de_at", "de_li", "de_lu", "de", "de_ch", "el", "he", "hi", "hu", "is", "id", "ga", "it", "it_ch", "ja", "ko", "ku", "lv", "lt", "mk", "ml", "ms", "mt", "no", "nb", "nn", "pl", "pt_br", "pt", "pa", "rm", "ro", "ro_md", "ru", "ru_md", "sr", "sk", "sl", "sb", "es_ar", "es_bo", "es_cl", "es_co", "es_cr", "es_do", "es_ec", "es_sv", "es_gt", "es_hn", "es_mx", "es", "sv", "sv_fi", "th", "tr", "uk", "ur", "vi", "cy", "ji", "zu"]>;
161
- title: import("zod").ZodOptional<import("zod").ZodString>;
162
- }, "strip", import("zod").ZodTypeAny, {
163
- locale: "id" | "af" | "sq" | "ar_dz" | "ar_bh" | "ar_eg" | "ar_iq" | "ar_jo" | "ar_kw" | "ar_lb" | "ar_ly" | "ar_ma" | "ar_om" | "ar_qa" | "ar_sa" | "ar_sy" | "ar_tn" | "ar_ae" | "ar_ye" | "eu" | "be" | "bg" | "ca" | "zh_hk" | "zh_cn" | "zh_sg" | "zh_tw" | "hr" | "cs" | "da" | "nl_be" | "nl" | "en" | "en_au" | "en_bz" | "en_ca" | "en_ie" | "en_jm" | "en_nz" | "en_za" | "en_tt" | "en_gb" | "en_us" | "et" | "fo" | "fa" | "fi" | "fr_be" | "fr_ca" | "fr_lu" | "fr" | "fr_ch" | "gd" | "de_at" | "de_li" | "de_lu" | "de" | "de_ch" | "el" | "he" | "hi" | "hu" | "is" | "ga" | "it" | "it_ch" | "ja" | "ko" | "ku" | "lv" | "lt" | "mk" | "ml" | "ms" | "mt" | "no" | "nb" | "nn" | "pl" | "pt_br" | "pt" | "pa" | "rm" | "ro" | "ro_md" | "ru" | "ru_md" | "sr" | "sk" | "sl" | "sb" | "es_ar" | "es_bo" | "es_cl" | "es_co" | "es_cr" | "es_do" | "es_ec" | "es_sv" | "es_gt" | "es_hn" | "es_mx" | "es" | "sv" | "sv_fi" | "th" | "tr" | "uk" | "ur" | "vi" | "cy" | "ji" | "zu";
164
- title?: string | undefined;
165
- }, {
166
- locale: "id" | "af" | "sq" | "ar_dz" | "ar_bh" | "ar_eg" | "ar_iq" | "ar_jo" | "ar_kw" | "ar_lb" | "ar_ly" | "ar_ma" | "ar_om" | "ar_qa" | "ar_sa" | "ar_sy" | "ar_tn" | "ar_ae" | "ar_ye" | "eu" | "be" | "bg" | "ca" | "zh_hk" | "zh_cn" | "zh_sg" | "zh_tw" | "hr" | "cs" | "da" | "nl_be" | "nl" | "en" | "en_au" | "en_bz" | "en_ca" | "en_ie" | "en_jm" | "en_nz" | "en_za" | "en_tt" | "en_gb" | "en_us" | "et" | "fo" | "fa" | "fi" | "fr_be" | "fr_ca" | "fr_lu" | "fr" | "fr_ch" | "gd" | "de_at" | "de_li" | "de_lu" | "de" | "de_ch" | "el" | "he" | "hi" | "hu" | "is" | "ga" | "it" | "it_ch" | "ja" | "ko" | "ku" | "lv" | "lt" | "mk" | "ml" | "ms" | "mt" | "no" | "nb" | "nn" | "pl" | "pt_br" | "pt" | "pa" | "rm" | "ro" | "ro_md" | "ru" | "ru_md" | "sr" | "sk" | "sl" | "sb" | "es_ar" | "es_bo" | "es_cl" | "es_co" | "es_cr" | "es_do" | "es_ec" | "es_sv" | "es_gt" | "es_hn" | "es_mx" | "es" | "sv" | "sv_fi" | "th" | "tr" | "uk" | "ur" | "vi" | "cy" | "ji" | "zu";
167
- title?: string | undefined;
168
- }>, "many">;
169
- }, "strip", import("zod").ZodTypeAny, {
170
- translations: {
171
- locale: "id" | "af" | "sq" | "ar_dz" | "ar_bh" | "ar_eg" | "ar_iq" | "ar_jo" | "ar_kw" | "ar_lb" | "ar_ly" | "ar_ma" | "ar_om" | "ar_qa" | "ar_sa" | "ar_sy" | "ar_tn" | "ar_ae" | "ar_ye" | "eu" | "be" | "bg" | "ca" | "zh_hk" | "zh_cn" | "zh_sg" | "zh_tw" | "hr" | "cs" | "da" | "nl_be" | "nl" | "en" | "en_au" | "en_bz" | "en_ca" | "en_ie" | "en_jm" | "en_nz" | "en_za" | "en_tt" | "en_gb" | "en_us" | "et" | "fo" | "fa" | "fi" | "fr_be" | "fr_ca" | "fr_lu" | "fr" | "fr_ch" | "gd" | "de_at" | "de_li" | "de_lu" | "de" | "de_ch" | "el" | "he" | "hi" | "hu" | "is" | "ga" | "it" | "it_ch" | "ja" | "ko" | "ku" | "lv" | "lt" | "mk" | "ml" | "ms" | "mt" | "no" | "nb" | "nn" | "pl" | "pt_br" | "pt" | "pa" | "rm" | "ro" | "ro_md" | "ru" | "ru_md" | "sr" | "sk" | "sl" | "sb" | "es_ar" | "es_bo" | "es_cl" | "es_co" | "es_cr" | "es_do" | "es_ec" | "es_sv" | "es_gt" | "es_hn" | "es_mx" | "es" | "sv" | "sv_fi" | "th" | "tr" | "uk" | "ur" | "vi" | "cy" | "ji" | "zu";
172
- title?: string | undefined;
173
- }[];
174
- id: string;
175
- selectMin: number;
176
- selectMax: number;
177
- defaultLocale?: "id" | "af" | "sq" | "ar_dz" | "ar_bh" | "ar_eg" | "ar_iq" | "ar_jo" | "ar_kw" | "ar_lb" | "ar_ly" | "ar_ma" | "ar_om" | "ar_qa" | "ar_sa" | "ar_sy" | "ar_tn" | "ar_ae" | "ar_ye" | "eu" | "be" | "bg" | "ca" | "zh_hk" | "zh_cn" | "zh_sg" | "zh_tw" | "hr" | "cs" | "da" | "nl_be" | "nl" | "en" | "en_au" | "en_bz" | "en_ca" | "en_ie" | "en_jm" | "en_nz" | "en_za" | "en_tt" | "en_gb" | "en_us" | "et" | "fo" | "fa" | "fi" | "fr_be" | "fr_ca" | "fr_lu" | "fr" | "fr_ch" | "gd" | "de_at" | "de_li" | "de_lu" | "de" | "de_ch" | "el" | "he" | "hi" | "hu" | "is" | "ga" | "it" | "it_ch" | "ja" | "ko" | "ku" | "lv" | "lt" | "mk" | "ml" | "ms" | "mt" | "no" | "nb" | "nn" | "pl" | "pt_br" | "pt" | "pa" | "rm" | "ro" | "ro_md" | "ru" | "ru_md" | "sr" | "sk" | "sl" | "sb" | "es_ar" | "es_bo" | "es_cl" | "es_co" | "es_cr" | "es_do" | "es_ec" | "es_sv" | "es_gt" | "es_hn" | "es_mx" | "es" | "sv" | "sv_fi" | "th" | "tr" | "uk" | "ur" | "vi" | "cy" | "ji" | "zu" | undefined;
178
- modifiers?: {
179
- title: string;
180
- price: number;
181
- id?: string | undefined;
182
- sku?: string | undefined;
183
- }[] | undefined;
184
- }, {
185
- translations: {
186
- locale: "id" | "af" | "sq" | "ar_dz" | "ar_bh" | "ar_eg" | "ar_iq" | "ar_jo" | "ar_kw" | "ar_lb" | "ar_ly" | "ar_ma" | "ar_om" | "ar_qa" | "ar_sa" | "ar_sy" | "ar_tn" | "ar_ae" | "ar_ye" | "eu" | "be" | "bg" | "ca" | "zh_hk" | "zh_cn" | "zh_sg" | "zh_tw" | "hr" | "cs" | "da" | "nl_be" | "nl" | "en" | "en_au" | "en_bz" | "en_ca" | "en_ie" | "en_jm" | "en_nz" | "en_za" | "en_tt" | "en_gb" | "en_us" | "et" | "fo" | "fa" | "fi" | "fr_be" | "fr_ca" | "fr_lu" | "fr" | "fr_ch" | "gd" | "de_at" | "de_li" | "de_lu" | "de" | "de_ch" | "el" | "he" | "hi" | "hu" | "is" | "ga" | "it" | "it_ch" | "ja" | "ko" | "ku" | "lv" | "lt" | "mk" | "ml" | "ms" | "mt" | "no" | "nb" | "nn" | "pl" | "pt_br" | "pt" | "pa" | "rm" | "ro" | "ro_md" | "ru" | "ru_md" | "sr" | "sk" | "sl" | "sb" | "es_ar" | "es_bo" | "es_cl" | "es_co" | "es_cr" | "es_do" | "es_ec" | "es_sv" | "es_gt" | "es_hn" | "es_mx" | "es" | "sv" | "sv_fi" | "th" | "tr" | "uk" | "ur" | "vi" | "cy" | "ji" | "zu";
187
- title?: string | undefined;
188
- }[];
189
- id: string;
190
- selectMin: number;
191
- selectMax: number;
192
- defaultLocale?: "id" | "af" | "sq" | "ar_dz" | "ar_bh" | "ar_eg" | "ar_iq" | "ar_jo" | "ar_kw" | "ar_lb" | "ar_ly" | "ar_ma" | "ar_om" | "ar_qa" | "ar_sa" | "ar_sy" | "ar_tn" | "ar_ae" | "ar_ye" | "eu" | "be" | "bg" | "ca" | "zh_hk" | "zh_cn" | "zh_sg" | "zh_tw" | "hr" | "cs" | "da" | "nl_be" | "nl" | "en" | "en_au" | "en_bz" | "en_ca" | "en_ie" | "en_jm" | "en_nz" | "en_za" | "en_tt" | "en_gb" | "en_us" | "et" | "fo" | "fa" | "fi" | "fr_be" | "fr_ca" | "fr_lu" | "fr" | "fr_ch" | "gd" | "de_at" | "de_li" | "de_lu" | "de" | "de_ch" | "el" | "he" | "hi" | "hu" | "is" | "ga" | "it" | "it_ch" | "ja" | "ko" | "ku" | "lv" | "lt" | "mk" | "ml" | "ms" | "mt" | "no" | "nb" | "nn" | "pl" | "pt_br" | "pt" | "pa" | "rm" | "ro" | "ro_md" | "ru" | "ru_md" | "sr" | "sk" | "sl" | "sb" | "es_ar" | "es_bo" | "es_cl" | "es_co" | "es_cr" | "es_do" | "es_ec" | "es_sv" | "es_gt" | "es_hn" | "es_mx" | "es" | "sv" | "sv_fi" | "th" | "tr" | "uk" | "ur" | "vi" | "cy" | "ji" | "zu" | undefined;
193
- modifiers?: {
194
- title: string;
195
- id?: string | undefined;
196
- sku?: string | undefined;
197
- price?: number | undefined;
198
- }[] | undefined;
199
- }>, "many">>;
200
- categories: import("zod").ZodArray<import("zod").ZodObject<{
201
- id: import("zod").ZodString;
202
- slug: import("zod").ZodString;
203
- image: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
204
- id: import("zod").ZodString;
205
- url: import("zod").ZodString;
206
- mimeType: import("zod").ZodString;
207
- size: import("zod").ZodNumber;
208
- filename: import("zod").ZodString;
209
- }, "strip", import("zod").ZodTypeAny, {
210
- id: string;
211
- mimeType: string;
212
- size: number;
213
- filename: string;
214
- url: string;
215
- }, {
216
- id: string;
217
- mimeType: string;
218
- size: number;
219
- filename: string;
220
- url: string;
221
- }>>>;
222
- createdAt: import("zod").ZodDate;
223
- publishedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
224
- translations: import("zod").ZodArray<import("zod").ZodObject<{
225
- locale: import("zod").ZodString;
226
- title: import("zod").ZodDefault<import("zod").ZodString>;
227
- description: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodString>>>;
228
- }, "strip", import("zod").ZodTypeAny, {
229
- locale: string;
230
- title: string;
231
- description?: string | null | undefined;
232
- }, {
233
- locale: string;
234
- title?: string | undefined;
235
- description?: string | null | undefined;
236
- }>, "many">;
237
- }, "strip", import("zod").ZodTypeAny, {
238
- translations: {
239
- locale: string;
240
- title: string;
241
- description?: string | null | undefined;
242
- }[];
243
- id: string;
244
- slug: string;
245
- createdAt: Date;
246
- image?: {
247
- id: string;
248
- mimeType: string;
249
- size: number;
250
- filename: string;
251
- url: string;
252
- } | null | undefined;
253
- publishedAt?: Date | null | undefined;
254
- }, {
255
- translations: {
256
- locale: string;
257
- title?: string | undefined;
258
- description?: string | null | undefined;
259
- }[];
260
- id: string;
261
- slug: string;
262
- createdAt: Date;
263
- image?: {
264
- id: string;
265
- mimeType: string;
266
- size: number;
267
- filename: string;
268
- url: string;
269
- } | null | undefined;
270
- publishedAt?: Date | null | undefined;
271
- }>, "many">;
272
138
  manufacturerId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
273
139
  createdAt: import("zod").ZodDate;
274
140
  publishedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
@@ -285,10 +151,10 @@ export declare const buildCartRouter: (prisma: PrismaClientType) => import("@ts-
285
151
  title?: string | undefined;
286
152
  description?: string | null | undefined;
287
153
  }>, "many">>;
288
- }, {
154
+ } & {
289
155
  title: import("zod").ZodDefault<import("zod").ZodString>;
290
156
  description: import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodString>>;
291
- modifierGroups: import("zod").ZodArray<import("zod").ZodObject<Omit<import("zod").objectUtil.extendShape<{
157
+ modifierGroups: import("zod").ZodArray<import("zod").ZodObject<Omit<{
292
158
  id: import("zod").ZodString;
293
159
  selectMin: import("zod").ZodNumber;
294
160
  selectMax: import("zod").ZodNumber;
@@ -319,9 +185,9 @@ export declare const buildCartRouter: (prisma: PrismaClientType) => import("@ts-
319
185
  locale: "id" | "af" | "sq" | "ar_dz" | "ar_bh" | "ar_eg" | "ar_iq" | "ar_jo" | "ar_kw" | "ar_lb" | "ar_ly" | "ar_ma" | "ar_om" | "ar_qa" | "ar_sa" | "ar_sy" | "ar_tn" | "ar_ae" | "ar_ye" | "eu" | "be" | "bg" | "ca" | "zh_hk" | "zh_cn" | "zh_sg" | "zh_tw" | "hr" | "cs" | "da" | "nl_be" | "nl" | "en" | "en_au" | "en_bz" | "en_ca" | "en_ie" | "en_jm" | "en_nz" | "en_za" | "en_tt" | "en_gb" | "en_us" | "et" | "fo" | "fa" | "fi" | "fr_be" | "fr_ca" | "fr_lu" | "fr" | "fr_ch" | "gd" | "de_at" | "de_li" | "de_lu" | "de" | "de_ch" | "el" | "he" | "hi" | "hu" | "is" | "ga" | "it" | "it_ch" | "ja" | "ko" | "ku" | "lv" | "lt" | "mk" | "ml" | "ms" | "mt" | "no" | "nb" | "nn" | "pl" | "pt_br" | "pt" | "pa" | "rm" | "ro" | "ro_md" | "ru" | "ru_md" | "sr" | "sk" | "sl" | "sb" | "es_ar" | "es_bo" | "es_cl" | "es_co" | "es_cr" | "es_do" | "es_ec" | "es_sv" | "es_gt" | "es_hn" | "es_mx" | "es" | "sv" | "sv_fi" | "th" | "tr" | "uk" | "ur" | "vi" | "cy" | "ji" | "zu";
320
186
  title?: string | undefined;
321
187
  }>, "many">;
322
- }, {
188
+ } & {
323
189
  title: import("zod").ZodNullable<import("zod").ZodDefault<import("zod").ZodString>>;
324
- }>, "translations">, "strip", import("zod").ZodTypeAny, {
190
+ }, "translations">, "strip", import("zod").ZodTypeAny, {
325
191
  id: string;
326
192
  title: string | null;
327
193
  selectMin: number;
@@ -353,7 +219,7 @@ export declare const buildCartRouter: (prisma: PrismaClientType) => import("@ts-
353
219
  }, {
354
220
  id: string;
355
221
  }>, "many">>;
356
- }>, "translations">, "strip", import("zod").ZodTypeAny, {
222
+ }, "translations">, "strip", import("zod").ZodTypeAny, {
357
223
  id: string;
358
224
  createdAt: Date;
359
225
  title: string;
@@ -131,7 +131,7 @@ export declare const buildManufacturerRouter: (prisma: PrismaClientType) => impo
131
131
  filename: string;
132
132
  url: string;
133
133
  } | null | undefined;
134
- }>, import("zod").ZodObject<import("zod").objectUtil.extendShape<Omit<{
134
+ }>, import("zod").ZodObject<Omit<{
135
135
  id: import("zod").ZodString;
136
136
  name: import("zod").ZodString;
137
137
  logo: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
@@ -164,9 +164,9 @@ export declare const buildManufacturerRouter: (prisma: PrismaClientType) => impo
164
164
  locale: string;
165
165
  about?: string | null | undefined;
166
166
  }>, "many">>;
167
- }, "translations">, {
167
+ }, "translations"> & {
168
168
  about: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>>;
169
- }>, "strip", import("zod").ZodTypeAny, {
169
+ }, "strip", import("zod").ZodTypeAny, {
170
170
  id: string;
171
171
  createdAt: Date;
172
172
  name: string;
@@ -505,11 +505,11 @@ export declare const buildManufacturerRouter: (prisma: PrismaClientType) => impo
505
505
  };
506
506
  getManufacturer: {
507
507
  method: "GET";
508
- pathParams: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
508
+ pathParams: import("zod").ZodObject<{
509
509
  organizationId: import("zod").ZodString;
510
- }, {
510
+ } & {
511
511
  id: import("zod").ZodString;
512
- }>, "strip", import("zod").ZodTypeAny, {
512
+ }, "strip", import("zod").ZodTypeAny, {
513
513
  id: string;
514
514
  organizationId: string;
515
515
  }, {
@@ -599,7 +599,7 @@ export declare const buildManufacturerRouter: (prisma: PrismaClientType) => impo
599
599
  filename: string;
600
600
  url: string;
601
601
  } | null | undefined;
602
- }>, import("zod").ZodObject<import("zod").objectUtil.extendShape<Omit<{
602
+ }>, import("zod").ZodObject<Omit<{
603
603
  id: import("zod").ZodString;
604
604
  name: import("zod").ZodString;
605
605
  logo: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
@@ -632,9 +632,9 @@ export declare const buildManufacturerRouter: (prisma: PrismaClientType) => impo
632
632
  locale: string;
633
633
  about?: string | null | undefined;
634
634
  }>, "many">>;
635
- }, "translations">, {
635
+ }, "translations"> & {
636
636
  about: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>>;
637
- }>, "strip", import("zod").ZodTypeAny, {
637
+ }, "strip", import("zod").ZodTypeAny, {
638
638
  id: string;
639
639
  createdAt: Date;
640
640
  name: string;
@@ -684,11 +684,11 @@ export declare const buildManufacturerRouter: (prisma: PrismaClientType) => impo
684
684
  updateManufacturer: {
685
685
  description: "Updates an existing manufacturer";
686
686
  method: "PUT";
687
- pathParams: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
687
+ pathParams: import("zod").ZodObject<{
688
688
  organizationId: import("zod").ZodString;
689
- }, {
689
+ } & {
690
690
  id: import("zod").ZodString;
691
- }>, "strip", import("zod").ZodTypeAny, {
691
+ }, "strip", import("zod").ZodTypeAny, {
692
692
  id: string;
693
693
  organizationId: string;
694
694
  }, {
@@ -871,11 +871,11 @@ export declare const buildManufacturerRouter: (prisma: PrismaClientType) => impo
871
871
  deleteManufacturer: {
872
872
  description: "Soft deletes a manufacturer";
873
873
  method: "DELETE";
874
- pathParams: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
874
+ pathParams: import("zod").ZodObject<{
875
875
  organizationId: import("zod").ZodString;
876
- }, {
876
+ } & {
877
877
  id: import("zod").ZodString;
878
- }>, "strip", import("zod").ZodTypeAny, {
878
+ }, "strip", import("zod").ZodTypeAny, {
879
879
  id: string;
880
880
  organizationId: string;
881
881
  }, {
@@ -1079,7 +1079,7 @@ export declare const buildOrderRouter: (prisma: PrismaClientType, options: Payme
1079
1079
  organizationId: string;
1080
1080
  }>;
1081
1081
  summary: "Create Order";
1082
- body: import("zod").ZodEffects<import("zod").ZodObject<import("zod").objectUtil.extendShape<{
1082
+ body: import("zod").ZodEffects<import("zod").ZodObject<{
1083
1083
  items: import("zod").ZodArray<import("zod").ZodObject<{
1084
1084
  productId: import("zod").ZodString;
1085
1085
  quantity: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
@@ -1130,7 +1130,7 @@ export declare const buildOrderRouter: (prisma: PrismaClientType, options: Payme
1130
1130
  quantity?: number | undefined;
1131
1131
  }>, "many">;
1132
1132
  shippingMethodId: import("zod").ZodOptional<import("zod").ZodString>;
1133
- }, {
1133
+ } & {
1134
1134
  fulfilmentMethod: import("zod").ZodDefault<import("zod").ZodEnum<["delivery", "pickup"]>>;
1135
1135
  payment: import("zod").ZodObject<{
1136
1136
  provider: import("zod").ZodEnum<["stripe", "revolut", "payu", "not_applicable"]>;
@@ -1143,7 +1143,7 @@ export declare const buildOrderRouter: (prisma: PrismaClientType, options: Payme
1143
1143
  method: "card" | "blik" | "cash_on_delivery" | "paypal";
1144
1144
  }>;
1145
1145
  checkoutBaseUrl: import("zod").ZodString;
1146
- }>, "strip", import("zod").ZodTypeAny, {
1146
+ }, "strip", import("zod").ZodTypeAny, {
1147
1147
  items: {
1148
1148
  modifierGroups: {
1149
1149
  id: string;
@@ -2226,11 +2226,11 @@ export declare const buildOrderRouter: (prisma: PrismaClientType, options: Payme
2226
2226
  };
2227
2227
  getOrder: {
2228
2228
  method: "GET";
2229
- pathParams: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
2229
+ pathParams: import("zod").ZodObject<{
2230
2230
  organizationId: import("zod").ZodString;
2231
- }, {
2231
+ } & {
2232
2232
  id: import("zod").ZodString;
2233
- }>, "strip", import("zod").ZodTypeAny, {
2233
+ }, "strip", import("zod").ZodTypeAny, {
2234
2234
  id: string;
2235
2235
  organizationId: string;
2236
2236
  }, {
@@ -3031,13 +3031,13 @@ export declare const buildOrderRouter: (prisma: PrismaClientType, options: Payme
3031
3031
  updateStatus: {
3032
3032
  description: "Changes the status of an existing order based on the operation";
3033
3033
  method: "POST";
3034
- pathParams: import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
3034
+ pathParams: import("zod").ZodObject<{
3035
3035
  organizationId: import("zod").ZodString;
3036
- }, {
3036
+ } & {
3037
3037
  id: import("zod").ZodString;
3038
- }>, {
3038
+ } & {
3039
3039
  operation: import("zod").ZodEnum<["draft", "pending", "accepted", "ready-for-dispatch", "dispatched", "completed", "cancelled"]>;
3040
- }>, "strip", import("zod").ZodTypeAny, {
3040
+ }, "strip", import("zod").ZodTypeAny, {
3041
3041
  id: string;
3042
3042
  organizationId: string;
3043
3043
  operation: "pending" | "draft" | "accepted" | "ready-for-dispatch" | "dispatched" | "completed" | "cancelled";
@@ -3851,11 +3851,11 @@ export declare const buildOrderRouter: (prisma: PrismaClientType, options: Payme
3851
3851
  deleteOrder: {
3852
3852
  description: "Soft deletes order";
3853
3853
  method: "DELETE";
3854
- pathParams: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
3854
+ pathParams: import("zod").ZodObject<{
3855
3855
  organizationId: import("zod").ZodString;
3856
- }, {
3856
+ } & {
3857
3857
  id: import("zod").ZodString;
3858
- }>, "strip", import("zod").ZodTypeAny, {
3858
+ }, "strip", import("zod").ZodTypeAny, {
3859
3859
  id: string;
3860
3860
  organizationId: string;
3861
3861
  }, {
@@ -915,7 +915,7 @@ export declare const buildOrganizationRouter: (prisma: PrismaClientType, googleM
915
915
  description: "Creates a new organization";
916
916
  method: "POST";
917
917
  summary: "Create Organization";
918
- body: import("zod").ZodObject<import("zod").objectUtil.extendShape<Pick<{
918
+ body: import("zod").ZodObject<Pick<{
919
919
  id: import("zod").ZodString;
920
920
  name: import("zod").ZodString;
921
921
  phone: import("zod").ZodString;
@@ -1117,7 +1117,7 @@ export declare const buildOrganizationRouter: (prisma: PrismaClientType, googleM
1117
1117
  filename: string;
1118
1118
  url: string;
1119
1119
  }>>>;
1120
- }, "email" | "name" | "phone" | "logoFile">, {
1120
+ }, "email" | "name" | "phone" | "logoFile"> & {
1121
1121
  logoId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
1122
1122
  address: import("zod").ZodObject<Pick<{
1123
1123
  id: import("zod").ZodString;
@@ -1149,7 +1149,7 @@ export declare const buildOrganizationRouter: (prisma: PrismaClientType, googleM
1149
1149
  addressLineTwo?: string | null | undefined;
1150
1150
  zipCode?: string | undefined;
1151
1151
  }>;
1152
- }>, "strip", import("zod").ZodTypeAny, {
1152
+ }, "strip", import("zod").ZodTypeAny, {
1153
1153
  name: string;
1154
1154
  phone: string;
1155
1155
  address: {
@@ -139,7 +139,7 @@ export declare const buildProductCategoryRouter: (prisma: PrismaClientType) => i
139
139
  url: string;
140
140
  } | null | undefined;
141
141
  publishedAt?: Date | null | undefined;
142
- }>, import("zod").ZodObject<import("zod").objectUtil.extendShape<Omit<{
142
+ }>, import("zod").ZodObject<Omit<{
143
143
  id: import("zod").ZodString;
144
144
  slug: import("zod").ZodString;
145
145
  image: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
@@ -176,10 +176,10 @@ export declare const buildProductCategoryRouter: (prisma: PrismaClientType) => i
176
176
  title?: string | undefined;
177
177
  description?: string | null | undefined;
178
178
  }>, "many">;
179
- }, "translations">, {
179
+ }, "translations"> & {
180
180
  title: import("zod").ZodDefault<import("zod").ZodString>;
181
181
  description: import("zod").ZodDefault<import("zod").ZodString>;
182
- }>, "strip", import("zod").ZodTypeAny, {
182
+ }, "strip", import("zod").ZodTypeAny, {
183
183
  id: string;
184
184
  slug: string;
185
185
  createdAt: Date;
@@ -326,7 +326,7 @@ export declare const buildProductCategoryRouter: (prisma: PrismaClientType) => i
326
326
  organizationId: string;
327
327
  }>;
328
328
  summary: "Create Product Category";
329
- body: import("zod").ZodEffects<import("zod").ZodObject<import("zod").objectUtil.extendShape<Pick<{
329
+ body: import("zod").ZodEffects<import("zod").ZodObject<Pick<{
330
330
  id: import("zod").ZodString;
331
331
  slug: import("zod").ZodString;
332
332
  image: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
@@ -363,10 +363,10 @@ export declare const buildProductCategoryRouter: (prisma: PrismaClientType) => i
363
363
  title?: string | undefined;
364
364
  description?: string | null | undefined;
365
365
  }>, "many">;
366
- }, "translations" | "slug" | "image">, {
366
+ }, "translations" | "slug" | "image"> & {
367
367
  defaultLocale: import("zod").ZodString;
368
368
  imageId: import("zod").ZodOptional<import("zod").ZodString>;
369
- }>, "strip", import("zod").ZodTypeAny, {
369
+ }, "strip", import("zod").ZodTypeAny, {
370
370
  translations: {
371
371
  locale: string;
372
372
  title: string;
@@ -550,11 +550,11 @@ export declare const buildProductCategoryRouter: (prisma: PrismaClientType) => i
550
550
  getProductCategory: {
551
551
  description: "Fetches a specific product category by ID";
552
552
  method: "GET";
553
- pathParams: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
553
+ pathParams: import("zod").ZodObject<{
554
554
  organizationId: import("zod").ZodString;
555
- }, {
555
+ } & {
556
556
  id: import("zod").ZodString;
557
- }>, "strip", import("zod").ZodTypeAny, {
557
+ }, "strip", import("zod").ZodTypeAny, {
558
558
  id: string;
559
559
  organizationId: string;
560
560
  }, {
@@ -652,7 +652,7 @@ export declare const buildProductCategoryRouter: (prisma: PrismaClientType) => i
652
652
  url: string;
653
653
  } | null | undefined;
654
654
  publishedAt?: Date | null | undefined;
655
- }>, import("zod").ZodObject<import("zod").objectUtil.extendShape<Omit<{
655
+ }>, import("zod").ZodObject<Omit<{
656
656
  id: import("zod").ZodString;
657
657
  slug: import("zod").ZodString;
658
658
  image: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
@@ -689,10 +689,10 @@ export declare const buildProductCategoryRouter: (prisma: PrismaClientType) => i
689
689
  title?: string | undefined;
690
690
  description?: string | null | undefined;
691
691
  }>, "many">;
692
- }, "translations">, {
692
+ }, "translations"> & {
693
693
  title: import("zod").ZodDefault<import("zod").ZodString>;
694
694
  description: import("zod").ZodDefault<import("zod").ZodString>;
695
- }>, "strip", import("zod").ZodTypeAny, {
695
+ }, "strip", import("zod").ZodTypeAny, {
696
696
  id: string;
697
697
  slug: string;
698
698
  createdAt: Date;
@@ -746,11 +746,11 @@ export declare const buildProductCategoryRouter: (prisma: PrismaClientType) => i
746
746
  updateProductCategory: {
747
747
  description: "Updates a specific product category by ID";
748
748
  method: "PATCH";
749
- pathParams: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
749
+ pathParams: import("zod").ZodObject<{
750
750
  organizationId: import("zod").ZodString;
751
- }, {
751
+ } & {
752
752
  id: import("zod").ZodString;
753
- }>, "strip", import("zod").ZodTypeAny, {
753
+ }, "strip", import("zod").ZodTypeAny, {
754
754
  id: string;
755
755
  organizationId: string;
756
756
  }, {
@@ -1112,11 +1112,11 @@ export declare const buildProductCategoryRouter: (prisma: PrismaClientType) => i
1112
1112
  deleteProductCategory: {
1113
1113
  description: "Deletes a specific product category by ID";
1114
1114
  method: "DELETE";
1115
- pathParams: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
1115
+ pathParams: import("zod").ZodObject<{
1116
1116
  organizationId: import("zod").ZodString;
1117
- }, {
1117
+ } & {
1118
1118
  id: import("zod").ZodString;
1119
- }>, "strip", import("zod").ZodTypeAny, {
1119
+ }, "strip", import("zod").ZodTypeAny, {
1120
1120
  id: string;
1121
1121
  organizationId: string;
1122
1122
  }, {