ce-storefront 0.3.6 → 0.3.7
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.
- package/esm/lib/config.d.ts +2 -2
- package/esm/lib/config.js +2 -2
- package/esm/models/components/bundleproduct.d.ts +236 -0
- package/esm/models/components/bundleproduct.d.ts.map +1 -0
- package/esm/models/components/bundleproduct.js +262 -0
- package/esm/models/components/bundleproduct.js.map +1 -0
- package/esm/models/components/bundleproductdetail.d.ts +265 -0
- package/esm/models/components/bundleproductdetail.d.ts.map +1 -0
- package/esm/models/components/bundleproductdetail.js +288 -0
- package/esm/models/components/bundleproductdetail.js.map +1 -0
- package/esm/models/components/index.d.ts +4 -1
- package/esm/models/components/index.d.ts.map +1 -1
- package/esm/models/components/index.js +4 -1
- package/esm/models/components/index.js.map +1 -1
- package/esm/models/components/productdetail.d.ts +16 -86
- package/esm/models/components/productdetail.d.ts.map +1 -1
- package/esm/models/components/productdetail.js +20 -88
- package/esm/models/components/productdetail.js.map +1 -1
- package/esm/models/components/productlistresponse.d.ts +30 -5
- package/esm/models/components/productlistresponse.d.ts.map +1 -1
- package/esm/models/components/productlistresponse.js +46 -5
- package/esm/models/components/productlistresponse.js.map +1 -1
- package/esm/models/components/productshipping.d.ts +13 -13
- package/esm/models/components/productshipping.d.ts.map +1 -1
- package/esm/models/components/productshipping.js +14 -14
- package/esm/models/components/productshipping.js.map +1 -1
- package/esm/models/components/{product.d.ts → singleproduct.d.ts} +29 -14
- package/esm/models/components/singleproduct.d.ts.map +1 -0
- package/esm/models/components/{product.js → singleproduct.js} +15 -16
- package/esm/models/components/singleproduct.js.map +1 -0
- package/esm/models/components/singleproductdetail.d.ts +159 -0
- package/esm/models/components/singleproductdetail.d.ts.map +1 -0
- package/esm/models/components/singleproductdetail.js +156 -0
- package/esm/models/components/singleproductdetail.js.map +1 -0
- package/esm/models/components/sku.d.ts +7 -4
- package/esm/models/components/sku.d.ts.map +1 -1
- package/esm/models/components/sku.js +6 -4
- package/esm/models/components/sku.js.map +1 -1
- package/esm/models/components/variant.d.ts +39 -30
- package/esm/models/components/variant.d.ts.map +1 -1
- package/esm/models/components/variant.js +38 -31
- package/esm/models/components/variant.js.map +1 -1
- package/esm/models/components/variantdetail.d.ts +89 -27
- package/esm/models/components/variantdetail.d.ts.map +1 -1
- package/esm/models/components/variantdetail.js +93 -28
- package/esm/models/components/variantdetail.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/lib/config.ts +2 -2
- package/src/models/components/bundleproduct.ts +501 -0
- package/src/models/components/bundleproductdetail.ts +567 -0
- package/src/models/components/index.ts +4 -1
- package/src/models/components/productdetail.ts +50 -198
- package/src/models/components/productlistresponse.ts +105 -13
- package/src/models/components/productshipping.ts +27 -27
- package/src/models/components/{product.ts → singleproduct.ts} +75 -58
- package/src/models/components/singleproductdetail.ts +339 -0
- package/src/models/components/sku.ts +16 -8
- package/src/models/components/variant.ts +75 -59
- package/src/models/components/variantdetail.ts +168 -55
- package/esm/models/components/product.d.ts.map +0 -1
- package/esm/models/components/product.js.map +0 -1
|
@@ -31,12 +31,6 @@ import {
|
|
|
31
31
|
ProductPromotion$Outbound,
|
|
32
32
|
ProductPromotion$outboundSchema,
|
|
33
33
|
} from "./productpromotion.js";
|
|
34
|
-
import {
|
|
35
|
-
ProductShipping,
|
|
36
|
-
ProductShipping$inboundSchema,
|
|
37
|
-
ProductShipping$Outbound,
|
|
38
|
-
ProductShipping$outboundSchema,
|
|
39
|
-
} from "./productshipping.js";
|
|
40
34
|
import {
|
|
41
35
|
ProductSubscription,
|
|
42
36
|
ProductSubscription$inboundSchema,
|
|
@@ -48,81 +42,99 @@ export type Variant = {
|
|
|
48
42
|
/**
|
|
49
43
|
* variant id
|
|
50
44
|
*/
|
|
51
|
-
id
|
|
45
|
+
id: string;
|
|
52
46
|
/**
|
|
53
|
-
*
|
|
47
|
+
* product id
|
|
54
48
|
*/
|
|
55
|
-
|
|
49
|
+
productId: string;
|
|
56
50
|
/**
|
|
57
51
|
* variant sku
|
|
58
52
|
*/
|
|
59
53
|
sku?: string | undefined;
|
|
60
54
|
slug?: string | undefined;
|
|
61
|
-
|
|
55
|
+
/**
|
|
56
|
+
* variant name
|
|
57
|
+
*/
|
|
58
|
+
name: string;
|
|
59
|
+
/**
|
|
60
|
+
* variant name
|
|
61
|
+
*/
|
|
62
|
+
productName: string;
|
|
63
|
+
shortDescription: string;
|
|
64
|
+
active: boolean;
|
|
65
|
+
stockAvailable: boolean;
|
|
66
|
+
/**
|
|
67
|
+
* Indicates whether this item is associated with any active (product-specific) coupons
|
|
68
|
+
*/
|
|
69
|
+
onOffer?: boolean | undefined;
|
|
62
70
|
onPromotion?: boolean | undefined;
|
|
63
71
|
onSubscription?: boolean | undefined;
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
isDefault
|
|
72
|
+
/**
|
|
73
|
+
* Indicates whether a variant is marked as the default variant for a product
|
|
74
|
+
*/
|
|
75
|
+
isDefault: boolean;
|
|
76
|
+
associatedOptions: { [k: string]: AssociatedOption };
|
|
68
77
|
images?: Array<ProductImage> | undefined;
|
|
69
|
-
pricing
|
|
78
|
+
pricing: ProductPricing;
|
|
70
79
|
subscription?: Array<ProductSubscription> | undefined;
|
|
71
80
|
promotion?: Array<ProductPromotion> | undefined;
|
|
72
|
-
shipping?: ProductShipping | undefined;
|
|
73
|
-
metadata?: { [k: string]: string } | undefined;
|
|
74
81
|
};
|
|
75
82
|
|
|
76
83
|
/** @internal */
|
|
77
84
|
export const Variant$inboundSchema: z.ZodType<Variant, z.ZodTypeDef, unknown> =
|
|
78
85
|
z.object({
|
|
79
|
-
id: z.string()
|
|
80
|
-
|
|
86
|
+
id: z.string(),
|
|
87
|
+
product_id: z.string(),
|
|
81
88
|
sku: z.string().optional(),
|
|
82
89
|
slug: z.string().optional(),
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
stock_available: z.boolean()
|
|
88
|
-
|
|
89
|
-
|
|
90
|
+
name: z.string(),
|
|
91
|
+
product_name: z.string(),
|
|
92
|
+
short_description: z.string(),
|
|
93
|
+
active: z.boolean(),
|
|
94
|
+
stock_available: z.boolean(),
|
|
95
|
+
on_offer: z.boolean().default(false),
|
|
96
|
+
on_promotion: z.boolean().default(false),
|
|
97
|
+
on_subscription: z.boolean().default(false),
|
|
98
|
+
is_default: z.boolean(),
|
|
99
|
+
associated_options: z.record(AssociatedOption$inboundSchema),
|
|
90
100
|
images: z.array(ProductImage$inboundSchema).optional(),
|
|
91
|
-
pricing: ProductPricing$inboundSchema
|
|
101
|
+
pricing: ProductPricing$inboundSchema,
|
|
92
102
|
subscription: z.array(ProductSubscription$inboundSchema).optional(),
|
|
93
103
|
promotion: z.array(ProductPromotion$inboundSchema).optional(),
|
|
94
|
-
shipping: ProductShipping$inboundSchema.optional(),
|
|
95
|
-
metadata: z.record(z.string()).optional(),
|
|
96
104
|
}).transform((v) => {
|
|
97
105
|
return remap$(v, {
|
|
106
|
+
"product_id": "productId",
|
|
107
|
+
"product_name": "productName",
|
|
108
|
+
"short_description": "shortDescription",
|
|
109
|
+
"stock_available": "stockAvailable",
|
|
110
|
+
"on_offer": "onOffer",
|
|
98
111
|
"on_promotion": "onPromotion",
|
|
99
112
|
"on_subscription": "onSubscription",
|
|
100
|
-
"associated_options": "associatedOptions",
|
|
101
|
-
"stock_available": "stockAvailable",
|
|
102
|
-
"short_description": "shortDescription",
|
|
103
113
|
"is_default": "isDefault",
|
|
114
|
+
"associated_options": "associatedOptions",
|
|
104
115
|
});
|
|
105
116
|
});
|
|
106
117
|
|
|
107
118
|
/** @internal */
|
|
108
119
|
export type Variant$Outbound = {
|
|
109
|
-
id
|
|
110
|
-
|
|
120
|
+
id: string;
|
|
121
|
+
product_id: string;
|
|
111
122
|
sku?: string | undefined;
|
|
112
123
|
slug?: string | undefined;
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
stock_available
|
|
118
|
-
|
|
119
|
-
|
|
124
|
+
name: string;
|
|
125
|
+
product_name: string;
|
|
126
|
+
short_description: string;
|
|
127
|
+
active: boolean;
|
|
128
|
+
stock_available: boolean;
|
|
129
|
+
on_offer: boolean;
|
|
130
|
+
on_promotion: boolean;
|
|
131
|
+
on_subscription: boolean;
|
|
132
|
+
is_default: boolean;
|
|
133
|
+
associated_options: { [k: string]: AssociatedOption$Outbound };
|
|
120
134
|
images?: Array<ProductImage$Outbound> | undefined;
|
|
121
|
-
pricing
|
|
135
|
+
pricing: ProductPricing$Outbound;
|
|
122
136
|
subscription?: Array<ProductSubscription$Outbound> | undefined;
|
|
123
137
|
promotion?: Array<ProductPromotion$Outbound> | undefined;
|
|
124
|
-
shipping?: ProductShipping$Outbound | undefined;
|
|
125
|
-
metadata?: { [k: string]: string } | undefined;
|
|
126
138
|
};
|
|
127
139
|
|
|
128
140
|
/** @internal */
|
|
@@ -131,31 +143,35 @@ export const Variant$outboundSchema: z.ZodType<
|
|
|
131
143
|
z.ZodTypeDef,
|
|
132
144
|
Variant
|
|
133
145
|
> = z.object({
|
|
134
|
-
id: z.string()
|
|
135
|
-
|
|
146
|
+
id: z.string(),
|
|
147
|
+
productId: z.string(),
|
|
136
148
|
sku: z.string().optional(),
|
|
137
149
|
slug: z.string().optional(),
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
stockAvailable: z.boolean()
|
|
143
|
-
|
|
144
|
-
|
|
150
|
+
name: z.string(),
|
|
151
|
+
productName: z.string(),
|
|
152
|
+
shortDescription: z.string(),
|
|
153
|
+
active: z.boolean(),
|
|
154
|
+
stockAvailable: z.boolean(),
|
|
155
|
+
onOffer: z.boolean().default(false),
|
|
156
|
+
onPromotion: z.boolean().default(false),
|
|
157
|
+
onSubscription: z.boolean().default(false),
|
|
158
|
+
isDefault: z.boolean(),
|
|
159
|
+
associatedOptions: z.record(AssociatedOption$outboundSchema),
|
|
145
160
|
images: z.array(ProductImage$outboundSchema).optional(),
|
|
146
|
-
pricing: ProductPricing$outboundSchema
|
|
161
|
+
pricing: ProductPricing$outboundSchema,
|
|
147
162
|
subscription: z.array(ProductSubscription$outboundSchema).optional(),
|
|
148
163
|
promotion: z.array(ProductPromotion$outboundSchema).optional(),
|
|
149
|
-
shipping: ProductShipping$outboundSchema.optional(),
|
|
150
|
-
metadata: z.record(z.string()).optional(),
|
|
151
164
|
}).transform((v) => {
|
|
152
165
|
return remap$(v, {
|
|
166
|
+
productId: "product_id",
|
|
167
|
+
productName: "product_name",
|
|
168
|
+
shortDescription: "short_description",
|
|
169
|
+
stockAvailable: "stock_available",
|
|
170
|
+
onOffer: "on_offer",
|
|
153
171
|
onPromotion: "on_promotion",
|
|
154
172
|
onSubscription: "on_subscription",
|
|
155
|
-
associatedOptions: "associated_options",
|
|
156
|
-
stockAvailable: "stock_available",
|
|
157
|
-
shortDescription: "short_description",
|
|
158
173
|
isDefault: "is_default",
|
|
174
|
+
associatedOptions: "associated_options",
|
|
159
175
|
});
|
|
160
176
|
});
|
|
161
177
|
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
import * as z from "zod";
|
|
6
6
|
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
7
|
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
8
9
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
11
|
import {
|
|
@@ -61,68 +62,135 @@ import {
|
|
|
61
62
|
Seo$Outbound,
|
|
62
63
|
Seo$outboundSchema,
|
|
63
64
|
} from "./seo.js";
|
|
65
|
+
import {
|
|
66
|
+
VariantOption,
|
|
67
|
+
VariantOption$inboundSchema,
|
|
68
|
+
VariantOption$Outbound,
|
|
69
|
+
VariantOption$outboundSchema,
|
|
70
|
+
} from "./variantoption.js";
|
|
71
|
+
|
|
72
|
+
export const VariantDetailProductType = {
|
|
73
|
+
Physical: "physical",
|
|
74
|
+
Digital: "digital",
|
|
75
|
+
Bundle: "bundle",
|
|
76
|
+
} as const;
|
|
77
|
+
export type VariantDetailProductType = ClosedEnum<
|
|
78
|
+
typeof VariantDetailProductType
|
|
79
|
+
>;
|
|
64
80
|
|
|
65
81
|
export type VariantDetail = {
|
|
66
82
|
/**
|
|
67
83
|
* variant id
|
|
68
84
|
*/
|
|
69
|
-
id
|
|
85
|
+
id: string;
|
|
70
86
|
/**
|
|
71
87
|
* product id
|
|
72
88
|
*/
|
|
73
|
-
productId
|
|
89
|
+
productId: string;
|
|
74
90
|
/**
|
|
75
91
|
* variant sku
|
|
76
92
|
*/
|
|
77
93
|
sku?: string | undefined;
|
|
94
|
+
slug?: string | undefined;
|
|
95
|
+
/**
|
|
96
|
+
* variant name
|
|
97
|
+
*/
|
|
98
|
+
name: string;
|
|
78
99
|
/**
|
|
79
100
|
* variant name
|
|
80
101
|
*/
|
|
81
|
-
|
|
102
|
+
productName: string;
|
|
103
|
+
shortDescription: string;
|
|
104
|
+
active: boolean;
|
|
105
|
+
stockAvailable: boolean;
|
|
82
106
|
/**
|
|
83
|
-
* product
|
|
107
|
+
* Indicates whether this item is associated with any active (product-specific) coupons
|
|
84
108
|
*/
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
109
|
+
onOffer?: boolean | undefined;
|
|
110
|
+
onPromotion?: boolean | undefined;
|
|
111
|
+
onSubscription?: boolean | undefined;
|
|
112
|
+
/**
|
|
113
|
+
* Indicates whether a variant is marked as the default variant for a product
|
|
114
|
+
*/
|
|
115
|
+
isDefault: boolean;
|
|
90
116
|
associatedOptions: { [k: string]: AssociatedOption };
|
|
91
|
-
variantAttributes?: Array<ProductAttribute> | null | undefined;
|
|
92
|
-
pricing?: ProductPricing | undefined;
|
|
93
|
-
videos?: Array<ProductVideo> | undefined;
|
|
94
117
|
images?: Array<ProductImage> | undefined;
|
|
95
|
-
|
|
96
|
-
promotion?: Array<ProductPromotion> | undefined;
|
|
118
|
+
pricing: ProductPricing;
|
|
97
119
|
subscription?: Array<ProductSubscription> | undefined;
|
|
120
|
+
promotion?: Array<ProductPromotion> | undefined;
|
|
121
|
+
productType: VariantDetailProductType;
|
|
122
|
+
description?: string | undefined;
|
|
123
|
+
categoryIds?: Array<string> | undefined;
|
|
124
|
+
tags?: Array<string> | null | undefined;
|
|
125
|
+
reviewRatingSum?: number | undefined;
|
|
126
|
+
reviewsCount?: number | undefined;
|
|
127
|
+
hsnCode?: string | undefined;
|
|
128
|
+
variantOptions: Array<VariantOption>;
|
|
129
|
+
productAttributes?: Array<ProductAttribute> | undefined;
|
|
130
|
+
variantAttributes?: Array<ProductAttribute> | undefined;
|
|
131
|
+
videos?: Array<ProductVideo> | undefined;
|
|
132
|
+
shipping?: ProductShipping | null | undefined;
|
|
98
133
|
seo?: Seo | undefined;
|
|
99
134
|
metadata?: { [k: string]: string } | undefined;
|
|
100
135
|
};
|
|
101
136
|
|
|
137
|
+
/** @internal */
|
|
138
|
+
export const VariantDetailProductType$inboundSchema: z.ZodNativeEnum<
|
|
139
|
+
typeof VariantDetailProductType
|
|
140
|
+
> = z.nativeEnum(VariantDetailProductType);
|
|
141
|
+
|
|
142
|
+
/** @internal */
|
|
143
|
+
export const VariantDetailProductType$outboundSchema: z.ZodNativeEnum<
|
|
144
|
+
typeof VariantDetailProductType
|
|
145
|
+
> = VariantDetailProductType$inboundSchema;
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* @internal
|
|
149
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
150
|
+
*/
|
|
151
|
+
export namespace VariantDetailProductType$ {
|
|
152
|
+
/** @deprecated use `VariantDetailProductType$inboundSchema` instead. */
|
|
153
|
+
export const inboundSchema = VariantDetailProductType$inboundSchema;
|
|
154
|
+
/** @deprecated use `VariantDetailProductType$outboundSchema` instead. */
|
|
155
|
+
export const outboundSchema = VariantDetailProductType$outboundSchema;
|
|
156
|
+
}
|
|
157
|
+
|
|
102
158
|
/** @internal */
|
|
103
159
|
export const VariantDetail$inboundSchema: z.ZodType<
|
|
104
160
|
VariantDetail,
|
|
105
161
|
z.ZodTypeDef,
|
|
106
162
|
unknown
|
|
107
163
|
> = z.object({
|
|
108
|
-
id: z.string()
|
|
109
|
-
product_id: z.string()
|
|
164
|
+
id: z.string(),
|
|
165
|
+
product_id: z.string(),
|
|
110
166
|
sku: z.string().optional(),
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
167
|
+
slug: z.string().optional(),
|
|
168
|
+
name: z.string(),
|
|
169
|
+
product_name: z.string(),
|
|
170
|
+
short_description: z.string(),
|
|
171
|
+
active: z.boolean(),
|
|
172
|
+
stock_available: z.boolean(),
|
|
173
|
+
on_offer: z.boolean().default(false),
|
|
174
|
+
on_promotion: z.boolean().default(false),
|
|
175
|
+
on_subscription: z.boolean().default(false),
|
|
176
|
+
is_default: z.boolean(),
|
|
117
177
|
associated_options: z.record(AssociatedOption$inboundSchema),
|
|
118
|
-
variant_attributes: z.nullable(z.array(ProductAttribute$inboundSchema))
|
|
119
|
-
.optional(),
|
|
120
|
-
pricing: ProductPricing$inboundSchema.optional(),
|
|
121
|
-
videos: z.array(ProductVideo$inboundSchema).optional(),
|
|
122
178
|
images: z.array(ProductImage$inboundSchema).optional(),
|
|
123
|
-
|
|
124
|
-
promotion: z.array(ProductPromotion$inboundSchema).optional(),
|
|
179
|
+
pricing: ProductPricing$inboundSchema,
|
|
125
180
|
subscription: z.array(ProductSubscription$inboundSchema).optional(),
|
|
181
|
+
promotion: z.array(ProductPromotion$inboundSchema).optional(),
|
|
182
|
+
product_type: VariantDetailProductType$inboundSchema,
|
|
183
|
+
description: z.string().optional(),
|
|
184
|
+
category_ids: z.array(z.string()).optional(),
|
|
185
|
+
tags: z.nullable(z.array(z.string())).optional(),
|
|
186
|
+
review_rating_sum: z.number().optional(),
|
|
187
|
+
reviews_count: z.number().int().optional(),
|
|
188
|
+
hsn_code: z.string().optional(),
|
|
189
|
+
variant_options: z.array(VariantOption$inboundSchema),
|
|
190
|
+
product_attributes: z.array(ProductAttribute$inboundSchema).optional(),
|
|
191
|
+
variant_attributes: z.array(ProductAttribute$inboundSchema).optional(),
|
|
192
|
+
videos: z.array(ProductVideo$inboundSchema).optional(),
|
|
193
|
+
shipping: z.nullable(ProductShipping$inboundSchema).optional(),
|
|
126
194
|
seo: Seo$inboundSchema.optional(),
|
|
127
195
|
metadata: z.record(z.string()).optional(),
|
|
128
196
|
}).transform((v) => {
|
|
@@ -131,31 +199,54 @@ export const VariantDetail$inboundSchema: z.ZodType<
|
|
|
131
199
|
"product_name": "productName",
|
|
132
200
|
"short_description": "shortDescription",
|
|
133
201
|
"stock_available": "stockAvailable",
|
|
202
|
+
"on_offer": "onOffer",
|
|
203
|
+
"on_promotion": "onPromotion",
|
|
204
|
+
"on_subscription": "onSubscription",
|
|
134
205
|
"is_default": "isDefault",
|
|
135
206
|
"associated_options": "associatedOptions",
|
|
207
|
+
"product_type": "productType",
|
|
208
|
+
"category_ids": "categoryIds",
|
|
209
|
+
"review_rating_sum": "reviewRatingSum",
|
|
210
|
+
"reviews_count": "reviewsCount",
|
|
211
|
+
"hsn_code": "hsnCode",
|
|
212
|
+
"variant_options": "variantOptions",
|
|
213
|
+
"product_attributes": "productAttributes",
|
|
136
214
|
"variant_attributes": "variantAttributes",
|
|
137
215
|
});
|
|
138
216
|
});
|
|
139
217
|
|
|
140
218
|
/** @internal */
|
|
141
219
|
export type VariantDetail$Outbound = {
|
|
142
|
-
id
|
|
143
|
-
product_id
|
|
220
|
+
id: string;
|
|
221
|
+
product_id: string;
|
|
144
222
|
sku?: string | undefined;
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
223
|
+
slug?: string | undefined;
|
|
224
|
+
name: string;
|
|
225
|
+
product_name: string;
|
|
226
|
+
short_description: string;
|
|
227
|
+
active: boolean;
|
|
228
|
+
stock_available: boolean;
|
|
229
|
+
on_offer: boolean;
|
|
230
|
+
on_promotion: boolean;
|
|
231
|
+
on_subscription: boolean;
|
|
232
|
+
is_default: boolean;
|
|
151
233
|
associated_options: { [k: string]: AssociatedOption$Outbound };
|
|
152
|
-
variant_attributes?: Array<ProductAttribute$Outbound> | null | undefined;
|
|
153
|
-
pricing?: ProductPricing$Outbound | undefined;
|
|
154
|
-
videos?: Array<ProductVideo$Outbound> | undefined;
|
|
155
234
|
images?: Array<ProductImage$Outbound> | undefined;
|
|
156
|
-
|
|
157
|
-
promotion?: Array<ProductPromotion$Outbound> | undefined;
|
|
235
|
+
pricing: ProductPricing$Outbound;
|
|
158
236
|
subscription?: Array<ProductSubscription$Outbound> | undefined;
|
|
237
|
+
promotion?: Array<ProductPromotion$Outbound> | undefined;
|
|
238
|
+
product_type: string;
|
|
239
|
+
description?: string | undefined;
|
|
240
|
+
category_ids?: Array<string> | undefined;
|
|
241
|
+
tags?: Array<string> | null | undefined;
|
|
242
|
+
review_rating_sum?: number | undefined;
|
|
243
|
+
reviews_count?: number | undefined;
|
|
244
|
+
hsn_code?: string | undefined;
|
|
245
|
+
variant_options: Array<VariantOption$Outbound>;
|
|
246
|
+
product_attributes?: Array<ProductAttribute$Outbound> | undefined;
|
|
247
|
+
variant_attributes?: Array<ProductAttribute$Outbound> | undefined;
|
|
248
|
+
videos?: Array<ProductVideo$Outbound> | undefined;
|
|
249
|
+
shipping?: ProductShipping$Outbound | null | undefined;
|
|
159
250
|
seo?: Seo$Outbound | undefined;
|
|
160
251
|
metadata?: { [k: string]: string } | undefined;
|
|
161
252
|
};
|
|
@@ -166,24 +257,36 @@ export const VariantDetail$outboundSchema: z.ZodType<
|
|
|
166
257
|
z.ZodTypeDef,
|
|
167
258
|
VariantDetail
|
|
168
259
|
> = z.object({
|
|
169
|
-
id: z.string()
|
|
170
|
-
productId: z.string()
|
|
260
|
+
id: z.string(),
|
|
261
|
+
productId: z.string(),
|
|
171
262
|
sku: z.string().optional(),
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
263
|
+
slug: z.string().optional(),
|
|
264
|
+
name: z.string(),
|
|
265
|
+
productName: z.string(),
|
|
266
|
+
shortDescription: z.string(),
|
|
267
|
+
active: z.boolean(),
|
|
268
|
+
stockAvailable: z.boolean(),
|
|
269
|
+
onOffer: z.boolean().default(false),
|
|
270
|
+
onPromotion: z.boolean().default(false),
|
|
271
|
+
onSubscription: z.boolean().default(false),
|
|
272
|
+
isDefault: z.boolean(),
|
|
178
273
|
associatedOptions: z.record(AssociatedOption$outboundSchema),
|
|
179
|
-
variantAttributes: z.nullable(z.array(ProductAttribute$outboundSchema))
|
|
180
|
-
.optional(),
|
|
181
|
-
pricing: ProductPricing$outboundSchema.optional(),
|
|
182
|
-
videos: z.array(ProductVideo$outboundSchema).optional(),
|
|
183
274
|
images: z.array(ProductImage$outboundSchema).optional(),
|
|
184
|
-
|
|
185
|
-
promotion: z.array(ProductPromotion$outboundSchema).optional(),
|
|
275
|
+
pricing: ProductPricing$outboundSchema,
|
|
186
276
|
subscription: z.array(ProductSubscription$outboundSchema).optional(),
|
|
277
|
+
promotion: z.array(ProductPromotion$outboundSchema).optional(),
|
|
278
|
+
productType: VariantDetailProductType$outboundSchema,
|
|
279
|
+
description: z.string().optional(),
|
|
280
|
+
categoryIds: z.array(z.string()).optional(),
|
|
281
|
+
tags: z.nullable(z.array(z.string())).optional(),
|
|
282
|
+
reviewRatingSum: z.number().optional(),
|
|
283
|
+
reviewsCount: z.number().int().optional(),
|
|
284
|
+
hsnCode: z.string().optional(),
|
|
285
|
+
variantOptions: z.array(VariantOption$outboundSchema),
|
|
286
|
+
productAttributes: z.array(ProductAttribute$outboundSchema).optional(),
|
|
287
|
+
variantAttributes: z.array(ProductAttribute$outboundSchema).optional(),
|
|
288
|
+
videos: z.array(ProductVideo$outboundSchema).optional(),
|
|
289
|
+
shipping: z.nullable(ProductShipping$outboundSchema).optional(),
|
|
187
290
|
seo: Seo$outboundSchema.optional(),
|
|
188
291
|
metadata: z.record(z.string()).optional(),
|
|
189
292
|
}).transform((v) => {
|
|
@@ -192,8 +295,18 @@ export const VariantDetail$outboundSchema: z.ZodType<
|
|
|
192
295
|
productName: "product_name",
|
|
193
296
|
shortDescription: "short_description",
|
|
194
297
|
stockAvailable: "stock_available",
|
|
298
|
+
onOffer: "on_offer",
|
|
299
|
+
onPromotion: "on_promotion",
|
|
300
|
+
onSubscription: "on_subscription",
|
|
195
301
|
isDefault: "is_default",
|
|
196
302
|
associatedOptions: "associated_options",
|
|
303
|
+
productType: "product_type",
|
|
304
|
+
categoryIds: "category_ids",
|
|
305
|
+
reviewRatingSum: "review_rating_sum",
|
|
306
|
+
reviewsCount: "reviews_count",
|
|
307
|
+
hsnCode: "hsn_code",
|
|
308
|
+
variantOptions: "variant_options",
|
|
309
|
+
productAttributes: "product_attributes",
|
|
197
310
|
variantAttributes: "variant_attributes",
|
|
198
311
|
});
|
|
199
312
|
});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"product.d.ts","sourceRoot":"","sources":["../../../src/models/components/product.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,gBAAgB,EAEhB,yBAAyB,EAE1B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,YAAY,EAEZ,qBAAqB,EAEtB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,cAAc,EAEd,uBAAuB,EAExB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,gBAAgB,EAEhB,y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