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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/components/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,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,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;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B,CAAC;AAClC,cAAc,0BAA0B,CAAC;AACzC,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,UAAU,CAAC;AACzB,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oBAAoB,CAAC"}
|
|
@@ -1,95 +1,25 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
2
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
3
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export type
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
/** @internal */
|
|
14
|
-
export declare const BundleProduct2$outboundSchema: z.ZodType<BundleProduct2$Outbound, z.ZodTypeDef, BundleProduct2>;
|
|
15
|
-
/**
|
|
16
|
-
* @internal
|
|
17
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
18
|
-
*/
|
|
19
|
-
export declare namespace BundleProduct2$ {
|
|
20
|
-
/** @deprecated use `BundleProduct2$inboundSchema` instead. */
|
|
21
|
-
const inboundSchema: z.ZodType<BundleProduct2, z.ZodTypeDef, unknown>;
|
|
22
|
-
/** @deprecated use `BundleProduct2$outboundSchema` instead. */
|
|
23
|
-
const outboundSchema: z.ZodType<BundleProduct2$Outbound, z.ZodTypeDef, BundleProduct2>;
|
|
24
|
-
/** @deprecated use `BundleProduct2$Outbound` instead. */
|
|
25
|
-
type Outbound = BundleProduct2$Outbound;
|
|
26
|
-
}
|
|
27
|
-
export declare function bundleProduct2ToJSON(bundleProduct2: BundleProduct2): string;
|
|
28
|
-
export declare function bundleProduct2FromJSON(jsonString: string): SafeParseResult<BundleProduct2, SDKValidationError>;
|
|
29
|
-
/** @internal */
|
|
30
|
-
export declare const BundleProduct$inboundSchema: z.ZodType<BundleProduct, z.ZodTypeDef, unknown>;
|
|
31
|
-
/** @internal */
|
|
32
|
-
export type BundleProduct$Outbound = BundleProduct2$Outbound | Array<any>;
|
|
33
|
-
/** @internal */
|
|
34
|
-
export declare const BundleProduct$outboundSchema: z.ZodType<BundleProduct$Outbound, z.ZodTypeDef, BundleProduct>;
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
38
|
-
*/
|
|
39
|
-
export declare namespace BundleProduct$ {
|
|
40
|
-
/** @deprecated use `BundleProduct$inboundSchema` instead. */
|
|
41
|
-
const inboundSchema: z.ZodType<BundleProduct, z.ZodTypeDef, unknown>;
|
|
42
|
-
/** @deprecated use `BundleProduct$outboundSchema` instead. */
|
|
43
|
-
const outboundSchema: z.ZodType<BundleProduct$Outbound, z.ZodTypeDef, BundleProduct>;
|
|
44
|
-
/** @deprecated use `BundleProduct$Outbound` instead. */
|
|
45
|
-
type Outbound = BundleProduct$Outbound;
|
|
46
|
-
}
|
|
47
|
-
export declare function bundleProductToJSON(bundleProduct: BundleProduct): string;
|
|
48
|
-
export declare function bundleProductFromJSON(jsonString: string): SafeParseResult<BundleProduct, SDKValidationError>;
|
|
49
|
-
/** @internal */
|
|
50
|
-
export declare const Product2$inboundSchema: z.ZodType<Product2, z.ZodTypeDef, unknown>;
|
|
51
|
-
/** @internal */
|
|
52
|
-
export type Product2$Outbound = {};
|
|
53
|
-
/** @internal */
|
|
54
|
-
export declare const Product2$outboundSchema: z.ZodType<Product2$Outbound, z.ZodTypeDef, Product2>;
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
58
|
-
*/
|
|
59
|
-
export declare namespace Product2$ {
|
|
60
|
-
/** @deprecated use `Product2$inboundSchema` instead. */
|
|
61
|
-
const inboundSchema: z.ZodType<Product2, z.ZodTypeDef, unknown>;
|
|
62
|
-
/** @deprecated use `Product2$outboundSchema` instead. */
|
|
63
|
-
const outboundSchema: z.ZodType<Product2$Outbound, z.ZodTypeDef, Product2>;
|
|
64
|
-
/** @deprecated use `Product2$Outbound` instead. */
|
|
65
|
-
type Outbound = Product2$Outbound;
|
|
66
|
-
}
|
|
67
|
-
export declare function product2ToJSON(product2: Product2): string;
|
|
68
|
-
export declare function product2FromJSON(jsonString: string): SafeParseResult<Product2, SDKValidationError>;
|
|
69
|
-
/** @internal */
|
|
70
|
-
export declare const ProductDetailProduct$inboundSchema: z.ZodType<ProductDetailProduct, z.ZodTypeDef, unknown>;
|
|
71
|
-
/** @internal */
|
|
72
|
-
export type ProductDetailProduct$Outbound = Product2$Outbound | Array<any>;
|
|
73
|
-
/** @internal */
|
|
74
|
-
export declare const ProductDetailProduct$outboundSchema: z.ZodType<ProductDetailProduct$Outbound, z.ZodTypeDef, ProductDetailProduct>;
|
|
75
|
-
/**
|
|
76
|
-
* @internal
|
|
77
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
78
|
-
*/
|
|
79
|
-
export declare namespace ProductDetailProduct$ {
|
|
80
|
-
/** @deprecated use `ProductDetailProduct$inboundSchema` instead. */
|
|
81
|
-
const inboundSchema: z.ZodType<ProductDetailProduct, z.ZodTypeDef, unknown>;
|
|
82
|
-
/** @deprecated use `ProductDetailProduct$outboundSchema` instead. */
|
|
83
|
-
const outboundSchema: z.ZodType<ProductDetailProduct$Outbound, z.ZodTypeDef, ProductDetailProduct>;
|
|
84
|
-
/** @deprecated use `ProductDetailProduct$Outbound` instead. */
|
|
85
|
-
type Outbound = ProductDetailProduct$Outbound;
|
|
86
|
-
}
|
|
87
|
-
export declare function productDetailProductToJSON(productDetailProduct: ProductDetailProduct): string;
|
|
88
|
-
export declare function productDetailProductFromJSON(jsonString: string): SafeParseResult<ProductDetailProduct, SDKValidationError>;
|
|
4
|
+
import { BundleProductDetail, BundleProductDetail$Outbound } from "./bundleproductdetail.js";
|
|
5
|
+
import { SingleProductDetail, SingleProductDetail$Outbound } from "./singleproductdetail.js";
|
|
6
|
+
export type ProductDetail = (SingleProductDetail & {
|
|
7
|
+
productType: "physical";
|
|
8
|
+
}) | (SingleProductDetail & {
|
|
9
|
+
productType: "digital";
|
|
10
|
+
}) | (BundleProductDetail & {
|
|
11
|
+
productType: "bundle";
|
|
12
|
+
});
|
|
89
13
|
/** @internal */
|
|
90
14
|
export declare const ProductDetail$inboundSchema: z.ZodType<ProductDetail, z.ZodTypeDef, unknown>;
|
|
91
15
|
/** @internal */
|
|
92
|
-
export type ProductDetail$Outbound =
|
|
16
|
+
export type ProductDetail$Outbound = (SingleProductDetail$Outbound & {
|
|
17
|
+
product_type: "physical";
|
|
18
|
+
}) | (SingleProductDetail$Outbound & {
|
|
19
|
+
product_type: "digital";
|
|
20
|
+
}) | (BundleProductDetail$Outbound & {
|
|
21
|
+
product_type: "bundle";
|
|
22
|
+
});
|
|
93
23
|
/** @internal */
|
|
94
24
|
export declare const ProductDetail$outboundSchema: z.ZodType<ProductDetail$Outbound, z.ZodTypeDef, ProductDetail>;
|
|
95
25
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"productdetail.d.ts","sourceRoot":"","sources":["../../../src/models/components/productdetail.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,C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,EACZ,aAAa,CAiBb,CAAC;AAEH;;;GAGG;AACH,yBAAiB,cAAc,CAAC;IAC9B,6DAA6D;IACtD,MAAM,aAAa,iDAA8B,CAAC;IACzD,8DAA8D;IACvD,MAAM,cAAc,gEAA+B,CAAC;IAC3D,wDAAwD;IACxD,KAAY,QAAQ,GAAG,sBAAsB,CAAC;CAC/C;AAED,wBAAgB,mBAAmB,CAAC,aAAa,EAAE,aAAa,GAAG,MAAM,CAExE;AAED,wBAAgB,qBAAqB,CACnC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,aAAa,EAAE,kBAAkB,CAAC,CAMpD"}
|
|
@@ -3,99 +3,31 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as z from "zod";
|
|
5
5
|
import { safeParse } from "../../lib/schemas.js";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
/** @internal */
|
|
9
|
-
export const BundleProduct2$outboundSchema = z.object({});
|
|
10
|
-
/**
|
|
11
|
-
* @internal
|
|
12
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
13
|
-
*/
|
|
14
|
-
export var BundleProduct2$;
|
|
15
|
-
(function (BundleProduct2$) {
|
|
16
|
-
/** @deprecated use `BundleProduct2$inboundSchema` instead. */
|
|
17
|
-
BundleProduct2$.inboundSchema = BundleProduct2$inboundSchema;
|
|
18
|
-
/** @deprecated use `BundleProduct2$outboundSchema` instead. */
|
|
19
|
-
BundleProduct2$.outboundSchema = BundleProduct2$outboundSchema;
|
|
20
|
-
})(BundleProduct2$ || (BundleProduct2$ = {}));
|
|
21
|
-
export function bundleProduct2ToJSON(bundleProduct2) {
|
|
22
|
-
return JSON.stringify(BundleProduct2$outboundSchema.parse(bundleProduct2));
|
|
23
|
-
}
|
|
24
|
-
export function bundleProduct2FromJSON(jsonString) {
|
|
25
|
-
return safeParse(jsonString, (x) => BundleProduct2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'BundleProduct2' from JSON`);
|
|
26
|
-
}
|
|
27
|
-
/** @internal */
|
|
28
|
-
export const BundleProduct$inboundSchema = z.union([z.lazy(() => BundleProduct2$inboundSchema), z.array(z.any())]);
|
|
29
|
-
/** @internal */
|
|
30
|
-
export const BundleProduct$outboundSchema = z.union([z.lazy(() => BundleProduct2$outboundSchema), z.array(z.any())]);
|
|
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 BundleProduct$;
|
|
36
|
-
(function (BundleProduct$) {
|
|
37
|
-
/** @deprecated use `BundleProduct$inboundSchema` instead. */
|
|
38
|
-
BundleProduct$.inboundSchema = BundleProduct$inboundSchema;
|
|
39
|
-
/** @deprecated use `BundleProduct$outboundSchema` instead. */
|
|
40
|
-
BundleProduct$.outboundSchema = BundleProduct$outboundSchema;
|
|
41
|
-
})(BundleProduct$ || (BundleProduct$ = {}));
|
|
42
|
-
export function bundleProductToJSON(bundleProduct) {
|
|
43
|
-
return JSON.stringify(BundleProduct$outboundSchema.parse(bundleProduct));
|
|
44
|
-
}
|
|
45
|
-
export function bundleProductFromJSON(jsonString) {
|
|
46
|
-
return safeParse(jsonString, (x) => BundleProduct$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'BundleProduct' from JSON`);
|
|
47
|
-
}
|
|
48
|
-
/** @internal */
|
|
49
|
-
export const Product2$inboundSchema = z.object({});
|
|
50
|
-
/** @internal */
|
|
51
|
-
export const Product2$outboundSchema = z.object({});
|
|
52
|
-
/**
|
|
53
|
-
* @internal
|
|
54
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
55
|
-
*/
|
|
56
|
-
export var Product2$;
|
|
57
|
-
(function (Product2$) {
|
|
58
|
-
/** @deprecated use `Product2$inboundSchema` instead. */
|
|
59
|
-
Product2$.inboundSchema = Product2$inboundSchema;
|
|
60
|
-
/** @deprecated use `Product2$outboundSchema` instead. */
|
|
61
|
-
Product2$.outboundSchema = Product2$outboundSchema;
|
|
62
|
-
})(Product2$ || (Product2$ = {}));
|
|
63
|
-
export function product2ToJSON(product2) {
|
|
64
|
-
return JSON.stringify(Product2$outboundSchema.parse(product2));
|
|
65
|
-
}
|
|
66
|
-
export function product2FromJSON(jsonString) {
|
|
67
|
-
return safeParse(jsonString, (x) => Product2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Product2' from JSON`);
|
|
68
|
-
}
|
|
69
|
-
/** @internal */
|
|
70
|
-
export const ProductDetailProduct$inboundSchema = z.union([z.lazy(() => Product2$inboundSchema), z.array(z.any())]);
|
|
71
|
-
/** @internal */
|
|
72
|
-
export const ProductDetailProduct$outboundSchema = z.union([z.lazy(() => Product2$outboundSchema), z.array(z.any())]);
|
|
73
|
-
/**
|
|
74
|
-
* @internal
|
|
75
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
76
|
-
*/
|
|
77
|
-
export var ProductDetailProduct$;
|
|
78
|
-
(function (ProductDetailProduct$) {
|
|
79
|
-
/** @deprecated use `ProductDetailProduct$inboundSchema` instead. */
|
|
80
|
-
ProductDetailProduct$.inboundSchema = ProductDetailProduct$inboundSchema;
|
|
81
|
-
/** @deprecated use `ProductDetailProduct$outboundSchema` instead. */
|
|
82
|
-
ProductDetailProduct$.outboundSchema = ProductDetailProduct$outboundSchema;
|
|
83
|
-
})(ProductDetailProduct$ || (ProductDetailProduct$ = {}));
|
|
84
|
-
export function productDetailProductToJSON(productDetailProduct) {
|
|
85
|
-
return JSON.stringify(ProductDetailProduct$outboundSchema.parse(productDetailProduct));
|
|
86
|
-
}
|
|
87
|
-
export function productDetailProductFromJSON(jsonString) {
|
|
88
|
-
return safeParse(jsonString, (x) => ProductDetailProduct$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ProductDetailProduct' from JSON`);
|
|
89
|
-
}
|
|
6
|
+
import { BundleProductDetail$inboundSchema, BundleProductDetail$outboundSchema, } from "./bundleproductdetail.js";
|
|
7
|
+
import { SingleProductDetail$inboundSchema, SingleProductDetail$outboundSchema, } from "./singleproductdetail.js";
|
|
90
8
|
/** @internal */
|
|
91
9
|
export const ProductDetail$inboundSchema = z.union([
|
|
92
|
-
|
|
93
|
-
|
|
10
|
+
SingleProductDetail$inboundSchema.and(z.object({ product_type: z.literal("physical") }).transform((v) => ({
|
|
11
|
+
productType: v.product_type,
|
|
12
|
+
}))),
|
|
13
|
+
SingleProductDetail$inboundSchema.and(z.object({ product_type: z.literal("digital") }).transform((v) => ({
|
|
14
|
+
productType: v.product_type,
|
|
15
|
+
}))),
|
|
16
|
+
BundleProductDetail$inboundSchema.and(z.object({ product_type: z.literal("bundle") }).transform((v) => ({
|
|
17
|
+
productType: v.product_type,
|
|
18
|
+
}))),
|
|
94
19
|
]);
|
|
95
20
|
/** @internal */
|
|
96
21
|
export const ProductDetail$outboundSchema = z.union([
|
|
97
|
-
|
|
98
|
-
|
|
22
|
+
SingleProductDetail$outboundSchema.and(z.object({ productType: z.literal("physical") }).transform((v) => ({
|
|
23
|
+
product_type: v.productType,
|
|
24
|
+
}))),
|
|
25
|
+
SingleProductDetail$outboundSchema.and(z.object({ productType: z.literal("digital") }).transform((v) => ({
|
|
26
|
+
product_type: v.productType,
|
|
27
|
+
}))),
|
|
28
|
+
BundleProductDetail$outboundSchema.and(z.object({ productType: z.literal("bundle") }).transform((v) => ({
|
|
29
|
+
product_type: v.productType,
|
|
30
|
+
}))),
|
|
99
31
|
]);
|
|
100
32
|
/**
|
|
101
33
|
* @internal
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"productdetail.js","sourceRoot":"","sources":["../../../src/models/components/productdetail.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"productdetail.js","sourceRoot":"","sources":["../../../src/models/components/productdetail.ts"],"names":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1
|
import * as z from "zod";
|
|
2
2
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
3
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
import { BundleProduct, BundleProduct$Outbound } from "./bundleproduct.js";
|
|
4
5
|
import { Pagination, Pagination$Outbound } from "./pagination.js";
|
|
5
|
-
import {
|
|
6
|
-
export type Products =
|
|
6
|
+
import { SingleProduct, SingleProduct$Outbound } from "./singleproduct.js";
|
|
7
|
+
export type Products = (SingleProduct & {
|
|
8
|
+
productType: "physical";
|
|
9
|
+
}) | (SingleProduct & {
|
|
10
|
+
productType: "digital";
|
|
11
|
+
}) | (BundleProduct & {
|
|
12
|
+
productType: "bundle";
|
|
13
|
+
});
|
|
7
14
|
export type ProductListResponse = {
|
|
8
|
-
products?: Array<
|
|
15
|
+
products?: Array<(SingleProduct & {
|
|
16
|
+
productType: "physical";
|
|
17
|
+
}) | (SingleProduct & {
|
|
18
|
+
productType: "digital";
|
|
19
|
+
}) | (BundleProduct & {
|
|
20
|
+
productType: "bundle";
|
|
21
|
+
})> | undefined;
|
|
9
22
|
/**
|
|
10
23
|
* pagination metadata structure
|
|
11
24
|
*/
|
|
@@ -14,7 +27,13 @@ export type ProductListResponse = {
|
|
|
14
27
|
/** @internal */
|
|
15
28
|
export declare const Products$inboundSchema: z.ZodType<Products, z.ZodTypeDef, unknown>;
|
|
16
29
|
/** @internal */
|
|
17
|
-
export type Products$Outbound =
|
|
30
|
+
export type Products$Outbound = (SingleProduct$Outbound & {
|
|
31
|
+
product_type: "physical";
|
|
32
|
+
}) | (SingleProduct$Outbound & {
|
|
33
|
+
product_type: "digital";
|
|
34
|
+
}) | (BundleProduct$Outbound & {
|
|
35
|
+
product_type: "bundle";
|
|
36
|
+
});
|
|
18
37
|
/** @internal */
|
|
19
38
|
export declare const Products$outboundSchema: z.ZodType<Products$Outbound, z.ZodTypeDef, Products>;
|
|
20
39
|
/**
|
|
@@ -35,7 +54,13 @@ export declare function productsFromJSON(jsonString: string): SafeParseResult<Pr
|
|
|
35
54
|
export declare const ProductListResponse$inboundSchema: z.ZodType<ProductListResponse, z.ZodTypeDef, unknown>;
|
|
36
55
|
/** @internal */
|
|
37
56
|
export type ProductListResponse$Outbound = {
|
|
38
|
-
products?: Array<
|
|
57
|
+
products?: Array<(SingleProduct$Outbound & {
|
|
58
|
+
product_type: "physical";
|
|
59
|
+
}) | (SingleProduct$Outbound & {
|
|
60
|
+
product_type: "digital";
|
|
61
|
+
}) | (BundleProduct$Outbound & {
|
|
62
|
+
product_type: "bundle";
|
|
63
|
+
})> | undefined;
|
|
39
64
|
pagination?: Pagination$Outbound | undefined;
|
|
40
65
|
};
|
|
41
66
|
/** @internal */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"productlistresponse.d.ts","sourceRoot":"","sources":["../../../src/models/components/productlistresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,UAAU,EAEV,mBAAmB,EAEpB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,
|
|
1
|
+
{"version":3,"file":"productlistresponse.d.ts","sourceRoot":"","sources":["../../../src/models/components/productlistresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,aAAa,EAEb,sBAAsB,EAEvB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,UAAU,EAEV,mBAAmB,EAEpB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,aAAa,EAEb,sBAAsB,EAEvB,MAAM,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kB,CAAC,CAM1D"}
|
|
@@ -3,12 +3,33 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as z from "zod";
|
|
5
5
|
import { safeParse } from "../../lib/schemas.js";
|
|
6
|
+
import { BundleProduct$inboundSchema, BundleProduct$outboundSchema, } from "./bundleproduct.js";
|
|
6
7
|
import { Pagination$inboundSchema, Pagination$outboundSchema, } from "./pagination.js";
|
|
7
|
-
import {
|
|
8
|
+
import { SingleProduct$inboundSchema, SingleProduct$outboundSchema, } from "./singleproduct.js";
|
|
8
9
|
/** @internal */
|
|
9
|
-
export const Products$inboundSchema = z.
|
|
10
|
+
export const Products$inboundSchema = z.union([
|
|
11
|
+
SingleProduct$inboundSchema.and(z.object({ product_type: z.literal("physical") }).transform((v) => ({
|
|
12
|
+
productType: v.product_type,
|
|
13
|
+
}))),
|
|
14
|
+
SingleProduct$inboundSchema.and(z.object({ product_type: z.literal("digital") }).transform((v) => ({
|
|
15
|
+
productType: v.product_type,
|
|
16
|
+
}))),
|
|
17
|
+
BundleProduct$inboundSchema.and(z.object({ product_type: z.literal("bundle") }).transform((v) => ({
|
|
18
|
+
productType: v.product_type,
|
|
19
|
+
}))),
|
|
20
|
+
]);
|
|
10
21
|
/** @internal */
|
|
11
|
-
export const Products$outboundSchema = z.
|
|
22
|
+
export const Products$outboundSchema = z.union([
|
|
23
|
+
SingleProduct$outboundSchema.and(z.object({ productType: z.literal("physical") }).transform((v) => ({
|
|
24
|
+
product_type: v.productType,
|
|
25
|
+
}))),
|
|
26
|
+
SingleProduct$outboundSchema.and(z.object({ productType: z.literal("digital") }).transform((v) => ({
|
|
27
|
+
product_type: v.productType,
|
|
28
|
+
}))),
|
|
29
|
+
BundleProduct$outboundSchema.and(z.object({ productType: z.literal("bundle") }).transform((v) => ({
|
|
30
|
+
product_type: v.productType,
|
|
31
|
+
}))),
|
|
32
|
+
]);
|
|
12
33
|
/**
|
|
13
34
|
* @internal
|
|
14
35
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
@@ -28,12 +49,32 @@ export function productsFromJSON(jsonString) {
|
|
|
28
49
|
}
|
|
29
50
|
/** @internal */
|
|
30
51
|
export const ProductListResponse$inboundSchema = z.object({
|
|
31
|
-
products: z.array(
|
|
52
|
+
products: z.array(z.union([
|
|
53
|
+
SingleProduct$inboundSchema.and(z.object({ product_type: z.literal("physical") }).transform((v) => ({
|
|
54
|
+
productType: v.product_type,
|
|
55
|
+
}))),
|
|
56
|
+
SingleProduct$inboundSchema.and(z.object({ product_type: z.literal("digital") }).transform((v) => ({
|
|
57
|
+
productType: v.product_type,
|
|
58
|
+
}))),
|
|
59
|
+
BundleProduct$inboundSchema.and(z.object({ product_type: z.literal("bundle") }).transform((v) => ({
|
|
60
|
+
productType: v.product_type,
|
|
61
|
+
}))),
|
|
62
|
+
])).optional(),
|
|
32
63
|
pagination: Pagination$inboundSchema.optional(),
|
|
33
64
|
});
|
|
34
65
|
/** @internal */
|
|
35
66
|
export const ProductListResponse$outboundSchema = z.object({
|
|
36
|
-
products: z.array(
|
|
67
|
+
products: z.array(z.union([
|
|
68
|
+
SingleProduct$outboundSchema.and(z.object({ productType: z.literal("physical") }).transform((v) => ({
|
|
69
|
+
product_type: v.productType,
|
|
70
|
+
}))),
|
|
71
|
+
SingleProduct$outboundSchema.and(z.object({ productType: z.literal("digital") }).transform((v) => ({
|
|
72
|
+
product_type: v.productType,
|
|
73
|
+
}))),
|
|
74
|
+
BundleProduct$outboundSchema.and(z.object({ productType: z.literal("bundle") }).transform((v) => ({
|
|
75
|
+
product_type: v.productType,
|
|
76
|
+
}))),
|
|
77
|
+
])).optional(),
|
|
37
78
|
pagination: Pagination$outboundSchema.optional(),
|
|
38
79
|
});
|
|
39
80
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"productlistresponse.js","sourceRoot":"","sources":["../../../src/models/components/productlistresponse.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,K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AC,SAAS,CACnB,kCAAkC,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAC9D,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,2BAA2B,CACzC,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,iCAAiC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC7D,iDAAiD,CAClD,CAAC;AACJ,CAAC"}
|
|
@@ -2,27 +2,27 @@ import * as z from "zod";
|
|
|
2
2
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
3
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
4
|
export type ProductShipping = {
|
|
5
|
-
additionalCost?: number | undefined;
|
|
5
|
+
additionalCost?: number | null | undefined;
|
|
6
6
|
shippingPriceIncludingTax?: boolean | undefined;
|
|
7
|
-
availabilityDescription?: string | undefined;
|
|
7
|
+
availabilityDescription?: string | null | undefined;
|
|
8
8
|
shipsInternationally?: boolean | undefined;
|
|
9
|
-
midCode?: string | undefined;
|
|
10
|
-
countryOfOrigin?: string | undefined;
|
|
11
|
-
taxType?: string | undefined;
|
|
12
|
-
taxRate?: number | undefined;
|
|
9
|
+
midCode?: string | null | undefined;
|
|
10
|
+
countryOfOrigin?: string | null | undefined;
|
|
11
|
+
taxType?: string | null | undefined;
|
|
12
|
+
taxRate?: number | null | undefined;
|
|
13
13
|
};
|
|
14
14
|
/** @internal */
|
|
15
15
|
export declare const ProductShipping$inboundSchema: z.ZodType<ProductShipping, z.ZodTypeDef, unknown>;
|
|
16
16
|
/** @internal */
|
|
17
17
|
export type ProductShipping$Outbound = {
|
|
18
|
-
additional_cost?: number | undefined;
|
|
18
|
+
additional_cost?: number | null | undefined;
|
|
19
19
|
shipping_price_including_tax?: boolean | undefined;
|
|
20
|
-
availability_description?: string | undefined;
|
|
21
|
-
ships_internationally
|
|
22
|
-
mid_code?: string | undefined;
|
|
23
|
-
country_of_origin: string;
|
|
24
|
-
tax_type?: string | undefined;
|
|
25
|
-
tax_rate?: number | undefined;
|
|
20
|
+
availability_description?: string | null | undefined;
|
|
21
|
+
ships_internationally: boolean;
|
|
22
|
+
mid_code?: string | null | undefined;
|
|
23
|
+
country_of_origin: string | null;
|
|
24
|
+
tax_type?: string | null | undefined;
|
|
25
|
+
tax_rate?: number | null | undefined;
|
|
26
26
|
};
|
|
27
27
|
/** @internal */
|
|
28
28
|
export declare const ProductShipping$outboundSchema: z.ZodType<ProductShipping$Outbound, z.ZodTypeDef, ProductShipping>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"productshipping.d.ts","sourceRoot":"","sources":["../../../src/models/components/productshipping.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,eAAe,GAAG;IAC5B,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"productshipping.d.ts","sourceRoot":"","sources":["../../../src/models/components/productshipping.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,eAAe,GAAG;IAC5B,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC3C,yBAAyB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAChD,uBAAuB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACpD,oBAAoB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC3C,OAAO,CAAC,EAAE,MAA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M,CAER;AAED,wBAAgB,uBAAuB,CACrC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,eAAe,EAAE,kBAAkB,CAAC,CAMtD"}
|
|
@@ -6,14 +6,14 @@ import { remap as remap$ } from "../../lib/primitives.js";
|
|
|
6
6
|
import { safeParse } from "../../lib/schemas.js";
|
|
7
7
|
/** @internal */
|
|
8
8
|
export const ProductShipping$inboundSchema = z.object({
|
|
9
|
-
additional_cost: z.number().optional(),
|
|
9
|
+
additional_cost: z.nullable(z.number()).optional(),
|
|
10
10
|
shipping_price_including_tax: z.boolean().optional(),
|
|
11
|
-
availability_description: z.string().optional(),
|
|
12
|
-
ships_internationally: z.boolean().
|
|
13
|
-
mid_code: z.string().optional(),
|
|
14
|
-
country_of_origin: z.string().default("India"),
|
|
15
|
-
tax_type: z.string().optional(),
|
|
16
|
-
tax_rate: z.number().optional(),
|
|
11
|
+
availability_description: z.nullable(z.string()).optional(),
|
|
12
|
+
ships_internationally: z.boolean().default(false),
|
|
13
|
+
mid_code: z.nullable(z.string()).optional(),
|
|
14
|
+
country_of_origin: z.nullable(z.string().default("India")),
|
|
15
|
+
tax_type: z.nullable(z.string()).optional(),
|
|
16
|
+
tax_rate: z.nullable(z.number()).optional(),
|
|
17
17
|
}).transform((v) => {
|
|
18
18
|
return remap$(v, {
|
|
19
19
|
"additional_cost": "additionalCost",
|
|
@@ -28,14 +28,14 @@ export const ProductShipping$inboundSchema = z.object({
|
|
|
28
28
|
});
|
|
29
29
|
/** @internal */
|
|
30
30
|
export const ProductShipping$outboundSchema = z.object({
|
|
31
|
-
additionalCost: z.number().optional(),
|
|
31
|
+
additionalCost: z.nullable(z.number()).optional(),
|
|
32
32
|
shippingPriceIncludingTax: z.boolean().optional(),
|
|
33
|
-
availabilityDescription: z.string().optional(),
|
|
34
|
-
shipsInternationally: z.boolean().
|
|
35
|
-
midCode: z.string().optional(),
|
|
36
|
-
countryOfOrigin: z.string().default("India"),
|
|
37
|
-
taxType: z.string().optional(),
|
|
38
|
-
taxRate: z.number().optional(),
|
|
33
|
+
availabilityDescription: z.nullable(z.string()).optional(),
|
|
34
|
+
shipsInternationally: z.boolean().default(false),
|
|
35
|
+
midCode: z.nullable(z.string()).optional(),
|
|
36
|
+
countryOfOrigin: z.nullable(z.string().default("India")),
|
|
37
|
+
taxType: z.nullable(z.string()).optional(),
|
|
38
|
+
taxRate: z.nullable(z.number()).optional(),
|
|
39
39
|
}).transform((v) => {
|
|
40
40
|
return remap$(v, {
|
|
41
41
|
additionalCost: "additional_cost",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"productshipping.js","sourceRoot":"","sources":["../../../src/models/components/productshipping.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;AAejD,gBAAgB;AAChB,MAAM,CAAC,MAAM,6BAA6B,GAItC,CAAC,CAAC,MAAM,CAAC;IACX,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;
|
|
1
|
+
{"version":3,"file":"productshipping.js","sourceRoot":"","sources":["../../../src/models/components/productshipping.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;AAejD,gBAAgB;AAChB,MAAM,CAAC,MAAM,6BAA6B,GAItC,CAAC,CAAC,MAAM,CAAC;IACX,eAAe,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAClD,4BAA4B,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACpD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