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.
Files changed (62) hide show
  1. package/esm/lib/config.d.ts +2 -2
  2. package/esm/lib/config.js +2 -2
  3. package/esm/models/components/bundleproduct.d.ts +236 -0
  4. package/esm/models/components/bundleproduct.d.ts.map +1 -0
  5. package/esm/models/components/bundleproduct.js +262 -0
  6. package/esm/models/components/bundleproduct.js.map +1 -0
  7. package/esm/models/components/bundleproductdetail.d.ts +265 -0
  8. package/esm/models/components/bundleproductdetail.d.ts.map +1 -0
  9. package/esm/models/components/bundleproductdetail.js +288 -0
  10. package/esm/models/components/bundleproductdetail.js.map +1 -0
  11. package/esm/models/components/index.d.ts +4 -1
  12. package/esm/models/components/index.d.ts.map +1 -1
  13. package/esm/models/components/index.js +4 -1
  14. package/esm/models/components/index.js.map +1 -1
  15. package/esm/models/components/productdetail.d.ts +16 -86
  16. package/esm/models/components/productdetail.d.ts.map +1 -1
  17. package/esm/models/components/productdetail.js +20 -88
  18. package/esm/models/components/productdetail.js.map +1 -1
  19. package/esm/models/components/productlistresponse.d.ts +30 -5
  20. package/esm/models/components/productlistresponse.d.ts.map +1 -1
  21. package/esm/models/components/productlistresponse.js +46 -5
  22. package/esm/models/components/productlistresponse.js.map +1 -1
  23. package/esm/models/components/productshipping.d.ts +13 -13
  24. package/esm/models/components/productshipping.d.ts.map +1 -1
  25. package/esm/models/components/productshipping.js +14 -14
  26. package/esm/models/components/productshipping.js.map +1 -1
  27. package/esm/models/components/{product.d.ts → singleproduct.d.ts} +29 -14
  28. package/esm/models/components/singleproduct.d.ts.map +1 -0
  29. package/esm/models/components/{product.js → singleproduct.js} +15 -16
  30. package/esm/models/components/singleproduct.js.map +1 -0
  31. package/esm/models/components/singleproductdetail.d.ts +159 -0
  32. package/esm/models/components/singleproductdetail.d.ts.map +1 -0
  33. package/esm/models/components/singleproductdetail.js +156 -0
  34. package/esm/models/components/singleproductdetail.js.map +1 -0
  35. package/esm/models/components/sku.d.ts +7 -4
  36. package/esm/models/components/sku.d.ts.map +1 -1
  37. package/esm/models/components/sku.js +6 -4
  38. package/esm/models/components/sku.js.map +1 -1
  39. package/esm/models/components/variant.d.ts +39 -30
  40. package/esm/models/components/variant.d.ts.map +1 -1
  41. package/esm/models/components/variant.js +38 -31
  42. package/esm/models/components/variant.js.map +1 -1
  43. package/esm/models/components/variantdetail.d.ts +89 -27
  44. package/esm/models/components/variantdetail.d.ts.map +1 -1
  45. package/esm/models/components/variantdetail.js +93 -28
  46. package/esm/models/components/variantdetail.js.map +1 -1
  47. package/jsr.json +1 -1
  48. package/package.json +1 -1
  49. package/src/lib/config.ts +2 -2
  50. package/src/models/components/bundleproduct.ts +501 -0
  51. package/src/models/components/bundleproductdetail.ts +567 -0
  52. package/src/models/components/index.ts +4 -1
  53. package/src/models/components/productdetail.ts +50 -198
  54. package/src/models/components/productlistresponse.ts +105 -13
  55. package/src/models/components/productshipping.ts +27 -27
  56. package/src/models/components/{product.ts → singleproduct.ts} +75 -58
  57. package/src/models/components/singleproductdetail.ts +339 -0
  58. package/src/models/components/sku.ts +16 -8
  59. package/src/models/components/variant.ts +75 -59
  60. package/src/models/components/variantdetail.ts +168 -55
  61. package/esm/models/components/product.d.ts.map +0 -1
  62. package/esm/models/components/product.js.map +0 -1
