@snabcentr/common-lib 2.6.0 → 2.7.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 +93 -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/cart/interfaces/i-order-item-base.d.ts +4 -0
- package/dist/src/cart/interfaces/i-order-item-base.d.ts.map +1 -1
- package/dist/src/configurator/enums/configurators-enum.d.ts +5 -1
- package/dist/src/configurator/enums/configurators-enum.d.ts.map +1 -1
- package/dist/src/orders/classes/order-item-base.d.ts +4 -0
- package/dist/src/orders/classes/order-item-base.d.ts.map +1 -1
- package/dist/src/orders/classes/order-item.d.ts +7 -1
- package/dist/src/orders/classes/order-item.d.ts.map +1 -1
- package/dist/src/orders/classes/order.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
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
var
|
|
2
|
-
var Lr = (i, r, e) => r in i ?
|
|
1
|
+
var kr = Object.defineProperty;
|
|
2
|
+
var Lr = (i, r, e) => r in i ? kr(i, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[r] = e;
|
|
3
3
|
var t = (i, r, e) => Lr(i, typeof r != "symbol" ? r + "" : r, e);
|
|
4
4
|
import { jwtDecode as nr } from "jwt-decode";
|
|
5
|
-
import { merge as pe, isNil as A, isEmpty as X, noop as v, mapValues as or, isArray as H, every as
|
|
5
|
+
import { merge as pe, isNil as A, isEmpty as X, noop as v, mapValues as or, isArray as H, every as _r, split as xr, isString as C, constant as Or, toUpper as qr, cloneDeep as Nr, toLower as Ur, isFunction as Fe, map as fe, forEach as Fr, isDate as xe, omitBy as cr, isObject as lr } from "lodash-es";
|
|
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 Hr, computed as P } from "vue";
|
|
9
|
-
import { isAfter as Ve, parseISO as a, startOfToday as Oe, format as
|
|
9
|
+
import { isAfter as Ve, parseISO as a, startOfToday as Oe, format as k, addSeconds as jr, addBusinessDays as Gr, endOfTomorrow as Mr, startOfTomorrow as Br, endOfYesterday as zr, startOfYesterday as Wr, endOfToday as Jr, endOfDay as Er, startOfDay as Vr } from "date-fns";
|
|
10
10
|
import Kr, { CanceledError as Qr } from "axios";
|
|
11
11
|
class j {
|
|
12
12
|
/**
|
|
@@ -552,13 +552,13 @@ const V = W("common.auth_state_private", () => {
|
|
|
552
552
|
const h = P(() => {
|
|
553
553
|
const m = (f) => {
|
|
554
554
|
var E;
|
|
555
|
-
const D =
|
|
555
|
+
const D = xr(f, ".");
|
|
556
556
|
if (D.length < 2)
|
|
557
557
|
return !1;
|
|
558
558
|
const [se, ie] = D, J = (E = V().userPermissions) == null ? void 0 : E[se];
|
|
559
559
|
return H(J) && J.includes(ie);
|
|
560
560
|
};
|
|
561
|
-
return H(o) ?
|
|
561
|
+
return H(o) ? _r(o, (f) => m(f)) : m(o);
|
|
562
562
|
});
|
|
563
563
|
return c.userPermissionsComputedRefs.set(u, h), h;
|
|
564
564
|
}
|
|
@@ -786,7 +786,7 @@ class je {
|
|
|
786
786
|
return new r(e);
|
|
787
787
|
}
|
|
788
788
|
}
|
|
789
|
-
class
|
|
789
|
+
class _ extends b {
|
|
790
790
|
/**
|
|
791
791
|
* Инициализирует экземпляр класса {@link UserShortInfo}.
|
|
792
792
|
*
|
|
@@ -837,7 +837,7 @@ class nt extends b {
|
|
|
837
837
|
* Дата и время удаления.
|
|
838
838
|
*/
|
|
839
839
|
t(this, "deletedAt");
|
|
840
|
-
this.costCoefficient = (e == null ? void 0 : e.costCoefficient) ?? 0, this.isLowPriceAllowed = (e == null ? void 0 : e.isLowPriceAllowed) ?? !1, this.publishedAt = C(e == null ? void 0 : e.publishedAt) ? a(e.publishedAt) : e == null ? void 0 : e.publishedAt, this.description = (e == null ? void 0 : e.description) ?? void 0, this.percent = (e == null ? void 0 : e.percent) ?? 0, this.owner = new
|
|
840
|
+
this.costCoefficient = (e == null ? void 0 : e.costCoefficient) ?? 0, this.isLowPriceAllowed = (e == null ? void 0 : e.isLowPriceAllowed) ?? !1, this.publishedAt = C(e == null ? void 0 : e.publishedAt) ? a(e.publishedAt) : e == null ? void 0 : e.publishedAt, this.description = (e == null ? void 0 : e.description) ?? void 0, this.percent = (e == null ? void 0 : e.percent) ?? 0, this.owner = new _(e == null ? void 0 : e.owner), this.deletedAt = C(e == null ? void 0 : e.deletedAt) ? a(e.deletedAt) : e == null ? void 0 : e.deletedAt;
|
|
841
841
|
}
|
|
842
842
|
}
|
|
843
843
|
class Q extends ur {
|
|
@@ -1261,7 +1261,11 @@ class mr extends re {
|
|
|
1261
1261
|
* @inheritDoc
|
|
1262
1262
|
*/
|
|
1263
1263
|
t(this, "originalId");
|
|
1264
|
-
|
|
1264
|
+
/**
|
|
1265
|
+
* @inheritDoc
|
|
1266
|
+
*/
|
|
1267
|
+
t(this, "replacementId");
|
|
1268
|
+
this.product = new G(e.product), this.quantity = e.quantity ?? 0, this.marker = e.marker, this.category = e.category ?? new we(), this.currency = e.currency ? new O(e.currency) : void 0, this.height = e.height, this.length = e.length, this.width = e.width, this.configurator = e.configurator, this.configuratorParams = e.configuratorParams && Nr(e.configuratorParams), this.isAdditionalSale = e.isAdditionalSale, this.creator = e.creator && new _(e.creator), this.isRemoved = e.isRemoved, this.ord = e.ord, this.onOrder = e.onOrder, this.originalId = e.originalId, this.replacementId = e.replacementId;
|
|
1265
1269
|
}
|
|
1266
1270
|
}
|
|
1267
1271
|
let ct = class extends mr {
|
|
@@ -2107,7 +2111,7 @@ class oe extends re {
|
|
|
2107
2111
|
this.createdAt = C(e == null ? void 0 : e.createdAt) ? a(e.createdAt) : (e == null ? void 0 : e.createdAt) ?? /* @__PURE__ */ new Date(), this.deletedAt = C(e == null ? void 0 : e.deletedAt) ? a(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);
|
|
2108
2112
|
}
|
|
2109
2113
|
}
|
|
2110
|
-
class
|
|
2114
|
+
class Ie extends yr {
|
|
2111
2115
|
/**
|
|
2112
2116
|
* Инициализирует экземпляр класса {@link PriceTemplateProduct}.
|
|
2113
2117
|
*
|
|
@@ -2574,8 +2578,8 @@ class Kt extends p {
|
|
|
2574
2578
|
return this.post(
|
|
2575
2579
|
`/internal/clients/${r}/price/templates/${e}`,
|
|
2576
2580
|
s && {
|
|
2577
|
-
startAt: s.startAt &&
|
|
2578
|
-
endAt: s.endAt &&
|
|
2581
|
+
startAt: s.startAt && k(s.startAt, n),
|
|
2582
|
+
endAt: s.endAt && k(s.endAt, n)
|
|
2579
2583
|
},
|
|
2580
2584
|
(o) => new oe(o.data),
|
|
2581
2585
|
{},
|
|
@@ -2608,8 +2612,8 @@ class Kt extends p {
|
|
|
2608
2612
|
return this.patch(
|
|
2609
2613
|
`/internal/clients/${r}/price/templates/${e}/${s}`,
|
|
2610
2614
|
n && {
|
|
2611
|
-
startAt: n.startAt &&
|
|
2612
|
-
endAt: n.endAt &&
|
|
2615
|
+
startAt: n.startAt && k(n.startAt, o),
|
|
2616
|
+
endAt: n.endAt && k(n.endAt, o)
|
|
2613
2617
|
},
|
|
2614
2618
|
(c) => new oe(c.data)
|
|
2615
2619
|
);
|
|
@@ -2884,7 +2888,7 @@ class Xe {
|
|
|
2884
2888
|
field: this.field,
|
|
2885
2889
|
op: this.op
|
|
2886
2890
|
};
|
|
2887
|
-
return r.value =
|
|
2891
|
+
return r.value = xe(this.value) ? k(this.value, d().config.dateFormats.api) : this.value, r;
|
|
2888
2892
|
}
|
|
2889
2893
|
}
|
|
2890
2894
|
class M {
|
|
@@ -3015,7 +3019,7 @@ class es extends Ae {
|
|
|
3015
3019
|
return this.get(
|
|
3016
3020
|
`/internal/price/templates/${r}/products`,
|
|
3017
3021
|
{},
|
|
3018
|
-
(e) => e.data.map((s) => new
|
|
3022
|
+
(e) => e.data.map((s) => new Ie(s))
|
|
3019
3023
|
);
|
|
3020
3024
|
}
|
|
3021
3025
|
/**
|
|
@@ -3027,7 +3031,7 @@ class es extends Ae {
|
|
|
3027
3031
|
* @see /doc/api/internal#/operations/api_internal_catalog_price_template_product_get
|
|
3028
3032
|
*/
|
|
3029
3033
|
getProductTemplatePrice(r, e) {
|
|
3030
|
-
return this.get(`/internal/price/templates/${r}/products/${e}`, {}, (s) => new
|
|
3034
|
+
return this.get(`/internal/price/templates/${r}/products/${e}`, {}, (s) => new Ie(s.data));
|
|
3031
3035
|
}
|
|
3032
3036
|
/**
|
|
3033
3037
|
* Сохраняет цену на продукт в шаблоне прайс-листа.
|
|
@@ -3046,7 +3050,7 @@ class es extends Ae {
|
|
|
3046
3050
|
price_coefficient_id: (n = s.coefficient) == null ? void 0 : n.id,
|
|
3047
3051
|
increase_percent: s.value
|
|
3048
3052
|
},
|
|
3049
|
-
(o) => new
|
|
3053
|
+
(o) => new Ie(o.data)
|
|
3050
3054
|
);
|
|
3051
3055
|
}
|
|
3052
3056
|
/**
|
|
@@ -3883,7 +3887,7 @@ class Ar extends b {
|
|
|
3883
3887
|
*/
|
|
3884
3888
|
t(this, "updater");
|
|
3885
3889
|
if (e) {
|
|
3886
|
-
if (this.opf = new B(e.opf), this.comment = e.comment, this.alternativeName = e.alternativeName, this.createdAt = C(e == null ? void 0 : e.createdAt) ? a(e.createdAt) : e.createdAt, this.creator = e.creator ? new
|
|
3890
|
+
if (this.opf = new B(e.opf), this.comment = e.comment, this.alternativeName = e.alternativeName, this.createdAt = C(e == null ? void 0 : e.createdAt) ? a(e.createdAt) : e.createdAt, this.creator = e.creator ? new _(e.creator) : void 0, this.updatedAt = C(e == null ? void 0 : e.updatedAt) ? a(e.updatedAt) : e.updatedAt, this.updater = e.updater ? new _(e.updater) : void 0, e.partnerGroup && (this.partnerGroup = new ee(e.partnerGroup)), e.contacts) {
|
|
3887
3891
|
const s = [];
|
|
3888
3892
|
e.contacts.forEach((n) => {
|
|
3889
3893
|
s.push(new z(n));
|
|
@@ -4008,7 +4012,7 @@ class ae {
|
|
|
4008
4012
|
}
|
|
4009
4013
|
}
|
|
4010
4014
|
}
|
|
4011
|
-
class
|
|
4015
|
+
class ke extends re {
|
|
4012
4016
|
/**
|
|
4013
4017
|
* Инициализирует экземпляр класса {@link ContactRelation}.
|
|
4014
4018
|
*
|
|
@@ -4048,7 +4052,7 @@ class at extends z {
|
|
|
4048
4052
|
*/
|
|
4049
4053
|
addresses: []
|
|
4050
4054
|
});
|
|
4051
|
-
e.relations && (e.relations.addresses && (this.relations.addresses = e.relations.addresses.map((s) => new
|
|
4055
|
+
e.relations && (e.relations.addresses && (this.relations.addresses = e.relations.addresses.map((s) => new ke(s))), e.relations.clients && (this.relations.clients = e.relations.clients.map((s) => new ke(s))), e.relations.contragents && (this.relations.contragents = e.relations.contragents.map((s) => new ke(s))));
|
|
4052
4056
|
}
|
|
4053
4057
|
}
|
|
4054
4058
|
class ue extends tt {
|
|
@@ -4340,7 +4344,7 @@ class Sr extends re {
|
|
|
4340
4344
|
* @inheritDoc
|
|
4341
4345
|
*/
|
|
4342
4346
|
t(this, "creator");
|
|
4343
|
-
this.createdAt = C(e == null ? void 0 : e.createdAt) ? a(e.createdAt) : (e == null ? void 0 : e.createdAt) ?? /* @__PURE__ */ new Date(), this.creator = new
|
|
4347
|
+
this.createdAt = C(e == null ? void 0 : e.createdAt) ? a(e.createdAt) : (e == null ? void 0 : e.createdAt) ?? /* @__PURE__ */ new Date(), this.creator = new _(e == null ? void 0 : e.creator);
|
|
4344
4348
|
}
|
|
4345
4349
|
}
|
|
4346
4350
|
class Rt extends b {
|
|
@@ -4450,7 +4454,7 @@ class ls {
|
|
|
4450
4454
|
this.field = (r == null ? void 0 : r.field) ?? "", this.direction = (r == null ? void 0 : r.direction) ?? "asc";
|
|
4451
4455
|
}
|
|
4452
4456
|
}
|
|
4453
|
-
class
|
|
4457
|
+
class x extends Ae {
|
|
4454
4458
|
/**
|
|
4455
4459
|
* Преобразует данные о клиенте в данные требуемые для запроса.
|
|
4456
4460
|
*
|
|
@@ -4674,7 +4678,7 @@ class _ extends Ae {
|
|
|
4674
4678
|
* @see /doc/api/internal#/Клиенты/api_internal_client_create
|
|
4675
4679
|
*/
|
|
4676
4680
|
createClientCommonData(r, e = {}) {
|
|
4677
|
-
return this.post("/internal/clients",
|
|
4681
|
+
return this.post("/internal/clients", x.transformClientDataToRequest(r), (s) => new rr(s.data), e);
|
|
4678
4682
|
}
|
|
4679
4683
|
/**
|
|
4680
4684
|
* Обновляет данные указанного клиента.
|
|
@@ -4684,7 +4688,7 @@ class _ extends Ae {
|
|
|
4684
4688
|
* @see /doc/api/internal#/Клиенты/api_internal_client_change
|
|
4685
4689
|
*/
|
|
4686
4690
|
updateClientCommonData(r, e = {}) {
|
|
4687
|
-
return this.patch(`/internal/clients/${r.id}`,
|
|
4691
|
+
return this.patch(`/internal/clients/${r.id}`, x.transformClientDataToRequest(r), void 0, e);
|
|
4688
4692
|
}
|
|
4689
4693
|
/**
|
|
4690
4694
|
* Обновляет данные "Не беспокоить" указанного клиента.
|
|
@@ -4813,7 +4817,7 @@ class _ extends Ae {
|
|
|
4813
4817
|
createContragentClientData(r, e, s = {}) {
|
|
4814
4818
|
return this.post(
|
|
4815
4819
|
`/internal/clients/${r}/contragents`,
|
|
4816
|
-
|
|
4820
|
+
x.transformContragentClientDataToRequest(e),
|
|
4817
4821
|
(n) => ae.createInstance(n.data),
|
|
4818
4822
|
s
|
|
4819
4823
|
);
|
|
@@ -4829,7 +4833,7 @@ class _ extends Ae {
|
|
|
4829
4833
|
updateContragentClientData(r, e, s = {}) {
|
|
4830
4834
|
return this.patch(
|
|
4831
4835
|
`/internal/clients/${r}/contragents/${e.id}`,
|
|
4832
|
-
|
|
4836
|
+
x.transformContragentClientDataToRequest(e),
|
|
4833
4837
|
(n) => ae.createInstance(n.data),
|
|
4834
4838
|
s
|
|
4835
4839
|
);
|
|
@@ -4868,7 +4872,7 @@ class _ extends Ae {
|
|
|
4868
4872
|
createClientDeliveryAddress(r, e, s = {}) {
|
|
4869
4873
|
return this.post(
|
|
4870
4874
|
`/internal/clients/${r}/delivery-addresses`,
|
|
4871
|
-
|
|
4875
|
+
x.transformClientDeliveryAddressToRequest(e),
|
|
4872
4876
|
(n) => new ue(n.data),
|
|
4873
4877
|
s
|
|
4874
4878
|
);
|
|
@@ -4884,7 +4888,7 @@ class _ extends Ae {
|
|
|
4884
4888
|
updateClientDeliveryAddress(r, e, s = {}) {
|
|
4885
4889
|
return this.patch(
|
|
4886
4890
|
`/internal/clients/${r}/delivery-addresses/${e.id}`,
|
|
4887
|
-
|
|
4891
|
+
x.transformClientDeliveryAddressToRequest(e),
|
|
4888
4892
|
(n) => new ue(n.data),
|
|
4889
4893
|
s
|
|
4890
4894
|
);
|
|
@@ -4911,7 +4915,7 @@ class _ extends Ae {
|
|
|
4911
4915
|
createContragentBankAccount(r, e, s, n = {}) {
|
|
4912
4916
|
return this.post(
|
|
4913
4917
|
`/internal/clients/${r}/contragents/${e}/bank-accounts`,
|
|
4914
|
-
|
|
4918
|
+
x.transformClientContragentBankAccountToRequest(s),
|
|
4915
4919
|
(o) => new Ne(o.data),
|
|
4916
4920
|
n
|
|
4917
4921
|
);
|
|
@@ -4928,7 +4932,7 @@ class _ extends Ae {
|
|
|
4928
4932
|
updateContragentBankAccount(r, e, s, n = {}) {
|
|
4929
4933
|
return this.patch(
|
|
4930
4934
|
`/internal/clients/${r}/contragents/${e}/bank-accounts/${s.id}`,
|
|
4931
|
-
|
|
4935
|
+
x.transformClientContragentBankAccountToRequest(s),
|
|
4932
4936
|
(o) => new Ne(o.data),
|
|
4933
4937
|
n
|
|
4934
4938
|
);
|
|
@@ -5246,7 +5250,7 @@ class ps {
|
|
|
5246
5250
|
this.date = C(r == null ? void 0 : r.date) ? a(r.date) : (r == null ? void 0 : r.date) ?? /* @__PURE__ */ new Date(), this.name = (r == null ? void 0 : r.name) ?? "", this.version = (r == null ? void 0 : r.version) ?? "0.0.0";
|
|
5247
5251
|
}
|
|
5248
5252
|
}
|
|
5249
|
-
var Dt = /* @__PURE__ */ ((i) => (i.Kozyrek = "kozyrek", i.Mosquitto = "mosquitto", i.Strip = "strip", i.MetalForDoors = "metal_for_doors", i.Sandwich = "sandwich", i))(Dt || {});
|
|
5253
|
+
var Dt = /* @__PURE__ */ ((i) => (i.Kozyrek = "kozyrek", i.Mosquitto = "mosquitto", i.Strip = "strip", i.MetalForDoors = "metal_for_doors", i.Sandwich = "sandwich", i.SandwichM2 = "sandwich_m2", i))(Dt || {});
|
|
5250
5254
|
class hs extends p {
|
|
5251
5255
|
/**
|
|
5252
5256
|
* Возвращает настройки указанного конфигуратора для указанной категории.
|
|
@@ -5481,7 +5485,7 @@ class ys {
|
|
|
5481
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;
|
|
5482
5486
|
}
|
|
5483
5487
|
}
|
|
5484
|
-
class
|
|
5488
|
+
class Ir extends Sr {
|
|
5485
5489
|
/**
|
|
5486
5490
|
* Инициализирует экземпляр класса {@link OrderInfo}.
|
|
5487
5491
|
*
|
|
@@ -5547,7 +5551,7 @@ class kr extends Sr {
|
|
|
5547
5551
|
date: C((u = e == null ? void 0 : e.delivery) == null ? void 0 : u.date) ? a(e.delivery.date) : ((h = e == null ? void 0 : e.delivery) == null ? void 0 : h.date) ?? /* @__PURE__ */ new Date(),
|
|
5548
5552
|
address: (m = e == null ? void 0 : e.delivery) != null && m.address ? new ue(e.delivery.address) : void 0,
|
|
5549
5553
|
warehouse: (f = e == null ? void 0 : e.delivery) != null && f.warehouse ? new ye(e.delivery.warehouse) : void 0
|
|
5550
|
-
}, this.attachedUser = e != null && e.attachedUser ? new
|
|
5554
|
+
}, this.attachedUser = e != null && e.attachedUser ? new _(e == null ? void 0 : e.attachedUser) : void 0, this.status = new $e(e == null ? void 0 : e.status), this.statusDetail = e != null && e.statusDetail ? new w(e.statusDetail) : void 0, this.salesDirection = new q(e == null ? void 0 : e.salesDirection), this.attachedAt = C(e == null ? void 0 : e.attachedAt) ? a(e.attachedAt) : e == null ? void 0 : e.attachedAt, 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;
|
|
5551
5555
|
}
|
|
5552
5556
|
}
|
|
5553
5557
|
var Tt = /* @__PURE__ */ ((i) => (i.New = "new", i.Processing = "processing", i.AwaitingSupplyProducts = "awaiting_supply_products", i.InvoiceIssued = "invoice_issued", i.ProcessingOnStock = "processing_on_stock", i.Finished = "finished", i.OrderUpdated = "order_updated", i.Canceled = "canceled", i.Error = "error", i))(Tt || {});
|
|
@@ -6045,7 +6049,7 @@ class vs extends br {
|
|
|
6045
6049
|
* @inheritDoc
|
|
6046
6050
|
*/
|
|
6047
6051
|
t(this, "onlyMyRegions");
|
|
6048
|
-
this.attachedOperators = (s = e == null ? void 0 : e.attachedOperators) == null ? void 0 : s.map((u) => new ar(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 S(e == null ? void 0 : e.createdAt), this.creator = e != null && e.creator ? new
|
|
6052
|
+
this.attachedOperators = (s = e == null ? void 0 : e.attachedOperators) == null ? void 0 : s.map((u) => new ar(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 S(e == null ? void 0 : e.createdAt), this.creator = e != null && e.creator ? new _(e.creator) : void 0, this.deliveryDate = new S(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 S(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 Rr(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;
|
|
6049
6053
|
}
|
|
6050
6054
|
/**
|
|
6051
6055
|
* @inheritDoc
|
|
@@ -6099,8 +6103,9 @@ class bt extends mr {
|
|
|
6099
6103
|
* Инициализирует экземпляр класса {@link OrderItem}.
|
|
6100
6104
|
*
|
|
6101
6105
|
* @param data Данные для первоначальной инициализации.
|
|
6106
|
+
* @param replacement Позиция-заменитель, соответствующая {@link replacementId}.
|
|
6102
6107
|
*/
|
|
6103
|
-
constructor(e) {
|
|
6108
|
+
constructor(e, s) {
|
|
6104
6109
|
super(e);
|
|
6105
6110
|
/**
|
|
6106
6111
|
* @inheritDoc
|
|
@@ -6142,10 +6147,14 @@ class bt extends mr {
|
|
|
6142
6147
|
* @inheritDoc
|
|
6143
6148
|
*/
|
|
6144
6149
|
t(this, "currency");
|
|
6145
|
-
|
|
6150
|
+
/**
|
|
6151
|
+
* Список названий полей, значения которых отличаются между текущей позицией и позицией-заменителем.
|
|
6152
|
+
*/
|
|
6153
|
+
t(this, "changedFields", []);
|
|
6154
|
+
this.product = new G(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.quantity !== s.quantity && this.changedFields.push("quantity"), this.length !== s.length && this.changedFields.push("length"));
|
|
6146
6155
|
}
|
|
6147
6156
|
}
|
|
6148
|
-
class
|
|
6157
|
+
class I extends Ir {
|
|
6149
6158
|
/**
|
|
6150
6159
|
* Инициализирует экземпляр класса {@link Order}.
|
|
6151
6160
|
*
|
|
@@ -6206,7 +6215,11 @@ class k extends kr {
|
|
|
6206
6215
|
* @inheritDoc
|
|
6207
6216
|
*/
|
|
6208
6217
|
t(this, "erpOrderUrl");
|
|
6209
|
-
this.products = (e.products ?? []).map((n) =>
|
|
6218
|
+
this.products = (e.products ?? []).map((n) => {
|
|
6219
|
+
var c;
|
|
6220
|
+
const o = n.replacementId ? (c = e.products) == null ? void 0 : c.find((u) => u.id === n.replacementId) : void 0;
|
|
6221
|
+
return new bt(n, o);
|
|
6222
|
+
}), this.invoices = e.invoices ?? [], this.comment = e.comment, this.image = e.image, this.contragent = e.contragent ? ae.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;
|
|
6210
6223
|
}
|
|
6211
6224
|
}
|
|
6212
6225
|
class St {
|
|
@@ -6232,7 +6245,7 @@ class St {
|
|
|
6232
6245
|
* @inheritDoc
|
|
6233
6246
|
*/
|
|
6234
6247
|
t(this, "createdAt");
|
|
6235
|
-
this.user = new
|
|
6248
|
+
this.user = new _(r == null ? void 0 : r.user), this.status = new $e(r == null ? void 0 : r.status), this.statusDetail = r != null && r.statusDetail ? new w(r.statusDetail) : void 0, this.createdAt = C(r == null ? void 0 : r.createdAt) ? a(r.createdAt) : (r == null ? void 0 : r.createdAt) ?? /* @__PURE__ */ new Date();
|
|
6236
6249
|
}
|
|
6237
6250
|
}
|
|
6238
6251
|
class Cs extends Ae {
|
|
@@ -6255,7 +6268,7 @@ class Cs extends Ae {
|
|
|
6255
6268
|
{},
|
|
6256
6269
|
(o) => {
|
|
6257
6270
|
const c = { ...o.data };
|
|
6258
|
-
return c.data = c.data.map((u) => new
|
|
6271
|
+
return c.data = c.data.map((u) => new Ir(u)), c;
|
|
6259
6272
|
},
|
|
6260
6273
|
void 0,
|
|
6261
6274
|
n
|
|
@@ -6295,7 +6308,7 @@ class Cs extends Ae {
|
|
|
6295
6308
|
* @see /doc/api/internal#/Заказы/api_internal_orders_get
|
|
6296
6309
|
*/
|
|
6297
6310
|
getOrder(r) {
|
|
6298
|
-
return this.get(`/internal/orders/${r}`, {}, (e) => new
|
|
6311
|
+
return this.get(`/internal/orders/${r}`, {}, (e) => new I(e.data));
|
|
6299
6312
|
}
|
|
6300
6313
|
/**
|
|
6301
6314
|
* Создаёт новый заказ клиента из содержимого корзины текущего пользователя.
|
|
@@ -6314,9 +6327,9 @@ class Cs extends Ae {
|
|
|
6314
6327
|
`/internal/clients/${r}/orders/${e}`,
|
|
6315
6328
|
{
|
|
6316
6329
|
...s,
|
|
6317
|
-
deliveryDate:
|
|
6330
|
+
deliveryDate: k(s.deliveryDate, o)
|
|
6318
6331
|
},
|
|
6319
|
-
(c) => c.data.map((u) => new
|
|
6332
|
+
(c) => c.data.map((u) => new I(u)),
|
|
6320
6333
|
n
|
|
6321
6334
|
);
|
|
6322
6335
|
}
|
|
@@ -6328,7 +6341,7 @@ class Cs extends Ae {
|
|
|
6328
6341
|
* @see /doc/api/internal#/Заказы/api_internal_orders_attach
|
|
6329
6342
|
*/
|
|
6330
6343
|
attachOrder(r) {
|
|
6331
|
-
return this.patch(`/internal/orders/${r}/attach`, {}, (e) => new
|
|
6344
|
+
return this.patch(`/internal/orders/${r}/attach`, {}, (e) => new I(e.data));
|
|
6332
6345
|
}
|
|
6333
6346
|
/**
|
|
6334
6347
|
* Открепляет указанный заказ от оператора и возвращает полные данные заказа.
|
|
@@ -6338,7 +6351,7 @@ class Cs extends Ae {
|
|
|
6338
6351
|
* @see /doc/api/internal#/Заказы/api_internal_orders_detach
|
|
6339
6352
|
*/
|
|
6340
6353
|
detachOrder(r) {
|
|
6341
|
-
return this.patch(`/internal/orders/${r}/detach`, {}, (e) => new
|
|
6354
|
+
return this.patch(`/internal/orders/${r}/detach`, {}, (e) => new I(e.data));
|
|
6342
6355
|
}
|
|
6343
6356
|
/**
|
|
6344
6357
|
* Обновляет данные заказа без изменения состава товаров и возвращает обновлённые данные заказа.
|
|
@@ -6357,9 +6370,9 @@ class Cs extends Ae {
|
|
|
6357
6370
|
`/internal/orders/${r}`,
|
|
6358
6371
|
{
|
|
6359
6372
|
...e,
|
|
6360
|
-
deliveryDate: e.deliveryDate ?
|
|
6373
|
+
deliveryDate: e.deliveryDate ? k(e.deliveryDate, n) : void 0
|
|
6361
6374
|
},
|
|
6362
|
-
(o) => new
|
|
6375
|
+
(o) => new I(o.data),
|
|
6363
6376
|
s
|
|
6364
6377
|
);
|
|
6365
6378
|
}
|
|
@@ -6389,7 +6402,7 @@ class Cs extends Ae {
|
|
|
6389
6402
|
is_additional_sale: e.isAdditionalSale,
|
|
6390
6403
|
...e.configuratorParams
|
|
6391
6404
|
},
|
|
6392
|
-
(n) => new
|
|
6405
|
+
(n) => new I(n.data),
|
|
6393
6406
|
s
|
|
6394
6407
|
);
|
|
6395
6408
|
}
|
|
@@ -6412,7 +6425,7 @@ class Cs extends Ae {
|
|
|
6412
6425
|
status: e,
|
|
6413
6426
|
statusDetail: s
|
|
6414
6427
|
},
|
|
6415
|
-
(o) => new
|
|
6428
|
+
(o) => new I(o.data),
|
|
6416
6429
|
n
|
|
6417
6430
|
);
|
|
6418
6431
|
}
|
|
@@ -6439,7 +6452,7 @@ class Cs extends Ae {
|
|
|
6439
6452
|
* @see /doc/api/internal#/Заказы/api_internal_orders_change_attached_operator
|
|
6440
6453
|
*/
|
|
6441
6454
|
changeAttachedOperator(r, e) {
|
|
6442
|
-
return this.patch(`/internal/orders/${r}/change-attached-operator`, { operatorId: e }, (s) => new
|
|
6455
|
+
return this.patch(`/internal/orders/${r}/change-attached-operator`, { operatorId: e }, (s) => new I(s.data));
|
|
6443
6456
|
}
|
|
6444
6457
|
/**
|
|
6445
6458
|
* Удаляет файл, прикреплённый к заказу клиентом, и возвращает обновлённые данные заказа.
|
|
@@ -6449,7 +6462,7 @@ class Cs extends Ae {
|
|
|
6449
6462
|
* @see /doc/api/internal#/Заказы/api_internal_orders_attached_file_delete
|
|
6450
6463
|
*/
|
|
6451
6464
|
deleteOrderAttachedFile(r) {
|
|
6452
|
-
return this.delete(`/internal/orders/${r}/file/attached`, (e) => new
|
|
6465
|
+
return this.delete(`/internal/orders/${r}/file/attached`, (e) => new I(e.data));
|
|
6453
6466
|
}
|
|
6454
6467
|
/**
|
|
6455
6468
|
* Удаляет продукт из заказа и возвращает обновлённые данные заказа.
|
|
@@ -6460,7 +6473,7 @@ class Cs extends Ae {
|
|
|
6460
6473
|
* @see /doc/api/internal#/operations/api_internal_orders_product_delete
|
|
6461
6474
|
*/
|
|
6462
6475
|
deleteOrderProduct(r, e) {
|
|
6463
|
-
return this.delete(`/internal/orders/${r}/products/${e}`, (s) => new
|
|
6476
|
+
return this.delete(`/internal/orders/${r}/products/${e}`, (s) => new I(s.data));
|
|
6464
6477
|
}
|
|
6465
6478
|
/**
|
|
6466
6479
|
* Изменяет продукт заказа и возвращает обновлённые данные заказа.
|
|
@@ -6488,7 +6501,7 @@ class Cs extends Ae {
|
|
|
6488
6501
|
marker: s.marker,
|
|
6489
6502
|
...s.configuratorParams
|
|
6490
6503
|
},
|
|
6491
|
-
(o) => new
|
|
6504
|
+
(o) => new I(o.data),
|
|
6492
6505
|
n
|
|
6493
6506
|
);
|
|
6494
6507
|
}
|
|
@@ -6527,7 +6540,7 @@ class Cs extends Ae {
|
|
|
6527
6540
|
return this.get(
|
|
6528
6541
|
`/internal/orders/delivery/${r}/cost`,
|
|
6529
6542
|
{
|
|
6530
|
-
date:
|
|
6543
|
+
date: k(e, o),
|
|
6531
6544
|
warehouse_id: s
|
|
6532
6545
|
},
|
|
6533
6546
|
(c) => c.data,
|
|
@@ -6566,7 +6579,7 @@ class Le {
|
|
|
6566
6579
|
this.client = new te(r == null ? void 0 : r.client), this.product = new L(r == null ? void 0 : r.product), this.cost = (r == null ? void 0 : r.cost) ?? 0, this.costCoefficient = (r == null ? void 0 : r.costCoefficient) ?? 0, this.source = (r == null ? void 0 : r.source) ?? Me.Product;
|
|
6567
6580
|
}
|
|
6568
6581
|
}
|
|
6569
|
-
const
|
|
6582
|
+
const _e = (i) => {
|
|
6570
6583
|
var r, e, s, n, o;
|
|
6571
6584
|
return i ? cr(
|
|
6572
6585
|
{
|
|
@@ -6598,7 +6611,7 @@ class as extends p {
|
|
|
6598
6611
|
`/internal/price/products/${r}/analyze`,
|
|
6599
6612
|
{
|
|
6600
6613
|
...tr(e),
|
|
6601
|
-
filters:
|
|
6614
|
+
filters: _e(s)
|
|
6602
6615
|
},
|
|
6603
6616
|
(n) => n.data.map((o) => new Le(o))
|
|
6604
6617
|
);
|
|
@@ -6617,7 +6630,7 @@ class as extends p {
|
|
|
6617
6630
|
`/internal/price/categories/${r}/analyze`,
|
|
6618
6631
|
{
|
|
6619
6632
|
...tr(e),
|
|
6620
|
-
filters:
|
|
6633
|
+
filters: _e(s)
|
|
6621
6634
|
},
|
|
6622
6635
|
(n) => n.data.map((o) => new Le(o))
|
|
6623
6636
|
);
|
|
@@ -6638,7 +6651,7 @@ class as extends p {
|
|
|
6638
6651
|
`/internal/price/categories/${r}/analyze/square`,
|
|
6639
6652
|
{
|
|
6640
6653
|
...e,
|
|
6641
|
-
filters:
|
|
6654
|
+
filters: _e(s)
|
|
6642
6655
|
},
|
|
6643
6656
|
(n) => n.data.map((o) => new Le(o))
|
|
6644
6657
|
);
|
|
@@ -6691,10 +6704,10 @@ class dt {
|
|
|
6691
6704
|
* @inheritDoc
|
|
6692
6705
|
*/
|
|
6693
6706
|
t(this, "currency");
|
|
6694
|
-
this.cost = r.cost ?? 0, this.isLowCost = r.isLowCost ?? !1, this.isRetail = r.isRetail ?? !1, this.costDate = C(r.costDate) ? a(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
|
|
6707
|
+
this.cost = r.cost ?? 0, this.isLowCost = r.isLowCost ?? !1, this.isRetail = r.isRetail ?? !1, this.costDate = C(r.costDate) ? a(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;
|
|
6695
6708
|
}
|
|
6696
6709
|
}
|
|
6697
|
-
class
|
|
6710
|
+
class It extends he {
|
|
6698
6711
|
/**
|
|
6699
6712
|
* Инициализирует экземпляр класса {@link ProductPriceHistory}.
|
|
6700
6713
|
*
|
|
@@ -6722,14 +6735,14 @@ class Rs extends p {
|
|
|
6722
6735
|
const e = d().config.dateFormats.api, s = cr(
|
|
6723
6736
|
pe(r, {
|
|
6724
6737
|
costDate: {
|
|
6725
|
-
from:
|
|
6726
|
-
to:
|
|
6738
|
+
from: xe((o = r.costDate) == null ? void 0 : o.from) ? k(r.costDate.from, e) : (c = r.costDate) == null ? void 0 : c.from,
|
|
6739
|
+
to: xe((u = r.costDate) == null ? void 0 : u.to) ? k(r.costDate.to, e) : (h = r.costDate) == null ? void 0 : h.to
|
|
6727
6740
|
}
|
|
6728
6741
|
}),
|
|
6729
6742
|
(f) => A(f) || (H(f) || lr(f)) && X(f)
|
|
6730
6743
|
), n = ((m = r.product) == null ? void 0 : m[0]) ?? 0;
|
|
6731
6744
|
return delete s.product, this.get(`/internal/price/products/${n}/history`, s).then((f) => [
|
|
6732
|
-
new
|
|
6745
|
+
new It(pe(f[0], { history: f }))
|
|
6733
6746
|
]);
|
|
6734
6747
|
}
|
|
6735
6748
|
}
|
|
@@ -6797,7 +6810,7 @@ class Ps extends p {
|
|
|
6797
6810
|
});
|
|
6798
6811
|
}
|
|
6799
6812
|
}
|
|
6800
|
-
class
|
|
6813
|
+
class kt {
|
|
6801
6814
|
/**
|
|
6802
6815
|
* Инициализирует экземпляр класса {@link MetaTagItem}.
|
|
6803
6816
|
*
|
|
@@ -6855,7 +6868,7 @@ class ir {
|
|
|
6855
6868
|
*/
|
|
6856
6869
|
t(this, "tags");
|
|
6857
6870
|
var e;
|
|
6858
|
-
this.resourceType = new Pr(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((s) => new
|
|
6871
|
+
this.resourceType = new Pr(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((s) => new kt(s))) ?? [], this.tags = r == null ? void 0 : r.tags;
|
|
6859
6872
|
}
|
|
6860
6873
|
}
|
|
6861
6874
|
class Ds extends p {
|
|
@@ -6937,7 +6950,7 @@ class As extends p {
|
|
|
6937
6950
|
}
|
|
6938
6951
|
}
|
|
6939
6952
|
var Lt = /* @__PURE__ */ ((i) => (i.Admin = "admin", i.Manager = "manager", i.Operator = "operator", i.Client = "client", i.Guest = "guest", i))(Lt || {});
|
|
6940
|
-
class
|
|
6953
|
+
class _t extends wr {
|
|
6941
6954
|
/**
|
|
6942
6955
|
* Инициализирует экземпляр класса {@link User}.
|
|
6943
6956
|
*
|
|
@@ -6976,13 +6989,13 @@ class $s extends p {
|
|
|
6976
6989
|
return this.get("internal/users/current-tokens").then((r) => r.accessToken);
|
|
6977
6990
|
}
|
|
6978
6991
|
}
|
|
6979
|
-
class
|
|
6992
|
+
class xt extends p {
|
|
6980
6993
|
/**
|
|
6981
6994
|
* Возвращает данные о текущем пользователе.
|
|
6982
6995
|
*/
|
|
6983
6996
|
// eslint-disable-next-line class-methods-use-this
|
|
6984
6997
|
getCurrentUser() {
|
|
6985
|
-
return this.get("/internal/users/info", {}, (r) => new
|
|
6998
|
+
return this.get("/internal/users/info", {}, (r) => new _t(r.data), !0);
|
|
6986
6999
|
}
|
|
6987
7000
|
}
|
|
6988
7001
|
const Ot = W("common.user_state_private", () => {
|
|
@@ -7003,7 +7016,7 @@ const Ot = W("common.user_state_private", () => {
|
|
|
7003
7016
|
*/
|
|
7004
7017
|
currentUser: P(() => {
|
|
7005
7018
|
const r = Ot();
|
|
7006
|
-
return !r.currentUser && !r.dataLoaderList.currentUser && (r.dataLoaderList.currentUser = !0, p.getInstance(
|
|
7019
|
+
return !r.currentUser && !r.dataLoaderList.currentUser && (r.dataLoaderList.currentUser = !0, p.getInstance(xt).getCurrentUser().then((e) => {
|
|
7007
7020
|
r.currentUser = e;
|
|
7008
7021
|
}).catch(v).finally(() => {
|
|
7009
7022
|
r.dataLoaderList.currentUser = !1;
|
|
@@ -7051,7 +7064,7 @@ export {
|
|
|
7051
7064
|
rr as Client,
|
|
7052
7065
|
Rt as ClientAdditionalData,
|
|
7053
7066
|
Ce as ClientCategory,
|
|
7054
|
-
|
|
7067
|
+
x as ClientDataProvider,
|
|
7055
7068
|
Vt as ClientPriceProvider,
|
|
7056
7069
|
Kt as ClientPriceTemplateProvider,
|
|
7057
7070
|
G as ClientProduct,
|
|
@@ -7068,7 +7081,7 @@ export {
|
|
|
7068
7081
|
z as ContactPerson,
|
|
7069
7082
|
at as ContactPersonRelated,
|
|
7070
7083
|
ft as ContactPosition,
|
|
7071
|
-
|
|
7084
|
+
ke as ContactRelation,
|
|
7072
7085
|
Ar as ContragentBase,
|
|
7073
7086
|
ae as ContragentFactory,
|
|
7074
7087
|
$r as ContragentIc,
|
|
@@ -7107,15 +7120,15 @@ export {
|
|
|
7107
7120
|
Be as ManagerCommon,
|
|
7108
7121
|
fs as ManagerDataFactory,
|
|
7109
7122
|
At as ManagerDataProvider,
|
|
7110
|
-
|
|
7123
|
+
kt as MetaTagItem,
|
|
7111
7124
|
b as NamedIdentity,
|
|
7112
7125
|
ar as Operator,
|
|
7113
7126
|
B as Opf,
|
|
7114
7127
|
U as OpfEnum,
|
|
7115
|
-
|
|
7128
|
+
I as Order,
|
|
7116
7129
|
$t as OrderAction,
|
|
7117
7130
|
ys as OrderEditorData,
|
|
7118
|
-
|
|
7131
|
+
Ir as OrderInfo,
|
|
7119
7132
|
bt as OrderItem,
|
|
7120
7133
|
mr as OrderItemBase,
|
|
7121
7134
|
yt as OrderPaymentStatus,
|
|
@@ -7139,7 +7152,7 @@ export {
|
|
|
7139
7152
|
de as PriceTemplateCategory,
|
|
7140
7153
|
oe as PriceTemplateClient,
|
|
7141
7154
|
yr as PriceTemplateICatalogableItem,
|
|
7142
|
-
|
|
7155
|
+
Ie as PriceTemplateProduct,
|
|
7143
7156
|
es as PriceTemplateProvider,
|
|
7144
7157
|
le as PricingRole,
|
|
7145
7158
|
rs as PricingRoleProvider,
|
|
@@ -7149,7 +7162,7 @@ export {
|
|
|
7149
7162
|
Yt as ProductDataProvider,
|
|
7150
7163
|
wt as ProductFileType,
|
|
7151
7164
|
Ge as ProductPriceCoefficient,
|
|
7152
|
-
|
|
7165
|
+
It as ProductPriceHistory,
|
|
7153
7166
|
Qe as ProductUnit,
|
|
7154
7167
|
ts as PropertiesProvider,
|
|
7155
7168
|
ce as Property,
|
|
@@ -7175,12 +7188,12 @@ export {
|
|
|
7175
7188
|
dr as UnitsHelper,
|
|
7176
7189
|
us as UnknownClientDataProvider,
|
|
7177
7190
|
ur as UpdatableNamedIdentity,
|
|
7178
|
-
|
|
7191
|
+
_t as User,
|
|
7179
7192
|
$s as UserAuthDataProvider,
|
|
7180
7193
|
wr as UserCommonInfo,
|
|
7181
|
-
|
|
7194
|
+
xt as UserDataProvider,
|
|
7182
7195
|
pt as UserPricingRole,
|
|
7183
|
-
|
|
7196
|
+
_ as UserShortInfo,
|
|
7184
7197
|
Lt as UserTypeEnum,
|
|
7185
7198
|
ps as VersionConfig,
|
|
7186
7199
|
ye as Warehouse,
|