@snabcentr/common-lib 2.7.7 → 2.8.1
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 +1 -1
- package/dist/sc-common-lib.js +85 -80
- 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-delivery-cost-info.d.ts +3 -3
- package/dist/src/orders/interfaces/i-delivery-cost-info.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/dist/src/orders/providers/orders-data-provider.d.ts +5 -1
- package/dist/src/orders/providers/orders-data-provider.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/manifest.json
CHANGED
package/dist/release_notes.tmp
CHANGED
package/dist/sc-common-lib.js
CHANGED
|
@@ -6,7 +6,7 @@ import { merge as pe, isNil as A, isEmpty as X, noop as v, mapValues as or, isAr
|
|
|
6
6
|
import { objectToCamel as He, objectToSnake as Ee } from "ts-case-convert";
|
|
7
7
|
import { defineStore as W } from "pinia";
|
|
8
8
|
import { ref as y, markRaw as Mr, computed as P } from "vue";
|
|
9
|
-
import { isAfter as Ve, parseISO as R, startOfToday as Oe, format as
|
|
9
|
+
import { isAfter as Ve, parseISO as R, startOfToday as Oe, format as I, addSeconds as jr, addBusinessDays as Gr, endOfTomorrow as Br, startOfTomorrow as zr, endOfYesterday as Wr, startOfYesterday as Jr, endOfToday as Er, endOfDay as Vr, startOfDay as Kr } from "date-fns";
|
|
10
10
|
import Qr, { CanceledError as Yr } from "axios";
|
|
11
11
|
class M {
|
|
12
12
|
/**
|
|
@@ -336,7 +336,7 @@ class tt {
|
|
|
336
336
|
};
|
|
337
337
|
}
|
|
338
338
|
}
|
|
339
|
-
const
|
|
339
|
+
const k = W("common.config", () => {
|
|
340
340
|
const i = y(new tt());
|
|
341
341
|
return {
|
|
342
342
|
/**
|
|
@@ -359,7 +359,7 @@ const I = W("common.config", () => {
|
|
|
359
359
|
}
|
|
360
360
|
};
|
|
361
361
|
});
|
|
362
|
-
class
|
|
362
|
+
class ae {
|
|
363
363
|
/**
|
|
364
364
|
* Возвращает актуальные и не просроченные данные из хранилища.
|
|
365
365
|
*
|
|
@@ -480,13 +480,13 @@ const V = W("common.auth_state_private", () => {
|
|
|
480
480
|
const i = y(
|
|
481
481
|
(() => {
|
|
482
482
|
var u;
|
|
483
|
-
const o =
|
|
483
|
+
const o = ae.getActualDataFromStorage(
|
|
484
484
|
"sc.token"
|
|
485
485
|
/* JwtToken */
|
|
486
486
|
);
|
|
487
487
|
if (o)
|
|
488
488
|
return Promise.resolve(o);
|
|
489
|
-
const c = (u =
|
|
489
|
+
const c = (u = k().config.devMode) == null ? void 0 : u.initAuthBearerToken;
|
|
490
490
|
return c ? Promise.resolve(c) : void 0;
|
|
491
491
|
})()
|
|
492
492
|
), r = y(void 0), e = y(void 0), s = Mr(/* @__PURE__ */ new Map());
|
|
@@ -524,7 +524,7 @@ const V = W("common.auth_state_private", () => {
|
|
|
524
524
|
if (A(o.jwtToken) && !A(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), ae.saveActualDataToStorage("sc.token", u, Ke(u)), o.recalculateUserPermissions();
|
|
528
528
|
}).catch(v);
|
|
529
529
|
}
|
|
530
530
|
return o.jwtToken;
|
|
@@ -534,11 +534,11 @@ const V = W("common.auth_state_private", () => {
|
|
|
534
534
|
}
|
|
535
535
|
function e(o) {
|
|
536
536
|
const c = V();
|
|
537
|
-
c.jwtToken = Promise.resolve(o),
|
|
537
|
+
c.jwtToken = Promise.resolve(o), ae.saveActualDataToStorage("sc.token", o, Ke(o)), c.recalculateUserPermissions();
|
|
538
538
|
}
|
|
539
539
|
function s() {
|
|
540
540
|
const o = V();
|
|
541
|
-
o.jwtToken = void 0, o.userPermissions = void 0,
|
|
541
|
+
o.jwtToken = void 0, o.userPermissions = void 0, ae.saveActualDataToStorage("sc.token", void 0);
|
|
542
542
|
}
|
|
543
543
|
function n(o) {
|
|
544
544
|
const c = V();
|
|
@@ -860,7 +860,7 @@ class Q extends ur {
|
|
|
860
860
|
}
|
|
861
861
|
}
|
|
862
862
|
var gr = /* @__PURE__ */ ((i) => (i.K0 = "k0", i.K1 = "k1", i.K2 = "k2", i.K3 = "k3", i.K4 = "k4", i.Retail = "retail", i))(gr || {});
|
|
863
|
-
class
|
|
863
|
+
class Pe extends w {
|
|
864
864
|
/**
|
|
865
865
|
* Возвращает значение справочника коэффициента розничной цены.
|
|
866
866
|
*/
|
|
@@ -895,7 +895,7 @@ class je {
|
|
|
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 mr {
|
|
@@ -1101,7 +1101,7 @@ class L extends it {
|
|
|
1101
1101
|
t(this, "priceCoefficients");
|
|
1102
1102
|
this.supplierSku = e == null ? void 0 : e.supplierSku, this.unit = e != null && e.unit ? new Qe(e.unit) : new Qe(), this.pack = e == null ? void 0 : e.pack, this.minCount = e == null ? void 0 : e.minCount, this.currency = e != null && e.currency ? new O(e.currency) : new O(), this.cost = (e == null ? void 0 : e.cost) ?? 0, this.costRub = (e == null ? void 0 : e.costRub) ?? 0, this.costDate = C(e == null ? void 0 : e.costDate) ? R(e.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((h) => new ot(h))) ?? [], this.type = "product";
|
|
1103
1103
|
const s = (e == null ? void 0 : e.category) ?? ((o = e == null ? void 0 : e.categories) == null ? void 0 : o.find((h) => h.isPrimary));
|
|
1104
|
-
s && (this.category = new qe({ ...s, isPrimary: !0 }), this.categories = [this.category]), e != null && e.categories && (this.categories = e.categories.map((h) => new qe(h))), this.images = ((c = e == null ? void 0 : e.images) == null ? void 0 : c.map((h) => new st(h,
|
|
1104
|
+
s && (this.category = new qe({ ...s, isPrimary: !0 }), this.categories = [this.category]), e != null && e.categories && (this.categories = e.categories.map((h) => new qe(h))), this.images = ((c = e == null ? void 0 : e.images) == null ? void 0 : c.map((h) => new st(h, k().config.http.mediaUrl))) ?? [], this.properties = (e == null ? void 0 : e.properties) ?? {}, this.retailCost = e == null ? void 0 : e.retailCost, this.retailCostRub = e == null ? void 0 : e.retailCostRub, this.priceCoefficients = ((u = e == null ? void 0 : e.priceCoefficients) == null ? void 0 : u.map((h) => new je(h))) ?? [], e && "codeNumber" in e && !e.code && (this.code = e == null ? void 0 : e.codeNumber);
|
|
1105
1105
|
}
|
|
1106
1106
|
/**
|
|
1107
1107
|
* Возвращает признак, что это измеряемый товар.
|
|
@@ -1349,7 +1349,7 @@ const a = class a {
|
|
|
1349
1349
|
/**
|
|
1350
1350
|
* Базовый URL путь для выполнения запросов.
|
|
1351
1351
|
*/
|
|
1352
|
-
t(this, "baseUrl", `${
|
|
1352
|
+
t(this, "baseUrl", `${k().config.http.portalApiUrl}/api`);
|
|
1353
1353
|
/**
|
|
1354
1354
|
* Обработчик ошибок выполнения запросов текущего экземпляра класса.
|
|
1355
1355
|
*
|
|
@@ -1817,7 +1817,7 @@ class pt extends S {
|
|
|
1817
1817
|
this.description = e.description, this.canChangeLowCost = e.canChangeLowCost, this.parentRoleId = e.parentRoleId;
|
|
1818
1818
|
}
|
|
1819
1819
|
}
|
|
1820
|
-
class
|
|
1820
|
+
class ve extends Be {
|
|
1821
1821
|
/**
|
|
1822
1822
|
* Инициализирует экземпляр класса {@link Manager}.
|
|
1823
1823
|
*
|
|
@@ -1885,10 +1885,10 @@ class ht extends we {
|
|
|
1885
1885
|
* Данные о менеджере за которым закреплена категория.
|
|
1886
1886
|
*/
|
|
1887
1887
|
t(this, "manager");
|
|
1888
|
-
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
|
|
1888
|
+
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 ve(e.manager) : void 0;
|
|
1889
1889
|
}
|
|
1890
1890
|
}
|
|
1891
|
-
class
|
|
1891
|
+
class Ce extends ht {
|
|
1892
1892
|
/**
|
|
1893
1893
|
* Инициализирует экземпляр класса {@link ClientCategory}.
|
|
1894
1894
|
*
|
|
@@ -1905,7 +1905,7 @@ class ae extends ht {
|
|
|
1905
1905
|
* Список продуктов категории.
|
|
1906
1906
|
*/
|
|
1907
1907
|
t(this, "products");
|
|
1908
|
-
this.categories = (s = e == null ? void 0 : e.categories) == null ? void 0 : s.map((o) => new
|
|
1908
|
+
this.categories = (s = e == null ? void 0 : e.categories) == null ? void 0 : s.map((o) => new Ce(o)), this.products = (n = e == null ? void 0 : e.products) == null ? void 0 : n.map((o) => new j(o));
|
|
1909
1909
|
}
|
|
1910
1910
|
}
|
|
1911
1911
|
class wr {
|
|
@@ -1923,7 +1923,7 @@ class wr {
|
|
|
1923
1923
|
* Процент, который прибавляется к значению выбранного коэффициента.
|
|
1924
1924
|
*/
|
|
1925
1925
|
t(this, "increasePercent");
|
|
1926
|
-
this.priceCoefficient = (r == null ? void 0 : r.priceCoefficient) && new
|
|
1926
|
+
this.priceCoefficient = (r == null ? void 0 : r.priceCoefficient) && new Pe(r.priceCoefficient), this.increasePercent = r == null ? void 0 : r.increasePercent;
|
|
1927
1927
|
}
|
|
1928
1928
|
}
|
|
1929
1929
|
class de extends wr {
|
|
@@ -2111,7 +2111,7 @@ class oe extends re {
|
|
|
2111
2111
|
this.createdAt = C(e == null ? void 0 : e.createdAt) ? R(e.createdAt) : (e == null ? void 0 : e.createdAt) ?? /* @__PURE__ */ new Date(), this.deletedAt = C(e == null ? void 0 : e.deletedAt) ? R(e.deletedAt) : e == null ? void 0 : e.deletedAt, this.client = new te(e == null ? void 0 : e.client), this.priceTemplate = new Q(e == null ? void 0 : e.priceTemplate);
|
|
2112
2112
|
}
|
|
2113
2113
|
}
|
|
2114
|
-
class
|
|
2114
|
+
class ke extends wr {
|
|
2115
2115
|
/**
|
|
2116
2116
|
* Инициализирует экземпляр класса {@link PriceTemplateProduct}.
|
|
2117
2117
|
*
|
|
@@ -2306,7 +2306,7 @@ class Ye {
|
|
|
2306
2306
|
* Минимальный коэффициент цены.
|
|
2307
2307
|
*/
|
|
2308
2308
|
t(this, "minCoefficient");
|
|
2309
|
-
this.role = new le(r == null ? void 0 : r.role), this.category = new we(r == null ? void 0 : r.category), this.minCoefficient = new
|
|
2309
|
+
this.role = new le(r == null ? void 0 : r.role), this.category = new we(r == null ? void 0 : r.category), this.minCoefficient = new Pe(r == null ? void 0 : r.minCoefficient);
|
|
2310
2310
|
}
|
|
2311
2311
|
}
|
|
2312
2312
|
class Vt extends p {
|
|
@@ -2336,7 +2336,7 @@ class Vt extends p {
|
|
|
2336
2336
|
*/
|
|
2337
2337
|
// eslint-disable-next-line class-methods-use-this
|
|
2338
2338
|
getPriceExportLink(r = "csv", e = !1, s = void 0, n = void 0) {
|
|
2339
|
-
let c = `${
|
|
2339
|
+
let c = `${k().config.http.portalApiUrl}/api/internal/price/export?format=${r}&show_hidden=${e}`;
|
|
2340
2340
|
return s && (c += `&category_id=${s}`), n && (c += `&client_id=${n}`), c;
|
|
2341
2341
|
}
|
|
2342
2342
|
}
|
|
@@ -2574,12 +2574,12 @@ class Qt extends p {
|
|
|
2574
2574
|
* @see /doc/api/internal#/operations/api_internal_client_price_template_attach
|
|
2575
2575
|
*/
|
|
2576
2576
|
attachTemplate(r, e, s) {
|
|
2577
|
-
const n =
|
|
2577
|
+
const n = k().config.dateFormats.api;
|
|
2578
2578
|
return this.post(
|
|
2579
2579
|
`/internal/clients/${r}/price/templates/${e}`,
|
|
2580
2580
|
s && {
|
|
2581
|
-
startAt: s.startAt &&
|
|
2582
|
-
endAt: s.endAt &&
|
|
2581
|
+
startAt: s.startAt && I(s.startAt, n),
|
|
2582
|
+
endAt: s.endAt && I(s.endAt, n)
|
|
2583
2583
|
},
|
|
2584
2584
|
(o) => new oe(o.data),
|
|
2585
2585
|
{},
|
|
@@ -2608,12 +2608,12 @@ class Qt extends p {
|
|
|
2608
2608
|
* @see /doc/api/internal#/operations/api_internal_client_price_template_change
|
|
2609
2609
|
*/
|
|
2610
2610
|
changeTemplate(r, e, s, n) {
|
|
2611
|
-
const o =
|
|
2611
|
+
const o = k().config.dateFormats.api;
|
|
2612
2612
|
return this.patch(
|
|
2613
2613
|
`/internal/clients/${r}/price/templates/${e}/${s}`,
|
|
2614
2614
|
n && {
|
|
2615
|
-
startAt: n.startAt &&
|
|
2616
|
-
endAt: n.endAt &&
|
|
2615
|
+
startAt: n.startAt && I(n.startAt, o),
|
|
2616
|
+
endAt: n.endAt && I(n.endAt, o)
|
|
2617
2617
|
},
|
|
2618
2618
|
(c) => new oe(c.data)
|
|
2619
2619
|
);
|
|
@@ -2789,7 +2789,7 @@ class Zt extends p {
|
|
|
2789
2789
|
clientId: r,
|
|
2790
2790
|
showHidden: e
|
|
2791
2791
|
},
|
|
2792
|
-
(s) => s.data.map((n) => new
|
|
2792
|
+
(s) => s.data.map((n) => new Ce(n))
|
|
2793
2793
|
);
|
|
2794
2794
|
}
|
|
2795
2795
|
/**
|
|
@@ -2810,7 +2810,7 @@ class Zt extends p {
|
|
|
2810
2810
|
showHidden: s,
|
|
2811
2811
|
withNestedCategories: n
|
|
2812
2812
|
},
|
|
2813
|
-
(o) => new
|
|
2813
|
+
(o) => new Ce(o.data)
|
|
2814
2814
|
);
|
|
2815
2815
|
}
|
|
2816
2816
|
/**
|
|
@@ -2888,7 +2888,7 @@ class Xe {
|
|
|
2888
2888
|
field: this.field,
|
|
2889
2889
|
op: this.op
|
|
2890
2890
|
};
|
|
2891
|
-
return r.value = xe(this.value) ?
|
|
2891
|
+
return r.value = xe(this.value) ? I(this.value, k().config.dateFormats.api) : this.value, r;
|
|
2892
2892
|
}
|
|
2893
2893
|
}
|
|
2894
2894
|
class G {
|
|
@@ -3019,7 +3019,7 @@ class rs extends Ae {
|
|
|
3019
3019
|
return this.get(
|
|
3020
3020
|
`/internal/price/templates/${r}/products`,
|
|
3021
3021
|
{},
|
|
3022
|
-
(e) => e.data.map((s) => new
|
|
3022
|
+
(e) => e.data.map((s) => new ke(s))
|
|
3023
3023
|
);
|
|
3024
3024
|
}
|
|
3025
3025
|
/**
|
|
@@ -3031,7 +3031,7 @@ class rs extends Ae {
|
|
|
3031
3031
|
* @see /doc/api/internal#/operations/api_internal_catalog_price_template_product_get
|
|
3032
3032
|
*/
|
|
3033
3033
|
getProductTemplatePrice(r, e) {
|
|
3034
|
-
return this.get(`/internal/price/templates/${r}/products/${e}`, {}, (s) => new
|
|
3034
|
+
return this.get(`/internal/price/templates/${r}/products/${e}`, {}, (s) => new ke(s.data));
|
|
3035
3035
|
}
|
|
3036
3036
|
/**
|
|
3037
3037
|
* Сохраняет цену на продукт в шаблоне прайс-листа.
|
|
@@ -3050,7 +3050,7 @@ class rs extends Ae {
|
|
|
3050
3050
|
price_coefficient_id: (n = s.coefficient) == null ? void 0 : n.id,
|
|
3051
3051
|
increase_percent: s.value
|
|
3052
3052
|
},
|
|
3053
|
-
(o) => new
|
|
3053
|
+
(o) => new ke(o.data)
|
|
3054
3054
|
);
|
|
3055
3055
|
}
|
|
3056
3056
|
/**
|
|
@@ -3989,7 +3989,7 @@ class at extends br {
|
|
|
3989
3989
|
e && (this.registrationCountry = new Z(e.registrationCountry), this.registrationNumber = e.registrationNumber ?? "", this.taxNumber = e.taxNumber ?? "");
|
|
3990
3990
|
}
|
|
3991
3991
|
}
|
|
3992
|
-
class
|
|
3992
|
+
class Re {
|
|
3993
3993
|
/**
|
|
3994
3994
|
* Инициализирует и возвращает экземпляр класса с данными о контрагенте.
|
|
3995
3995
|
*
|
|
@@ -4008,7 +4008,7 @@ class Ce {
|
|
|
4008
4008
|
}
|
|
4009
4009
|
}
|
|
4010
4010
|
}
|
|
4011
|
-
class
|
|
4011
|
+
class Ie extends re {
|
|
4012
4012
|
/**
|
|
4013
4013
|
* Инициализирует экземпляр класса {@link ContactRelation}.
|
|
4014
4014
|
*
|
|
@@ -4048,7 +4048,7 @@ class Ct extends z {
|
|
|
4048
4048
|
*/
|
|
4049
4049
|
addresses: []
|
|
4050
4050
|
});
|
|
4051
|
-
e.relations && (e.relations.addresses && (this.relations.addresses = e.relations.addresses.map((s) => new
|
|
4051
|
+
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))));
|
|
4052
4052
|
}
|
|
4053
4053
|
}
|
|
4054
4054
|
class ue extends pr {
|
|
@@ -4141,7 +4141,7 @@ class rr extends te {
|
|
|
4141
4141
|
* @inheritDoc
|
|
4142
4142
|
*/
|
|
4143
4143
|
t(this, "extraData");
|
|
4144
|
-
this.contragents = ((s = e == null ? void 0 : e.contragents) == null ? void 0 : s.map((u) =>
|
|
4144
|
+
this.contragents = ((s = e == null ? void 0 : e.contragents) == null ? void 0 : s.map((u) => Re.createInstance(u))) ?? [], this.partnerGroups = ((n = e == null ? void 0 : e.partnerGroups) == null ? void 0 : n.map((u) => new ee(u))) ?? [], this.contacts = ((o = e == null ? void 0 : e.contacts) == null ? void 0 : o.map((u) => new z(u))) ?? [], this.deliveryAddresses = ((c = e == null ? void 0 : e.deliveryAddresses) == null ? void 0 : c.map((u) => new ue(u))) ?? [], this.channelPrimaryInterest = new Cr(e == null ? void 0 : e.channelPrimaryInterest), this.sourcePrimaryInterest = new Ar(e == null ? void 0 : e.sourcePrimaryInterest), this.preferredDeliveryType = new F(e == null ? void 0 : e.preferredDeliveryType), this.primaryDemand = e == null ? void 0 : e.primaryDemand, this.preferredWarehouse = e != null && e.preferredWarehouse ? new ye(e.preferredWarehouse) : void 0, this.extraData = (e == null ? void 0 : e.extraData) ?? {};
|
|
4145
4145
|
}
|
|
4146
4146
|
}
|
|
4147
4147
|
class Sr {
|
|
@@ -4263,7 +4263,7 @@ class cs extends Sr {
|
|
|
4263
4263
|
* @inheritDoc
|
|
4264
4264
|
*/
|
|
4265
4265
|
t(this, "lastOrder");
|
|
4266
|
-
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 De(D)), this.region = new ge(e == null ? void 0 : e.region), this.country = new Z(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 b(e == null ? void 0 : e.createdAt), this.lastLoginDate = new b(e == null ? void 0 : e.lastLoginDate), this.lastLoginDateHasOrder = (e == null ? void 0 : e.lastLoginDateHasOrder) ?? void 0, this.managers = ((n = e == null ? void 0 : e.managers) == null ? void 0 : n.map((D) => new
|
|
4266
|
+
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 De(D)), this.region = new ge(e == null ? void 0 : e.region), this.country = new Z(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 b(e == null ? void 0 : e.createdAt), this.lastLoginDate = new b(e == null ? void 0 : e.lastLoginDate), this.lastLoginDateHasOrder = (e == null ? void 0 : e.lastLoginDateHasOrder) ?? void 0, this.managers = ((n = e == null ? void 0 : e.managers) == null ? void 0 : n.map((D) => new ve(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 We(D))) ?? [], this.salesDirections = (c = e == null ? void 0 : e.salesDirections) == null ? void 0 : c.map((D) => new q(D)), this.contragentInn = e == null ? void 0 : e.contragentInn, this.contragentType = new B(e == null ? void 0 : e.contragentType), this.preferredDeliveryType = e != null && e.preferredDeliveryType ? new F(e == null ? void 0 : e.preferredDeliveryType) : void 0, this.partnerGroups = (u = e == null ? void 0 : e.partnerGroups) == null ? void 0 : u.map((D) => new ee(D)), this.contact = new Ue(e == null ? void 0 : e.contact), this.lastOrder = {
|
|
4267
4267
|
createdAt: new b((h = e == null ? void 0 : e.lastOrder) == null ? void 0 : h.createdAt),
|
|
4268
4268
|
creator: (m = e == null ? void 0 : e.lastOrder) == null ? void 0 : m.creator,
|
|
4269
4269
|
isApproved: (f = e == null ? void 0 : e.lastOrder) == null ? void 0 : f.isApproved
|
|
@@ -4818,7 +4818,7 @@ class x extends Ae {
|
|
|
4818
4818
|
return this.post(
|
|
4819
4819
|
`/internal/clients/${r}/contragents`,
|
|
4820
4820
|
x.transformContragentClientDataToRequest(e),
|
|
4821
|
-
(n) =>
|
|
4821
|
+
(n) => Re.createInstance(n.data),
|
|
4822
4822
|
s
|
|
4823
4823
|
);
|
|
4824
4824
|
}
|
|
@@ -4834,7 +4834,7 @@ class x extends Ae {
|
|
|
4834
4834
|
return this.patch(
|
|
4835
4835
|
`/internal/clients/${r}/contragents/${e.id}`,
|
|
4836
4836
|
x.transformContragentClientDataToRequest(e),
|
|
4837
|
-
(n) =>
|
|
4837
|
+
(n) => Re.createInstance(n.data),
|
|
4838
4838
|
s
|
|
4839
4839
|
);
|
|
4840
4840
|
}
|
|
@@ -5165,7 +5165,7 @@ const Y = class Y extends p {
|
|
|
5165
5165
|
* Время кэширования данных ответов на запросы (секунд).
|
|
5166
5166
|
*/
|
|
5167
5167
|
t(this, "responseDataCacheTimeout");
|
|
5168
|
-
this.responseDataCacheTimeout =
|
|
5168
|
+
this.responseDataCacheTimeout = k().config.http.responseDataCacheTimeout;
|
|
5169
5169
|
}
|
|
5170
5170
|
/**
|
|
5171
5171
|
* Возвращает кэшированные данные.
|
|
@@ -5357,7 +5357,7 @@ class ms {
|
|
|
5357
5357
|
};
|
|
5358
5358
|
}
|
|
5359
5359
|
}
|
|
5360
|
-
class
|
|
5360
|
+
class kr {
|
|
5361
5361
|
/**
|
|
5362
5362
|
* Возвращает признак, что указанный товар имеет линейную единицу измерения.
|
|
5363
5363
|
*
|
|
@@ -5373,7 +5373,7 @@ class Ir {
|
|
|
5373
5373
|
*/
|
|
5374
5374
|
static getProductMultiplicity(r) {
|
|
5375
5375
|
var e, s;
|
|
5376
|
-
return !((e = r.properties) != null && e.ignoreMinCountCheck) && ((s = r.properties) != null && s.minCount) && !
|
|
5376
|
+
return !((e = r.properties) != null && e.ignoreMinCountCheck) && ((s = r.properties) != null && s.minCount) && !kr.productIsMeasurable(r) ? r.properties.minCount : 1;
|
|
5377
5377
|
}
|
|
5378
5378
|
/**
|
|
5379
5379
|
* Возвращает кратность длины для указанного товара.
|
|
@@ -5394,7 +5394,7 @@ class ys {
|
|
|
5394
5394
|
* Генерирует и возвращает данные-заглушку неопределённого менеджера.
|
|
5395
5395
|
*/
|
|
5396
5396
|
static generateUndefinedManagerInstance() {
|
|
5397
|
-
return new
|
|
5397
|
+
return new ve({ id: 0, name: "- Не назначен -", isActive: !0, guid: "-undefined-" });
|
|
5398
5398
|
}
|
|
5399
5399
|
/**
|
|
5400
5400
|
* Выполняет проверку, является ли указанная запись записью-заглушкой с данными о неопределённом менеджере.
|
|
@@ -5413,7 +5413,7 @@ class At extends me {
|
|
|
5413
5413
|
const r = "/internal/managers", e = me.getCachedResponse(r);
|
|
5414
5414
|
if (e)
|
|
5415
5415
|
return e;
|
|
5416
|
-
const n = (await this.get(r)).data.map((o) => Me.instanceInitializer(
|
|
5416
|
+
const n = (await this.get(r)).data.map((o) => Me.instanceInitializer(ve, o));
|
|
5417
5417
|
return this.cacheResponse(r, n), n;
|
|
5418
5418
|
}
|
|
5419
5419
|
}
|
|
@@ -5485,7 +5485,7 @@ class ws {
|
|
|
5485
5485
|
this.paymentType = r == null ? void 0 : r.payment.type, this.deliveryType = r == null ? void 0 : r.delivery.type, this.contragentId = (e = r == null ? void 0 : r.contragent) == null ? void 0 : e.id, this.deliveryDate = r != null && r.delivery.date ? new Date(r.delivery.date) : void 0, this.addressId = (s = r == null ? void 0 : r.delivery.address) == null ? void 0 : s.id, this.warehouseId = (n = r == null ? void 0 : r.delivery.warehouse) == null ? void 0 : n.id, this.comment = r == null ? void 0 : r.comment, this.barcode = r == null ? void 0 : r.barcode, this.operatorsComment = r == null ? void 0 : r.operatorsComment, this.operatorsForWarehouseComment = r == null ? void 0 : r.operatorsForWarehouseComment, this.isAllowProcessingWithoutPayment = r == null ? void 0 : r.isAllowProcessingWithoutPayment;
|
|
5486
5486
|
}
|
|
5487
5487
|
}
|
|
5488
|
-
class
|
|
5488
|
+
class Ir extends dr {
|
|
5489
5489
|
/**
|
|
5490
5490
|
* Инициализирует экземпляр класса {@link OrderInfo}.
|
|
5491
5491
|
*
|
|
@@ -5692,7 +5692,7 @@ class T extends me {
|
|
|
5692
5692
|
* Возвращает {@link Promise} для получения справочника коэффициентов цен.
|
|
5693
5693
|
*/
|
|
5694
5694
|
getPriceCoefficients() {
|
|
5695
|
-
return this.getTypedDataArrayRequester(
|
|
5695
|
+
return this.getTypedDataArrayRequester(Pe, "/internal/references/price-coefficient", !0);
|
|
5696
5696
|
}
|
|
5697
5697
|
/**
|
|
5698
5698
|
* Возвращает {@link Promise} для получения справочника типов файлов продуктов/категорий.
|
|
@@ -5960,7 +5960,7 @@ class as extends Sr {
|
|
|
5960
5960
|
/**
|
|
5961
5961
|
* @inheritDoc
|
|
5962
5962
|
*/
|
|
5963
|
-
t(this, "
|
|
5963
|
+
t(this, "attachedUsers");
|
|
5964
5964
|
/**
|
|
5965
5965
|
* @inheritDoc
|
|
5966
5966
|
*/
|
|
@@ -6049,7 +6049,7 @@ class as extends Sr {
|
|
|
6049
6049
|
* @inheritDoc
|
|
6050
6050
|
*/
|
|
6051
6051
|
t(this, "onlyMyRegions");
|
|
6052
|
-
this.
|
|
6052
|
+
this.attachedUsers = (s = e == null ? void 0 : e.attachedUsers) == null ? void 0 : s.map((u) => "isActive" in u ? new ve(u) : new Rr(u)), this.clientSearchTerm = e == null ? void 0 : e.clientSearchTerm, this.client = e != null && e.client ? new te(e.client) : void 0, this.contragent = e == null ? void 0 : e.contragent, this.createdAt = new b(e == null ? void 0 : e.createdAt), this.creator = e != null && e.creator ? new _(e.creator) : void 0, this.deliveryDate = new b(e == null ? void 0 : e.deliveryDate), this.deliveryAddressSearch = e == null ? void 0 : e.deliveryAddressSearch, this.clientCities = (n = e == null ? void 0 : e.clientCities) == null ? void 0 : n.map((u) => new De(u)), this.id = e == null ? void 0 : e.id, this.isApproved = e == null ? void 0 : e.isApproved, 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.attachedAt = new b(e == null ? void 0 : e.attachedAt), this.salesDirections = (o = e == null ? void 0 : e.salesDirections) == null ? void 0 : o.map((u) => new q(u)), this.status = e == null ? void 0 : e.status, this.statusDetail = e == null ? void 0 : e.statusDetail, this.deliveryType = e != null && e.deliveryType ? new F(e.deliveryType) : void 0, this.paymentType = e != null && e.paymentType ? new Pr(e.paymentType) : void 0, this.warehouses = (c = e == null ? void 0 : e.warehouses) == null ? void 0 : c.map((u) => new ye(u)), this.isToProcess = e == null ? void 0 : e.isToProcess;
|
|
6053
6053
|
}
|
|
6054
6054
|
/**
|
|
6055
6055
|
* @inheritDoc
|
|
@@ -6158,7 +6158,7 @@ class St extends fr {
|
|
|
6158
6158
|
this.product = new j(e.product), this.currency = new O(e.currency), 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 = e.sawing, s && (this.replacement = s, this.quantity !== s.quantity && this.changedFields.push("quantity"), this.length !== s.length && this.changedFields.push("length"));
|
|
6159
6159
|
}
|
|
6160
6160
|
}
|
|
6161
|
-
class d extends
|
|
6161
|
+
class d extends Ir {
|
|
6162
6162
|
/**
|
|
6163
6163
|
* Инициализирует экземпляр класса {@link Order}.
|
|
6164
6164
|
*
|
|
@@ -6223,7 +6223,7 @@ class d extends kr {
|
|
|
6223
6223
|
var c;
|
|
6224
6224
|
const o = n.replacementId ? (c = e.products) == null ? void 0 : c.find((u) => u.id === n.replacementId) : void 0;
|
|
6225
6225
|
return new St(n, o);
|
|
6226
|
-
}), this.invoices = e.invoices ?? [], this.comment = e.comment, this.image = e.image, this.contragent = e.contragent ?
|
|
6226
|
+
}), this.invoices = e.invoices ?? [], this.comment = e.comment, this.image = e.image, this.contragent = e.contragent ? Re.createInstance(e.contragent) : void 0, this.barcode = e.barcode, this.orderSource = e.orderSource ? new w(e.orderSource) : void 0, this.isAllowProcessingWithoutPayment = e.isAllowProcessingWithoutPayment, this.nextStatuses = (s = e.nextStatuses) == null ? void 0 : s.map((n) => new $e(n)), this.actions = e.actions, this.operatorsComment = e.operatorsComment, this.operatorsForWarehouseComment = e.operatorsForWarehouseComment, this.erpOrderUrl = e.erpOrderUrl;
|
|
6227
6227
|
}
|
|
6228
6228
|
}
|
|
6229
6229
|
class dt {
|
|
@@ -6272,7 +6272,7 @@ class Cs extends Ae {
|
|
|
6272
6272
|
{},
|
|
6273
6273
|
(o) => {
|
|
6274
6274
|
const c = { ...o.data };
|
|
6275
|
-
return c.data = c.data.map((u) => new
|
|
6275
|
+
return c.data = c.data.map((u) => new Ir(u)), c;
|
|
6276
6276
|
},
|
|
6277
6277
|
void 0,
|
|
6278
6278
|
n
|
|
@@ -6320,21 +6320,26 @@ class Cs extends Ae {
|
|
|
6320
6320
|
* @param clientId Идентификатор клиента.
|
|
6321
6321
|
* @param salesDirectionId Идентификатор направления продаж.
|
|
6322
6322
|
* @param data Данные для создания заказа.
|
|
6323
|
+
* @param cartItemIds Идентификаторы позиций корзины (`IOrderItem.id`),
|
|
6324
|
+
* которые необходимо включить в заказ (частичный заказ).
|
|
6325
|
+
* Если не указаны или список пуст, заказ создаётся из всех
|
|
6326
|
+
* товаров корзины по указанному направлению продаж.
|
|
6323
6327
|
* @param validationFieldResultData Список полей, для которых необходимо
|
|
6324
6328
|
* установить данные об ошибках валидации
|
|
6325
6329
|
* в случае ошибок в запросах.
|
|
6326
6330
|
* @see /doc/api/internal#/operations/api_internal_client_orders_create
|
|
6327
6331
|
*/
|
|
6328
|
-
createClientOrder(r, e, s, n = {}) {
|
|
6329
|
-
const
|
|
6332
|
+
createClientOrder(r, e, s, n, o = {}) {
|
|
6333
|
+
const c = k().config.dateFormats.api;
|
|
6330
6334
|
return this.post(
|
|
6331
6335
|
`/internal/clients/${r}/orders/${e}`,
|
|
6332
6336
|
{
|
|
6333
6337
|
...s,
|
|
6334
|
-
deliveryDate:
|
|
6338
|
+
deliveryDate: I(s.deliveryDate, c),
|
|
6339
|
+
items: n != null && n.length ? n : void 0
|
|
6335
6340
|
},
|
|
6336
|
-
(
|
|
6337
|
-
|
|
6341
|
+
(u) => u.data.map((h) => new d(h)),
|
|
6342
|
+
o
|
|
6338
6343
|
);
|
|
6339
6344
|
}
|
|
6340
6345
|
/**
|
|
@@ -6389,12 +6394,12 @@ class Cs extends Ae {
|
|
|
6389
6394
|
* @see /doc/api/internal#/Заказы/api_internal_orders_update
|
|
6390
6395
|
*/
|
|
6391
6396
|
updateOrder(r, e, s = {}) {
|
|
6392
|
-
const n =
|
|
6397
|
+
const n = k().config.dateFormats.api;
|
|
6393
6398
|
return this.patch(
|
|
6394
6399
|
`/internal/orders/${r}`,
|
|
6395
6400
|
{
|
|
6396
6401
|
...e,
|
|
6397
|
-
deliveryDate: e.deliveryDate ?
|
|
6402
|
+
deliveryDate: e.deliveryDate ? I(e.deliveryDate, n) : void 0
|
|
6398
6403
|
},
|
|
6399
6404
|
(o) => new d(o.data),
|
|
6400
6405
|
s
|
|
@@ -6572,11 +6577,11 @@ class Cs extends Ae {
|
|
|
6572
6577
|
* @see /doc/api/internal#/operations/api_internal_orders_delivery_get_cost
|
|
6573
6578
|
*/
|
|
6574
6579
|
getDeliveryCost(r, e, s, n = void 0) {
|
|
6575
|
-
const o =
|
|
6580
|
+
const o = k().config.dateFormats.api;
|
|
6576
6581
|
return this.get(
|
|
6577
6582
|
`/internal/orders/delivery/${r}/cost`,
|
|
6578
6583
|
{
|
|
6579
|
-
date:
|
|
6584
|
+
date: I(e, o),
|
|
6580
6585
|
warehouse_id: s
|
|
6581
6586
|
},
|
|
6582
6587
|
(c) => c.data,
|
|
@@ -6693,7 +6698,7 @@ class Rs extends p {
|
|
|
6693
6698
|
);
|
|
6694
6699
|
}
|
|
6695
6700
|
}
|
|
6696
|
-
class
|
|
6701
|
+
class kt {
|
|
6697
6702
|
/**
|
|
6698
6703
|
* Инициализирует экземпляр класса {@link PriceHistoryItem}.
|
|
6699
6704
|
*
|
|
@@ -6743,7 +6748,7 @@ class It {
|
|
|
6743
6748
|
this.cost = r.cost ?? 0, this.isLowCost = r.isLowCost ?? !1, this.isRetail = r.isRetail ?? !1, this.costDate = C(r.costDate) ? R(r.costDate) : r.costDate ?? /* @__PURE__ */ new Date(), this.discountName = r.discountName, this.priceTemplateName = r.priceTemplateName, this.product = r.product ? new he(r.product) : void 0, this.client = r.client ? new _(r.client) : void 0, this.executor = r.executor ? new _(r.executor) : void 0, this.currency = r.currency ? new O(r.currency) : void 0;
|
|
6744
6749
|
}
|
|
6745
6750
|
}
|
|
6746
|
-
class
|
|
6751
|
+
class It extends he {
|
|
6747
6752
|
/**
|
|
6748
6753
|
* Инициализирует экземпляр класса {@link ProductPriceHistory}.
|
|
6749
6754
|
*
|
|
@@ -6755,7 +6760,7 @@ class kt extends he {
|
|
|
6755
6760
|
* @inheritDoc
|
|
6756
6761
|
*/
|
|
6757
6762
|
t(this, "history");
|
|
6758
|
-
this.history = fe(e.history, (s) => new
|
|
6763
|
+
this.history = fe(e.history, (s) => new kt(s));
|
|
6759
6764
|
}
|
|
6760
6765
|
}
|
|
6761
6766
|
class Ps extends p {
|
|
@@ -6768,17 +6773,17 @@ class Ps extends p {
|
|
|
6768
6773
|
*/
|
|
6769
6774
|
getProductPriceHistory(r) {
|
|
6770
6775
|
var o, c, u, h, m;
|
|
6771
|
-
const e =
|
|
6776
|
+
const e = k().config.dateFormats.api, s = cr(
|
|
6772
6777
|
pe(r, {
|
|
6773
6778
|
costDate: {
|
|
6774
|
-
from: xe((o = r.costDate) == null ? void 0 : o.from) ?
|
|
6775
|
-
to: xe((u = r.costDate) == null ? void 0 : u.to) ?
|
|
6779
|
+
from: xe((o = r.costDate) == null ? void 0 : o.from) ? I(r.costDate.from, e) : (c = r.costDate) == null ? void 0 : c.from,
|
|
6780
|
+
to: xe((u = r.costDate) == null ? void 0 : u.to) ? I(r.costDate.to, e) : (h = r.costDate) == null ? void 0 : h.to
|
|
6776
6781
|
}
|
|
6777
6782
|
}),
|
|
6778
6783
|
(f) => A(f) || (H(f) || lr(f)) && X(f)
|
|
6779
6784
|
), n = ((m = r.product) == null ? void 0 : m[0]) ?? 0;
|
|
6780
6785
|
return delete s.product, this.get(`/internal/price/products/${n}/history`, s).then((f) => [
|
|
6781
|
-
new
|
|
6786
|
+
new It(pe(f[0], { history: f }))
|
|
6782
6787
|
]);
|
|
6783
6788
|
}
|
|
6784
6789
|
}
|
|
@@ -7014,7 +7019,7 @@ class Ts extends p {
|
|
|
7014
7019
|
* Инициализирует экземпляр класса {@link UserAuthDataProvider}.
|
|
7015
7020
|
*/
|
|
7016
7021
|
constructor() {
|
|
7017
|
-
super(), this.baseUrl = `${
|
|
7022
|
+
super(), this.baseUrl = `${k().config.http.portalApiUrl}/api`, this.interceptorIds.request.authRequestInterceptor && this.httpClient.interceptors.request.eject(this.interceptorIds.request.authRequestInterceptor);
|
|
7018
7023
|
}
|
|
7019
7024
|
/**
|
|
7020
7025
|
* Функция для получения обновленных токенов доступа.
|
|
@@ -7099,7 +7104,7 @@ export {
|
|
|
7099
7104
|
De as CityWithRegionAndCountry,
|
|
7100
7105
|
rr as Client,
|
|
7101
7106
|
Rt as ClientAdditionalData,
|
|
7102
|
-
|
|
7107
|
+
Ce as ClientCategory,
|
|
7103
7108
|
x as ClientDataProvider,
|
|
7104
7109
|
Kt as ClientPriceProvider,
|
|
7105
7110
|
Qt as ClientPriceTemplateProvider,
|
|
@@ -7117,9 +7122,9 @@ export {
|
|
|
7117
7122
|
z as ContactPerson,
|
|
7118
7123
|
Ct as ContactPersonRelated,
|
|
7119
7124
|
ft as ContactPosition,
|
|
7120
|
-
|
|
7125
|
+
Ie as ContactRelation,
|
|
7121
7126
|
$r as ContragentBase,
|
|
7122
|
-
|
|
7127
|
+
Re as ContragentFactory,
|
|
7123
7128
|
Tr as ContragentIc,
|
|
7124
7129
|
vt as ContragentPerson,
|
|
7125
7130
|
at as ContragentUlNr,
|
|
@@ -7152,7 +7157,7 @@ export {
|
|
|
7152
7157
|
re as Identity,
|
|
7153
7158
|
st as Image,
|
|
7154
7159
|
M as JwtPayload,
|
|
7155
|
-
|
|
7160
|
+
ve as Manager,
|
|
7156
7161
|
Be as ManagerCommon,
|
|
7157
7162
|
ys as ManagerDataFactory,
|
|
7158
7163
|
At as ManagerDataProvider,
|
|
@@ -7164,7 +7169,7 @@ export {
|
|
|
7164
7169
|
d as Order,
|
|
7165
7170
|
$t as OrderAction,
|
|
7166
7171
|
ws as OrderEditorData,
|
|
7167
|
-
|
|
7172
|
+
Ir as OrderInfo,
|
|
7168
7173
|
St as OrderItem,
|
|
7169
7174
|
fr as OrderItemBase,
|
|
7170
7175
|
yt as OrderPaymentStatus,
|
|
@@ -7178,18 +7183,18 @@ export {
|
|
|
7178
7183
|
Sr as PaginationFiltersBase,
|
|
7179
7184
|
ee as PartnerGroup,
|
|
7180
7185
|
Pr as PaymentType,
|
|
7181
|
-
|
|
7186
|
+
ae as PreferencesStorageProvider,
|
|
7182
7187
|
Le as PriceAnalyze,
|
|
7183
7188
|
Rs as PriceAnalyzeProvider,
|
|
7184
|
-
|
|
7189
|
+
Pe as PriceCoefficient,
|
|
7185
7190
|
gr as PriceCoefficientEnum,
|
|
7186
7191
|
Ps as PriceHistoryDataProvider,
|
|
7187
|
-
|
|
7192
|
+
kt as PriceHistoryItem,
|
|
7188
7193
|
Q as PriceTemplate,
|
|
7189
7194
|
de as PriceTemplateCategory,
|
|
7190
7195
|
oe as PriceTemplateClient,
|
|
7191
7196
|
wr as PriceTemplateICatalogableItem,
|
|
7192
|
-
|
|
7197
|
+
ke as PriceTemplateProduct,
|
|
7193
7198
|
rs as PriceTemplateProvider,
|
|
7194
7199
|
le as PricingRole,
|
|
7195
7200
|
ts as PricingRoleProvider,
|
|
@@ -7199,7 +7204,7 @@ export {
|
|
|
7199
7204
|
Xt as ProductDataProvider,
|
|
7200
7205
|
wt as ProductFileType,
|
|
7201
7206
|
je as ProductPriceCoefficient,
|
|
7202
|
-
|
|
7207
|
+
It as ProductPriceHistory,
|
|
7203
7208
|
Qe as ProductUnit,
|
|
7204
7209
|
ss as PropertiesProvider,
|
|
7205
7210
|
ce as Property,
|
|
@@ -7222,7 +7227,7 @@ export {
|
|
|
7222
7227
|
is as TemplateProductCategoryDataProvider,
|
|
7223
7228
|
Et as TemplatesListFilters,
|
|
7224
7229
|
Me as TypedInstanceFactory,
|
|
7225
|
-
|
|
7230
|
+
kr as UnitsHelper,
|
|
7226
7231
|
ps as UnknownClientDataProvider,
|
|
7227
7232
|
ur as UpdatableNamedIdentity,
|
|
7228
7233
|
xt as User,
|
|
@@ -7239,7 +7244,7 @@ export {
|
|
|
7239
7244
|
er as flattenCatalogItems,
|
|
7240
7245
|
fs as pluralize,
|
|
7241
7246
|
Se as useAuthStateStore,
|
|
7242
|
-
|
|
7247
|
+
k as useBaseConfigStateStore,
|
|
7243
7248
|
vs as useReferencesStore,
|
|
7244
7249
|
bs as useUserStateStore
|
|
7245
7250
|
};
|