@snabcentr/common-lib 1.71.4 → 1.71.5

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-TQUZQWNtQasrhigcriZYwDqbmFCxAmkXmvVei3Pt2FtH0/Imwa9H9+2BanqGILml"
7
+ "integrity": "sha384-qeAcjGowEa7EeJT6EWWqnFWxatlDbKvneQD2WCcBBulRsbMTGca4paLH03r0pGCJ"
8
8
  }
9
9
  }
@@ -1,6 +1,6 @@
1
- ## 1.71.4 (2025-09-30)
1
+ ## 1.71.5 (2025-10-01)
2
2
 
3
- ### added (1 change)
3
+ ### changed (1 change)
4
4
 
5
- - [#12343: В данные о менеджере добавлена информация о его роли ценообразования](web_soft/libs/ts/snabcentr-common-lib@ec49075c6376621a23a22b278459987ba05ce5f9) ([merge request](web_soft/libs/ts/snabcentr-common-lib!136))
5
+ - [#12173: В метод addCartItemFromCSV добавлено свойство 'file'](web_soft/libs/ts/snabcentr-common-lib@ce05d3376f90fe2878875d4d0771a0a50abd8015) ([merge request](web_soft/libs/ts/snabcentr-common-lib!137))
6
6
 
@@ -1112,11 +1112,12 @@ class xt extends h {
1112
1112
  * Добавляет продукты в корзину из файла CSV.
1113
1113
  *
1114
1114
  * @param client Данные о клиенте, для которого необходимо добавить в корзину новые позиции заказываемого товара/услуги из файла CSV.
1115
+ * @param file Данные о файле CSV.
1115
1116
  *
1116
1117
  * @see /doc/api/internal#/Корзина/api_internal_client_cart_add_products_from_csv
1117
1118
  */
1118
- addCartItemFromCSV(r) {
1119
- return this.post(`internal/clients/${r.id}/cart/add-products-from-csv`, {}, (e) => new me(e.data));
1119
+ addCartItemFromCSV(r, e) {
1120
+ return this.post(`internal/clients/${r.id}/cart/add-products-from-csv`, e, (s) => new me(s.data));
1120
1121
  }
1121
1122
  }
1122
1123
  var zr = /* @__PURE__ */ ((n) => (n.m2Cost = "m2Cost", n.percent = "percent", n.value = "value", n))(zr || {}), Ge = /* @__PURE__ */ ((n) => (n.Discount = "discount", n.PriceTemplate = "price_template", n.ClientPrice = "client_price", n.Product = "product", n))(Ge || {}), Wr = /* @__PURE__ */ ((n) => (n.Unknown = "unknown", n.Bool = "bool", n.Integer = "integer", n.Float = "float", n.String = "string", n.Range = "range", n.Json = "json", n.Object = "object", n))(Wr || {});