@loczer/storefront-sdk 0.149.0 → 0.151.0

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.
@@ -216,6 +216,7 @@ export declare const requestSchema: z.ZodObject<{
216
216
  storeSlug: z.ZodString;
217
217
  }, z.core.$strip>;
218
218
  export type RequestPayload = z.infer<typeof requestSchema>;
219
+ export type StorefrontProductsRequestPayload = RequestPayload;
219
220
  export declare const responseSchema: z.ZodObject<{
220
221
  success: z.ZodBoolean;
221
222
  message: z.ZodOptional<z.ZodString>;
@@ -366,4 +367,5 @@ export declare const responseSchema: z.ZodObject<{
366
367
  }, z.core.$strip>>;
367
368
  }, z.core.$strip>;
368
369
  export type ResponsePayload = z.infer<typeof responseSchema>;
370
+ export type StorefrontProductsResponsePayload = ResponsePayload;
369
371
  //# sourceMappingURL=storefrontProducts.d.ts.map
@@ -5,7 +5,7 @@ import { useParams as Ue, useLocation as Ve, useSearchParams as ze, useNavigate
5
5
  import { cn as h } from "@rpcbase/ui";
6
6
  import { Clock as Qe, MapPin as We, CheckCircle2 as Ke, ShieldCheck as Ge, Truck as Je, ArrowRight as j, Bike as de } from "lucide-react";
7
7
  import { useTranslation as Xe } from "react-i18next";
8
- import z from "../assets/playground-hero-preview.svg";
8
+ import z from "../chunks/assets/playground-hero-preview.svg-DNbSwXV5.js";
9
9
  import { getAvailabilityVariant as Ze } from "../lib/utils.js";
10
10
  import { getStorefrontPreset as et } from "../data/config.js";
11
11
  import { getLocalizedValue as A } from "../localization.js";
@@ -73,6 +73,10 @@ export declare const storefrontAvailabilityProductSchema: z.ZodObject<{
73
73
  quantity: z.ZodOptional<z.ZodNumber>;
74
74
  }, z.core.$strip>;
75
75
 
76
+ export declare type StorefrontAvailabilityRequestPayload = RequestPayload;
77
+
78
+ export declare type StorefrontAvailabilityResponsePayload = ResponsePayload;
79
+
76
80
  export declare type StorefrontAvailabilitySchedule = z.infer<typeof storefrontAvailabilityScheduleSchema>;
77
81
 
78
82
  export declare const storefrontAvailabilityScheduleSchema: z.ZodObject<{
@@ -11,4 +11,6 @@ export declare const requestSchema: z.ZodObject<{
11
11
 
12
12
  export declare const ROUTE = "/api/public/storefront/images/get";
13
13
 
14
+ export declare type StorefrontImageRequestPayload = RequestPayload;
15
+
14
16
  export { }
@@ -160,6 +160,10 @@ export declare const responseSchema: z.ZodObject<{
160
160
 
161
161
  export declare const ROUTE = "/api/public/storefront/products";
162
162
 
163
+ export declare type StorefrontProductsRequestPayload = RequestPayload;
164
+
165
+ export declare type StorefrontProductsResponsePayload = ResponsePayload;
166
+
163
167
  export declare type StorefrontPublicAccessoryProduct = z.infer<typeof storefrontPublicAccessoryProductSchema>;
164
168
 
165
169
  export declare const storefrontPublicAccessoryProductSchema: z.ZodObject<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@loczer/storefront-sdk",
3
- "version": "0.149.0",
3
+ "version": "0.151.0",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org/"