@edgebound/bigcommerce 0.5.57 → 0.5.59
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/dist/bigcommerce-entities/catalog/schemas/get-categories.schema.d.ts +1 -0
- package/dist/bigcommerce-entities/catalog/schemas/get-categories.schema.d.ts.map +1 -1
- package/dist/bigcommerce-entities/catalog/schemas/get-categories.schema.js +1 -0
- package/dist/bigcommerce-entities/catalog/schemas/get-categories.schema.js.map +1 -1
- package/dist/bigcommerce-entities/products/schemas/find-products.schema.d.ts +1 -0
- package/dist/bigcommerce-entities/products/schemas/find-products.schema.d.ts.map +1 -1
- package/dist/bigcommerce-entities/products/schemas/find-products.schema.js +4 -0
- package/dist/bigcommerce-entities/products/schemas/find-products.schema.js.map +1 -1
- package/package.json +3 -3
|
@@ -2,6 +2,7 @@ import * as z from 'zod';
|
|
|
2
2
|
export declare const GetCategoriesCriteriaSchema: z.ZodObject<{
|
|
3
3
|
page: z.ZodOptional<z.ZodInt>;
|
|
4
4
|
limit: z.ZodOptional<z.ZodInt>;
|
|
5
|
+
name: z.ZodOptional<z.ZodString>;
|
|
5
6
|
}, z.core.$strip>;
|
|
6
7
|
export declare const GetCategoriesResponseSchema: z.ZodObject<{
|
|
7
8
|
data: z.ZodArray<z.ZodObject<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-categories.schema.d.ts","sourceRoot":"","sources":["../../../../src/bigcommerce-entities/catalog/schemas/get-categories.schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,eAAO,MAAM,2BAA2B
|
|
1
|
+
{"version":3,"file":"get-categories.schema.d.ts","sourceRoot":"","sources":["../../../../src/bigcommerce-entities/catalog/schemas/get-categories.schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,eAAO,MAAM,2BAA2B;;;;iBAItC,CAAC;AAEH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;iBAgBtC,CAAC"}
|
|
@@ -39,6 +39,7 @@ const constants_1 = require("../../../constants");
|
|
|
39
39
|
exports.GetCategoriesCriteriaSchema = z.object({
|
|
40
40
|
page: z.int().positive().optional(),
|
|
41
41
|
limit: z.int().positive().max(constants_1.DEFAULTS.catalog.categories.getAllBatchSize).optional(),
|
|
42
|
+
name: z.string().optional(),
|
|
42
43
|
});
|
|
43
44
|
exports.GetCategoriesResponseSchema = z.object({
|
|
44
45
|
data: z.array(z.object({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-categories.schema.js","sourceRoot":"","sources":["../../../../src/bigcommerce-entities/catalog/schemas/get-categories.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,kDAA8C;AAEjC,QAAA,2BAA2B,GAAG,CAAC,CAAC,MAAM,CAAC;IAClD,IAAI,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IACnC,KAAK,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,GAAG,CAAC,oBAAQ,CAAC,OAAO,CAAC,UAAU,CAAC,eAAe,CAAC,CAAC,QAAQ,EAAE;
|
|
1
|
+
{"version":3,"file":"get-categories.schema.js","sourceRoot":"","sources":["../../../../src/bigcommerce-entities/catalog/schemas/get-categories.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,kDAA8C;AAEjC,QAAA,2BAA2B,GAAG,CAAC,CAAC,MAAM,CAAC;IAClD,IAAI,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IACnC,KAAK,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,GAAG,CAAC,oBAAQ,CAAC,OAAO,CAAC,UAAU,CAAC,eAAe,CAAC,CAAC,QAAQ,EAAE;IACrF,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC5B,CAAC,CAAC;AAEU,QAAA,2BAA2B,GAAG,CAAC,CAAC,MAAM,CAAC;IAClD,IAAI,EAAE,CAAC,CAAC,KAAK,CACX,CAAC,CAAC,MAAM,CAAC;QACP,WAAW,EAAE,CAAC,CAAC,GAAG,EAAE;QACpB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;KACjB,CAAC,CACH;IACD,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC;QACb,UAAU,EAAE,CAAC,CAAC,MAAM,CAAC;YACnB,KAAK,EAAE,CAAC,CAAC,GAAG,EAAE;YACd,KAAK,EAAE,CAAC,CAAC,GAAG,EAAE;YACd,QAAQ,EAAE,CAAC,CAAC,GAAG,EAAE;YACjB,YAAY,EAAE,CAAC,CAAC,GAAG,EAAE;YACrB,WAAW,EAAE,CAAC,CAAC,GAAG,EAAE;SACrB,CAAC;KACH,CAAC;CACH,CAAC,CAAC"}
|
|
@@ -4,5 +4,6 @@ export declare const FindProductsCriteriaSchema: z.ZodObject<{
|
|
|
4
4
|
limit: z.ZodOptional<z.ZodInt>;
|
|
5
5
|
sku: z.ZodOptional<z.ZodString>;
|
|
6
6
|
is_featured: z.ZodOptional<z.ZodPipe<z.ZodBoolean, z.ZodTransform<1 | 0, boolean>>>;
|
|
7
|
+
'id:in': z.ZodOptional<z.ZodPipe<z.ZodArray<z.ZodInt>, z.ZodTransform<string, number[]>>>;
|
|
7
8
|
}, z.core.$strip>;
|
|
8
9
|
//# sourceMappingURL=find-products.schema.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"find-products.schema.d.ts","sourceRoot":"","sources":["../../../../src/bigcommerce-entities/products/schemas/find-products.schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,eAAO,MAAM,0BAA0B
|
|
1
|
+
{"version":3,"file":"find-products.schema.d.ts","sourceRoot":"","sources":["../../../../src/bigcommerce-entities/products/schemas/find-products.schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,eAAO,MAAM,0BAA0B;;;;;;iBAYrC,CAAC"}
|
|
@@ -44,5 +44,9 @@ exports.FindProductsCriteriaSchema = z.object({
|
|
|
44
44
|
.boolean()
|
|
45
45
|
.transform((isFeatured) => (isFeatured ? 1 : 0))
|
|
46
46
|
.optional(),
|
|
47
|
+
'id:in': z
|
|
48
|
+
.array(z.int())
|
|
49
|
+
.transform((ids) => ids.join(','))
|
|
50
|
+
.optional(),
|
|
47
51
|
});
|
|
48
52
|
//# sourceMappingURL=find-products.schema.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"find-products.schema.js","sourceRoot":"","sources":["../../../../src/bigcommerce-entities/products/schemas/find-products.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,kDAA8C;AACjC,QAAA,0BAA0B,GAAG,CAAC,CAAC,MAAM,CAAC;IACjD,IAAI,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IACnC,KAAK,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,GAAG,CAAC,oBAAQ,CAAC,QAAQ,CAAC,eAAe,CAAC,CAAC,QAAQ,EAAE;IAC3E,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC1B,WAAW,EAAE,CAAC;SACX,OAAO,EAAE;SACT,SAAS,CAAC,CAAC,UAAU,EAAE,EAAE,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;SAC/C,QAAQ,EAAE;CACd,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"find-products.schema.js","sourceRoot":"","sources":["../../../../src/bigcommerce-entities/products/schemas/find-products.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,kDAA8C;AACjC,QAAA,0BAA0B,GAAG,CAAC,CAAC,MAAM,CAAC;IACjD,IAAI,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IACnC,KAAK,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,GAAG,CAAC,oBAAQ,CAAC,QAAQ,CAAC,eAAe,CAAC,CAAC,QAAQ,EAAE;IAC3E,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC1B,WAAW,EAAE,CAAC;SACX,OAAO,EAAE;SACT,SAAS,CAAC,CAAC,UAAU,EAAE,EAAE,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;SAC/C,QAAQ,EAAE;IACb,OAAO,EAAE,CAAC;SACP,KAAK,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC;SACd,SAAS,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;SACjC,QAAQ,EAAE;CACd,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@edgebound/bigcommerce",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.59",
|
|
4
4
|
"types": "./dist/index.d.ts",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
"reflect-metadata": "^0.2.2",
|
|
23
23
|
"rxjs": "^7.8.2",
|
|
24
24
|
"zod": "^4.3.3",
|
|
25
|
-
"@edgebound/
|
|
26
|
-
"@edgebound/
|
|
25
|
+
"@edgebound/eslint-config": "0.0.4",
|
|
26
|
+
"@edgebound/typescript-config": "0.0.1"
|
|
27
27
|
},
|
|
28
28
|
"peerDependencies": {
|
|
29
29
|
"@nestjs/common": "^11.1.12",
|