@edgebound/bigcommerce 0.5.26 → 0.5.27

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.
@@ -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
- ta: Record<string, never>;
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
- ta: z.ZodObject<{}, z.core.$strip>;
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
- ta: z.object({}),
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;QACnC,kBAAkB,EAAE,CAAC;aAClB,KAAK,CACJ,CAAC,CAAC,MAAM,CAAC;YACP,YAAY,EAAE,CAAC,CAAC,GAAG,EAAE;YACrB,YAAY,EAAE,CAAC,CAAC,GAAG,EAAE;YACrB,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,OAAO,EAAE,SAAS,CAAC,CAAC;YAC3C,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,WAAW,EAAE;SACjC,CAAC,CACH;aACA,QAAQ,EAAE;KACd,CAAC,CACH;CACF,CAAC;KACD,SAAS,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;IACpB,WAAW,EAAE,IAAI,CAAC,WAAW;IAC7B,IAAI,EAAE,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;QAClC,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,GAAG,MAAM;KACV,CAAC,CAAC;CACJ,CAAC,CAAC,CAAC;AAEO,QAAA,oCAAoC,GAAG,CAAC,CAAC,MAAM,CAAC;IAC3D,EAAE,EAAE,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC;CACjB,CAAC,CAAC"}
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,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igcommerce",
3
- "version": "0.5.26",
3
+ "version": "0.5.27",
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/typescript-config": "0.0.0",
26
- "@edgebound/eslint-config": "0.0.2"
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",