@edgebound/bigcommerce 0.5.26 → 0.5.28
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/price-lists/price-lists-records.service.d.ts +1 -1
- package/dist/bigcommerce-entities/price-lists/schemas/price-lists-records.schema.d.ts +4 -4
- package/dist/bigcommerce-entities/price-lists/schemas/price-lists-records.schema.js +2 -2
- package/dist/bigcommerce-entities/price-lists/schemas/price-lists-records.schema.js.map +1 -1
- package/dist/bigcommerce.module.d.ts.map +1 -1
- package/dist/bigcommerce.module.js +1 -0
- package/dist/bigcommerce.module.js.map +1 -1
- package/package.json +3 -3
|
@@ -6,7 +6,7 @@ export declare class BigCommercePriceListsRecordsService {
|
|
|
6
6
|
constructor(fetcher: BigCommerceFetcherService);
|
|
7
7
|
upsertRecords(input: z.input<typeof UpsertPriceListRecordsSchema>): import("neverthrow").ResultAsync<{
|
|
8
8
|
success: {
|
|
9
|
-
|
|
9
|
+
data: Record<string, never>;
|
|
10
10
|
}[];
|
|
11
11
|
errors: import("../../core").BigCommerceError[];
|
|
12
12
|
}, import("../../core").BigCommerceError>;
|
|
@@ -10,7 +10,7 @@ export declare const UpsertPriceListRecordsSchema: z.ZodPipe<z.ZodObject<{
|
|
|
10
10
|
price: z.ZodNumber;
|
|
11
11
|
sale_price: z.ZodOptional<z.ZodNumber>;
|
|
12
12
|
retail_price: z.ZodOptional<z.ZodNumber>;
|
|
13
|
-
map_price: z.ZodNumber
|
|
13
|
+
map_price: z.ZodOptional<z.ZodNumber>;
|
|
14
14
|
bulk_pricing_tiers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
15
15
|
quantity_min: z.ZodInt;
|
|
16
16
|
quantity_max: z.ZodInt;
|
|
@@ -28,9 +28,9 @@ export declare const UpsertPriceListRecordsSchema: z.ZodPipe<z.ZodObject<{
|
|
|
28
28
|
sku: string;
|
|
29
29
|
currency: "usd" | "mxn";
|
|
30
30
|
price: number;
|
|
31
|
-
map_price: number;
|
|
32
31
|
sale_price?: number | undefined;
|
|
33
32
|
retail_price?: number | undefined;
|
|
33
|
+
map_price?: number | undefined;
|
|
34
34
|
bulk_pricing_tiers?: {
|
|
35
35
|
quantity_min: number;
|
|
36
36
|
quantity_max: number;
|
|
@@ -45,9 +45,9 @@ export declare const UpsertPriceListRecordsSchema: z.ZodPipe<z.ZodObject<{
|
|
|
45
45
|
sku: string;
|
|
46
46
|
currency: "usd" | "mxn";
|
|
47
47
|
price: number;
|
|
48
|
-
map_price: number;
|
|
49
48
|
sale_price?: number | undefined;
|
|
50
49
|
retail_price?: number | undefined;
|
|
50
|
+
map_price?: number | undefined;
|
|
51
51
|
bulk_pricing_tiers?: {
|
|
52
52
|
quantity_min: number;
|
|
53
53
|
quantity_max: number;
|
|
@@ -57,6 +57,6 @@ export declare const UpsertPriceListRecordsSchema: z.ZodPipe<z.ZodObject<{
|
|
|
57
57
|
}[];
|
|
58
58
|
}>>;
|
|
59
59
|
export declare const UpsertPriceListRecordsResponseSchema: z.ZodObject<{
|
|
60
|
-
|
|
60
|
+
data: z.ZodObject<{}, z.core.$strip>;
|
|
61
61
|
}, z.core.$strip>;
|
|
62
62
|
//# sourceMappingURL=price-lists-records.schema.d.ts.map
|
|
@@ -44,7 +44,7 @@ exports.UpsertPriceListRecordsSchema = z
|
|
|
44
44
|
price: z.number().nonnegative(),
|
|
45
45
|
sale_price: z.number().nonnegative().optional(),
|
|
46
46
|
retail_price: z.number().nonnegative().optional(),
|
|
47
|
-
map_price: z.number().nonnegative(),
|
|
47
|
+
map_price: z.number().nonnegative().optional(),
|
|
48
48
|
bulk_pricing_tiers: z
|
|
49
49
|
.array(z.object({
|
|
50
50
|
quantity_min: z.int(),
|
|
@@ -63,6 +63,6 @@ exports.UpsertPriceListRecordsSchema = z
|
|
|
63
63
|
})),
|
|
64
64
|
}));
|
|
65
65
|
exports.UpsertPriceListRecordsResponseSchema = z.object({
|
|
66
|
-
|
|
66
|
+
data: z.object({}),
|
|
67
67
|
});
|
|
68
68
|
//# sourceMappingURL=price-lists-records.schema.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"price-lists-records.schema.js","sourceRoot":"","sources":["../../../../src/bigcommerce-entities/price-lists/schemas/price-lists-records.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACZ,QAAA,4BAA4B,GAAG,CAAC;KAC1C,MAAM,CAAC;IACN,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;IACvB,OAAO,EAAE,CAAC,CAAC,KAAK,CACd,CAAC,CAAC,MAAM,CAAC;QACP,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE;QACf,QAAQ,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;QAChC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,WAAW,EAAE;QAC/B,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,WAAW,EAAE,CAAC,QAAQ,EAAE;QAC/C,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,WAAW,EAAE,CAAC,QAAQ,EAAE;QACjD,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,WAAW,EAAE;
|
|
1
|
+
{"version":3,"file":"price-lists-records.schema.js","sourceRoot":"","sources":["../../../../src/bigcommerce-entities/price-lists/schemas/price-lists-records.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACZ,QAAA,4BAA4B,GAAG,CAAC;KAC1C,MAAM,CAAC;IACN,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;IACvB,OAAO,EAAE,CAAC,CAAC,KAAK,CACd,CAAC,CAAC,MAAM,CAAC;QACP,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE;QACf,QAAQ,EAAE,CAAC,CAAC,IAAI,CAAC,CAA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KAAK,aAAa,EAAiB,MAAM,gBAAgB,CAAC;AACnF,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"bigcommerce.module.d.ts","sourceRoot":"","sources":["../src/bigcommerce.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,KAAK,aAAa,EAAiB,MAAM,gBAAgB,CAAC;AACnF,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAkBzB,OAAO,EAAE,uBAAuB,EAA4B,MAAM,sBAAsB,CAAC;AAkBzF;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,qBAqBa,iBAAiB;IAC5B,MAAM,CAAC,YAAY,CAAC,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,GAAG,aAAa;CAcpF"}
|
|
@@ -34,6 +34,7 @@ const services = [
|
|
|
34
34
|
price_lists_service_1.BigCommercePriceListsService,
|
|
35
35
|
products_service_1.BigCommerceProductsService,
|
|
36
36
|
sales_staff_service_1.BigCommerceSalesStaffService,
|
|
37
|
+
bigcommerce_entities_1.BigCommercePriceListsRecordsService,
|
|
37
38
|
];
|
|
38
39
|
/**
|
|
39
40
|
* Punto de entrada para consumir las APIs de BigCommerce dentro de la aplicación NestJS.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bigcommerce.module.js","sourceRoot":"","sources":["../src/bigcommerce.module.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,2CAAmF;AAEnF,
|
|
1
|
+
{"version":3,"file":"bigcommerce.module.js","sourceRoot":"","sources":["../src/bigcommerce.module.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,2CAAmF;AAEnF,iEAIgC;AAChC,sGAA4G;AAC5G,0FAAiG;AACjG,iFAAwF;AACxF,uFAA8F;AAC9F,gGAAsG;AACtG,uFAA8F;AAC9F,gGAAsG;AACtG,oFAG4C;AAC5C,wDAAuD;AACvD,wDAAyF;AACzF,MAAM,QAAQ,GAAe;I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ACF,CAAC;aACH,CAAC;SACH;KACF,CAAC;GACW,iBAAiB,CAe7B"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@edgebound/bigcommerce",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.28",
|
|
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
|
"rxjs": "^7.0.0",
|
|
23
23
|
"zod": "^4.3.3",
|
|
24
24
|
"delay": "^7.0.0",
|
|
25
|
-
"@edgebound/
|
|
26
|
-
"@edgebound/
|
|
25
|
+
"@edgebound/eslint-config": "0.0.2",
|
|
26
|
+
"@edgebound/typescript-config": "0.0.0"
|
|
27
27
|
},
|
|
28
28
|
"peerDependencies": {
|
|
29
29
|
"@nestjs/common": "^11.0.0",
|