@snabcentr/common-lib 1.37.0 → 1.37.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.
- package/dist/manifest.json +1 -1
- package/dist/release_notes.tmp +3 -3
- package/dist/sc-common-lib.js +106 -106
- 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/catalog/classes/property.d.ts.map +1 -1
- package/dist/src/catalog/types/search-result.d.ts +1 -1
- package/dist/src/catalog/types/search-result.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/sc-common-lib.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var He = Object.defineProperty;
|
|
2
2
|
var Ee = (i, r, e) => r in i ? He(i, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[r] = e;
|
|
3
3
|
var s = (i, r, e) => Ee(i, typeof r != "symbol" ? r + "" : r, e);
|
|
4
|
-
import { isUndefined as _e, cloneDeep as We, noop as f, toLower as ze, isString as
|
|
4
|
+
import { isUndefined as _e, cloneDeep as We, noop as f, toLower as ze, isString as P, map as J, forEach as Be, isNil as Fe, isEmpty as je, isArray as Ve, isFunction as Qe } from "lodash-es";
|
|
5
5
|
import { format as Je, addSeconds as Ye, parseISO as a, isAfter as Ke, startOfToday as ue, parse as W, getDay as Xe, startOfTomorrow as ce, nextMonday as Ze, getUnixTime as x, endOfTomorrow as er, endOfYesterday as rr, startOfYesterday as sr, endOfToday as tr, endOfDay as nr, startOfDay as ir } from "date-fns";
|
|
6
6
|
import or from "axios";
|
|
7
7
|
import { objectToSnake as Pe, objectToCamel as cr } from "ts-case-convert";
|
|
@@ -31,7 +31,7 @@ class F {
|
|
|
31
31
|
return this.id === -1;
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
|
-
class
|
|
34
|
+
class R extends F {
|
|
35
35
|
/**
|
|
36
36
|
* Инициализирует экземпляр класса {@link NamedIdentity}.
|
|
37
37
|
*
|
|
@@ -46,7 +46,7 @@ class D extends F {
|
|
|
46
46
|
this.name = (e == null ? void 0 : e.name) ?? "";
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
|
-
class Se extends
|
|
49
|
+
class Se extends R {
|
|
50
50
|
/**
|
|
51
51
|
* Инициализирует экземпляр класса {@link CatalogableItem}.
|
|
52
52
|
*
|
|
@@ -107,7 +107,7 @@ class ye extends pe {
|
|
|
107
107
|
this.isHidden = (e == null ? void 0 : e.isHidden) ?? !1, this.parentCategoryId = e == null ? void 0 : e.parentCategoryId, this.properties = e == null ? void 0 : e.properties, this.type = "category";
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
|
-
class y extends
|
|
110
|
+
class y extends R {
|
|
111
111
|
/**
|
|
112
112
|
* Инициализирует экземпляр класса {@link Reference}.
|
|
113
113
|
*
|
|
@@ -623,7 +623,7 @@ class wr {
|
|
|
623
623
|
this.date = (r == null ? void 0 : r.date) ?? Je(/* @__PURE__ */ new Date(), "dd.MM.yyyy"), this.name = (r == null ? void 0 : r.name) ?? "", this.version = (r == null ? void 0 : r.version) ?? "0.0.0";
|
|
624
624
|
}
|
|
625
625
|
}
|
|
626
|
-
class
|
|
626
|
+
class Yr {
|
|
627
627
|
/**
|
|
628
628
|
* Инициализирует экземпляр класса {@link AppBaseConfig}.
|
|
629
629
|
*
|
|
@@ -912,7 +912,7 @@ class g extends ge {
|
|
|
912
912
|
(t = r.devMode) != null && t.authBearerToken && (e.Authorization = `Bearer ${(n = r.devMode) == null ? void 0 : n.authBearerToken}`), super(`${r.http.apiUri}/api`, e);
|
|
913
913
|
}
|
|
914
914
|
}
|
|
915
|
-
class
|
|
915
|
+
class Kr extends g {
|
|
916
916
|
/**
|
|
917
917
|
* Возвращает содержимое корзины указанного клиента.
|
|
918
918
|
*
|
|
@@ -1036,7 +1036,7 @@ class k extends ye {
|
|
|
1036
1036
|
this.categories = (t = e == null ? void 0 : e.categories) == null ? void 0 : t.map((o) => new k(o)), this.products = (n = e == null ? void 0 : e.products) == null ? void 0 : n.map((o) => new I(o));
|
|
1037
1037
|
}
|
|
1038
1038
|
}
|
|
1039
|
-
class Ie extends
|
|
1039
|
+
class Ie extends R {
|
|
1040
1040
|
/**
|
|
1041
1041
|
* Инициализирует экземпляр класса {@link UpdatableNamedIdentity}.
|
|
1042
1042
|
*
|
|
@@ -1063,10 +1063,10 @@ class Cr extends Ie {
|
|
|
1063
1063
|
* Дата и время последнего удаления в формате Y-m-d H:i:s.
|
|
1064
1064
|
*/
|
|
1065
1065
|
s(this, "deletedAt");
|
|
1066
|
-
this.deletedAt = e != null && e.deletedAt ?
|
|
1066
|
+
this.deletedAt = e != null && e.deletedAt ? P(e.deletedAt) ? a(e.deletedAt) : e.deletedAt : void 0;
|
|
1067
1067
|
}
|
|
1068
1068
|
}
|
|
1069
|
-
class
|
|
1069
|
+
class Xr {
|
|
1070
1070
|
/**
|
|
1071
1071
|
* Возвращает актуальные и не просроченные данные из хранилища.
|
|
1072
1072
|
*
|
|
@@ -1100,7 +1100,7 @@ class Kr {
|
|
|
1100
1100
|
);
|
|
1101
1101
|
}
|
|
1102
1102
|
}
|
|
1103
|
-
class O extends
|
|
1103
|
+
class O extends R {
|
|
1104
1104
|
/**
|
|
1105
1105
|
* Инициализирует экземпляр класса {@link UserShortInfo}.
|
|
1106
1106
|
*
|
|
@@ -1115,7 +1115,7 @@ class O extends D {
|
|
|
1115
1115
|
this.type = e == null ? void 0 : e.type;
|
|
1116
1116
|
}
|
|
1117
1117
|
}
|
|
1118
|
-
class vr extends
|
|
1118
|
+
class vr extends R {
|
|
1119
1119
|
/**
|
|
1120
1120
|
* Инициализирует экземпляр класса {@link DiscountShortInfo}.
|
|
1121
1121
|
*
|
|
@@ -1151,7 +1151,7 @@ class vr extends D {
|
|
|
1151
1151
|
* Дата и время удаления в формате Y-m-d H:i:s.
|
|
1152
1152
|
*/
|
|
1153
1153
|
s(this, "deletedAt");
|
|
1154
|
-
this.costCoefficient = (e == null ? void 0 : e.costCoefficient) ?? 0, this.isLowPriceAllowed = (e == null ? void 0 : e.isLowPriceAllowed) ?? !1, this.publishedAt = e != null && e.publishedAt ?
|
|
1154
|
+
this.costCoefficient = (e == null ? void 0 : e.costCoefficient) ?? 0, this.isLowPriceAllowed = (e == null ? void 0 : e.isLowPriceAllowed) ?? !1, this.publishedAt = e != null && e.publishedAt ? P(e.publishedAt) ? a(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 O(e == null ? void 0 : e.owner), this.deletedAt = e != null && e.deletedAt ? P(e.deletedAt) ? a(e.deletedAt) : e.deletedAt : void 0;
|
|
1155
1155
|
}
|
|
1156
1156
|
}
|
|
1157
1157
|
class Dr extends Ie {
|
|
@@ -1170,7 +1170,7 @@ class Dr extends Ie {
|
|
|
1170
1170
|
* Дата и время создания шаблона.
|
|
1171
1171
|
*/
|
|
1172
1172
|
s(this, "createdAt");
|
|
1173
|
-
this.description = (e == null ? void 0 : e.description) ?? "", this.createdAt = e != null && e.createdAt ?
|
|
1173
|
+
this.description = (e == null ? void 0 : e.description) ?? "", this.createdAt = e != null && e.createdAt ? P(e.createdAt) ? a(e.createdAt) : e.createdAt : /* @__PURE__ */ new Date();
|
|
1174
1174
|
}
|
|
1175
1175
|
}
|
|
1176
1176
|
class ne extends I {
|
|
@@ -1232,7 +1232,7 @@ class Pr {
|
|
|
1232
1232
|
}
|
|
1233
1233
|
class _ extends y {
|
|
1234
1234
|
}
|
|
1235
|
-
class Y extends
|
|
1235
|
+
class Y extends R {
|
|
1236
1236
|
/**
|
|
1237
1237
|
* Инициализирует экземпляр класса {@link ManagerCommon}.
|
|
1238
1238
|
*
|
|
@@ -1341,7 +1341,9 @@ class K extends Rr {
|
|
|
1341
1341
|
this.categories = (t = e == null ? void 0 : e.categories) == null ? void 0 : t.map((o) => new K(o)), this.products = (n = e == null ? void 0 : e.products) == null ? void 0 : n.map((o) => new ne(o));
|
|
1342
1342
|
}
|
|
1343
1343
|
}
|
|
1344
|
-
class
|
|
1344
|
+
class Ar extends R {
|
|
1345
|
+
}
|
|
1346
|
+
class j extends R {
|
|
1345
1347
|
/**
|
|
1346
1348
|
* Инициализирует экземпляр класса {@link Property}.
|
|
1347
1349
|
*
|
|
@@ -1361,11 +1363,9 @@ class j extends D {
|
|
|
1361
1363
|
* Дополнительные метаданные свойства.
|
|
1362
1364
|
*/
|
|
1363
1365
|
s(this, "metadata");
|
|
1364
|
-
this.type = (e == null ? void 0 : e.type)
|
|
1366
|
+
this.type = new Ar(e == null ? void 0 : e.type), this.description = (e == null ? void 0 : e.description) ?? "", this.metadata = e == null ? void 0 : e.metadata;
|
|
1365
1367
|
}
|
|
1366
1368
|
}
|
|
1367
|
-
class Xr extends D {
|
|
1368
|
-
}
|
|
1369
1369
|
class M {
|
|
1370
1370
|
/**
|
|
1371
1371
|
* Инициализирует экземпляр класса {@link PropertyValue}.
|
|
@@ -1382,10 +1382,10 @@ class M {
|
|
|
1382
1382
|
* Может быть строкой, числом, boolean, диапазоном или JSON объектом.
|
|
1383
1383
|
*/
|
|
1384
1384
|
s(this, "value");
|
|
1385
|
-
this.property = (r == null ? void 0 : r.property)
|
|
1385
|
+
this.property = new j(r == null ? void 0 : r.property), this.value = (r == null ? void 0 : r.value) ?? "";
|
|
1386
1386
|
}
|
|
1387
1387
|
}
|
|
1388
|
-
class
|
|
1388
|
+
class br extends y {
|
|
1389
1389
|
}
|
|
1390
1390
|
class xe extends y {
|
|
1391
1391
|
}
|
|
@@ -1423,9 +1423,9 @@ class X extends y {
|
|
|
1423
1423
|
e && (this.region = new V(e.region));
|
|
1424
1424
|
}
|
|
1425
1425
|
}
|
|
1426
|
-
class
|
|
1426
|
+
class $r extends y {
|
|
1427
1427
|
}
|
|
1428
|
-
class Z extends
|
|
1428
|
+
class Z extends R {
|
|
1429
1429
|
/**
|
|
1430
1430
|
* Инициализирует экземпляр класса {@link Currency}.
|
|
1431
1431
|
*
|
|
@@ -1458,19 +1458,19 @@ class d extends y {
|
|
|
1458
1458
|
});
|
|
1459
1459
|
}
|
|
1460
1460
|
}
|
|
1461
|
-
class $r extends y {
|
|
1462
|
-
}
|
|
1463
1461
|
class _r extends y {
|
|
1464
1462
|
}
|
|
1463
|
+
class Sr extends y {
|
|
1464
|
+
}
|
|
1465
1465
|
class G extends y {
|
|
1466
1466
|
}
|
|
1467
|
-
class
|
|
1467
|
+
class Tr extends y {
|
|
1468
1468
|
}
|
|
1469
1469
|
class ke extends y {
|
|
1470
1470
|
}
|
|
1471
1471
|
class ae extends y {
|
|
1472
1472
|
}
|
|
1473
|
-
class
|
|
1473
|
+
class D extends g {
|
|
1474
1474
|
/**
|
|
1475
1475
|
* Возвращает {@link Promise} для получения данных указанного справочника.
|
|
1476
1476
|
*
|
|
@@ -1479,7 +1479,7 @@ class P extends g {
|
|
|
1479
1479
|
* и использовать в случае аналогичных запросов.
|
|
1480
1480
|
*/
|
|
1481
1481
|
getReference(r, e = !1) {
|
|
1482
|
-
return this.getTypedDataArrayRequester(
|
|
1482
|
+
return this.getTypedDataArrayRequester(br, `/internal/references/${r}`, e);
|
|
1483
1483
|
}
|
|
1484
1484
|
/**
|
|
1485
1485
|
* Возвращает {@link Promise} для получения справочника данных о канале
|
|
@@ -1492,7 +1492,7 @@ class P extends g {
|
|
|
1492
1492
|
* Возвращает {@link Promise} для получения справочника должностей контактных лиц.
|
|
1493
1493
|
*/
|
|
1494
1494
|
getContactPositions() {
|
|
1495
|
-
return this.getTypedDataArrayRequester(
|
|
1495
|
+
return this.getTypedDataArrayRequester($r, "/internal/references/contact-position", !0);
|
|
1496
1496
|
}
|
|
1497
1497
|
/**
|
|
1498
1498
|
* Возвращает {@link Promise} для получения справочника списка валют.
|
|
@@ -1517,19 +1517,19 @@ class P extends g {
|
|
|
1517
1517
|
* Возвращает {@link Promise} для получения справочника данных статусов оплаты заказов.
|
|
1518
1518
|
*/
|
|
1519
1519
|
getOrderPaymentStatuses() {
|
|
1520
|
-
return this.getTypedDataArrayRequester(
|
|
1520
|
+
return this.getTypedDataArrayRequester(_r, "/public/references/order-payment-status", !0);
|
|
1521
1521
|
}
|
|
1522
1522
|
/**
|
|
1523
1523
|
* Возвращает {@link Promise} для получения справочника данных статусов заказов.
|
|
1524
1524
|
*/
|
|
1525
1525
|
getOrderStatuses() {
|
|
1526
|
-
return this.getTypedDataArrayRequester(
|
|
1526
|
+
return this.getTypedDataArrayRequester(Sr, "/public/references/order-status", !0);
|
|
1527
1527
|
}
|
|
1528
1528
|
/**
|
|
1529
1529
|
* Возвращает {@link Promise} для получения справочника данных типов оплаты заказов.
|
|
1530
1530
|
*/
|
|
1531
1531
|
getPaymentTypes() {
|
|
1532
|
-
return this.getTypedDataArrayRequester(
|
|
1532
|
+
return this.getTypedDataArrayRequester(Tr, "/public/references/payment-type", !0);
|
|
1533
1533
|
}
|
|
1534
1534
|
/**
|
|
1535
1535
|
* Возвращает {@link Promise} для получения справочника типов ресурсов.
|
|
@@ -1586,8 +1586,8 @@ class P extends g {
|
|
|
1586
1586
|
return this.getTypedDataArrayRequester(te, "/public/references/warehouse", !0);
|
|
1587
1587
|
}
|
|
1588
1588
|
}
|
|
1589
|
-
var
|
|
1590
|
-
class Ne extends
|
|
1589
|
+
var Lr = /* @__PURE__ */ ((i) => (i.Admin = "admin", i.Manager = "manager", i.Operator = "operator", i.Client = "client", i.Guest = "guest", i))(Lr || {});
|
|
1590
|
+
class Ne extends R {
|
|
1591
1591
|
/**
|
|
1592
1592
|
* Инициализирует экземпляр класса {@link UserCommonInfo}.
|
|
1593
1593
|
*
|
|
@@ -1623,10 +1623,10 @@ class Ne extends D {
|
|
|
1623
1623
|
* Признак активности учетной записи пользователя.
|
|
1624
1624
|
*/
|
|
1625
1625
|
s(this, "isActive");
|
|
1626
|
-
this.phone = /^\d+$/.test((e == null ? void 0 : e.phone) ?? "") ? `+${e == null ? void 0 : e.phone}` : (e == null ? void 0 : e.phone) ?? "", this.email = (e == null ? void 0 : e.email) ?? "", this.getNews = (e == null ? void 0 : e.getNews) ?? !1, this.salesDirection = e != null && e.salesDirection ? new _(e.salesDirection) : void 0, this.createdAt =
|
|
1626
|
+
this.phone = /^\d+$/.test((e == null ? void 0 : e.phone) ?? "") ? `+${e == null ? void 0 : e.phone}` : (e == null ? void 0 : e.phone) ?? "", this.email = (e == null ? void 0 : e.email) ?? "", this.getNews = (e == null ? void 0 : e.getNews) ?? !1, this.salesDirection = e != null && e.salesDirection ? new _(e.salesDirection) : void 0, this.createdAt = P(e == null ? void 0 : e.createdAt) ? a(e.createdAt) : e == null ? void 0 : e.createdAt, this.lastLoginAt = P(e == null ? void 0 : e.lastLoginAt) ? a(e.lastLoginAt) : e == null ? void 0 : e.lastLoginAt, this.isActive = (e == null ? void 0 : e.isActive) ?? !1;
|
|
1627
1627
|
}
|
|
1628
1628
|
}
|
|
1629
|
-
class
|
|
1629
|
+
class Ir extends Ne {
|
|
1630
1630
|
/**
|
|
1631
1631
|
* Инициализирует экземпляр класса {@link User}.
|
|
1632
1632
|
*
|
|
@@ -1649,16 +1649,16 @@ class Lr extends Ne {
|
|
|
1649
1649
|
this.type = e == null ? void 0 : e.type, this.canDoReclamations = (e == null ? void 0 : e.canDoReclamations) ?? !1, this.photo = e == null ? void 0 : e.photo;
|
|
1650
1650
|
}
|
|
1651
1651
|
}
|
|
1652
|
-
class
|
|
1652
|
+
class xr extends g {
|
|
1653
1653
|
/**
|
|
1654
1654
|
* Возвращает данные о текущем пользователе.
|
|
1655
1655
|
*/
|
|
1656
1656
|
// eslint-disable-next-line class-methods-use-this
|
|
1657
1657
|
getCurrentUser() {
|
|
1658
|
-
return this.get("/internal/users/info", {}, (r) => new
|
|
1658
|
+
return this.get("/internal/users/info", {}, (r) => new Ir(r.data));
|
|
1659
1659
|
}
|
|
1660
1660
|
}
|
|
1661
|
-
class
|
|
1661
|
+
class kr {
|
|
1662
1662
|
/**
|
|
1663
1663
|
* Инициализирует экземпляр класса {@link ProductPriceHistory}.
|
|
1664
1664
|
*
|
|
@@ -1870,7 +1870,7 @@ class ss extends g {
|
|
|
1870
1870
|
*/
|
|
1871
1871
|
getProductPriceHistory(r, e) {
|
|
1872
1872
|
const t = {};
|
|
1873
|
-
return Fe(e) || (t.clientId = e), this.get(`/internal/price/products/${r}/history`, t, (n) => J(n.data, (o) => new
|
|
1873
|
+
return Fe(e) || (t.clientId = e), this.get(`/internal/price/products/${r}/history`, t, (n) => J(n.data, (o) => new kr(o)));
|
|
1874
1874
|
}
|
|
1875
1875
|
/**
|
|
1876
1876
|
* Выполняет публичный поиск данных о продуктах по терму.
|
|
@@ -2395,7 +2395,7 @@ class os extends g {
|
|
|
2395
2395
|
});
|
|
2396
2396
|
}
|
|
2397
2397
|
}
|
|
2398
|
-
var
|
|
2398
|
+
var ar = /* @__PURE__ */ ((i) => (i.LastOrder = "last_order", i.Contacts = "contacts", i.PartnerGroups = "partner_groups", i.PreferredDeliveryType = "preferred_delivery_type", i))(ar || {});
|
|
2399
2399
|
class me extends F {
|
|
2400
2400
|
/**
|
|
2401
2401
|
* Инициализирует экземпляр класса {@link BankAccount}.
|
|
@@ -2427,7 +2427,7 @@ class me extends F {
|
|
|
2427
2427
|
e && (this.bankName = e.bankName ?? "", this.bic = e.bic ?? "", this.accountNumber = e.accountNumber ?? "", this.correspondentAccount = e.correspondentAccount ?? "", this.currency = new Z(e.currency));
|
|
2428
2428
|
}
|
|
2429
2429
|
}
|
|
2430
|
-
class fe extends
|
|
2430
|
+
class fe extends R {
|
|
2431
2431
|
/**
|
|
2432
2432
|
* Инициализирует экземпляр класса {@link Contact}.
|
|
2433
2433
|
*
|
|
@@ -2481,7 +2481,7 @@ class U extends fe {
|
|
|
2481
2481
|
this.isPrimary = (e == null ? void 0 : e.isPrimary) ?? !1, this.position = e == null ? void 0 : e.position, this.notDisturb = (e == null ? void 0 : e.notDisturb) ?? !1, this.comment = e == null ? void 0 : e.comment, this.updatedAt = e == null ? void 0 : e.updatedAt, this.deletedAt = e == null ? void 0 : e.deletedAt;
|
|
2482
2482
|
}
|
|
2483
2483
|
}
|
|
2484
|
-
class Oe extends
|
|
2484
|
+
class Oe extends R {
|
|
2485
2485
|
/**
|
|
2486
2486
|
* Инициализирует экземпляр класса {@link ContragentBase}.
|
|
2487
2487
|
*
|
|
@@ -2539,7 +2539,7 @@ class Oe extends D {
|
|
|
2539
2539
|
*/
|
|
2540
2540
|
s(this, "updater");
|
|
2541
2541
|
if (e) {
|
|
2542
|
-
if (this.opf = new d(e.opf), this.salesDirection = new _(e.salesDirection), this.comment = e.comment, this.alternativeName = e.alternativeName, this.createdAt =
|
|
2542
|
+
if (this.opf = new d(e.opf), this.salesDirection = new _(e.salesDirection), this.comment = e.comment, this.alternativeName = e.alternativeName, this.createdAt = P(e == null ? void 0 : e.createdAt) ? W(e == null ? void 0 : e.createdAt, "yyyy-MM-dd HH:mm:ss", /* @__PURE__ */ new Date()) : e.createdAt, this.creator = e.creator ? new O(e.creator) : void 0, this.updatedAt = P(e == null ? void 0 : e.updatedAt) ? W(e == null ? void 0 : e.updatedAt, "yyyy-MM-dd HH:mm:ss", /* @__PURE__ */ new Date()) : e.updatedAt, this.updater = e.updater ? new O(e.updater) : void 0, e.partnerGroup && (this.partnerGroup = new G(e.partnerGroup)), e.manager && (this.manager = new Y(e.manager)), e.contacts) {
|
|
2543
2543
|
const t = [];
|
|
2544
2544
|
e.contacts.forEach((n) => {
|
|
2545
2545
|
t.push(new U(n));
|
|
@@ -2554,7 +2554,7 @@ class Oe extends D {
|
|
|
2554
2554
|
}
|
|
2555
2555
|
}
|
|
2556
2556
|
}
|
|
2557
|
-
class
|
|
2557
|
+
class Nr extends Oe {
|
|
2558
2558
|
/**
|
|
2559
2559
|
* Инициализирует экземпляр класса {@link ContragentPerson}.
|
|
2560
2560
|
*
|
|
@@ -2622,7 +2622,7 @@ class Ge extends de {
|
|
|
2622
2622
|
e && (this.kpp = e.kpp ?? "");
|
|
2623
2623
|
}
|
|
2624
2624
|
}
|
|
2625
|
-
class
|
|
2625
|
+
class Or extends Ge {
|
|
2626
2626
|
/**
|
|
2627
2627
|
* Инициализирует экземпляр класса {@link ContragentUlNr}.
|
|
2628
2628
|
*
|
|
@@ -2658,9 +2658,9 @@ class ee {
|
|
|
2658
2658
|
case b.UlR:
|
|
2659
2659
|
return new Ge(r);
|
|
2660
2660
|
case b.UlNr:
|
|
2661
|
-
return new
|
|
2661
|
+
return new Or(r);
|
|
2662
2662
|
default:
|
|
2663
|
-
return new
|
|
2663
|
+
return new Nr(r);
|
|
2664
2664
|
}
|
|
2665
2665
|
}
|
|
2666
2666
|
}
|
|
@@ -2724,7 +2724,7 @@ class le extends F {
|
|
|
2724
2724
|
this.isPrimary = e.isPrimary;
|
|
2725
2725
|
}
|
|
2726
2726
|
}
|
|
2727
|
-
class
|
|
2727
|
+
class dr extends U {
|
|
2728
2728
|
/**
|
|
2729
2729
|
* Инициализирует экземпляр класса {@link ContactPersonRelated}.
|
|
2730
2730
|
*
|
|
@@ -3029,7 +3029,7 @@ class cs {
|
|
|
3029
3029
|
return Object.keys(this).forEach((l) => {
|
|
3030
3030
|
const u = this[l];
|
|
3031
3031
|
// eslint-disable-next-line prettier/prettier
|
|
3032
|
-
_e(u) ||
|
|
3032
|
+
_e(u) || P(u) && u.trim().length === 0 || Qe(u.isNewRec) && u.isNewRec() || (r[l] = u);
|
|
3033
3033
|
}), !((e = r == null ? void 0 : r.createdAt) != null && e.from) && !((t = r == null ? void 0 : r.createdAt) != null && t.to) && delete r.createdAt, !((n = r == null ? void 0 : r.lastLoginDate) != null && n.from) && !((o = r == null ? void 0 : r.lastLoginDate) != null && o.to) && delete r.lastLoginDate, r;
|
|
3034
3034
|
}
|
|
3035
3035
|
}
|
|
@@ -3053,7 +3053,7 @@ class Ue extends F {
|
|
|
3053
3053
|
* Признак того, что заказ подтвержден в 1С.
|
|
3054
3054
|
*/
|
|
3055
3055
|
s(this, "isApproved1c");
|
|
3056
|
-
this.createdAt =
|
|
3056
|
+
this.createdAt = P(e == null ? void 0 : e.createdAt) ? W(e.createdAt, "dd.MM.yyyy HH:mm", /* @__PURE__ */ new Date()) : (e == null ? void 0 : e.createdAt) ?? /* @__PURE__ */ new Date(), this.creator = new O(e == null ? void 0 : e.creator), this.isApproved1c = (e == null ? void 0 : e.isApproved1c) ?? !1;
|
|
3057
3057
|
}
|
|
3058
3058
|
}
|
|
3059
3059
|
class Me extends Ue {
|
|
@@ -3111,13 +3111,13 @@ class Me extends Ue {
|
|
|
3111
3111
|
onlinePaymentLink: (o = e == null ? void 0 : e.payment) == null ? void 0 : o.onlinePaymentLink
|
|
3112
3112
|
}, this.delivery = {
|
|
3113
3113
|
type: ((l = e == null ? void 0 : e.delivery) == null ? void 0 : l.type) ?? -1,
|
|
3114
|
-
date:
|
|
3114
|
+
date: P((u = e == null ? void 0 : e.delivery) == null ? void 0 : u.date) ? W(e == null ? void 0 : e.delivery.date, "dd.MM.yyyy", /* @__PURE__ */ new Date()) : ((h = e == null ? void 0 : e.delivery) == null ? void 0 : h.date) ?? /* @__PURE__ */ new Date(),
|
|
3115
3115
|
address: (m = e == null ? void 0 : e.delivery) != null && m.address ? new re(e.delivery.address) : void 0,
|
|
3116
3116
|
warehouse: (A = e == null ? void 0 : e.delivery) != null && A.warehouse ? new te(e.delivery.warehouse) : void 0
|
|
3117
|
-
}, this.attachedUser = new O(e == null ? void 0 : e.attachedUser), this.status = (e == null ? void 0 : e.status) ?? 0, this.salesDirection = new _(e == null ? void 0 : e.salesDirection), this.pendingAt =
|
|
3117
|
+
}, this.attachedUser = new O(e == null ? void 0 : e.attachedUser), this.status = (e == null ? void 0 : e.status) ?? 0, this.salesDirection = new _(e == null ? void 0 : e.salesDirection), this.pendingAt = P(e == null ? void 0 : e.pendingAt) ? W(e == null ? void 0 : e.pendingAt, "dd.MM.yyyy HH:mm", /* @__PURE__ */ new Date()) : (e == null ? void 0 : e.pendingAt) ?? /* @__PURE__ */ new Date(), this.processedAt = P(e == null ? void 0 : e.processedAt) ? W(e == null ? void 0 : e.processedAt, "dd.MM.yyyy HH:mm", /* @__PURE__ */ new Date()) : (e == null ? void 0 : e.processedAt) ?? /* @__PURE__ */ new Date(), this.isOnOrder = (e == null ? void 0 : e.isOnOrder) ?? !1, this.isNotInStock = (e == null ? void 0 : e.isNotInStock) ?? !1;
|
|
3118
3118
|
}
|
|
3119
3119
|
}
|
|
3120
|
-
class
|
|
3120
|
+
class Gr extends F {
|
|
3121
3121
|
/**
|
|
3122
3122
|
* Инициализирует экземпляр класса {@link OrderProduct}.
|
|
3123
3123
|
*
|
|
@@ -3200,7 +3200,7 @@ class dr extends F {
|
|
|
3200
3200
|
this.product = new ne(e.product), this.quantity = e.quantity, this.currency = e.currency, this.costOne = e.costOne, this.costOneRub = e.costOneRub, this.cost = e.cost, this.costRub = e.costRub, this.marker = e.marker, this.height = e.height, this.length = e.length, this.width = e.width, this.logicGroupId = e.logicGroupId, this.salesDirection = e.salesDirection, this.specificationImgUrl = e.specificationImgUrl, this.configurator = e.configurator, this.configuratorParams = e.configuratorParams, this.sawing = e.sawing;
|
|
3201
3201
|
}
|
|
3202
3202
|
}
|
|
3203
|
-
class
|
|
3203
|
+
class Ur extends Me {
|
|
3204
3204
|
/**
|
|
3205
3205
|
* Инициализирует экземпляр класса {@link Order}.
|
|
3206
3206
|
*
|
|
@@ -3240,7 +3240,7 @@ class Gr extends Me {
|
|
|
3240
3240
|
* Признак, что разрешена передача заказа в работу без оплаты.
|
|
3241
3241
|
*/
|
|
3242
3242
|
s(this, "isAllowProcessingWithoutPayment");
|
|
3243
|
-
this.products = (e.products ?? []).map((t) => new
|
|
3243
|
+
this.products = (e.products ?? []).map((t) => new Gr(t)), this.invoices = e.invoices ?? [], this.comment = e.comment, this.image = e.image, this.contragent = e.contragent ? ee.createInstance(e.contragent) : void 0, this.barcode = e.barcode, this.orderSource = e.orderSource ? new y(e.orderSource) : void 0, this.isAllowProcessingWithoutPayment = e.isAllowProcessingWithoutPayment;
|
|
3244
3244
|
}
|
|
3245
3245
|
}
|
|
3246
3246
|
class ls extends ve {
|
|
@@ -3273,10 +3273,10 @@ class ls extends ve {
|
|
|
3273
3273
|
* @param orderId Идентификатор заказа для которого необходимо вернуть данные.
|
|
3274
3274
|
*/
|
|
3275
3275
|
getOrder(r) {
|
|
3276
|
-
return this.get(`/internal/orders/${r}`, {}, (e) => new
|
|
3276
|
+
return this.get(`/internal/orders/${r}`, {}, (e) => new Ur(e.data));
|
|
3277
3277
|
}
|
|
3278
3278
|
}
|
|
3279
|
-
class
|
|
3279
|
+
class Mr extends R {
|
|
3280
3280
|
/**
|
|
3281
3281
|
* Инициализирует экземпляр класса {@link ClientAdditionalData}.
|
|
3282
3282
|
*
|
|
@@ -3305,7 +3305,7 @@ class Ur extends D {
|
|
|
3305
3305
|
}
|
|
3306
3306
|
}
|
|
3307
3307
|
var qe = /* @__PURE__ */ ((i) => (i.BeginWith = "bw", i.Contains = "cn", i.Custom = "custom", i.EndsWith = "ew", i.Equals = "eq", i.GreaterOrEqual = "ge", i.GreaterThan = "gt", i.InList = "in", i.LessOrEqual = "le", i.LessThan = "lt", i.NotBeginWith = "bn", i.NotContains = "nc", i.NotEndsWith = "en", i.NotEqual = "ne", i.NotInList = "ni", i.NotNull = "nn", i.Null = "nu", i))(qe || {});
|
|
3308
|
-
class
|
|
3308
|
+
class qr {
|
|
3309
3309
|
/**
|
|
3310
3310
|
* Инициализирует экземпляр класса {@link DataTablePaginationRequestParams}.
|
|
3311
3311
|
*
|
|
@@ -3329,7 +3329,7 @@ class Mr {
|
|
|
3329
3329
|
this.page = (r == null ? void 0 : r.page) ?? 1, this.perPage = (r == null ? void 0 : r.perPage) ?? 50, this.pageSize = (r == null ? void 0 : r.pageSize) ?? this.perPage;
|
|
3330
3330
|
}
|
|
3331
3331
|
}
|
|
3332
|
-
class us extends
|
|
3332
|
+
class us extends qr {
|
|
3333
3333
|
/**
|
|
3334
3334
|
* Инициализирует экземпляр класса {@link DataTablePagination}.
|
|
3335
3335
|
*
|
|
@@ -3425,7 +3425,7 @@ class hs extends ve {
|
|
|
3425
3425
|
getAdditionalClientsData(r, e) {
|
|
3426
3426
|
return this.post("/internal/clients/additional-data", { clients: r, requested_data_types: e }, (t) => {
|
|
3427
3427
|
let n = [];
|
|
3428
|
-
return (t == null ? void 0 : t.data.length) > 0 && (n = t.data.map((o) => new
|
|
3428
|
+
return (t == null ? void 0 : t.data.length) > 0 && (n = t.data.map((o) => new Mr(o))), n;
|
|
3429
3429
|
});
|
|
3430
3430
|
}
|
|
3431
3431
|
/**
|
|
@@ -3437,7 +3437,7 @@ class hs extends ve {
|
|
|
3437
3437
|
getAllClientContacts(r) {
|
|
3438
3438
|
return this.get(`/internal/clients/${r}/contacts/all`, {}, (e) => {
|
|
3439
3439
|
let t = [];
|
|
3440
|
-
return (e == null ? void 0 : e.data.length) > 0 && (t = e.data.map((n) => new
|
|
3440
|
+
return (e == null ? void 0 : e.data.length) > 0 && (t = e.data.map((n) => new dr(n))), t;
|
|
3441
3441
|
});
|
|
3442
3442
|
}
|
|
3443
3443
|
/**
|
|
@@ -4270,7 +4270,7 @@ class ys {
|
|
|
4270
4270
|
return r.id === 0 && r.guid === "-undefined-";
|
|
4271
4271
|
}
|
|
4272
4272
|
}
|
|
4273
|
-
class
|
|
4273
|
+
class Hr extends g {
|
|
4274
4274
|
/**
|
|
4275
4275
|
* Возвращает {@link Promise} для получения справочника списка менеджеров.
|
|
4276
4276
|
*/
|
|
@@ -4282,7 +4282,7 @@ class qr extends g {
|
|
|
4282
4282
|
});
|
|
4283
4283
|
}
|
|
4284
4284
|
}
|
|
4285
|
-
class
|
|
4285
|
+
class Er {
|
|
4286
4286
|
/**
|
|
4287
4287
|
* Инициализирует экземпляр класса {@link MetaTagItem}.
|
|
4288
4288
|
*
|
|
@@ -4336,7 +4336,7 @@ class $e {
|
|
|
4336
4336
|
*/
|
|
4337
4337
|
s(this, "meta");
|
|
4338
4338
|
var e;
|
|
4339
|
-
this.resourceType = new ke(r == null ? void 0 : r.resourceType), this.resourceId = (r == null ? void 0 : r.resourceId) ?? "", this.h1 = r == null ? void 0 : r.h1, this.title = r == null ? void 0 : r.title, this.description = r == null ? void 0 : r.description, this.keywords = r == null ? void 0 : r.keywords, this.meta = ((e = r == null ? void 0 : r.meta) == null ? void 0 : e.map((t) => new
|
|
4339
|
+
this.resourceType = new ke(r == null ? void 0 : r.resourceType), this.resourceId = (r == null ? void 0 : r.resourceId) ?? "", this.h1 = r == null ? void 0 : r.h1, this.title = r == null ? void 0 : r.title, this.description = r == null ? void 0 : r.description, this.keywords = r == null ? void 0 : r.keywords, this.meta = ((e = r == null ? void 0 : r.meta) == null ? void 0 : e.map((t) => new Er(t))) ?? [];
|
|
4340
4340
|
}
|
|
4341
4341
|
}
|
|
4342
4342
|
class ws extends g {
|
|
@@ -4437,72 +4437,72 @@ const v = se("__references_private", () => {
|
|
|
4437
4437
|
}), Cs = se("references", () => {
|
|
4438
4438
|
const i = C(() => {
|
|
4439
4439
|
const c = v();
|
|
4440
|
-
return !c.channelPrimaryInterestReference && !c.dataLoaderList.channelPrimaryInterestReference && (c.dataLoaderList.channelPrimaryInterestReference = !0, g.getInstance(
|
|
4440
|
+
return !c.channelPrimaryInterestReference && !c.dataLoaderList.channelPrimaryInterestReference && (c.dataLoaderList.channelPrimaryInterestReference = !0, g.getInstance(D).getChannelPrimaryInterest().then((p) => {
|
|
4441
4441
|
c.channelPrimaryInterestReference = p;
|
|
4442
4442
|
}).catch(f)), c.channelPrimaryInterestReference;
|
|
4443
4443
|
}), r = C(() => {
|
|
4444
4444
|
const c = v();
|
|
4445
|
-
return !c.contactPositionsReference && !c.dataLoaderList.contactPositionsReference && (c.dataLoaderList.contactPositionsReference = !0, g.getInstance(
|
|
4445
|
+
return !c.contactPositionsReference && !c.dataLoaderList.contactPositionsReference && (c.dataLoaderList.contactPositionsReference = !0, g.getInstance(D).getContactPositions().then((p) => {
|
|
4446
4446
|
c.contactPositionsReference = p;
|
|
4447
4447
|
}).catch(f)), c.contactPositionsReference;
|
|
4448
4448
|
}), e = C(() => {
|
|
4449
4449
|
const c = v();
|
|
4450
|
-
return !c.currencyReference && !c.dataLoaderList.currencyReference && (c.dataLoaderList.currencyReference = !0, g.getInstance(
|
|
4450
|
+
return !c.currencyReference && !c.dataLoaderList.currencyReference && (c.dataLoaderList.currencyReference = !0, g.getInstance(D).getCurrency().then((p) => {
|
|
4451
4451
|
c.currencyReference = p;
|
|
4452
4452
|
}).catch(f)), c.currencyReference;
|
|
4453
4453
|
}), t = C(() => {
|
|
4454
4454
|
const c = v();
|
|
4455
|
-
return !c.opfReference && !c.dataLoaderList.opfReference && (c.dataLoaderList.opfReference = !0, g.getInstance(
|
|
4455
|
+
return !c.opfReference && !c.dataLoaderList.opfReference && (c.dataLoaderList.opfReference = !0, g.getInstance(D).getOpf().then((p) => {
|
|
4456
4456
|
c.opfReference = p;
|
|
4457
4457
|
}).catch(f)), c.opfReference;
|
|
4458
4458
|
}), n = C(() => {
|
|
4459
4459
|
const c = v();
|
|
4460
|
-
return !c.orderPaymentStatusReference && !c.dataLoaderList.orderPaymentStatusReference && (c.dataLoaderList.orderPaymentStatusReference = !0, g.getInstance(
|
|
4460
|
+
return !c.orderPaymentStatusReference && !c.dataLoaderList.orderPaymentStatusReference && (c.dataLoaderList.orderPaymentStatusReference = !0, g.getInstance(D).getOrderPaymentStatuses().then((p) => {
|
|
4461
4461
|
c.orderPaymentStatusReference = p;
|
|
4462
4462
|
}).catch(f)), c.orderPaymentStatusReference;
|
|
4463
4463
|
}), o = C(() => {
|
|
4464
4464
|
const c = v();
|
|
4465
|
-
return !c.orderStatusReference && !c.dataLoaderList.orderStatusReference && (c.dataLoaderList.orderStatusReference = !0, g.getInstance(
|
|
4465
|
+
return !c.orderStatusReference && !c.dataLoaderList.orderStatusReference && (c.dataLoaderList.orderStatusReference = !0, g.getInstance(D).getOrderStatuses().then((p) => {
|
|
4466
4466
|
c.orderStatusReference = p;
|
|
4467
4467
|
}).catch(f)), c.orderStatusReference;
|
|
4468
4468
|
}), l = C(() => {
|
|
4469
4469
|
const c = v();
|
|
4470
|
-
return !c.paymentTypeReference && !c.dataLoaderList.paymentTypeReference && (c.dataLoaderList.paymentTypeReference = !0, g.getInstance(
|
|
4470
|
+
return !c.paymentTypeReference && !c.dataLoaderList.paymentTypeReference && (c.dataLoaderList.paymentTypeReference = !0, g.getInstance(D).getPaymentTypes().then((p) => {
|
|
4471
4471
|
c.paymentTypeReference = p;
|
|
4472
4472
|
}).catch(f)), c.paymentTypeReference;
|
|
4473
4473
|
}), u = C(() => {
|
|
4474
4474
|
const c = v();
|
|
4475
|
-
return !c.partnerGroupReference && !c.dataLoaderList.partnerGroupReference && (c.dataLoaderList.partnerGroupReference = !0, g.getInstance(
|
|
4475
|
+
return !c.partnerGroupReference && !c.dataLoaderList.partnerGroupReference && (c.dataLoaderList.partnerGroupReference = !0, g.getInstance(D).getPartnerGroup().then((p) => {
|
|
4476
4476
|
c.partnerGroupReference = p;
|
|
4477
4477
|
}).catch(f)), c.partnerGroupReference;
|
|
4478
4478
|
}), h = C(() => {
|
|
4479
4479
|
const c = v();
|
|
4480
|
-
return !c.resourceTypesReference && !c.dataLoaderList.resourceTypesReference && (c.dataLoaderList.resourceTypesReference = !0, g.getInstance(
|
|
4480
|
+
return !c.resourceTypesReference && !c.dataLoaderList.resourceTypesReference && (c.dataLoaderList.resourceTypesReference = !0, g.getInstance(D).getResourceTypes().then((p) => {
|
|
4481
4481
|
c.resourceTypesReference = p;
|
|
4482
4482
|
}).catch(f)), c.resourceTypesReference;
|
|
4483
4483
|
}), m = C(() => {
|
|
4484
4484
|
const c = v();
|
|
4485
|
-
return !c.salesDirectionsReference && !c.dataLoaderList.salesDirectionsReference && (c.dataLoaderList.salesDirectionsReference = !0, g.getInstance(
|
|
4485
|
+
return !c.salesDirectionsReference && !c.dataLoaderList.salesDirectionsReference && (c.dataLoaderList.salesDirectionsReference = !0, g.getInstance(D).getSalesDirections().then((p) => {
|
|
4486
4486
|
c.salesDirectionsReference = p;
|
|
4487
4487
|
}).catch(f)), c.salesDirectionsReference;
|
|
4488
4488
|
}), A = C(() => {
|
|
4489
4489
|
const c = v();
|
|
4490
|
-
return !c.sourcePrimaryInterestReference && !c.dataLoaderList.sourcePrimaryInterestReference && (c.dataLoaderList.sourcePrimaryInterestReference = !0, g.getInstance(
|
|
4490
|
+
return !c.sourcePrimaryInterestReference && !c.dataLoaderList.sourcePrimaryInterestReference && (c.dataLoaderList.sourcePrimaryInterestReference = !0, g.getInstance(D).getSourcePrimaryInterest().then((p) => {
|
|
4491
4491
|
c.sourcePrimaryInterestReference = p;
|
|
4492
4492
|
}).catch(f)), c.sourcePrimaryInterestReference;
|
|
4493
4493
|
}), S = C(() => {
|
|
4494
4494
|
const c = v();
|
|
4495
|
-
return !c.deliveryTypeReference && !c.dataLoaderList.deliveryTypeReference && (c.dataLoaderList.deliveryTypeReference = !0, g.getInstance(
|
|
4495
|
+
return !c.deliveryTypeReference && !c.dataLoaderList.deliveryTypeReference && (c.dataLoaderList.deliveryTypeReference = !0, g.getInstance(D).getDeliveryTypes().then((p) => {
|
|
4496
4496
|
c.deliveryTypeReference = p;
|
|
4497
4497
|
}).catch(f)), c.deliveryTypeReference;
|
|
4498
4498
|
}), T = C(() => {
|
|
4499
4499
|
const c = v();
|
|
4500
|
-
return !c.managersList && !c.dataLoaderList.managersList && (c.dataLoaderList.managersList = !0, g.getInstance(
|
|
4500
|
+
return !c.managersList && !c.dataLoaderList.managersList && (c.dataLoaderList.managersList = !0, g.getInstance(Hr).getManagers().then((p) => {
|
|
4501
4501
|
c.managersList = p;
|
|
4502
4502
|
}).catch(f)), c.managersList;
|
|
4503
4503
|
}), L = C(() => {
|
|
4504
4504
|
const c = v();
|
|
4505
|
-
return !c.warehousesReference && !c.dataLoaderList.warehousesReference && (c.dataLoaderList.warehousesReference = !0, g.getInstance(
|
|
4505
|
+
return !c.warehousesReference && !c.dataLoaderList.warehousesReference && (c.dataLoaderList.warehousesReference = !0, g.getInstance(D).getWarehouses().then((p) => {
|
|
4506
4506
|
c.warehousesReference = p;
|
|
4507
4507
|
}).catch(f)), c.warehousesReference;
|
|
4508
4508
|
});
|
|
@@ -4564,7 +4564,7 @@ const v = se("__references_private", () => {
|
|
|
4564
4564
|
*/
|
|
4565
4565
|
warehousesReference: L
|
|
4566
4566
|
};
|
|
4567
|
-
}),
|
|
4567
|
+
}), Wr = se("__user_state_private", () => {
|
|
4568
4568
|
const i = w({}), r = w(void 0);
|
|
4569
4569
|
return {
|
|
4570
4570
|
/**
|
|
@@ -4581,8 +4581,8 @@ const v = se("__references_private", () => {
|
|
|
4581
4581
|
* Данные о текущем пользователе.
|
|
4582
4582
|
*/
|
|
4583
4583
|
currentUser: C(() => {
|
|
4584
|
-
const r =
|
|
4585
|
-
return !r.currentUser && !r.dataLoaderList.currentUser && (r.dataLoaderList.currentUser = !0, g.getInstance(
|
|
4584
|
+
const r = Wr();
|
|
4585
|
+
return !r.currentUser && !r.dataLoaderList.currentUser && (r.dataLoaderList.currentUser = !0, g.getInstance(xr).getCurrentUser().then((e) => {
|
|
4586
4586
|
r.currentUser = e;
|
|
4587
4587
|
}).catch(f).finally(f)), r.currentUser;
|
|
4588
4588
|
})
|
|
@@ -4658,15 +4658,15 @@ class Ps {
|
|
|
4658
4658
|
}
|
|
4659
4659
|
}
|
|
4660
4660
|
export {
|
|
4661
|
-
|
|
4662
|
-
|
|
4661
|
+
br as AnyReference,
|
|
4662
|
+
Yr as AppBaseConfig,
|
|
4663
4663
|
N as AppConfigProvider,
|
|
4664
4664
|
me as BankAccount,
|
|
4665
4665
|
ve as BasePaginationProvider,
|
|
4666
4666
|
Q as Cart,
|
|
4667
4667
|
gr as CartItem,
|
|
4668
4668
|
hr as CartItemBase,
|
|
4669
|
-
|
|
4669
|
+
Kr as CartProvider,
|
|
4670
4670
|
es as CatalogProvider,
|
|
4671
4671
|
Se as CatalogableItem,
|
|
4672
4672
|
k as Category,
|
|
@@ -4674,34 +4674,34 @@ export {
|
|
|
4674
4674
|
Zr as City,
|
|
4675
4675
|
X as CityWithRegionAndCountry,
|
|
4676
4676
|
Ae as Client,
|
|
4677
|
-
|
|
4677
|
+
Mr as ClientAdditionalData,
|
|
4678
4678
|
K as ClientCategory,
|
|
4679
4679
|
hs as ClientDataProvider,
|
|
4680
4680
|
ne as ClientProduct,
|
|
4681
4681
|
ts as ClientProductCategoryDataProvider,
|
|
4682
4682
|
ns as ClientProductDataProvider,
|
|
4683
4683
|
De as ClientShortInfo,
|
|
4684
|
-
|
|
4684
|
+
ar as ClientsAdditionalDataRequestTypeEnum,
|
|
4685
4685
|
cs as ClientsListFilters,
|
|
4686
4686
|
ms as ConfiguratorProvider,
|
|
4687
4687
|
fe as Contact,
|
|
4688
4688
|
Pr as ContactLinks,
|
|
4689
4689
|
U as ContactPerson,
|
|
4690
|
-
|
|
4691
|
-
|
|
4690
|
+
dr as ContactPersonRelated,
|
|
4691
|
+
$r as ContactPosition,
|
|
4692
4692
|
le as ContactRelation,
|
|
4693
4693
|
Oe as ContragentBase,
|
|
4694
4694
|
ee as ContragentFactory,
|
|
4695
4695
|
de as ContragentIc,
|
|
4696
|
-
|
|
4697
|
-
|
|
4696
|
+
Nr as ContragentPerson,
|
|
4697
|
+
Or as ContragentUlNr,
|
|
4698
4698
|
Ge as ContragentUlR,
|
|
4699
4699
|
Le as CostSourceEnum,
|
|
4700
4700
|
B as Country,
|
|
4701
4701
|
Z as Currency,
|
|
4702
4702
|
Ds as DataSuggestionProvider,
|
|
4703
4703
|
us as DataTablePagination,
|
|
4704
|
-
|
|
4704
|
+
qr as DataTablePaginationRequestParams,
|
|
4705
4705
|
ps as DataTableSortRequestParams,
|
|
4706
4706
|
fs as DateTimeProvider,
|
|
4707
4707
|
Cr as DeletableNamedIdentity,
|
|
@@ -4722,36 +4722,36 @@ export {
|
|
|
4722
4722
|
ie as Manager,
|
|
4723
4723
|
Y as ManagerCommon,
|
|
4724
4724
|
ys as ManagerDataFactory,
|
|
4725
|
-
|
|
4726
|
-
|
|
4727
|
-
|
|
4725
|
+
Hr as ManagerDataProvider,
|
|
4726
|
+
Er as MetaTagItem,
|
|
4727
|
+
R as NamedIdentity,
|
|
4728
4728
|
d as Opf,
|
|
4729
4729
|
b as OpfEnum,
|
|
4730
|
-
|
|
4730
|
+
Ur as Order,
|
|
4731
4731
|
Me as OrderInfo,
|
|
4732
|
-
|
|
4733
|
-
|
|
4732
|
+
_r as OrderPaymentStatus,
|
|
4733
|
+
Gr as OrderProduct,
|
|
4734
4734
|
Ue as OrderShortInfo,
|
|
4735
|
-
|
|
4735
|
+
Sr as OrderStatus,
|
|
4736
4736
|
ls as OrdersDataProvider,
|
|
4737
4737
|
G as PartnerGroup,
|
|
4738
|
-
|
|
4739
|
-
|
|
4738
|
+
Tr as PaymentType,
|
|
4739
|
+
Xr as PreferencesStorageProvider,
|
|
4740
4740
|
we as PriceCoefficient,
|
|
4741
4741
|
Dr as PriceTemplate,
|
|
4742
4742
|
pe as PrimaryCatalogableItem,
|
|
4743
4743
|
I as Product,
|
|
4744
4744
|
rs as ProductCategoryDataProvider,
|
|
4745
4745
|
ss as ProductDataProvider,
|
|
4746
|
-
|
|
4746
|
+
kr as ProductPriceHistory,
|
|
4747
4747
|
is as PropertiesProvider,
|
|
4748
4748
|
j as Property,
|
|
4749
|
-
|
|
4749
|
+
Ar as PropertyType,
|
|
4750
4750
|
M as PropertyValue,
|
|
4751
4751
|
os as RecommendationsDataProvider,
|
|
4752
4752
|
Re as RecommendationsList,
|
|
4753
4753
|
y as Reference,
|
|
4754
|
-
|
|
4754
|
+
D as ReferenceDataProvider,
|
|
4755
4755
|
V as Region,
|
|
4756
4756
|
ke as ResourceType,
|
|
4757
4757
|
_ as SalesDirection,
|
|
@@ -4764,11 +4764,11 @@ export {
|
|
|
4764
4764
|
be as UnitsHelper,
|
|
4765
4765
|
gs as UnknownClientDataProvider,
|
|
4766
4766
|
Ie as UpdatableNamedIdentity,
|
|
4767
|
-
|
|
4767
|
+
Ir as User,
|
|
4768
4768
|
Ne as UserCommonInfo,
|
|
4769
|
-
|
|
4769
|
+
xr as UserDataProvider,
|
|
4770
4770
|
O as UserShortInfo,
|
|
4771
|
-
|
|
4771
|
+
Lr as UserTypeEnum,
|
|
4772
4772
|
wr as VersionConfig,
|
|
4773
4773
|
te as Warehouse,
|
|
4774
4774
|
Cs as useReferencesStore,
|