@snabcentr/common-lib 1.90.2 → 1.90.3
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/manifest.json +1 -1
- package/dist/release_notes.tmp +3 -3
- package/dist/sc-common-lib.js +42 -42
- package/dist/sc-common-lib.js.map +1 -1
- package/dist/sc-common-lib.umd.cjs +1 -1
- package/dist/sc-common-lib.umd.cjs.map +1 -1
- package/dist/src/orders/classes/orders-list-filters.d.ts +2 -1
- package/dist/src/orders/classes/orders-list-filters.d.ts.map +1 -1
- package/dist/src/orders/interfaces/i-orders-list-filters.d.ts +3 -2
- package/dist/src/orders/interfaces/i-orders-list-filters.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/manifest.json
CHANGED
package/dist/release_notes.tmp
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
## 1.90.
|
|
1
|
+
## 1.90.3 (2026-06-20)
|
|
2
2
|
|
|
3
|
-
###
|
|
3
|
+
### changed (1 change)
|
|
4
4
|
|
|
5
|
-
- [#
|
|
5
|
+
- [#13186: Фильтр заказов «За кем закреплен заказ» поддерживает закрепление за менеджерами](web_soft/libs/ts/snabcentr-common-lib@6b8d65226a7e02e59a0c110cfd51dbc04d3f95b2) ([merge request](web_soft/libs/ts/snabcentr-common-lib!198))
|
|
6
6
|
|
package/dist/sc-common-lib.js
CHANGED
|
@@ -359,7 +359,7 @@ const L = z("common.config", () => {
|
|
|
359
359
|
}
|
|
360
360
|
};
|
|
361
361
|
});
|
|
362
|
-
class
|
|
362
|
+
class we {
|
|
363
363
|
/**
|
|
364
364
|
* Возвращает актуальные и не просроченные данные из хранилища.
|
|
365
365
|
*
|
|
@@ -480,7 +480,7 @@ const E = z("common.auth_state_private", () => {
|
|
|
480
480
|
const n = y(
|
|
481
481
|
(() => {
|
|
482
482
|
var u;
|
|
483
|
-
const o =
|
|
483
|
+
const o = we.getActualDataFromStorage(
|
|
484
484
|
"sc.token"
|
|
485
485
|
/* JwtToken */
|
|
486
486
|
);
|
|
@@ -524,7 +524,7 @@ const E = z("common.auth_state_private", () => {
|
|
|
524
524
|
if (T(o.jwtToken) && !T(o.jwtTokenUpdater)) {
|
|
525
525
|
const c = o.jwtTokenUpdater();
|
|
526
526
|
o.jwtToken = c, c.then((u) => {
|
|
527
|
-
o.jwtToken = Promise.resolve(u),
|
|
527
|
+
o.jwtToken = Promise.resolve(u), we.saveActualDataToStorage("sc.token", u, Ve(u)), o.recalculateUserPermissions();
|
|
528
528
|
}).catch(w);
|
|
529
529
|
}
|
|
530
530
|
return o.jwtToken;
|
|
@@ -534,11 +534,11 @@ const E = z("common.auth_state_private", () => {
|
|
|
534
534
|
}
|
|
535
535
|
function e(o) {
|
|
536
536
|
const c = E();
|
|
537
|
-
c.jwtToken = Promise.resolve(o),
|
|
537
|
+
c.jwtToken = Promise.resolve(o), we.saveActualDataToStorage("sc.token", o, Ve(o)), c.recalculateUserPermissions();
|
|
538
538
|
}
|
|
539
539
|
function s() {
|
|
540
540
|
const o = E();
|
|
541
|
-
o.jwtToken = void 0, o.userPermissions = void 0,
|
|
541
|
+
o.jwtToken = void 0, o.userPermissions = void 0, we.saveActualDataToStorage("sc.token", void 0);
|
|
542
542
|
}
|
|
543
543
|
function i(o) {
|
|
544
544
|
const c = E();
|
|
@@ -860,7 +860,7 @@ class K extends lr {
|
|
|
860
860
|
}
|
|
861
861
|
}
|
|
862
862
|
var pr = /* @__PURE__ */ ((n) => (n.K0 = "k0", n.K1 = "k1", n.K2 = "k2", n.K3 = "k3", n.K4 = "k4", n.Retail = "retail", n))(pr || {});
|
|
863
|
-
class
|
|
863
|
+
class Pe extends R {
|
|
864
864
|
/**
|
|
865
865
|
* Возвращает значение справочника коэффициента розничной цены.
|
|
866
866
|
*/
|
|
@@ -895,7 +895,7 @@ class Me {
|
|
|
895
895
|
* Признак того, что указанный коэффициент доступен текущему пользователю только для просмотра.
|
|
896
896
|
*/
|
|
897
897
|
t(this, "readOnly");
|
|
898
|
-
this.coefficient = new
|
|
898
|
+
this.coefficient = new Pe(r == null ? void 0 : r.coefficient), this.value = (r == null ? void 0 : r.value) ?? 0, this.cost = (r == null ? void 0 : r.cost) ?? 0, this.percent = (r == null ? void 0 : r.percent) ?? 0, this.readOnly = (r == null ? void 0 : r.readOnly) ?? !0;
|
|
899
899
|
}
|
|
900
900
|
}
|
|
901
901
|
class hr {
|
|
@@ -1295,7 +1295,7 @@ let ot = class extends gr {
|
|
|
1295
1295
|
this.cost = e.cost, this.costOne = e.costOne, this.costOneRub = e.costOneRub, this.costRub = e.costRub, this.logicGroupId = e.logicGroupId, this.salesDirection = e.salesDirection, this.specificationImgUrl = e.specificationImgUrl, this.sawing = H(e.sawing) ? e.sawing : e.sawing ? [e.sawing] : void 0, this.currency = new x(e.currency);
|
|
1296
1296
|
}
|
|
1297
1297
|
};
|
|
1298
|
-
class
|
|
1298
|
+
class ye {
|
|
1299
1299
|
/**
|
|
1300
1300
|
* Инициализирует экземпляр класса {@link Cart}.
|
|
1301
1301
|
*
|
|
@@ -1595,7 +1595,7 @@ class Bt extends p {
|
|
|
1595
1595
|
* @see /doc/api/internal#/Корзина/api_internal_client_cart_get
|
|
1596
1596
|
*/
|
|
1597
1597
|
getCart(r) {
|
|
1598
|
-
return this.get(`internal/clients/${r.id}/cart`, {}, (e) => new
|
|
1598
|
+
return this.get(`internal/clients/${r.id}/cart`, {}, (e) => new ye(e.data));
|
|
1599
1599
|
}
|
|
1600
1600
|
/**
|
|
1601
1601
|
* Удаляет всё содержимое корзины.
|
|
@@ -1633,7 +1633,7 @@ class Bt extends p {
|
|
|
1633
1633
|
is_additional_sale: e.isAdditionalSale,
|
|
1634
1634
|
...e.configuratorParams
|
|
1635
1635
|
},
|
|
1636
|
-
(i) => new
|
|
1636
|
+
(i) => new ye(i.data),
|
|
1637
1637
|
s
|
|
1638
1638
|
);
|
|
1639
1639
|
}
|
|
@@ -1663,7 +1663,7 @@ class Bt extends p {
|
|
|
1663
1663
|
is_additional_sale: e.isAdditionalSale,
|
|
1664
1664
|
...e.configuratorParams
|
|
1665
1665
|
},
|
|
1666
|
-
(i) => new
|
|
1666
|
+
(i) => new ye(i.data),
|
|
1667
1667
|
s
|
|
1668
1668
|
);
|
|
1669
1669
|
}
|
|
@@ -1687,7 +1687,7 @@ class Bt extends p {
|
|
|
1687
1687
|
* @see /doc/api/internal#/Корзина/api_internal_client_cart_add_products_from_csv
|
|
1688
1688
|
*/
|
|
1689
1689
|
addCartItemFromCSV(r, e) {
|
|
1690
|
-
return this.post(`internal/clients/${r.id}/cart/add-products-from-csv`, e, (s) => new
|
|
1690
|
+
return this.post(`internal/clients/${r.id}/cart/add-products-from-csv`, e, (s) => new ye(s.data));
|
|
1691
1691
|
}
|
|
1692
1692
|
/**
|
|
1693
1693
|
* Возвращает пример CSV файла для добавления продуктов в корзину.
|
|
@@ -1797,7 +1797,7 @@ class ut extends k {
|
|
|
1797
1797
|
this.description = e.description, this.canChangeLowCost = e.canChangeLowCost, this.parentRoleId = e.parentRoleId;
|
|
1798
1798
|
}
|
|
1799
1799
|
}
|
|
1800
|
-
class
|
|
1800
|
+
class fe extends Ge {
|
|
1801
1801
|
/**
|
|
1802
1802
|
* Инициализирует экземпляр класса {@link Manager}.
|
|
1803
1803
|
*
|
|
@@ -1865,10 +1865,10 @@ class pt extends me {
|
|
|
1865
1865
|
* Данные о менеджере за которым закреплена категория.
|
|
1866
1866
|
*/
|
|
1867
1867
|
t(this, "manager");
|
|
1868
|
-
this.isDisabled = (e == null ? void 0 : e.isDisabled) ?? !1, this.isRequired = (e == null ? void 0 : e.isRequired) ?? !1, this.isFavorite = (e == null ? void 0 : e.isFavorite) ?? !1, this.hidingComment = e == null ? void 0 : e.hidingComment, this.manager = e != null && e.manager ? new
|
|
1868
|
+
this.isDisabled = (e == null ? void 0 : e.isDisabled) ?? !1, this.isRequired = (e == null ? void 0 : e.isRequired) ?? !1, this.isFavorite = (e == null ? void 0 : e.isFavorite) ?? !1, this.hidingComment = e == null ? void 0 : e.hidingComment, this.manager = e != null && e.manager ? new fe(e.manager) : void 0;
|
|
1869
1869
|
}
|
|
1870
1870
|
}
|
|
1871
|
-
class
|
|
1871
|
+
class ve extends pt {
|
|
1872
1872
|
/**
|
|
1873
1873
|
* Инициализирует экземпляр класса {@link ClientCategory}.
|
|
1874
1874
|
*
|
|
@@ -1885,7 +1885,7 @@ class we extends pt {
|
|
|
1885
1885
|
* Список продуктов категории.
|
|
1886
1886
|
*/
|
|
1887
1887
|
t(this, "products");
|
|
1888
|
-
this.categories = (s = e == null ? void 0 : e.categories) == null ? void 0 : s.map((o) => new
|
|
1888
|
+
this.categories = (s = e == null ? void 0 : e.categories) == null ? void 0 : s.map((o) => new ve(o)), this.products = (i = e == null ? void 0 : e.products) == null ? void 0 : i.map((o) => new M(o));
|
|
1889
1889
|
}
|
|
1890
1890
|
}
|
|
1891
1891
|
class fr {
|
|
@@ -1903,7 +1903,7 @@ class fr {
|
|
|
1903
1903
|
* Процент, который прибавляется к значению выбранного коэффициента.
|
|
1904
1904
|
*/
|
|
1905
1905
|
t(this, "increasePercent");
|
|
1906
|
-
this.priceCoefficient = (r == null ? void 0 : r.priceCoefficient) && new
|
|
1906
|
+
this.priceCoefficient = (r == null ? void 0 : r.priceCoefficient) && new Pe(r.priceCoefficient), this.increasePercent = r == null ? void 0 : r.increasePercent;
|
|
1907
1907
|
}
|
|
1908
1908
|
}
|
|
1909
1909
|
class Se extends fr {
|
|
@@ -2286,7 +2286,7 @@ class Qe {
|
|
|
2286
2286
|
* Минимальный коэффициент цены.
|
|
2287
2287
|
*/
|
|
2288
2288
|
t(this, "minCoefficient");
|
|
2289
|
-
this.role = new oe(r == null ? void 0 : r.role), this.category = new me(r == null ? void 0 : r.category), this.minCoefficient = new
|
|
2289
|
+
this.role = new oe(r == null ? void 0 : r.role), this.category = new me(r == null ? void 0 : r.category), this.minCoefficient = new Pe(r == null ? void 0 : r.minCoefficient);
|
|
2290
2290
|
}
|
|
2291
2291
|
}
|
|
2292
2292
|
class Wt extends p {
|
|
@@ -2769,7 +2769,7 @@ class Qt extends p {
|
|
|
2769
2769
|
clientId: r,
|
|
2770
2770
|
showHidden: e
|
|
2771
2771
|
},
|
|
2772
|
-
(s) => s.data.map((i) => new
|
|
2772
|
+
(s) => s.data.map((i) => new ve(i))
|
|
2773
2773
|
);
|
|
2774
2774
|
}
|
|
2775
2775
|
/**
|
|
@@ -2790,7 +2790,7 @@ class Qt extends p {
|
|
|
2790
2790
|
showHidden: s,
|
|
2791
2791
|
withNestedCategories: i
|
|
2792
2792
|
},
|
|
2793
|
-
(o) => new
|
|
2793
|
+
(o) => new ve(o.data)
|
|
2794
2794
|
);
|
|
2795
2795
|
}
|
|
2796
2796
|
/**
|
|
@@ -3973,7 +3973,7 @@ class Ct extends $r {
|
|
|
3973
3973
|
e && (this.registrationCountry = new X(e.registrationCountry), this.registrationNumber = e.registrationNumber ?? "", this.taxNumber = e.taxNumber ?? "");
|
|
3974
3974
|
}
|
|
3975
3975
|
}
|
|
3976
|
-
class
|
|
3976
|
+
class Ce {
|
|
3977
3977
|
/**
|
|
3978
3978
|
* Инициализирует и возвращает экземпляр класса с данными о контрагенте.
|
|
3979
3979
|
*
|
|
@@ -4035,7 +4035,7 @@ class Rt extends B {
|
|
|
4035
4035
|
e.relations && (e.relations.addresses && (this.relations.addresses = e.relations.addresses.map((s) => new Ie(s))), e.relations.clients && (this.relations.clients = e.relations.clients.map((s) => new Ie(s))), e.relations.contragents && (this.relations.contragents = e.relations.contragents.map((s) => new Ie(s))));
|
|
4036
4036
|
}
|
|
4037
4037
|
}
|
|
4038
|
-
class
|
|
4038
|
+
class Re extends rt {
|
|
4039
4039
|
/**
|
|
4040
4040
|
* Инициализирует экземпляр класса {@link DeliveryAddress}.
|
|
4041
4041
|
*
|
|
@@ -4125,7 +4125,7 @@ class er extends re {
|
|
|
4125
4125
|
* @inheritDoc
|
|
4126
4126
|
*/
|
|
4127
4127
|
t(this, "extraData");
|
|
4128
|
-
this.contragents = ((s = e == null ? void 0 : e.contragents) == null ? void 0 : s.map((u) =>
|
|
4128
|
+
this.contragents = ((s = e == null ? void 0 : e.contragents) == null ? void 0 : s.map((u) => Ce.createInstance(u))) ?? [], this.partnerGroups = ((i = e == null ? void 0 : e.partnerGroups) == null ? void 0 : i.map((u) => new Z(u))) ?? [], this.contacts = ((o = e == null ? void 0 : e.contacts) == null ? void 0 : o.map((u) => new B(u))) ?? [], this.deliveryAddresses = ((c = e == null ? void 0 : e.deliveryAddresses) == null ? void 0 : c.map((u) => new Re(u))) ?? [], this.channelPrimaryInterest = new vr(e == null ? void 0 : e.channelPrimaryInterest), this.sourcePrimaryInterest = new Ar(e == null ? void 0 : e.sourcePrimaryInterest), this.preferredDeliveryType = new N(e == null ? void 0 : e.preferredDeliveryType), this.primaryDemand = e == null ? void 0 : e.primaryDemand, this.preferredWarehouse = e != null && e.preferredWarehouse ? new ge(e.preferredWarehouse) : void 0, this.extraData = (e == null ? void 0 : e.extraData) ?? {};
|
|
4129
4129
|
}
|
|
4130
4130
|
}
|
|
4131
4131
|
class br {
|
|
@@ -4247,7 +4247,7 @@ class is extends br {
|
|
|
4247
4247
|
* @inheritDoc
|
|
4248
4248
|
*/
|
|
4249
4249
|
t(this, "lastOrder");
|
|
4250
|
-
this.id = e == null ? void 0 : e.id, this.name = e == null ? void 0 : e.name, this.alternativeName = e == null ? void 0 : e.alternativeName, this.searchTerm = e == null ? void 0 : e.searchTerm, this.cities = (s = e == null ? void 0 : e.cities) == null ? void 0 : s.map((D) => new Ae(D)), this.region = new ue(e == null ? void 0 : e.region), this.country = new X(e == null ? void 0 : e.country), this.phone = e == null ? void 0 : e.phone, this.email = e == null ? void 0 : e.email, this.isActive = e && Object.prototype.hasOwnProperty.call(e, "isActive") ? e == null ? void 0 : e.isActive : !0, this.createdAt = new S(e == null ? void 0 : e.createdAt), this.lastLoginDate = new S(e == null ? void 0 : e.lastLoginDate), this.lastLoginDateHasOrder = (e == null ? void 0 : e.lastLoginDateHasOrder) ?? void 0, this.managers = ((i = e == null ? void 0 : e.managers) == null ? void 0 : i.map((D) => new
|
|
4250
|
+
this.id = e == null ? void 0 : e.id, this.name = e == null ? void 0 : e.name, this.alternativeName = e == null ? void 0 : e.alternativeName, this.searchTerm = e == null ? void 0 : e.searchTerm, this.cities = (s = e == null ? void 0 : e.cities) == null ? void 0 : s.map((D) => new Ae(D)), this.region = new ue(e == null ? void 0 : e.region), this.country = new X(e == null ? void 0 : e.country), this.phone = e == null ? void 0 : e.phone, this.email = e == null ? void 0 : e.email, this.isActive = e && Object.prototype.hasOwnProperty.call(e, "isActive") ? e == null ? void 0 : e.isActive : !0, this.createdAt = new S(e == null ? void 0 : e.createdAt), this.lastLoginDate = new S(e == null ? void 0 : e.lastLoginDate), this.lastLoginDateHasOrder = (e == null ? void 0 : e.lastLoginDateHasOrder) ?? void 0, this.managers = ((i = e == null ? void 0 : e.managers) == null ? void 0 : i.map((D) => new fe(D))) ?? [], this.includeSubordinateManagers = (e == null ? void 0 : e.includeSubordinateManagers) ?? !0, this.curators = ((o = e == null ? void 0 : e.curators) == null ? void 0 : o.map((D) => new ze(D))) ?? [], this.salesDirections = (c = e == null ? void 0 : e.salesDirections) == null ? void 0 : c.map((D) => new O(D)), this.contragentInn = e == null ? void 0 : e.contragentInn, this.contragentType = new G(e == null ? void 0 : e.contragentType), this.preferredDeliveryType = e != null && e.preferredDeliveryType ? new N(e == null ? void 0 : e.preferredDeliveryType) : void 0, this.partnerGroups = (u = e == null ? void 0 : e.partnerGroups) == null ? void 0 : u.map((D) => new Z(D)), this.contact = new Ne(e == null ? void 0 : e.contact), this.lastOrder = {
|
|
4251
4251
|
createdAt: new S((h = e == null ? void 0 : e.lastOrder) == null ? void 0 : h.createdAt),
|
|
4252
4252
|
creator: (m = e == null ? void 0 : e.lastOrder) == null ? void 0 : m.creator,
|
|
4253
4253
|
isApproved: (f = e == null ? void 0 : e.lastOrder) == null ? void 0 : f.isApproved
|
|
@@ -4806,7 +4806,7 @@ class a extends De {
|
|
|
4806
4806
|
return this.post(
|
|
4807
4807
|
`/internal/clients/${r}/contragents`,
|
|
4808
4808
|
a.transformContragentClientDataToRequest(e),
|
|
4809
|
-
(i) =>
|
|
4809
|
+
(i) => Ce.createInstance(i.data),
|
|
4810
4810
|
s
|
|
4811
4811
|
);
|
|
4812
4812
|
}
|
|
@@ -4822,7 +4822,7 @@ class a extends De {
|
|
|
4822
4822
|
return this.patch(
|
|
4823
4823
|
`/internal/clients/${r}/contragents/${e.id}`,
|
|
4824
4824
|
a.transformContragentClientDataToRequest(e),
|
|
4825
|
-
(i) =>
|
|
4825
|
+
(i) => Ce.createInstance(i.data),
|
|
4826
4826
|
s
|
|
4827
4827
|
);
|
|
4828
4828
|
}
|
|
@@ -4848,7 +4848,7 @@ class a extends De {
|
|
|
4848
4848
|
return this.post(
|
|
4849
4849
|
`/internal/clients/${r}/delivery-addresses`,
|
|
4850
4850
|
a.transformClientDeliveryAddressToRequest(e),
|
|
4851
|
-
(i) => new
|
|
4851
|
+
(i) => new Re(i.data),
|
|
4852
4852
|
s
|
|
4853
4853
|
);
|
|
4854
4854
|
}
|
|
@@ -4864,7 +4864,7 @@ class a extends De {
|
|
|
4864
4864
|
return this.patch(
|
|
4865
4865
|
`/internal/clients/${r}/delivery-addresses/${e.id}`,
|
|
4866
4866
|
a.transformClientDeliveryAddressToRequest(e),
|
|
4867
|
-
(i) => new
|
|
4867
|
+
(i) => new Re(i.data),
|
|
4868
4868
|
s
|
|
4869
4869
|
);
|
|
4870
4870
|
}
|
|
@@ -5369,7 +5369,7 @@ class gs {
|
|
|
5369
5369
|
* Генерирует и возвращает данные-заглушку неопределённого менеджера.
|
|
5370
5370
|
*/
|
|
5371
5371
|
static generateUndefinedManagerInstance() {
|
|
5372
|
-
return new
|
|
5372
|
+
return new fe({ id: 0, name: "- Не назначен -", isActive: !0, guid: "-undefined-" });
|
|
5373
5373
|
}
|
|
5374
5374
|
/**
|
|
5375
5375
|
* Выполняет проверку, является ли указанная запись записью-заглушкой с данными о неопределённом менеджере.
|
|
@@ -5388,7 +5388,7 @@ class Tt extends pe {
|
|
|
5388
5388
|
const r = "/internal/managers", e = pe.getCachedResponse(r);
|
|
5389
5389
|
if (e)
|
|
5390
5390
|
return e;
|
|
5391
|
-
const i = (await this.get(r)).data.map((o) => Fe.instanceInitializer(
|
|
5391
|
+
const i = (await this.get(r)).data.map((o) => Fe.instanceInitializer(fe, o));
|
|
5392
5392
|
return this.cacheResponse(r, i), i;
|
|
5393
5393
|
}
|
|
5394
5394
|
}
|
|
@@ -5456,7 +5456,7 @@ class Ir extends Sr {
|
|
|
5456
5456
|
}, this.delivery = {
|
|
5457
5457
|
type: ((c = e == null ? void 0 : e.delivery) == null ? void 0 : c.type) ?? -1,
|
|
5458
5458
|
date: v((u = e == null ? void 0 : e.delivery) == null ? void 0 : u.date) ? C(e.delivery.date) : ((h = e == null ? void 0 : e.delivery) == null ? void 0 : h.date) ?? /* @__PURE__ */ new Date(),
|
|
5459
|
-
address: (m = e == null ? void 0 : e.delivery) != null && m.address ? new
|
|
5459
|
+
address: (m = e == null ? void 0 : e.delivery) != null && m.address ? new Re(e.delivery.address) : void 0,
|
|
5460
5460
|
warehouse: (f = e == null ? void 0 : e.delivery) != null && f.warehouse ? new ge(e.delivery.warehouse) : void 0
|
|
5461
5461
|
}, this.attachedUser = e != null && e.attachedUser ? new d(e == null ? void 0 : e.attachedUser) : void 0, this.status = (e == null ? void 0 : e.status) ?? 0, this.salesDirection = new O(e == null ? void 0 : e.salesDirection), this.pendingAt = v(e == null ? void 0 : e.pendingAt) ? C(e.pendingAt) : e == null ? void 0 : e.pendingAt, this.processedAt = v(e == null ? void 0 : e.processedAt) ? C(e.processedAt) : e == null ? void 0 : e.processedAt, this.isOnOrder = (e == null ? void 0 : e.isOnOrder) ?? !1, this.isNotInStock = (e == null ? void 0 : e.isNotInStock) ?? !1, this.sum = (e == null ? void 0 : e.sum) ?? 0, this.isLargeOrder = (e == null ? void 0 : e.isLargeOrder) ?? !1;
|
|
5462
5462
|
}
|
|
@@ -5599,7 +5599,7 @@ class b extends pe {
|
|
|
5599
5599
|
* Возвращает {@link Promise} для получения справочника коэффициентов цен.
|
|
5600
5600
|
*/
|
|
5601
5601
|
getPriceCoefficients() {
|
|
5602
|
-
return this.getTypedDataArrayRequester(
|
|
5602
|
+
return this.getTypedDataArrayRequester(Pe, "/internal/references/price-coefficient", !0);
|
|
5603
5603
|
}
|
|
5604
5604
|
/**
|
|
5605
5605
|
* Возвращает {@link Promise} для получения справочника типов файлов продуктов/категорий.
|
|
@@ -5867,7 +5867,7 @@ class fs extends br {
|
|
|
5867
5867
|
/**
|
|
5868
5868
|
* @inheritDoc
|
|
5869
5869
|
*/
|
|
5870
|
-
t(this, "
|
|
5870
|
+
t(this, "attachedUsers");
|
|
5871
5871
|
/**
|
|
5872
5872
|
* @inheritDoc
|
|
5873
5873
|
*/
|
|
@@ -5960,7 +5960,7 @@ class fs extends br {
|
|
|
5960
5960
|
* @inheritDoc
|
|
5961
5961
|
*/
|
|
5962
5962
|
t(this, "onlyMyRegions");
|
|
5963
|
-
this.
|
|
5963
|
+
this.attachedUsers = (s = e == null ? void 0 : e.attachedUsers) == null ? void 0 : s.map((u) => "isActive" in u ? new fe(u) : new Cr(u)), this.clientSearchTerm = e == null ? void 0 : e.clientSearchTerm, this.client = e != null && e.client ? new re(e.client) : void 0, this.contragent = e == null ? void 0 : e.contragent, this.createdAt = new S(e == null ? void 0 : e.createdAt), this.creator = e != null && e.creator ? new d(e.creator) : void 0, this.deliveryDate = new S(e == null ? void 0 : e.deliveryDate), this.deliveryAddressSearch = e == null ? void 0 : e.deliveryAddressSearch, this.clientCities = (i = e == null ? void 0 : e.clientCities) == null ? void 0 : i.map((u) => new Ae(u)), this.id = e == null ? void 0 : e.id, this.isApproved = e == null ? void 0 : e.isApproved, this.isApproved1c = e == null ? void 0 : e.isApproved1c, this.isNotInStock = e == null ? void 0 : e.isNotInStock, this.isOnOrder = e == null ? void 0 : e.isOnOrder, this.isLargeOrder = e == null ? void 0 : e.isLargeOrder, this.pendingAt = new S(e == null ? void 0 : e.pendingAt), this.processedAt = new S(e == null ? void 0 : e.processedAt), this.salesDirections = (o = e == null ? void 0 : e.salesDirections) == null ? void 0 : o.map((u) => new O(u)), this.status = e == null ? void 0 : e.status, this.deliveryType = e != null && e.deliveryType ? new N(e.deliveryType) : void 0, this.paymentType = e != null && e.paymentType ? new Rr(e.paymentType) : void 0, this.warehouses = (c = e == null ? void 0 : e.warehouses) == null ? void 0 : c.map((u) => new ge(u)), this.isToProcess = e == null ? void 0 : e.isToProcess;
|
|
5964
5964
|
}
|
|
5965
5965
|
/**
|
|
5966
5966
|
* @inheritDoc
|
|
@@ -6103,7 +6103,7 @@ class Le extends Ir {
|
|
|
6103
6103
|
* @inheritDoc
|
|
6104
6104
|
*/
|
|
6105
6105
|
t(this, "isAllowProcessingWithoutPayment");
|
|
6106
|
-
this.products = (e.products ?? []).map((s) => new bt(s)), this.invoices = e.invoices ?? [], this.comment = e.comment, this.image = e.image, this.contragent = e.contragent ?
|
|
6106
|
+
this.products = (e.products ?? []).map((s) => new bt(s)), this.invoices = e.invoices ?? [], this.comment = e.comment, this.image = e.image, this.contragent = e.contragent ? Ce.createInstance(e.contragent) : void 0, this.barcode = e.barcode, this.orderSource = e.orderSource ? new R(e.orderSource) : void 0, this.isAllowProcessingWithoutPayment = e.isAllowProcessingWithoutPayment;
|
|
6107
6107
|
}
|
|
6108
6108
|
}
|
|
6109
6109
|
class ys extends De {
|
|
@@ -6730,7 +6730,7 @@ export {
|
|
|
6730
6730
|
qe as BankAccount,
|
|
6731
6731
|
De as BasePaginationProvider,
|
|
6732
6732
|
ct as CalculationTypeEnum,
|
|
6733
|
-
|
|
6733
|
+
ye as Cart,
|
|
6734
6734
|
Bt as CartProvider,
|
|
6735
6735
|
Wt as CatalogProvider,
|
|
6736
6736
|
ur as CatalogableItem,
|
|
@@ -6741,7 +6741,7 @@ export {
|
|
|
6741
6741
|
Ae as CityWithRegionAndCountry,
|
|
6742
6742
|
er as Client,
|
|
6743
6743
|
Pt as ClientAdditionalData,
|
|
6744
|
-
|
|
6744
|
+
ve as ClientCategory,
|
|
6745
6745
|
a as ClientDataProvider,
|
|
6746
6746
|
Jt as ClientPriceProvider,
|
|
6747
6747
|
Et as ClientPriceTemplateProvider,
|
|
@@ -6761,7 +6761,7 @@ export {
|
|
|
6761
6761
|
mt as ContactPosition,
|
|
6762
6762
|
Ie as ContactRelation,
|
|
6763
6763
|
Dr as ContragentBase,
|
|
6764
|
-
|
|
6764
|
+
Ce as ContragentFactory,
|
|
6765
6765
|
Tr as ContragentIc,
|
|
6766
6766
|
vt as ContragentPerson,
|
|
6767
6767
|
Ct as ContragentUlNr,
|
|
@@ -6777,7 +6777,7 @@ export {
|
|
|
6777
6777
|
os as DataTableSortRequestParams,
|
|
6778
6778
|
ps as DateTimeProvider,
|
|
6779
6779
|
rt as DeletableNamedIdentity,
|
|
6780
|
-
|
|
6780
|
+
Re as DeliveryAddress,
|
|
6781
6781
|
N as DeliveryType,
|
|
6782
6782
|
jt as DetailedJwtPayload,
|
|
6783
6783
|
Qr as DeviceTypeResolutionConfig,
|
|
@@ -6794,7 +6794,7 @@ export {
|
|
|
6794
6794
|
ee as Identity,
|
|
6795
6795
|
tt as Image,
|
|
6796
6796
|
F as JwtPayload,
|
|
6797
|
-
|
|
6797
|
+
fe as Manager,
|
|
6798
6798
|
Ge as ManagerCommon,
|
|
6799
6799
|
gs as ManagerDataFactory,
|
|
6800
6800
|
Tt as ManagerDataProvider,
|
|
@@ -6816,10 +6816,10 @@ export {
|
|
|
6816
6816
|
br as PaginationFiltersBase,
|
|
6817
6817
|
Z as PartnerGroup,
|
|
6818
6818
|
Rr as PaymentType,
|
|
6819
|
-
|
|
6819
|
+
we as PreferencesStorageProvider,
|
|
6820
6820
|
ae as PriceAnalyze,
|
|
6821
6821
|
ws as PriceAnalyzeProvider,
|
|
6822
|
-
|
|
6822
|
+
Pe as PriceCoefficient,
|
|
6823
6823
|
pr as PriceCoefficientEnum,
|
|
6824
6824
|
vs as PriceHistoryDataProvider,
|
|
6825
6825
|
St as PriceHistoryItem,
|