@snabcentr/common-lib 1.45.1 → 1.45.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-KAt3Ci+bzQlQfBniKbXVr1evjmkwbz6AjzwQc8GAmd4YSIkheYroJXRF5ujXUybn"
7
+ "integrity": "sha384-IeD3mgCMPLZi6dP2hjDNuWZb/vgJUDmSVMWeCBhZZHt0jW4quLmfdd+5nsZrzWgl"
8
8
  }
9
9
  }
@@ -1,6 +1,6 @@
1
- ## 1.45.1 (2025-04-28)
1
+ ## 1.45.2 (2025-04-28)
2
2
 
3
- ### fixed (1 change)
3
+ ### added (1 change)
4
4
 
5
- - [#11455: Исправлена ошибка сохранения изображения категории](web_soft/libs/ts/snabcentr-common-lib@23f363a9a05bc373e8250213b8a8c52c5db9848b) ([merge request](web_soft/libs/ts/snabcentr-common-lib!72))
5
+ - [#11455: Добавлена возможность скачать прайс-лист для категории](web_soft/libs/ts/snabcentr-common-lib@cc11192ec2da370fe39cf1d27356d8686d4db541) ([merge request](web_soft/libs/ts/snabcentr-common-lib!73))
6
6
 
@@ -264,7 +264,7 @@ const B = class B {
264
264
  * Конфигурация приложения.
265
265
  */
266
266
  s(B, "config");
267
- let O = B;
267
+ let d = B;
268
268
  class yr extends xe {
269
269
  /**
270
270
  * Инициализирует экземпляр класса {@link HiddenCatalogableItem}.
@@ -378,13 +378,13 @@ class x extends yr {
378
378
  s(this, "priceCoefficients");
379
379
  this.supplierSku = e == null ? void 0 : e.supplierSku, this.unit = (e == null ? void 0 : e.unit) ?? "", this.pack = e == null ? void 0 : e.pack, this.minCount = e == null ? void 0 : e.minCount, this.quantityUnit = e == null ? void 0 : e.quantityUnit, this.currency = (e == null ? void 0 : e.currency) ?? "", this.cost = (e == null ? void 0 : e.cost) ?? 0, this.costRub = (e == null ? void 0 : e.costRub) ?? 0, this.costDate = e == null ? void 0 : e.costDate, this.onOrder = (e == null ? void 0 : e.onOrder) ?? !1, this.stockCount = ((n = e == null ? void 0 : e.stockCount) == null ? void 0 : n.map((g) => new fr(g))) ?? [], this.type = "product";
380
380
  const t = (e == null ? void 0 : e.category) ?? ((o = e == null ? void 0 : e.categories) == null ? void 0 : o.find((g) => g.isPrimary));
381
- t && (this.category = new fe({ ...t, isPrimary: !0 }), this.categories = [this.category]), e != null && e.categories && (this.categories = e.categories.map((g) => new fe(g))), this.images = ((l = e == null ? void 0 : e.images) == null ? void 0 : l.map((g) => new wr(g, O.getConfig().http.mediaUrl))) ?? [], this.properties = (e == null ? void 0 : e.properties) ?? {}, this.priceCoefficients = ((u = e == null ? void 0 : e.priceCoefficients) == null ? void 0 : u.map((g) => new De(g))) ?? [], e && "codeNumber" in e && !e.code && (this.code = e == null ? void 0 : e.codeNumber);
381
+ t && (this.category = new fe({ ...t, isPrimary: !0 }), this.categories = [this.category]), e != null && e.categories && (this.categories = e.categories.map((g) => new fe(g))), this.images = ((l = e == null ? void 0 : e.images) == null ? void 0 : l.map((g) => new wr(g, d.getConfig().http.mediaUrl))) ?? [], this.properties = (e == null ? void 0 : e.properties) ?? {}, this.priceCoefficients = ((u = e == null ? void 0 : e.priceCoefficients) == null ? void 0 : u.map((g) => new De(g))) ?? [], e && "codeNumber" in e && !e.code && (this.code = e == null ? void 0 : e.codeNumber);
382
382
  }
383
383
  /**
384
384
  * Возвращает признак, что это измеряемый товар.
385
385
  */
386
386
  getIsMeasurable() {
387
- const e = O.getConfig().products.units;
387
+ const e = d.getConfig().products.units;
388
388
  return [...e.linear, ...e.square].includes(this.unit);
389
389
  }
390
390
  }
@@ -720,7 +720,7 @@ const b = class b {
720
720
  * - validationFieldResultData Список полей, для которых необходимо установить данные об ошибках валидации в случае ошибок в запросах.
721
721
  */
722
722
  s(this, "defaultInstanceNotificationErrorResponseHandler", m);
723
- const t = O.getConfig().version;
723
+ const t = d.getConfig().version;
724
724
  this.defaultInstanceNotificationErrorResponseHandler = b.baseDefaultNotificationErrorResponseHandler, this.httpClient = gr.create({
725
725
  // eslint-disable-next-line @typescript-eslint/restrict-template-expressions
726
726
  baseURL: r,
@@ -858,7 +858,7 @@ const W = class W extends ye {
858
858
  * Время кэширования данных ответов на запросы (секунд).
859
859
  */
860
860
  s(this, "responseDataCacheTimeout");
861
- const n = O.getConfig();
861
+ const n = d.getConfig();
862
862
  this.responseDataCacheTimeout = n.http.responseDataCacheTimeout;
863
863
  }
864
864
  /**
@@ -912,7 +912,7 @@ class p extends we {
912
912
  */
913
913
  constructor() {
914
914
  var t, n;
915
- const r = O.getConfig(), e = {};
915
+ const r = d.getConfig(), e = {};
916
916
  (t = r.devMode) != null && t.authBearerToken && (e.Authorization = `Bearer ${(n = r.devMode) == null ? void 0 : n.authBearerToken}`), super(`${r.http.apiUri}/api`, e);
917
917
  }
918
918
  }
@@ -1040,7 +1040,7 @@ class U extends ce {
1040
1040
  this.categories = (t = e == null ? void 0 : e.categories) == null ? void 0 : t.map((o) => new U(o)), this.products = (n = e == null ? void 0 : e.products) == null ? void 0 : n.map((o) => new x(o));
1041
1041
  }
1042
1042
  }
1043
- class Oe extends P {
1043
+ class de extends P {
1044
1044
  /**
1045
1045
  * Инициализирует экземпляр класса {@link UpdatableNamedIdentity}.
1046
1046
  *
@@ -1055,7 +1055,7 @@ class Oe extends P {
1055
1055
  this.updatedAt = e == null ? void 0 : e.updatedAt;
1056
1056
  }
1057
1057
  }
1058
- class Tr extends Oe {
1058
+ class Tr extends de {
1059
1059
  /**
1060
1060
  * Инициализирует экземпляр класса {@link UpdatableNamedIdentity}.
1061
1061
  *
@@ -1119,7 +1119,7 @@ class q extends P {
1119
1119
  this.type = e == null ? void 0 : e.type;
1120
1120
  }
1121
1121
  }
1122
- class Sr extends P {
1122
+ class _r extends P {
1123
1123
  /**
1124
1124
  * Инициализирует экземпляр класса {@link DiscountShortInfo}.
1125
1125
  *
@@ -1158,7 +1158,7 @@ class Sr extends P {
1158
1158
  this.costCoefficient = (e == null ? void 0 : e.costCoefficient) ?? 0, this.isLowPriceAllowed = (e == null ? void 0 : e.isLowPriceAllowed) ?? !1, this.publishedAt = e != null && e.publishedAt ? D(e.publishedAt) ? N(e.publishedAt) : e.publishedAt : void 0, this.description = (e == null ? void 0 : e.description) ?? void 0, this.percent = (e == null ? void 0 : e.percent) ?? 0, this.owner = new q(e == null ? void 0 : e.owner), this.deletedAt = e != null && e.deletedAt ? D(e.deletedAt) ? N(e.deletedAt) : e.deletedAt : void 0;
1159
1159
  }
1160
1160
  }
1161
- class _r extends Oe {
1161
+ class Sr extends de {
1162
1162
  /**
1163
1163
  * Инициализирует экземпляр класса {@link PriceTemplate}.
1164
1164
  *
@@ -1213,7 +1213,7 @@ class ue extends x {
1213
1213
  * Признак того, что указанный продукт входит в список избранных продуктов клиента.
1214
1214
  */
1215
1215
  s(this, "isFavorite");
1216
- this.costCoefficient = (e == null ? void 0 : e.costCoefficient) ?? 0, this.costSource = (e == null ? void 0 : e.costSource) ?? Ne.Product, this.discount = e != null && e.discount ? new Sr(e.discount) : void 0, this.priceTemplate = e != null && e.priceTemplate ? new _r(e.priceTemplate) : void 0, this.isPreviouslyOrdered = e == null ? void 0 : e.isPreviouslyOrdered, this.isRequired = e == null ? void 0 : e.isRequired, this.isFavorite = e == null ? void 0 : e.isFavorite;
1216
+ this.costCoefficient = (e == null ? void 0 : e.costCoefficient) ?? 0, this.costSource = (e == null ? void 0 : e.costSource) ?? Ne.Product, this.discount = e != null && e.discount ? new _r(e.discount) : void 0, this.priceTemplate = e != null && e.priceTemplate ? new Sr(e.priceTemplate) : void 0, this.isPreviouslyOrdered = e == null ? void 0 : e.isPreviouslyOrdered, this.isRequired = e == null ? void 0 : e.isRequired, this.isFavorite = e == null ? void 0 : e.isFavorite;
1217
1217
  }
1218
1218
  }
1219
1219
  class ar {
@@ -1345,7 +1345,7 @@ class re extends Lr {
1345
1345
  this.categories = (t = e == null ? void 0 : e.categories) == null ? void 0 : t.map((o) => new re(o)), this.products = (n = e == null ? void 0 : e.products) == null ? void 0 : n.map((o) => new ue(o));
1346
1346
  }
1347
1347
  }
1348
- class de extends f {
1348
+ class Oe extends f {
1349
1349
  }
1350
1350
  class J extends P {
1351
1351
  /**
@@ -1367,7 +1367,7 @@ class J extends P {
1367
1367
  * Дополнительные метаданные свойства.
1368
1368
  */
1369
1369
  s(this, "metadata");
1370
- this.type = new de(e == null ? void 0 : e.type), this.description = (e == null ? void 0 : e.description) ?? "", this.metadata = e == null ? void 0 : e.metadata;
1370
+ this.type = new Oe(e == null ? void 0 : e.type), this.description = (e == null ? void 0 : e.description) ?? "", this.metadata = e == null ? void 0 : e.metadata;
1371
1371
  }
1372
1372
  }
1373
1373
  class F {
@@ -1468,10 +1468,10 @@ class Nr extends f {
1468
1468
  }
1469
1469
  class M extends f {
1470
1470
  }
1471
- class Or extends f {
1472
- }
1473
1471
  class dr extends f {
1474
1472
  }
1473
+ class Or extends f {
1474
+ }
1475
1475
  class qe extends f {
1476
1476
  }
1477
1477
  class Ge extends f {
@@ -1535,7 +1535,7 @@ class R extends p {
1535
1535
  * Возвращает {@link Promise} для получения справочника данных типов оплаты заказов.
1536
1536
  */
1537
1537
  getPaymentTypes() {
1538
- return this.getTypedDataArrayRequester(Or, "/public/references/payment-type", !0);
1538
+ return this.getTypedDataArrayRequester(dr, "/public/references/payment-type", !0);
1539
1539
  }
1540
1540
  /**
1541
1541
  * Возвращает {@link Promise} для получения справочника типов ресурсов.
@@ -1595,7 +1595,7 @@ class R extends p {
1595
1595
  * Возвращает {@link Promise} для получения справочника типов свойств.
1596
1596
  */
1597
1597
  getPropertyTypes() {
1598
- return this.getTypedDataArrayRequester(de, "/internal/references/property-type", !0);
1598
+ return this.getTypedDataArrayRequester(Oe, "/internal/references/property-type", !0);
1599
1599
  }
1600
1600
  /**
1601
1601
  * Возвращает {@link Promise} для получения справочника коэффициентов цен.
@@ -1607,7 +1607,7 @@ class R extends p {
1607
1607
  * Возвращает {@link Promise} для получения справочника типов файлов продуктов/категорий.
1608
1608
  */
1609
1609
  getProductFileType() {
1610
- return this.getTypedDataArrayRequester(dr, "/public/references/product-file-type", !0);
1610
+ return this.getTypedDataArrayRequester(Or, "/public/references/product-file-type", !0);
1611
1611
  }
1612
1612
  }
1613
1613
  var Ur = /* @__PURE__ */ ((i) => (i.Admin = "admin", i.Manager = "manager", i.Operator = "operator", i.Client = "client", i.Guest = "guest", i))(Ur || {});
@@ -1781,7 +1781,7 @@ class Q extends P {
1781
1781
  this.description = e == null ? void 0 : e.description, this.canChangeLowCost = (e == null ? void 0 : e.canChangeLowCost) ?? !1, this.parentRoleId = e == null ? void 0 : e.parentRoleId;
1782
1782
  }
1783
1783
  }
1784
- class Se {
1784
+ class _e {
1785
1785
  /**
1786
1786
  * Инициализирует экземпляр класса {@link PricingRoleCategoryRule}.
1787
1787
  *
@@ -1823,14 +1823,15 @@ class ls extends p {
1823
1823
  *
1824
1824
  * @param format Формат скачиваемого файла прайс-листа.
1825
1825
  * @param showHidden Признак того, что необходимо включить в ответ скрытые продукты.
1826
+ * @param categoryId Идентификатор записи категории товаров.
1826
1827
  * @param clientId Идентификатор клиента для которого необходимо получить файл.
1827
1828
  *
1828
1829
  * @see /doc/api/internal#/operations/api_internal_price_export
1829
1830
  */
1830
1831
  // eslint-disable-next-line class-methods-use-this
1831
- getPriceExportLink(r = "csv", e = !1, t = void 0) {
1832
- let o = `${O.getConfig().http.apiUri}/api/internal/price/export?format=${r}&show_hidden=${e}`;
1833
- return t && (o += `&client_id=${t}`), o;
1832
+ getPriceExportLink(r = "csv", e = !1, t = void 0, n = void 0) {
1833
+ let l = `${d.getConfig().http.apiUri}/api/internal/price/export?format=${r}&show_hidden=${e}`;
1834
+ return t && (l += `&category_id=${t}`), n && (l += `&client_id=${n}`), l;
1834
1835
  }
1835
1836
  }
1836
1837
  class us extends p {
@@ -2131,7 +2132,7 @@ class ms extends p {
2131
2132
  return this.get(
2132
2133
  `/internal/price/roles/rules/categories/${r}`,
2133
2134
  {},
2134
- (e) => e.data.map((t) => new Se(t))
2135
+ (e) => e.data.map((t) => new _e(t))
2135
2136
  );
2136
2137
  }
2137
2138
  /**
@@ -2146,7 +2147,7 @@ class ms extends p {
2146
2147
  return this.patch(
2147
2148
  `/internal/price/roles/rules/categories/${r}`,
2148
2149
  e,
2149
- (t) => t.data.map((n) => new Se(n))
2150
+ (t) => t.data.map((n) => new _e(n))
2150
2151
  );
2151
2152
  }
2152
2153
  }
@@ -2981,7 +2982,7 @@ class ie extends Tr {
2981
2982
  this.address = (e == null ? void 0 : e.address) ?? "", this.coordinates = new ke(e == null ? void 0 : e.coordinates), this.contacts = ((t = e == null ? void 0 : e.contacts) == null ? void 0 : t.map((n) => new H(n))) ?? [], this.comment = e == null ? void 0 : e.comment, this.operatingHours = e == null ? void 0 : e.operatingHours, this.isOneTime = e == null ? void 0 : e.isOneTime, this.isTransportCompanyAddress = e == null ? void 0 : e.isTransportCompanyAddress;
2982
2983
  }
2983
2984
  }
2984
- class _e extends $e {
2985
+ class Se extends $e {
2985
2986
  /**
2986
2987
  * Инициализирует экземпляр класса {@link Client}.
2987
2988
  *
@@ -3575,7 +3576,7 @@ class Ds extends Ae {
3575
3576
  * @see /doc/api/internal#/Клиенты/api_internal_client_get_full_info
3576
3577
  */
3577
3578
  getClient(r) {
3578
- return this.get(`/internal/clients/${r}`, {}, (e) => new _e(e.data));
3579
+ return this.get(`/internal/clients/${r}`, {}, (e) => new Se(e.data));
3579
3580
  }
3580
3581
  /**
3581
3582
  * Возвращает данные о клиентах, удовлетворяющих указанным параметрам поиска.
@@ -3656,7 +3657,7 @@ class Ds extends Ae {
3656
3657
  is_excluded_from_ms_calls_to_clients: r.isExcludedFromMsCallsToClients,
3657
3658
  preferred_warehouse_id: (t = r.preferredWarehouse) == null ? void 0 : t.id
3658
3659
  },
3659
- (n) => new _e(n.data),
3660
+ (n) => new Se(n.data),
3660
3661
  e
3661
3662
  );
3662
3663
  }
@@ -3766,7 +3767,7 @@ class Ds extends Ae {
3766
3767
  * @see /doc/api/internal#/Контрагенты/api_internal_client_contragent_create
3767
3768
  */
3768
3769
  createContragentClientData(r, e, t = {}) {
3769
- var g, C, A, S, _, a, L, I;
3770
+ var g, C, A, _, S, a, L, I;
3770
3771
  let n;
3771
3772
  const o = e, l = e, u = e;
3772
3773
  switch (e.opf.slug) {
@@ -3794,7 +3795,7 @@ class Ds extends Ae {
3794
3795
  name: l.name,
3795
3796
  alternative_name: l.alternativeName,
3796
3797
  partner_group_id: (A = l.partnerGroup) == null ? void 0 : A.id,
3797
- manager_id: (S = l.manager) == null ? void 0 : S.id,
3798
+ manager_id: (_ = l.manager) == null ? void 0 : _.id,
3798
3799
  comment: l.comment,
3799
3800
  inn: l.inn,
3800
3801
  kpp: l.kpp,
@@ -3812,7 +3813,7 @@ class Ds extends Ae {
3812
3813
  opf: u.opf.slug,
3813
3814
  name: u.name,
3814
3815
  alternative_name: u.alternativeName,
3815
- partner_group_id: (_ = u.partnerGroup) == null ? void 0 : _.id,
3816
+ partner_group_id: (S = u.partnerGroup) == null ? void 0 : S.id,
3816
3817
  manager_id: (a = u.manager) == null ? void 0 : a.id,
3817
3818
  comment: u.comment,
3818
3819
  inn: u.inn,
@@ -3843,7 +3844,7 @@ class Ds extends Ae {
3843
3844
  return this.post(
3844
3845
  `/internal/clients/${r}/contragents`,
3845
3846
  n,
3846
- (d) => ne.createInstance(d.data),
3847
+ (O) => ne.createInstance(O.data),
3847
3848
  t
3848
3849
  );
3849
3850
  }
@@ -3858,7 +3859,7 @@ class Ds extends Ae {
3858
3859
  * @see /doc/api/internal#/Контрагенты/api_internal_client_contragent_update
3859
3860
  */
3860
3861
  updateContragentClientData(r, e, t = {}) {
3861
- var g, C, A, S, _, a, L, I;
3862
+ var g, C, A, _, S, a, L, I;
3862
3863
  let n;
3863
3864
  const o = e, l = e, u = e;
3864
3865
  switch (e.opf.slug) {
@@ -3886,7 +3887,7 @@ class Ds extends Ae {
3886
3887
  name: l.name,
3887
3888
  alternative_name: l.alternativeName,
3888
3889
  partner_group_id: (A = l.partnerGroup) == null ? void 0 : A.id,
3889
- manager_id: (S = l.manager) == null ? void 0 : S.id,
3890
+ manager_id: (_ = l.manager) == null ? void 0 : _.id,
3890
3891
  comment: l.comment,
3891
3892
  inn: l.inn,
3892
3893
  kpp: l.kpp,
@@ -3904,7 +3905,7 @@ class Ds extends Ae {
3904
3905
  opf: u.opf.slug,
3905
3906
  name: u.name,
3906
3907
  alternative_name: u.alternativeName,
3907
- partner_group_id: (_ = u.partnerGroup) == null ? void 0 : _.id,
3908
+ partner_group_id: (S = u.partnerGroup) == null ? void 0 : S.id,
3908
3909
  manager_id: (a = u.manager) == null ? void 0 : a.id,
3909
3910
  comment: u.comment,
3910
3911
  inn: u.inn,
@@ -3935,7 +3936,7 @@ class Ds extends Ae {
3935
3936
  return this.patch(
3936
3937
  `/internal/clients/${r}/contragents/${e.id}`,
3937
3938
  n,
3938
- (d) => ne.createInstance(d.data),
3939
+ (O) => ne.createInstance(O.data),
3939
3940
  t
3940
3941
  );
3941
3942
  }
@@ -4560,7 +4561,7 @@ class Ts extends p {
4560
4561
  }
4561
4562
  }
4562
4563
  const v = oe("__references_private", () => {
4563
- const i = y({}), r = y(void 0), e = y(void 0), t = y(void 0), n = y(void 0), o = y(void 0), l = y(void 0), u = y(void 0), g = y(void 0), C = y(void 0), A = y(void 0), S = y(void 0), _ = y(void 0), a = y(void 0), L = y(void 0), I = y(void 0), d = y(void 0), c = y(void 0);
4564
+ const i = y({}), r = y(void 0), e = y(void 0), t = y(void 0), n = y(void 0), o = y(void 0), l = y(void 0), u = y(void 0), g = y(void 0), C = y(void 0), A = y(void 0), _ = y(void 0), S = y(void 0), a = y(void 0), L = y(void 0), I = y(void 0), O = y(void 0), c = y(void 0);
4564
4565
  return {
4565
4566
  /**
4566
4567
  * Список загружаемых/загруженных на данный момент значений.
@@ -4609,11 +4610,11 @@ const v = oe("__references_private", () => {
4609
4610
  /**
4610
4611
  * Справочник типов файлов продукктов/категорий.
4611
4612
  */
4612
- productFileTypeReference: S,
4613
+ productFileTypeReference: _,
4613
4614
  /**
4614
4615
  * Справочник типов ресурсов.
4615
4616
  */
4616
- resourceTypesReference: _,
4617
+ resourceTypesReference: S,
4617
4618
  /**
4618
4619
  * Справочник направлений продаж.
4619
4620
  */
@@ -4629,13 +4630,13 @@ const v = oe("__references_private", () => {
4629
4630
  /**
4630
4631
  * Справочник типов свойств.
4631
4632
  */
4632
- propertyTypesReference: d,
4633
+ propertyTypesReference: O,
4633
4634
  /**
4634
4635
  * Справочник коэффициентов цен.
4635
4636
  */
4636
4637
  priceCoefficientsReference: c
4637
4638
  };
4638
- }), Ss = oe("references", () => {
4639
+ }), _s = oe("references", () => {
4639
4640
  const i = w(() => {
4640
4641
  const c = v();
4641
4642
  return !c.channelPrimaryInterestReference && !c.dataLoaderList.channelPrimaryInterestReference && (c.dataLoaderList.channelPrimaryInterestReference = !0, p.getInstance(R).getChannelPrimaryInterest().then((h) => {
@@ -4691,12 +4692,12 @@ const v = oe("__references_private", () => {
4691
4692
  return !c.salesDirectionsReference && !c.dataLoaderList.salesDirectionsReference && (c.dataLoaderList.salesDirectionsReference = !0, p.getInstance(R).getSalesDirections().then((h) => {
4692
4693
  c.salesDirectionsReference = h;
4693
4694
  }).catch(m)), c.salesDirectionsReference;
4694
- }), S = w(() => {
4695
+ }), _ = w(() => {
4695
4696
  const c = v();
4696
4697
  return !c.sourcePrimaryInterestReference && !c.dataLoaderList.sourcePrimaryInterestReference && (c.dataLoaderList.sourcePrimaryInterestReference = !0, p.getInstance(R).getSourcePrimaryInterest().then((h) => {
4697
4698
  c.sourcePrimaryInterestReference = h;
4698
4699
  }).catch(m)), c.sourcePrimaryInterestReference;
4699
- }), _ = w(() => {
4700
+ }), S = w(() => {
4700
4701
  const c = v();
4701
4702
  return !c.deliveryTypeReference && !c.dataLoaderList.deliveryTypeReference && (c.dataLoaderList.deliveryTypeReference = !0, p.getInstance(R).getDeliveryTypes().then((h) => {
4702
4703
  c.deliveryTypeReference = h;
@@ -4716,7 +4717,7 @@ const v = oe("__references_private", () => {
4716
4717
  return !c.propertyTypesReference && !c.dataLoaderList.propertyTypesReference && (c.dataLoaderList.propertyTypesReference = !0, p.getInstance(R).getPropertyTypes().then((h) => {
4717
4718
  c.propertyTypesReference = h;
4718
4719
  }).catch(m)), c.propertyTypesReference;
4719
- }), d = w(() => {
4720
+ }), O = w(() => {
4720
4721
  const c = v();
4721
4722
  return !c.priceCoefficientsReference && !c.dataLoaderList.priceCoefficientsReference && (c.dataLoaderList.priceCoefficientsReference = !0, p.getInstance(R).getPriceCoefficients().then((h) => {
4722
4723
  c.priceCoefficientsReference = h;
@@ -4770,11 +4771,11 @@ const v = oe("__references_private", () => {
4770
4771
  /**
4771
4772
  * Справочник каналов первичного интереса.
4772
4773
  */
4773
- sourcePrimaryInterestsReference: S,
4774
+ sourcePrimaryInterestsReference: _,
4774
4775
  /**
4775
4776
  * Справочник типов доставки.
4776
4777
  */
4777
- deliveryTypeReference: _,
4778
+ deliveryTypeReference: S,
4778
4779
  /**
4779
4780
  * Список менеджеров.
4780
4781
  */
@@ -4790,7 +4791,7 @@ const v = oe("__references_private", () => {
4790
4791
  /**
4791
4792
  * Справочник коэффициентов цен.
4792
4793
  */
4793
- priceCoefficientsReference: d
4794
+ priceCoefficientsReference: O
4794
4795
  };
4795
4796
  }), Qr = oe("__user_state_private", () => {
4796
4797
  const i = y({}), r = y(void 0);
@@ -4804,7 +4805,7 @@ const v = oe("__references_private", () => {
4804
4805
  */
4805
4806
  currentUser: r
4806
4807
  };
4807
- }), _s = oe("user_state", () => ({
4808
+ }), Ss = oe("user_state", () => ({
4808
4809
  /**
4809
4810
  * Данные о текущем пользователе.
4810
4811
  */
@@ -4888,7 +4889,7 @@ class Ls {
4888
4889
  export {
4889
4890
  Ir as AnyReference,
4890
4891
  ns as AppBaseConfig,
4891
- O as AppConfigProvider,
4892
+ d as AppConfigProvider,
4892
4893
  Ce as BankAccount,
4893
4894
  Ae as BasePaginationProvider,
4894
4895
  X as Cart,
@@ -4898,11 +4899,11 @@ export {
4898
4899
  ls as CatalogProvider,
4899
4900
  xe as CatalogableItem,
4900
4901
  U as Category,
4901
- Se as CategoryPricingRule,
4902
+ _e as CategoryPricingRule,
4902
4903
  Ue as ChannelPrimaryInterest,
4903
4904
  cs as City,
4904
4905
  se as CityWithRegionAndCountry,
4905
- _e as Client,
4906
+ Se as Client,
4906
4907
  Vr as ClientAdditionalData,
4907
4908
  re as ClientCategory,
4908
4909
  Ds as ClientDataProvider,
@@ -4937,7 +4938,7 @@ export {
4937
4938
  ie as DeliveryAddress,
4938
4939
  V as DeliveryType,
4939
4940
  Rr as DeviceTypeResolutionConfig,
4940
- Sr as DiscountShortInfo,
4941
+ _r as DiscountShortInfo,
4941
4942
  Ls as FieldValidationResultData,
4942
4943
  je as FilterOpEnum,
4943
4944
  ke as GeoCoordinates,
@@ -4964,22 +4965,22 @@ export {
4964
4965
  Nr as OrderStatus,
4965
4966
  Cs as OrdersDataProvider,
4966
4967
  M as PartnerGroup,
4967
- Or as PaymentType,
4968
+ dr as PaymentType,
4968
4969
  os as PreferencesStorageProvider,
4969
4970
  br as PriceCoefficientEnum,
4970
- _r as PriceTemplate,
4971
+ Sr as PriceTemplate,
4971
4972
  Q as PricingRole,
4972
4973
  ms as PricingRoleProvider,
4973
4974
  fe as PrimaryCatalogableItem,
4974
4975
  x as Product,
4975
4976
  us as ProductCategoryDataProvider,
4976
4977
  ps as ProductDataProvider,
4977
- dr as ProductFileType,
4978
+ Or as ProductFileType,
4978
4979
  De as ProductPriceCoefficient,
4979
4980
  Mr as ProductPriceHistory,
4980
4981
  fs as PropertiesProvider,
4981
4982
  J as Property,
4982
- de as PropertyType,
4983
+ Oe as PropertyType,
4983
4984
  $r as PropertyTypeEnum,
4984
4985
  F as PropertyValue,
4985
4986
  ys as RecommendationsDataProvider,
@@ -4997,7 +4998,7 @@ export {
4997
4998
  Pe as TypedInstanceFactory,
4998
4999
  ae as UnitsHelper,
4999
5000
  Ps as UnknownClientDataProvider,
5000
- Oe as UpdatableNamedIdentity,
5001
+ de as UpdatableNamedIdentity,
5001
5002
  qr as User,
5002
5003
  Me as UserCommonInfo,
5003
5004
  Gr as UserDataProvider,
@@ -5005,7 +5006,7 @@ export {
5005
5006
  Ur as UserTypeEnum,
5006
5007
  Ar as VersionConfig,
5007
5008
  le as Warehouse,
5008
- Ss as useReferencesStore,
5009
- _s as useUserStateStore
5009
+ _s as useReferencesStore,
5010
+ Ss as useUserStateStore
5010
5011
  };
5011
5012
  //# sourceMappingURL=sc-common-lib.js.map