@@ -0,0 +1,265 @@
1
+ import * as z from "zod";
2
+ import { ClosedEnum } from "../../types/enums.js";
3
+ import { Result as SafeParseResult } from "../../types/fp.js";
4
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
5
+ import { AssociatedOption, AssociatedOption$Outbound } from "./associatedoption.js";
6
+ import { ProductAttribute, ProductAttribute$Outbound } from "./productattribute.js";
7
+ import { ProductImage, ProductImage$Outbound } from "./productimage.js";
8
+ import { ProductPricing, ProductPricing$Outbound } from "./productpricing.js";
9
+ import { ProductPromotion, ProductPromotion$Outbound } from "./productpromotion.js";
10
+ import { ProductShipping, ProductShipping$Outbound } from "./productshipping.js";
11
+ import { ProductSubscription, ProductSubscription$Outbound } from "./productsubscription.js";
12
+ import { ProductVideo, ProductVideo$Outbound } from "./productvideo.js";
13
+ import { Seo, Seo$Outbound } from "./seo.js";
14
+ import { VariantOption, VariantOption$Outbound } from "./variantoption.js";
15
+ export declare const BundleProductDetailProductType: {
16
+ readonly Physical: "physical";
17
+ readonly Digital: "digital";
18
+ readonly Bundle: "bundle";
19
+ };
20
+ export type BundleProductDetailProductType = ClosedEnum<typeof BundleProductDetailProductType>;
21
+ export declare const BundleProductDetailBundleItemsProductType: {
22
+ readonly Physical: "physical";
23
+ readonly Digital: "digital";
24
+ readonly Bundle: "bundle";
25
+ };
26
+ export type BundleProductDetailBundleItemsProductType = ClosedEnum<typeof BundleProductDetailBundleItemsProductType>;
27
+ export type BundleProductDetailSKU = {
28
+ quantity: number;
29
+ productId: string;
30
+ variantId?: string | null | undefined;
31
+ sku: string;
32
+ slug?: string | undefined;
33
+ productName: string;
34
+ variantName?: string | null | undefined;
35
+ productType: BundleProductDetailBundleItemsProductType;
36
+ shortDescription?: string | undefined;
37
+ active?: boolean | undefined;
38
+ stockAvailable?: boolean | undefined;
39
+ /**
40
+ * Indicates whether this item is associated with any active (product-specific) coupons
41
+ */
42
+ onOffer?: boolean | undefined;
43
+ onSubscription?: boolean | undefined;
44
+ onPromotion?: boolean | undefined;
45
+ categoryIds?: Array<string> | undefined;
46
+ tags?: Array<string> | undefined;
47
+ reviewsCount?: number | undefined;
48
+ reviewsRatingSum?: number | undefined;
49
+ attributes?: Array<ProductAttribute> | undefined;
50
+ images?: Array<ProductImage> | undefined;
51
+ pricing?: ProductPricing | undefined;
52
+ promotion?: ProductPromotion | null | undefined;
53
+ subscription?: Array<ProductSubscription> | undefined;
54
+ associatedOptions?: {
55
+ [k: string]: AssociatedOption;
56
+ } | null | undefined;
57
+ };
58
+ export type BundleProductDetail = {
59
+ /**
60
+ * The ULID of the product
61
+ */
62
+ id: string;
63
+ sku?: string | undefined;
64
+ name: string;
65
+ slug: string;
66
+ shortDescription?: string | undefined;
67
+ productType: BundleProductDetailProductType;
68
+ active?: boolean | undefined;
69
+ /**
70
+ * Indicates whether the product has stock available
71
+ */
72
+ stockAvailable?: boolean | undefined;
73
+ /**
74
+ * Indicates whether this item is associated with any active (product-specific) coupons
75
+ */
76
+ onOffer?: boolean | undefined;
77
+ /**
78
+ * Indicates whether the product has any subscription plans avaialble
79
+ */
80
+ onSubscription?: boolean | undefined;
81
+ /**
82
+ * Indicates whether the product is currently on promotion. When true, the `ProductPromotion` object will contain details of the promotion
83
+ */
84
+ onPromotion?: boolean | undefined;
85
+ /**
86
+ * Indicates whether the product has variants
87
+ */
88
+ hasVariant?: boolean | undefined;
89
+ tags?: Array<string> | null | undefined;
90
+ categoryIds?: Array<string> | undefined;
91
+ reviewsRatingSum?: number | undefined;
92
+ reviewsCount?: number | undefined;
93
+ attributes?: Array<ProductAttribute> | undefined;
94
+ pricing?: ProductPricing | undefined;
95
+ /**
96
+ * this will be used if has_variant is true, to auto set default values.
97
+ */
98
+ variantOptions?: Array<VariantOption> | null | undefined;
99
+ promotion?: ProductPromotion | null | undefined;
100
+ images?: Array<ProductImage> | undefined;
101
+ subscription?: Array<ProductSubscription> | undefined;
102
+ bundleItems?: Array<BundleProductDetailSKU> | undefined;
103
+ description?: string | undefined;
104
+ hsnCode?: string | undefined;
105
+ videos?: Array<ProductVideo> | undefined;
106
+ shipping?: ProductShipping | null | undefined;
107
+ /**
108
+ * An array of product ULIDs
109
+ */
110
+ upsellingProductIds?: Array<string> | undefined;
111
+ /**
112
+ * An array of product ULIDs
113
+ */
114
+ crosssellingProductIds?: Array<string> | undefined;
115
+ seo?: Seo | undefined;
116
+ metadata?: {
117
+ [k: string]: string;
118
+ } | undefined;
119
+ };
120
+ /** @internal */
121
+ export declare const BundleProductDetailProductType$inboundSchema: z.ZodNativeEnum<typeof BundleProductDetailProductType>;
122
+ /** @internal */
123
+ export declare const BundleProductDetailProductType$outboundSchema: z.ZodNativeEnum<typeof BundleProductDetailProductType>;
124
+ /**
125
+ * @internal
126
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
127
+ */
128
+ export declare namespace BundleProductDetailProductType$ {
129
+ /** @deprecated use `BundleProductDetailProductType$inboundSchema` instead. */
130
+ const inboundSchema: z.ZodNativeEnum<{
131
+ readonly Physical: "physical";
132
+ readonly Digital: "digital";
133
+ readonly Bundle: "bundle";
134
+ }>;
135
+ /** @deprecated use `BundleProductDetailProductType$outboundSchema` instead. */
136
+ const outboundSchema: z.ZodNativeEnum<{
137
+ readonly Physical: "physical";
138
+ readonly Digital: "digital";
139
+ readonly Bundle: "bundle";
140
+ }>;
141
+ }
142
+ /** @internal */
143
+ export declare const BundleProductDetailBundleItemsProductType$inboundSchema: z.ZodNativeEnum<typeof BundleProductDetailBundleItemsProductType>;
144
+ /** @internal */
145
+ export declare const BundleProductDetailBundleItemsProductType$outboundSchema: z.ZodNativeEnum<typeof BundleProductDetailBundleItemsProductType>;
146
+ /**
147
+ * @internal
148
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
149
+ */
150
+ export declare namespace BundleProductDetailBundleItemsProductType$ {
151
+ /** @deprecated use `BundleProductDetailBundleItemsProductType$inboundSchema` instead. */
152
+ const inboundSchema: z.ZodNativeEnum<{
153
+ readonly Physical: "physical";
154
+ readonly Digital: "digital";
155
+ readonly Bundle: "bundle";
156
+ }>;
157
+ /** @deprecated use `BundleProductDetailBundleItemsProductType$outboundSchema` instead. */
158
+ const outboundSchema: z.ZodNativeEnum<{
159
+ readonly Physical: "physical";
160
+ readonly Digital: "digital";
161
+ readonly Bundle: "bundle";
162
+ }>;
163
+ }
164
+ /** @internal */
165
+ export declare const BundleProductDetailSKU$inboundSchema: z.ZodType<BundleProductDetailSKU, z.ZodTypeDef, unknown>;
166
+ /** @internal */
167
+ export type BundleProductDetailSKU$Outbound = {
168
+ quantity: number;
169
+ product_id: string;
170
+ variant_id?: string | null | undefined;
171
+ sku: string;
172
+ slug?: string | undefined;
173
+ product_name: string;
174
+ variant_name?: string | null | undefined;
175
+ product_type: string;
176
+ short_description?: string | undefined;
177
+ active: boolean;
178
+ stock_available: boolean;
179
+ on_offer: boolean;
180
+ on_subscription: boolean;
181
+ on_promotion: boolean;
182
+ category_ids?: Array<string> | undefined;
183
+ tags?: Array<string> | undefined;
184
+ reviews_count?: number | undefined;
185
+ reviews_rating_sum?: number | undefined;
186
+ attributes?: Array<ProductAttribute$Outbound> | undefined;
187
+ images?: Array<ProductImage$Outbound> | undefined;
188
+ pricing?: ProductPricing$Outbound | undefined;
189
+ promotion?: ProductPromotion$Outbound | null | undefined;
190
+ subscription?: Array<ProductSubscription$Outbound> | undefined;
191
+ associated_options?: {
192
+ [k: string]: AssociatedOption$Outbound;
193
+ } | null | undefined;
194
+ };
195
+ /** @internal */
196
+ export declare const BundleProductDetailSKU$outboundSchema: z.ZodType<BundleProductDetailSKU$Outbound, z.ZodTypeDef, BundleProductDetailSKU>;
197
+ /**
198
+ * @internal
199
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
200
+ */
201
+ export declare namespace BundleProductDetailSKU$ {
202
+ /** @deprecated use `BundleProductDetailSKU$inboundSchema` instead. */
203
+ const inboundSchema: z.ZodType<BundleProductDetailSKU, z.ZodTypeDef, unknown>;
204
+ /** @deprecated use `BundleProductDetailSKU$outboundSchema` instead. */
205
+ const outboundSchema: z.ZodType<BundleProductDetailSKU$Outbound, z.ZodTypeDef, BundleProductDetailSKU>;
206
+ /** @deprecated use `BundleProductDetailSKU$Outbound` instead. */
207
+ type Outbound = BundleProductDetailSKU$Outbound;
208
+ }
209
+ export declare function bundleProductDetailSKUToJSON(bundleProductDetailSKU: BundleProductDetailSKU): string;
210
+ export declare function bundleProductDetailSKUFromJSON(jsonString: string): SafeParseResult<BundleProductDetailSKU, SDKValidationError>;
211
+ /** @internal */
212
+ export declare const BundleProductDetail$inboundSchema: z.ZodType<BundleProductDetail, z.ZodTypeDef, unknown>;
213
+ /** @internal */
214
+ export type BundleProductDetail$Outbound = {
215
+ id: string;
216
+ sku?: string | undefined;
217
+ name: string;
218
+ slug: string;
219
+ short_description?: string | undefined;
220
+ product_type: string;
221
+ active: boolean;
222
+ stock_available: boolean;
223
+ on_offer: boolean;
224
+ on_subscription: boolean;
225
+ on_promotion: boolean;
226
+ has_variant: boolean;
227
+ tags?: Array<string> | null | undefined;
228
+ category_ids?: Array<string> | undefined;
229
+ reviews_rating_sum?: number | undefined;
230
+ reviews_count?: number | undefined;
231
+ attributes?: Array<ProductAttribute$Outbound> | undefined;
232
+ pricing?: ProductPricing$Outbound | undefined;
233
+ variant_options?: Array<VariantOption$Outbound> | null | undefined;
234
+ promotion?: ProductPromotion$Outbound | null | undefined;
235
+ images?: Array<ProductImage$Outbound> | undefined;
236
+ subscription?: Array<ProductSubscription$Outbound> | undefined;
237
+ bundle_items?: Array<BundleProductDetailSKU$Outbound> | undefined;
238
+ description?: string | undefined;
239
+ hsn_code?: string | undefined;
240
+ videos?: Array<ProductVideo$Outbound> | undefined;
241
+ shipping?: ProductShipping$Outbound | null | undefined;
242
+ upselling_product_ids?: Array<string> | undefined;
243
+ crossselling_product_ids?: Array<string> | undefined;
244
+ seo?: Seo$Outbound | undefined;
245
+ metadata?: {
246
+ [k: string]: string;
247
+ } | undefined;
248
+ };
249
+ /** @internal */
250
+ export declare const BundleProductDetail$outboundSchema: z.ZodType<BundleProductDetail$Outbound, z.ZodTypeDef, BundleProductDetail>;
251
+ /**
252
+ * @internal
253
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
254
+ */
255
+ export declare namespace BundleProductDetail$ {
256
+ /** @deprecated use `BundleProductDetail$inboundSchema` instead. */
257
+ const inboundSchema: z.ZodType<BundleProductDetail, z.ZodTypeDef, unknown>;
258
+ /** @deprecated use `BundleProductDetail$outboundSchema` instead. */
259
+ const outboundSchema: z.ZodType<BundleProductDetail$Outbound, z.ZodTypeDef, BundleProductDetail>;
260
+ /** @deprecated use `BundleProductDetail$Outbound` instead. */
261
+ type Outbound = BundleProductDetail$Outbound;
262
+ }
263
+ export declare function bundleProductDetailToJSON(bundleProductDetail: BundleProductDetail): string;
264
+ export declare function bundleProductDetailFromJSON(jsonString: string): SafeParseResult<BundleProductDetail, SDKValidationError>;
265
+ //# sourceMappingURL=bundleproductdetail.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bundleproductdetail.d.ts","sourceRoot":"","sources":["../../../src/models/components/bundleproductdetail.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,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,yBAAyB,EAE1B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,eAAe,EAEf,wBAAwB,EAEzB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,mBAAmB,EAEnB,4BAA4B,EAE7B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,YAAY,EAEZ,qBAAqB,EAEtB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,GAAG,EAEH,YAAY,EAEb,MAAM,UAAU,CAAC;AAClB,OAAO,EACL,aAAa,EAEb,sBAAsB,EAEvB,MAAM,oBAAoB,CAAC;AAE5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,MAAM,CAAC,EAAE,KAAK,CAAC,qBAAqB,CAAC,GAAG,SAAS,CAAC;IAClD,QAAQ,CAAC,EAAE,wBAAwB,GAAG,IAAI,GAAG,SAAS,CAAC;IACvD,qBAAqB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IAClD,wBAAwB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACrD,GAAG,CAAC,EAAE,YAAY,GAAG,SAAS,CAAC;IAC/B,QAAQ,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,GAAG,SAAS,CAAC;CAChD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,OAAO,CACxD,4BAA4B,EAC5B,CAAC,CAAC,UAAU,EACZ,mBAAmB,CAoDnB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,oBAAoB,CAAC;IACpC,mEAAmE;IAC5D,MAAM,aAAa,uDAAoC,CAAC;IAC/D,oEAAoE;IAC7D,MAAM,cAAc,4EAAqC,CAAC;IACjE,8DAA8D;IAC9D,KAAY,QAAQ,GAAG,4BAA4B,CAAC;CACrD;AAED,wBAAgB,yBAAyB,CACvC,mBAAmB,EAAE,mBAAmB,GACvC,MAAM,CAIR;AAED,wBAAgB,2BAA2B,CACzC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,mBAAmB,EAAE,kBAAkB,CAAC,CAM1D"}
@@ -0,0 +1,288 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+ import * as z from "zod";
5
+ import { remap as remap$ } from "../../lib/primitives.js";
6
+ import { safeParse } from "../../lib/schemas.js";
7
+ import { AssociatedOption$inboundSchema, AssociatedOption$outboundSchema, } from "./associatedoption.js";
8
+ import { ProductAttribute$inboundSchema, ProductAttribute$outboundSchema, } from "./productattribute.js";
9
+ import { ProductImage$inboundSchema, ProductImage$outboundSchema, } from "./productimage.js";
10
+ import { ProductPricing$inboundSchema, ProductPricing$outboundSchema, } from "./productpricing.js";
11
+ import { ProductPromotion$inboundSchema, ProductPromotion$outboundSchema, } from "./productpromotion.js";
12
+ import { ProductShipping$inboundSchema, ProductShipping$outboundSchema, } from "./productshipping.js";
13
+ import { ProductSubscription$inboundSchema, ProductSubscription$outboundSchema, } from "./productsubscription.js";
14
+ import { ProductVideo$inboundSchema, ProductVideo$outboundSchema, } from "./productvideo.js";
15
+ import { Seo$inboundSchema, Seo$outboundSchema, } from "./seo.js";
16
+ import { VariantOption$inboundSchema, VariantOption$outboundSchema, } from "./variantoption.js";
17
+ export const BundleProductDetailProductType = {
18
+ Physical: "physical",
19
+ Digital: "digital",
20
+ Bundle: "bundle",
21
+ };
22
+ export const BundleProductDetailBundleItemsProductType = {
23
+ Physical: "physical",
24
+ Digital: "digital",
25
+ Bundle: "bundle",
26
+ };
27
+ /** @internal */
28
+ export const BundleProductDetailProductType$inboundSchema = z.nativeEnum(BundleProductDetailProductType);
29
+ /** @internal */
30
+ export const BundleProductDetailProductType$outboundSchema = BundleProductDetailProductType$inboundSchema;
31
+ /**
32
+ * @internal
33
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
34
+ */
35
+ export var BundleProductDetailProductType$;
36
+ (function (BundleProductDetailProductType$) {
37
+ /** @deprecated use `BundleProductDetailProductType$inboundSchema` instead. */
38
+ BundleProductDetailProductType$.inboundSchema = BundleProductDetailProductType$inboundSchema;
39
+ /** @deprecated use `BundleProductDetailProductType$outboundSchema` instead. */
40
+ BundleProductDetailProductType$.outboundSchema = BundleProductDetailProductType$outboundSchema;
41
+ })(BundleProductDetailProductType$ || (BundleProductDetailProductType$ = {}));
42
+ /** @internal */
43
+ export const BundleProductDetailBundleItemsProductType$inboundSchema = z
44
+ .nativeEnum(BundleProductDetailBundleItemsProductType);
45
+ /** @internal */
46
+ export const BundleProductDetailBundleItemsProductType$outboundSchema = BundleProductDetailBundleItemsProductType$inboundSchema;
47
+ /**
48
+ * @internal
49
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
50
+ */
51
+ export var BundleProductDetailBundleItemsProductType$;
52
+ (function (BundleProductDetailBundleItemsProductType$) {
53
+ /** @deprecated use `BundleProductDetailBundleItemsProductType$inboundSchema` instead. */
54
+ BundleProductDetailBundleItemsProductType$.inboundSchema = BundleProductDetailBundleItemsProductType$inboundSchema;
55
+ /** @deprecated use `BundleProductDetailBundleItemsProductType$outboundSchema` instead. */
56
+ BundleProductDetailBundleItemsProductType$.outboundSchema = BundleProductDetailBundleItemsProductType$outboundSchema;
57
+ })(BundleProductDetailBundleItemsProductType$ || (BundleProductDetailBundleItemsProductType$ = {}));
58
+ /** @internal */
59
+ export const BundleProductDetailSKU$inboundSchema = z.object({
60
+ quantity: z.number().int(),
61
+ product_id: z.string(),
62
+ variant_id: z.nullable(z.string()).optional(),
63
+ sku: z.string(),
64
+ slug: z.string().optional(),
65
+ product_name: z.string(),
66
+ variant_name: z.nullable(z.string()).optional(),
67
+ product_type: BundleProductDetailBundleItemsProductType$inboundSchema,
68
+ short_description: z.string().optional(),
69
+ active: z.boolean().default(true),
70
+ stock_available: z.boolean().default(true),
71
+ on_offer: z.boolean().default(false),
72
+ on_subscription: z.boolean().default(false),
73
+ on_promotion: z.boolean().default(false),
74
+ category_ids: z.array(z.string()).optional(),
75
+ tags: z.array(z.string()).optional(),
76
+ reviews_count: z.number().int().optional(),
77
+ reviews_rating_sum: z.number().optional(),
78
+ attributes: z.array(ProductAttribute$inboundSchema).optional(),
79
+ images: z.array(ProductImage$inboundSchema).optional(),
80
+ pricing: ProductPricing$inboundSchema.optional(),
81
+ promotion: z.nullable(ProductPromotion$inboundSchema).optional(),
82
+ subscription: z.array(ProductSubscription$inboundSchema).optional(),
83
+ associated_options: z.nullable(z.record(AssociatedOption$inboundSchema))
84
+ .optional(),
85
+ }).transform((v) => {
86
+ return remap$(v, {
87
+ "product_id": "productId",
88
+ "variant_id": "variantId",
89
+ "product_name": "productName",
90
+ "variant_name": "variantName",
91
+ "product_type": "productType",
92
+ "short_description": "shortDescription",
93
+ "stock_available": "stockAvailable",
94
+ "on_offer": "onOffer",
95
+ "on_subscription": "onSubscription",
96
+ "on_promotion": "onPromotion",
97
+ "category_ids": "categoryIds",
98
+ "reviews_count": "reviewsCount",
99
+ "reviews_rating_sum": "reviewsRatingSum",
100
+ "associated_options": "associatedOptions",
101
+ });
102
+ });
103
+ /** @internal */
104
+ export const BundleProductDetailSKU$outboundSchema = z.object({
105
+ quantity: z.number().int(),
106
+ productId: z.string(),
107
+ variantId: z.nullable(z.string()).optional(),
108
+ sku: z.string(),
109
+ slug: z.string().optional(),
110
+ productName: z.string(),
111
+ variantName: z.nullable(z.string()).optional(),
112
+ productType: BundleProductDetailBundleItemsProductType$outboundSchema,
113
+ shortDescription: z.string().optional(),
114
+ active: z.boolean().default(true),
115
+ stockAvailable: z.boolean().default(true),
116
+ onOffer: z.boolean().default(false),
117
+ onSubscription: z.boolean().default(false),
118
+ onPromotion: z.boolean().default(false),
119
+ categoryIds: z.array(z.string()).optional(),
120
+ tags: z.array(z.string()).optional(),
121
+ reviewsCount: z.number().int().optional(),
122
+ reviewsRatingSum: z.number().optional(),
123
+ attributes: z.array(ProductAttribute$outboundSchema).optional(),
124
+ images: z.array(ProductImage$outboundSchema).optional(),
125
+ pricing: ProductPricing$outboundSchema.optional(),
126
+ promotion: z.nullable(ProductPromotion$outboundSchema).optional(),
127
+ subscription: z.array(ProductSubscription$outboundSchema).optional(),
128
+ associatedOptions: z.nullable(z.record(AssociatedOption$outboundSchema))
129
+ .optional(),
130
+ }).transform((v) => {
131
+ return remap$(v, {
132
+ productId: "product_id",
133
+ variantId: "variant_id",
134
+ productName: "product_name",
135
+ variantName: "variant_name",
136
+ productType: "product_type",
137
+ shortDescription: "short_description",
138
+ stockAvailable: "stock_available",
139
+ onOffer: "on_offer",
140
+ onSubscription: "on_subscription",
141
+ onPromotion: "on_promotion",
142
+ categoryIds: "category_ids",
143
+ reviewsCount: "reviews_count",
144
+ reviewsRatingSum: "reviews_rating_sum",
145
+ associatedOptions: "associated_options",
146
+ });
147
+ });
148
+ /**
149
+ * @internal
150
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
151
+ */
152
+ export var BundleProductDetailSKU$;
153
+ (function (BundleProductDetailSKU$) {
154
+ /** @deprecated use `BundleProductDetailSKU$inboundSchema` instead. */
155
+ BundleProductDetailSKU$.inboundSchema = BundleProductDetailSKU$inboundSchema;
156
+ /** @deprecated use `BundleProductDetailSKU$outboundSchema` instead. */
157
+ BundleProductDetailSKU$.outboundSchema = BundleProductDetailSKU$outboundSchema;
158
+ })(BundleProductDetailSKU$ || (BundleProductDetailSKU$ = {}));
159
+ export function bundleProductDetailSKUToJSON(bundleProductDetailSKU) {
160
+ return JSON.stringify(BundleProductDetailSKU$outboundSchema.parse(bundleProductDetailSKU));
161
+ }
162
+ export function bundleProductDetailSKUFromJSON(jsonString) {
163
+ return safeParse(jsonString, (x) => BundleProductDetailSKU$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'BundleProductDetailSKU' from JSON`);
164
+ }
165
+ /** @internal */
166
+ export const BundleProductDetail$inboundSchema = z.object({
167
+ id: z.string(),
168
+ sku: z.string().optional(),
169
+ name: z.string(),
170
+ slug: z.string(),
171
+ short_description: z.string().optional(),
172
+ product_type: BundleProductDetailProductType$inboundSchema,
173
+ active: z.boolean().default(true),
174
+ stock_available: z.boolean().default(true),
175
+ on_offer: z.boolean().default(false),
176
+ on_subscription: z.boolean().default(false),
177
+ on_promotion: z.boolean().default(false),
178
+ has_variant: z.boolean().default(false),
179
+ tags: z.nullable(z.array(z.string())).optional(),
180
+ category_ids: z.array(z.string()).optional(),
181
+ reviews_rating_sum: z.number().optional(),
182
+ reviews_count: z.number().int().optional(),
183
+ attributes: z.array(ProductAttribute$inboundSchema).optional(),
184
+ pricing: ProductPricing$inboundSchema.optional(),
185
+ variant_options: z.nullable(z.array(VariantOption$inboundSchema)).optional(),
186
+ promotion: z.nullable(ProductPromotion$inboundSchema).optional(),
187
+ images: z.array(ProductImage$inboundSchema).optional(),
188
+ subscription: z.array(ProductSubscription$inboundSchema).optional(),
189
+ bundle_items: z.array(z.lazy(() => BundleProductDetailSKU$inboundSchema))
190
+ .optional(),
191
+ description: z.string().optional(),
192
+ hsn_code: z.string().optional(),
193
+ videos: z.array(ProductVideo$inboundSchema).optional(),
194
+ shipping: z.nullable(ProductShipping$inboundSchema).optional(),
195
+ upselling_product_ids: z.array(z.string()).optional(),
196
+ crossselling_product_ids: z.array(z.string()).optional(),
197
+ seo: Seo$inboundSchema.optional(),
198
+ metadata: z.record(z.string()).optional(),
199
+ }).transform((v) => {
200
+ return remap$(v, {
201
+ "short_description": "shortDescription",
202
+ "product_type": "productType",
203
+ "stock_available": "stockAvailable",
204
+ "on_offer": "onOffer",
205
+ "on_subscription": "onSubscription",
206
+ "on_promotion": "onPromotion",
207
+ "has_variant": "hasVariant",
208
+ "category_ids": "categoryIds",
209
+ "reviews_rating_sum": "reviewsRatingSum",
210
+ "reviews_count": "reviewsCount",
211
+ "variant_options": "variantOptions",
212
+ "bundle_items": "bundleItems",
213
+ "hsn_code": "hsnCode",
214
+ "upselling_product_ids": "upsellingProductIds",
215
+ "crossselling_product_ids": "crosssellingProductIds",
216
+ });
217
+ });
218
+ /** @internal */
219
+ export const BundleProductDetail$outboundSchema = z.object({
220
+ id: z.string(),
221
+ sku: z.string().optional(),
222
+ name: z.string(),
223
+ slug: z.string(),
224
+ shortDescription: z.string().optional(),
225
+ productType: BundleProductDetailProductType$outboundSchema,
226
+ active: z.boolean().default(true),
227
+ stockAvailable: z.boolean().default(true),
228
+ onOffer: z.boolean().default(false),
229
+ onSubscription: z.boolean().default(false),
230
+ onPromotion: z.boolean().default(false),
231
+ hasVariant: z.boolean().default(false),
232
+ tags: z.nullable(z.array(z.string())).optional(),
233
+ categoryIds: z.array(z.string()).optional(),
234
+ reviewsRatingSum: z.number().optional(),
235
+ reviewsCount: z.number().int().optional(),
236
+ attributes: z.array(ProductAttribute$outboundSchema).optional(),
237
+ pricing: ProductPricing$outboundSchema.optional(),
238
+ variantOptions: z.nullable(z.array(VariantOption$outboundSchema)).optional(),
239
+ promotion: z.nullable(ProductPromotion$outboundSchema).optional(),
240
+ images: z.array(ProductImage$outboundSchema).optional(),
241
+ subscription: z.array(ProductSubscription$outboundSchema).optional(),
242
+ bundleItems: z.array(z.lazy(() => BundleProductDetailSKU$outboundSchema))
243
+ .optional(),
244
+ description: z.string().optional(),
245
+ hsnCode: z.string().optional(),
246
+ videos: z.array(ProductVideo$outboundSchema).optional(),
247
+ shipping: z.nullable(ProductShipping$outboundSchema).optional(),
248
+ upsellingProductIds: z.array(z.string()).optional(),
249
+ crosssellingProductIds: z.array(z.string()).optional(),
250
+ seo: Seo$outboundSchema.optional(),
251
+ metadata: z.record(z.string()).optional(),
252
+ }).transform((v) => {
253
+ return remap$(v, {
254
+ shortDescription: "short_description",
255
+ productType: "product_type",
256
+ stockAvailable: "stock_available",
257
+ onOffer: "on_offer",
258
+ onSubscription: "on_subscription",
259
+ onPromotion: "on_promotion",
260
+ hasVariant: "has_variant",
261
+ categoryIds: "category_ids",
262
+ reviewsRatingSum: "reviews_rating_sum",
263
+ reviewsCount: "reviews_count",
264
+ variantOptions: "variant_options",
265
+ bundleItems: "bundle_items",
266
+ hsnCode: "hsn_code",
267
+ upsellingProductIds: "upselling_product_ids",
268
+ crosssellingProductIds: "crossselling_product_ids",
269
+ });
270
+ });
271
+ /**
272
+ * @internal
273
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
274
+ */
275
+ export var BundleProductDetail$;
276
+ (function (BundleProductDetail$) {
277
+ /** @deprecated use `BundleProductDetail$inboundSchema` instead. */
278
+ BundleProductDetail$.inboundSchema = BundleProductDetail$inboundSchema;
279
+ /** @deprecated use `BundleProductDetail$outboundSchema` instead. */
280
+ BundleProductDetail$.outboundSchema = BundleProductDetail$outboundSchema;
281
+ })(BundleProductDetail$ || (BundleProductDetail$ = {}));
282
+ export function bundleProductDetailToJSON(bundleProductDetail) {
283
+ return JSON.stringify(BundleProductDetail$outboundSchema.parse(bundleProductDetail));
284
+ }
285
+ export function bundleProductDetailFromJSON(jsonString) {
286
+ return safeParse(jsonString, (x) => BundleProductDetail$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'BundleProductDetail' from JSON`);
287
+ }
288
+ //# sourceMappingURL=bundleproductdetail.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bundleproductdetail.js","sourceRoot":"","sources":["../../../src/models/components/bundleproductdetail.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAIjD,OAAO,EAEL,8BAA8B,EAE9B,+BAA+B,GAChC,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAEL,8BAA8B,EAE9B,+BAA+B,GAChC,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAEL,0BAA0B,EAE1B,2BAA2B,GAC5B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAEL,4BAA4B,EAE5B,6BAA6B,GAC9B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,8BAA8B,EAE9B,+BAA+B,GAChC,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAEL,6BAA6B,EAE7B,8BAA8B,GAC/B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAEL,iCAAiC,EAEjC,kCAAkC,GACnC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAEL,0BAA0B,EAE1B,2BAA2B,GAC5B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAEL,iBAAiB,EAEjB,kBAAkB,GACnB,MAAM,UAAU,CAAC;AAClB,O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AAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,iCAAiC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC7D,iDAAiD,CAClD,CAAC;AACJ,CAAC"}
@@ -2,6 +2,8 @@ export * from "./analyticsevent.js";
2
2
  export * from "./anonymoususer.js";
