@snabcentr/common-lib 4.0.1 → 4.0.2

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.
@@ -4,6 +4,6 @@
4
4
  "name": "public-api",
5
5
  "src": "src/public-api.ts",
6
6
  "isEntry": true,
7
- "integrity": "sha384-2j/cyG2tfyrffHbHn/Uw2aDBoOOaOQJrAwB47IlSZiSc+M62gSL5m4Jq97uGNYHM"
7
+ "integrity": "sha384-ubcRFP8DmH2CW0tN46fL/6mrILsRDJGKJ8NHWL0j2MuSAhm6Ond9Oekf+TGqbbzv"
8
8
  }
9
9
  }
@@ -2640,6 +2640,13 @@ var Gn = class e {
2640
2640
  deleteOfferProduct(e, t) {
2641
2641
  return this.delete(`/internal/orders/offers/${e}/products/${t}`, (e) => new Q(e.data));
2642
2642
  }
2643
+ deleteOfferProducts(e, t) {
2644
+ return this.request({
2645
+ method: "DELETE",
2646
+ url: `/internal/orders/offers/${e}/products`,
2647
+ data: { items: t }
2648
+ }, (e) => new Q(e.data));
2649
+ }
2643
2650
  getOfferHtml(e, t) {
2644
2651
  return this.get(`/internal/orders/offers/${e}/view`, t ? { recipientText: t } : {}, (e) => new Blob([e.data], { type: "text/html" }));
2645
2652
  }