3
3
  export * from "./associatedoption.js";
4
4
  export * from "./banktransfer.js";
5
+ export * from "./bundleproduct.js";
6
+ export * from "./bundleproductdetail.js";
5
7
  export * from "./business.js";
6
8
  export * from "./cardpayment.js";
7
9
  export * from "./cart.js";
@@ -48,7 +50,6 @@ export * from "./payupaymentinfo.js";
48
50
  export * from "./payupaymentmethod.js";
49
51
  export * from "./payusavedcard.js";
50
52
  export * from "./pincode.js";
51
- export * from "./product.js";
52
53
  export * from "./productattribute.js";
53
54
  export * from "./productcategory.js";
54
55
  export * from "./productdetail.js";
@@ -64,6 +65,8 @@ export * from "./promotiondetail.js";
64
65
  export * from "./security.js";
65
66
  export * from "./seo.js";
66
67
  export * from "./shipmentitem.js";
68
+ export * from "./singleproduct.js";
69
+ export * from "./singleproductdetail.js";
67
70
  export * from "./sku.js";
68
71
  export * from "./updatecustomer.js";
69
72
  export * from "./upipayment.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/components/index.ts"],"names":[],"mappings":"AAIA,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAA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oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oBAAoB,CAAC"}
@@ -5,6 +5,8 @@ export * from "./analyticsevent.js";
5
5
  export * from "./anonymoususer.js";
6
6
  export * from "./associatedoption.js";
7
7
  export * from "./banktransfer.js";
8
+ export * from "./bundleproduct.js";
9
+ export * from "./bundleproductdetail.js";
8
10
  export * from "./business.js";
9
11
  export * from "./cardpayment.js";
10
12
  export * from "./cart.js";
@@ -51,7 +53,6 @@ export * from "./payupaymentinfo.js";
51
53
  export * from "./payupaymentmethod.js";
52
54
  export * from "./payusavedcard.js";
53
55
  export * from "./pincode.js";
54
- export * from "./product.js";
55
56
  export * from "./productattribute.js";
56
57
  export * from "./productcategory.js";
57
58
  export * from "./productdetail.js";
@@ -67,6 +68,8 @@ export * from "./promotiondetail.js";
67
68
  export * from "./security.js";
68
69
  export * from "./seo.js";
69
70
  export * from "./shipmentitem.js";
71
+ export * from "./singleproduct.js";
72
+ export * from "./singleproductdetail.js";
70
73
  export * from "./sku.js";
71
74
  export * from "./updatecustomer.js";
72
75
  export * from "./upipayment.js";