@snabcentr/common-lib 1.75.2 → 1.76.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.
@@ -2,13 +2,13 @@ var br = Object.defineProperty;
2
2
  var ar = (n, r, e) => r in n ? br(n, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[r] = e;
3
3
  var t = (n, r, e) => ar(n, typeof r != "symbol" ? r + "" : r, e);
4
4
  import { jwtDecode as nr } from "jwt-decode";
5
- import { merge as fe, isUndefined as Sr, isNil as A, isEmpty as K, noop as w, mapValues as or, isArray as V, every as Ir, split as xr, toUpper as kr, constant as Lr, isString as C, cloneDeep as dr, toLower as _r, isFunction as Ne, map as Pe, forEach as Or, isDate as Le, omitBy as cr, isObject as lr } from "lodash-es";
6
- import { objectToCamel as Ue, objectToSnake as We } from "ts-case-convert";
7
- import { isAfter as Je, parseISO as v, startOfToday as de, format as L, addSeconds as qr, addBusinessDays as Nr, endOfTomorrow as Ur, startOfTomorrow as Fr, endOfYesterday as Mr, startOfYesterday as jr, endOfToday as Gr, endOfDay as Br, startOfDay as Hr } from "date-fns";
5
+ import { merge as fe, isUndefined as Sr, isNil as A, isEmpty as K, noop as w, mapValues as or, isArray as V, every as Ir, split as kr, toUpper as Lr, constant as xr, isString as C, cloneDeep as dr, toLower as _r, isFunction as Ne, map as Pe, forEach as Or, isDate as xe, omitBy as cr, isObject as lr } from "lodash-es";
6
+ import { objectToCamel as Ue, objectToSnake as Ee } from "ts-case-convert";
7
+ import { isAfter as Je, parseISO as v, startOfToday as de, format as x, addSeconds as qr, addBusinessDays as Nr, endOfTomorrow as Ur, startOfTomorrow as jr, endOfYesterday as Gr, startOfYesterday as Fr, endOfToday as Mr, endOfDay as Br, startOfDay as Hr } from "date-fns";
8
8
  import { defineStore as ee } from "pinia";
9
- import { ref as y, markRaw as Er, computed as R } from "vue";
10
- import zr from "axios";
11
- class O {
9
+ import { ref as y, markRaw as zr, computed as R } from "vue";
10
+ import Wr from "axios";
11
+ class q {
12
12
  /**
13
13
  * Инициализирует экземпляр класса {@link JwtPayload}.
14
14
  *
@@ -107,11 +107,11 @@ class O {
107
107
  * @param jwtToken JWT-ключ доступа.
108
108
  */
109
109
  static getJwtPayload(r) {
110
- const e = nr(r), s = new O(Ue(e));
110
+ const e = nr(r), s = new q(Ue(e));
111
111
  return s.resourceAccess = e.resource_access, s;
112
112
  }
113
113
  }
114
- class Ut extends O {
114
+ class Ut extends q {
115
115
  /**
116
116
  * Инициализирует экземпляр класса {@link DetailedJwtPayload}.
117
117
  *
@@ -151,26 +151,26 @@ class Ut extends O {
151
151
  * @param jwtToken JWT-ключ доступа.
152
152
  */
153
153
  static getJwtPayload(e) {
154
- return new O(Ue(nr(e)));
154
+ return new q(Ue(nr(e)));
155
155
  }
156
156
  }
157
- const z = class z {
157
+ const W = class W {
158
158
  /**
159
159
  * Инициализирует и возвращает конфигурацию приложения.
160
160
  *
161
161
  * @param config Данные для первоначальной инициализации.
162
162
  */
163
163
  static init(r) {
164
- z.config = r;
164
+ W.config = r;
165
165
  }
166
166
  /**
167
167
  * Возвращает текущую конфигурацию приложения.
168
168
  */
169
169
  // eslint-disable-next-line @typescript-eslint/no-unnecessary-type-parameters
170
170
  static getConfig() {
171
- if (Sr(z.config))
171
+ if (Sr(W.config))
172
172
  throw new Error("Config is undefined. Please set config by AppConfigProvider.init().");
173
- return z.config;
173
+ return W.config;
174
174
  }
175
175
  /**
176
176
  * Выполняет загрузку конфигурации по указанному пути.
@@ -189,8 +189,8 @@ const z = class z {
189
189
  /**
190
190
  * Конфигурация приложения.
191
191
  */
192
- t(z, "config");
193
- let $ = z;
192
+ t(W, "config");
193
+ let T = W;
194
194
  class me {
195
195
  /**
196
196
  * Возвращает актуальные и не просроченные данные из хранилища.
@@ -302,13 +302,13 @@ class me {
302
302
  }
303
303
  function Ve(n) {
304
304
  try {
305
- const r = O.getJwtPayload(n);
305
+ const r = q.getJwtPayload(n);
306
306
  return new Date(r.exp * 1e3);
307
307
  } catch {
308
308
  return;
309
309
  }
310
310
  }
311
- const G = ee("__auth_state_private", () => {
311
+ const M = ee("__auth_state_private", () => {
312
312
  const n = y(
313
313
  (() => {
314
314
  var u;
@@ -318,13 +318,13 @@ const G = ee("__auth_state_private", () => {
318
318
  );
319
319
  if (o)
320
320
  return Promise.resolve(o);
321
- const c = (u = $.getConfig().devMode) == null ? void 0 : u.initAuthBearerToken;
321
+ const c = (u = T.getConfig().devMode) == null ? void 0 : u.initAuthBearerToken;
322
322
  return c ? Promise.resolve(c) : void 0;
323
323
  })()
324
- ), r = y(void 0), e = y(void 0), s = Er(/* @__PURE__ */ new Map());
324
+ ), r = y(void 0), e = y(void 0), s = zr(/* @__PURE__ */ new Map());
325
325
  function i() {
326
326
  e.value = void 0, A(n.value) || n.value.then((o) => {
327
- const c = O.getJwtPayload(o);
327
+ const c = q.getJwtPayload(o);
328
328
  e.value = c.exp * 1e3 > Date.now() ? or(c.resourceAccess, (u) => (u == null ? void 0 : u.roles) ?? []) : void 0;
329
329
  }).catch(w);
330
330
  }
@@ -352,7 +352,7 @@ const G = ee("__auth_state_private", () => {
352
352
  };
353
353
  }), be = ee("__auth_state", () => {
354
354
  const n = R(() => {
355
- const o = G();
355
+ const o = M();
356
356
  if (A(o.jwtToken) && !A(o.jwtTokenUpdater)) {
357
357
  const c = o.jwtTokenUpdater();
358
358
  o.jwtToken = c, c.then((u) => {
@@ -362,20 +362,20 @@ const G = ee("__auth_state_private", () => {
362
362
  return o.jwtToken;
363
363
  });
364
364
  function r(o) {
365
- G().jwtTokenUpdater = o;
365
+ M().jwtTokenUpdater = o;
366
366
  }
367
367
  function e(o) {
368
- const c = G();
368
+ const c = M();
369
369
  c.jwtToken = Promise.resolve(o), me.saveActualDataToStorage("sc.token", o, Ve(o)), c.recalculateUserPermissions();
370
370
  }
371
371
  function s() {
372
- const o = G();
372
+ const o = M();
373
373
  o.jwtToken = void 0, o.userPermissions = void 0, me.saveActualDataToStorage("sc.token", void 0);
374
374
  }
375
375
  function i(o) {
376
- const c = G();
376
+ const c = M();
377
377
  !A(c.jwtToken) && A(c.userPermissions) && c.jwtToken.then((f) => {
378
- const g = O.getJwtPayload(f);
378
+ const g = q.getJwtPayload(f);
379
379
  c.userPermissions = g.exp * 1e3 > Date.now() ? or(g.resourceAccess, (a) => (a == null ? void 0 : a.roles) ?? []) : void 0;
380
380
  }).catch(w);
381
381
  const u = V(o) ? o.join(" && ") : o;
@@ -383,12 +383,12 @@ const G = ee("__auth_state_private", () => {
383
383
  return c.userPermissionsComputedRefs.get(u);
384
384
  const h = R(() => {
385
385
  const f = (g) => {
386
- var j;
387
- const a = xr(g, ".");
386
+ var F;
387
+ const a = kr(g, ".");
388
388
  if (a.length < 2)
389
389
  return !1;
390
- const [re, te] = a, M = (j = G().userPermissions) == null ? void 0 : j[re];
391
- return V(M) && M.includes(te);
390
+ const [re, te] = a, G = (F = M().userPermissions) == null ? void 0 : F[re];
391
+ return V(G) && G.includes(te);
392
392
  };
393
393
  return V(o) ? Ir(o, (g) => f(g)) : f(o);
394
394
  });
@@ -423,7 +423,7 @@ const G = ee("__auth_state_private", () => {
423
423
  hasUserPermission: i
424
424
  };
425
425
  });
426
- class F {
426
+ class j {
427
427
  /**
428
428
  * Инициализирует экземпляр класса {@link Identity}.
429
429
  *
@@ -448,7 +448,7 @@ class F {
448
448
  return typeof this.id == "number" ? this.id === -1 : typeof this.id == "string" ? this.id === "" : A(this.id);
449
449
  }
450
450
  }
451
- class b extends F {
451
+ class b extends j {
452
452
  /**
453
453
  * Инициализирует экземпляр класса {@link NamedIdentity}.
454
454
  *
@@ -536,7 +536,7 @@ class pe extends _e {
536
536
  * Список коэффициентов пересчёта из валют в рубли в формате ключ значение.
537
537
  */
538
538
  t(this, "currencyRates");
539
- 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", this.currencyRates = e != null && e.currencyRates ? Object.fromEntries(Object.entries(e.currencyRates).map(([s, i]) => [kr(s), i])) : void 0;
539
+ 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", this.currencyRates = e != null && e.currencyRates ? Object.fromEntries(Object.entries(e.currencyRates).map(([s, i]) => [Lr(s), i])) : void 0;
540
540
  }
541
541
  }
542
542
  var pr = /* @__PURE__ */ ((n) => (n.K0 = "k0", n.K1 = "k1", n.K2 = "k2", n.K3 = "k3", n.K4 = "k4", n.Retail = "retail", n))(pr || {});
@@ -564,10 +564,10 @@ class Re extends P {
564
564
  * Возвращает значение справочника коэффициента розничной цены.
565
565
  */
566
566
  static getRetailPriceCoefficient() {
567
- return { id: -2, slug: pr.Retail, name: "Розн. цена", guid: "", isNewRec: Lr(!0) };
567
+ return { id: -2, slug: pr.Retail, name: "Розн. цена", guid: "", isNewRec: xr(!0) };
568
568
  }
569
569
  }
570
- class Fe {
570
+ class je {
571
571
  /**
572
572
  * Инициализирует экземпляр класса {@link ProductPriceCoefficient}.
573
573
  *
@@ -649,7 +649,7 @@ class De extends P {
649
649
  this.address = (e == null ? void 0 : e.address) ?? "", this.isMain = (e == null ? void 0 : e.isMain) ?? !1, this.deliveryTypes = ((s = e == null ? void 0 : e.deliveryTypes) == null ? void 0 : s.map((i) => new Q(i))) ?? [], this.regions = (e == null ? void 0 : e.regions) ?? [], this.coordinates = new hr(e == null ? void 0 : e.coordinates);
650
650
  }
651
651
  }
652
- class Wr {
652
+ class Er {
653
653
  /**
654
654
  * Инициализирует экземпляр класса {@link StockCount}.
655
655
  *
@@ -790,16 +790,16 @@ class I extends Jr {
790
790
  * Список коэффициентов цен на продукт.
791
791
  */
792
792
  t(this, "priceCoefficients");
793
- this.supplierSku = e == null ? void 0 : e.supplierSku, this.unit = (e == null ? void 0 : e.unit) ?? "", this.pack = e == null ? void 0 : e.pack, this.minCount = e == null ? void 0 : e.minCount, this.quantityUnit = e == null ? void 0 : e.quantityUnit, this.currency = (e == null ? void 0 : e.currency) ?? "", this.cost = (e == null ? void 0 : e.cost) ?? 0, this.costRub = (e == null ? void 0 : e.costRub) ?? 0, this.costDate = C(e == null ? void 0 : e.costDate) ? v(e.costDate) : e == null ? void 0 : e.costDate, this.onOrder = (e == null ? void 0 : e.onOrder) ?? !1, this.stockCount = ((i = e == null ? void 0 : e.stockCount) == null ? void 0 : i.map((h) => new Wr(h))) ?? [], this.currencySignature = (e == null ? void 0 : e.currencySignature) ?? "", this.type = "product";
793
+ this.supplierSku = e == null ? void 0 : e.supplierSku, this.unit = (e == null ? void 0 : e.unit) ?? "", this.pack = e == null ? void 0 : e.pack, this.minCount = e == null ? void 0 : e.minCount, this.quantityUnit = e == null ? void 0 : e.quantityUnit, this.currency = (e == null ? void 0 : e.currency) ?? "", this.cost = (e == null ? void 0 : e.cost) ?? 0, this.costRub = (e == null ? void 0 : e.costRub) ?? 0, this.costDate = C(e == null ? void 0 : e.costDate) ? v(e.costDate) : e == null ? void 0 : e.costDate, this.onOrder = (e == null ? void 0 : e.onOrder) ?? !1, this.stockCount = ((i = e == null ? void 0 : e.stockCount) == null ? void 0 : i.map((h) => new Er(h))) ?? [], this.currencySignature = (e == null ? void 0 : e.currencySignature) ?? "", this.type = "product";
794
794
  const s = (e == null ? void 0 : e.category) ?? ((o = e == null ? void 0 : e.categories) == null ? void 0 : o.find((h) => h.isPrimary));
795
- s && (this.category = new _e({ ...s, isPrimary: !0 }), this.categories = [this.category]), e != null && e.categories && (this.categories = e.categories.map((h) => new _e(h))), this.images = ((c = e == null ? void 0 : e.images) == null ? void 0 : c.map((h) => new Vr(h, $.getConfig().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 Fe(h))) ?? [], e && "codeNumber" in e && !e.code && (this.code = e == null ? void 0 : e.codeNumber);
795
+ s && (this.category = new _e({ ...s, isPrimary: !0 }), this.categories = [this.category]), e != null && e.categories && (this.categories = e.categories.map((h) => new _e(h))), this.images = ((c = e == null ? void 0 : e.images) == null ? void 0 : c.map((h) => new Vr(h, T.getConfig().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);
796
796
  }
797
797
  /**
798
798
  * Возвращает признак, что это измеряемый товар.
799
799
  */
800
800
  getIsMeasurable() {
801
801
  var s;
802
- const e = (s = $.getConfig().catalog) == null ? void 0 : s.products.units;
802
+ const e = (s = T.getConfig().catalog) == null ? void 0 : s.products.units;
803
803
  return [...(e == null ? void 0 : e.linear) ?? ["пог.м.", "м."], ...(e == null ? void 0 : e.square) ?? ["м2"]].includes(this.unit);
804
804
  }
805
805
  /**
@@ -815,7 +815,7 @@ class I extends Jr {
815
815
  return this.retailCostRub ?? this.costRub;
816
816
  }
817
817
  }
818
- class Kr extends F {
818
+ class Kr extends j {
819
819
  /**
820
820
  * Инициализирует экземпляр класса {@link CartItemBase}.
821
821
  *
@@ -942,7 +942,7 @@ class ge {
942
942
  this.items = r.items.map((e) => new Qr(e)), this.resultSum = r.resultSum, this.directionsSum = r.directionsSum;
943
943
  }
944
944
  }
945
- class Me {
945
+ class Ge {
946
946
  /**
947
947
  * Инициализирует экземпляр указанного класса.
948
948
  *
@@ -973,7 +973,7 @@ const S = class S {
973
973
  /**
974
974
  * Базовый URL путь для выполнения запросов.
975
975
  */
976
- t(this, "baseUrl", `${$.getConfig().http.portalApiUrl}/api`);
976
+ t(this, "baseUrl", `${T.getConfig().http.portalApiUrl}/api`);
977
977
  /**
978
978
  * Обработчик ошибок выполнения запросов текущего экземпляра класса.
979
979
  *
@@ -1008,7 +1008,7 @@ const S = class S {
1008
1008
  * @param request Данные запроса.
1009
1009
  */
1010
1010
  // eslint-disable-next-line class-methods-use-this
1011
- t(this, "dataConverterRequestInterceptor", (r) => (r.method && (r.method === "get" && r.params && (r.params = We(r.params)), ["put", "patch", "post"].includes(_r(r.method)) && r.data && (r.data = We(r.data))), r));
1011
+ t(this, "dataConverterRequestInterceptor", (r) => (r.method && (r.method === "get" && r.params && (r.params = Ee(r.params)), ["put", "patch", "post"].includes(_r(r.method)) && r.data && (r.data = Ee(r.data))), r));
1012
1012
  /**
1013
1013
  * Перехватчик ошибок ответов на запрос.
1014
1014
  *
@@ -1026,10 +1026,10 @@ const S = class S {
1026
1026
  */
1027
1027
  // eslint-disable-next-line class-methods-use-this
1028
1028
  t(this, "dataConverterResponseInterceptor", (r) => (r.data && (r.data = Ue(r.data)), r));
1029
- const r = $.getConfig().version;
1030
- this.errorResponseHandler = S.defaultErrorsResponseHandler, this.httpClient = zr.create({
1029
+ const r = T.getConfig().version;
1030
+ this.errorResponseHandler = S.defaultErrorsResponseHandler, this.httpClient = Wr.create({
1031
1031
  headers: {
1032
- "APP-VERSION": `${r.name} (${r.version}, ${L(r.date, $.getConfig().dateFormats.uiDate)})`,
1032
+ "APP-VERSION": `${r.name} (${r.version}, ${x(r.date, T.getConfig().dateFormats.uiDate)})`,
1033
1033
  Accept: "application/json",
1034
1034
  "Content-Type": "application/json"
1035
1035
  }
@@ -1058,7 +1058,7 @@ const S = class S {
1058
1058
  * @param type Тип данных, которыми оперирует метод.
1059
1059
  */
1060
1060
  static getInstance(r) {
1061
- return Object.prototype.hasOwnProperty.call(S.instances, r.name) || (S.instances[r.name] = Me.simpleInstanceInitializer(r)), S.instances[r.name];
1061
+ return Object.prototype.hasOwnProperty.call(S.instances, r.name) || (S.instances[r.name] = Ge.simpleInstanceInitializer(r)), S.instances[r.name];
1062
1062
  }
1063
1063
  /**
1064
1064
  * Конвертирует данные ошибки HTTP запроса в более упрощённую и часто используемую форму.
@@ -1165,7 +1165,7 @@ t(S, "instances", {}), /**
1165
1165
  */
1166
1166
  t(S, "defaultErrorsResponseHandler", w);
1167
1167
  let p = S;
1168
- class Ft extends p {
1168
+ class jt extends p {
1169
1169
  /**
1170
1170
  * Возвращает содержимое корзины указанного клиента.
1171
1171
  *
@@ -1279,7 +1279,7 @@ class Ft extends p {
1279
1279
  return this.get(`internal/clients/${r.id}/cart/add-products-from-csv/example`, {}, (e) => new Blob([e.data], { type: "text/csv" }));
1280
1280
  }
1281
1281
  }
1282
- var Yr = /* @__PURE__ */ ((n) => (n.m2Cost = "m2Cost", n.percent = "percent", n.value = "value", n))(Yr || {}), je = /* @__PURE__ */ ((n) => (n.Discount = "discount", n.PriceTemplate = "price_template", n.ClientPrice = "client_price", n.Product = "product", n))(je || {}), Xr = /* @__PURE__ */ ((n) => (n.Unknown = "unknown", n.Bool = "bool", n.Integer = "integer", n.Float = "float", n.String = "string", n.Range = "range", n.Json = "json", n.Object = "object", n))(Xr || {});
1282
+ var Yr = /* @__PURE__ */ ((n) => (n.m2Cost = "m2Cost", n.percent = "percent", n.value = "value", n))(Yr || {}), Fe = /* @__PURE__ */ ((n) => (n.Discount = "discount", n.PriceTemplate = "price_template", n.ClientPrice = "client_price", n.Product = "product", n))(Fe || {}), Xr = /* @__PURE__ */ ((n) => (n.Unknown = "unknown", n.Bool = "bool", n.Integer = "integer", n.Float = "float", n.String = "string", n.Range = "range", n.Json = "json", n.Object = "object", n))(Xr || {});
1283
1283
  class H extends pe {
1284
1284
  /**
1285
1285
  * Инициализирует экземпляр класса {@link Category}.
@@ -1330,7 +1330,7 @@ class Zr extends gr {
1330
1330
  this.deletedAt = C(e == null ? void 0 : e.deletedAt) ? v(e.deletedAt) : e == null ? void 0 : e.deletedAt;
1331
1331
  }
1332
1332
  }
1333
- class q extends b {
1333
+ class _ extends b {
1334
1334
  /**
1335
1335
  * Инициализирует экземпляр класса {@link UserShortInfo}.
1336
1336
  *
@@ -1381,10 +1381,10 @@ class et extends b {
1381
1381
  * Дата и время удаления.
1382
1382
  */
1383
1383
  t(this, "deletedAt");
1384
- 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) ? v(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 q(e == null ? void 0 : e.owner), this.deletedAt = C(e == null ? void 0 : e.deletedAt) ? v(e.deletedAt) : e == null ? void 0 : e.deletedAt;
1384
+ 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) ? v(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) ? v(e.deletedAt) : e == null ? void 0 : e.deletedAt;
1385
1385
  }
1386
1386
  }
1387
- class E extends gr {
1387
+ class z extends gr {
1388
1388
  /**
1389
1389
  * Инициализирует экземпляр класса {@link PriceTemplate}.
1390
1390
  *
@@ -1439,7 +1439,7 @@ class Y extends I {
1439
1439
  * Признак того, что указанный продукт входит в список избранных продуктов клиента.
1440
1440
  */
1441
1441
  t(this, "isFavorite");
1442
- this.costCoefficient = (e == null ? void 0 : e.costCoefficient) ?? 0, this.costSource = (e == null ? void 0 : e.costSource) ?? je.Product, this.discount = e != null && e.discount ? new et(e.discount) : void 0, this.priceTemplate = e != null && e.priceTemplate ? new E(e.priceTemplate) : void 0, this.isPreviouslyOrdered = e == null ? void 0 : e.isPreviouslyOrdered, this.isRequired = e == null ? void 0 : e.isRequired, this.isFavorite = e == null ? void 0 : e.isFavorite;
1442
+ this.costCoefficient = (e == null ? void 0 : e.costCoefficient) ?? 0, this.costSource = (e == null ? void 0 : e.costSource) ?? Fe.Product, this.discount = e != null && e.discount ? new et(e.discount) : void 0, this.priceTemplate = e != null && e.priceTemplate ? new z(e.priceTemplate) : void 0, this.isPreviouslyOrdered = e == null ? void 0 : e.isPreviouslyOrdered, this.isRequired = e == null ? void 0 : e.isRequired, this.isFavorite = e == null ? void 0 : e.isFavorite;
1443
1443
  }
1444
1444
  }
1445
1445
  class mr {
@@ -1460,9 +1460,9 @@ class mr {
1460
1460
  this.phone = /^\d+$/.test(r.phone ?? "") ? `+${r.phone}` : r.phone, this.email = r.email;
1461
1461
  }
1462
1462
  }
1463
- class _ extends P {
1463
+ class O extends P {
1464
1464
  }
1465
- class Ge extends b {
1465
+ class Me extends b {
1466
1466
  /**
1467
1467
  * Инициализирует экземпляр класса {@link ManagerCommon}.
1468
1468
  *
@@ -1490,7 +1490,7 @@ class Ge extends b {
1490
1490
  * @inheritDoc
1491
1491
  */
1492
1492
  t(this, "isRegionalDirector");
1493
- this.salesDirection = e != null && e.salesDirection ? new _(e.salesDirection) : new _(), this.photo = e == null ? void 0 : e.photo, this.contacts = e != null && e.contacts ? new mr(e.contacts) : void 0, this.isDefault = (e == null ? void 0 : e.isDefault) ?? !1, this.isRegionalDirector = (e == null ? void 0 : e.isRegionalDirector) ?? !1;
1493
+ this.salesDirection = e != null && e.salesDirection ? new O(e.salesDirection) : new O(), this.photo = e == null ? void 0 : e.photo, this.contacts = e != null && e.contacts ? new mr(e.contacts) : void 0, this.isDefault = (e == null ? void 0 : e.isDefault) ?? !1, this.isRegionalDirector = (e == null ? void 0 : e.isRegionalDirector) ?? !1;
1494
1494
  }
1495
1495
  }
1496
1496
  class Be extends P {
@@ -1518,7 +1518,7 @@ class rt extends b {
1518
1518
  this.description = e.description, this.canChangeLowCost = e.canChangeLowCost, this.parentRoleId = e.parentRoleId;
1519
1519
  }
1520
1520
  }
1521
- class Ae extends Ge {
1521
+ class Ae extends Me {
1522
1522
  /**
1523
1523
  * Инициализирует экземпляр класса {@link Manager}.
1524
1524
  *
@@ -1682,7 +1682,7 @@ class ce extends P {
1682
1682
  e && (this.country = new X(e.country));
1683
1683
  }
1684
1684
  }
1685
- class Ee extends P {
1685
+ class ze extends P {
1686
1686
  /**
1687
1687
  * Инициализирует экземпляр класса {@link CityWithRegionAndCountry}.
1688
1688
  *
@@ -1733,7 +1733,7 @@ class yr extends b {
1733
1733
  * Признак активности учетной записи пользователя.
1734
1734
  */
1735
1735
  t(this, "isActive");
1736
- 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 = C(e == null ? void 0 : e.createdAt) ? v(e.createdAt) : e == null ? void 0 : e.createdAt, this.lastLoginAt = C(e == null ? void 0 : e.lastLoginAt) ? v(e.lastLoginAt) : e == null ? void 0 : e.lastLoginAt, this.isActive = (e == null ? void 0 : e.isActive) ?? !1;
1736
+ 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 O(e.salesDirection) : void 0, this.createdAt = C(e == null ? void 0 : e.createdAt) ? v(e.createdAt) : e == null ? void 0 : e.createdAt, this.lastLoginAt = C(e == null ? void 0 : e.lastLoginAt) ? v(e.lastLoginAt) : e == null ? void 0 : e.lastLoginAt, this.isActive = (e == null ? void 0 : e.isActive) ?? !1;
1737
1737
  }
1738
1738
  }
1739
1739
  class he extends yr {
@@ -1782,10 +1782,10 @@ class he extends yr {
1782
1782
  * @inheritDoc
1783
1783
  */
1784
1784
  t(this, "curators");
1785
- this.salesDirection = new _(e == null ? void 0 : e.salesDirection), this.debt = (e == null ? void 0 : e.debt) ?? 0, this.alternativeName = (e == null ? void 0 : e.alternativeName) ?? "", this.city = new Ee(e == null ? void 0 : e.city), this.comment = e == null ? void 0 : e.comment, this.isPhoneApproved = (e == null ? void 0 : e.isPhoneApproved) ?? !1, this.isEmailApproved = (e == null ? void 0 : e.isEmailApproved) ?? !1, this.managers = ((s = e == null ? void 0 : e.managers) == null ? void 0 : s.map((o) => new Ge(o))) ?? [], this.curators = ((i = e == null ? void 0 : e.curators) == null ? void 0 : i.map((o) => new He(o))) ?? void 0;
1785
+ this.salesDirection = new O(e == null ? void 0 : e.salesDirection), this.debt = (e == null ? void 0 : e.debt) ?? 0, this.alternativeName = (e == null ? void 0 : e.alternativeName) ?? "", this.city = new ze(e == null ? void 0 : e.city), this.comment = e == null ? void 0 : e.comment, this.isPhoneApproved = (e == null ? void 0 : e.isPhoneApproved) ?? !1, this.isEmailApproved = (e == null ? void 0 : e.isEmailApproved) ?? !1, this.managers = ((s = e == null ? void 0 : e.managers) == null ? void 0 : s.map((o) => new Me(o))) ?? [], this.curators = ((i = e == null ? void 0 : e.curators) == null ? void 0 : i.map((o) => new He(o))) ?? void 0;
1786
1786
  }
1787
1787
  }
1788
- class se extends F {
1788
+ class se extends j {
1789
1789
  /**
1790
1790
  * Инициализирует новый экземпляр класса.
1791
1791
  *
@@ -1809,7 +1809,7 @@ class se extends F {
1809
1809
  * Данные шаблона прайс-листа.
1810
1810
  */
1811
1811
  t(this, "priceTemplate");
1812
- this.createdAt = C(e == null ? void 0 : e.createdAt) ? v(e.createdAt) : (e == null ? void 0 : e.createdAt) ?? /* @__PURE__ */ new Date(), this.deletedAt = C(e == null ? void 0 : e.deletedAt) ? v(e.deletedAt) : e == null ? void 0 : e.deletedAt, this.client = new he(e == null ? void 0 : e.client), this.priceTemplate = new E(e == null ? void 0 : e.priceTemplate);
1812
+ this.createdAt = C(e == null ? void 0 : e.createdAt) ? v(e.createdAt) : (e == null ? void 0 : e.createdAt) ?? /* @__PURE__ */ new Date(), this.deletedAt = C(e == null ? void 0 : e.deletedAt) ? v(e.deletedAt) : e == null ? void 0 : e.deletedAt, this.client = new he(e == null ? void 0 : e.client), this.priceTemplate = new z(e == null ? void 0 : e.priceTemplate);
1813
1813
  }
1814
1814
  }
1815
1815
  class Se extends fr {
@@ -1871,7 +1871,7 @@ class B {
1871
1871
  this.property = new ie(r == null ? void 0 : r.property), this.value = (r == null ? void 0 : r.value) ?? "";
1872
1872
  }
1873
1873
  }
1874
- class k {
1874
+ class L {
1875
1875
  /**
1876
1876
  * Инициализирует экземпляр класса {@link DatePeriod}.
1877
1877
  *
@@ -1889,7 +1889,7 @@ class k {
1889
1889
  this.from = C(r == null ? void 0 : r.from) ? v(r.from) : (r == null ? void 0 : r.from) ?? null, this.to = C(r == null ? void 0 : r.to) ? v(r.to) : (r == null ? void 0 : r.to) ?? null;
1890
1890
  }
1891
1891
  }
1892
- class Mt {
1892
+ class Gt {
1893
1893
  /**
1894
1894
  * Инициализирует экземпляр класса {@link TemplatesListFilters}.
1895
1895
  *
@@ -1911,12 +1911,12 @@ class Mt {
1911
1911
  /**
1912
1912
  * Период создания.
1913
1913
  */
1914
- t(this, "createdAt", new k());
1914
+ t(this, "createdAt", new L());
1915
1915
  /**
1916
1916
  * Период изменения.
1917
1917
  */
1918
- t(this, "updatedAt", new k());
1919
- this.id = r == null ? void 0 : r.id, this.name = r == null ? void 0 : r.name, this.description = r == null ? void 0 : r.description, this.createdAt = new k(r == null ? void 0 : r.createdAt), this.updatedAt = new k(r == null ? void 0 : r.updatedAt);
1918
+ t(this, "updatedAt", new L());
1919
+ this.id = r == null ? void 0 : r.id, this.name = r == null ? void 0 : r.name, this.description = r == null ? void 0 : r.description, this.createdAt = new L(r == null ? void 0 : r.createdAt), this.updatedAt = new L(r == null ? void 0 : r.updatedAt);
1920
1920
  }
1921
1921
  /**
1922
1922
  * Выполняет сброс указанного фильтра в значение по умолчанию.
@@ -2160,7 +2160,7 @@ class ct {
2160
2160
  this.broadcaster = r.broadcaster ?? "reverb", this.key = r.key ?? "", this.wsHost = r.wsHost ?? "", this.wsPort = r.wsPort ?? 8080, this.wssPort = r.wssPort ?? 8080, this.forceTLS = r.forceTLS ?? !1, this.enabledTransports = r.enabledTransports ?? ["wss"];
2161
2161
  }
2162
2162
  }
2163
- class jt {
2163
+ class Ft {
2164
2164
  /**
2165
2165
  * Инициализирует экземпляр класса {@link AppBaseConfig}.
2166
2166
  *
@@ -2218,7 +2218,7 @@ class jt {
2218
2218
  };
2219
2219
  }
2220
2220
  }
2221
- class Gt extends p {
2221
+ class Mt extends p {
2222
2222
  /**
2223
2223
  * Возвращает данные о результатах поиска категорий и товаров.
2224
2224
  *
@@ -2245,7 +2245,7 @@ class Gt extends p {
2245
2245
  */
2246
2246
  // eslint-disable-next-line class-methods-use-this
2247
2247
  getPriceExportLink(r = "csv", e = !1, s = void 0, i = void 0) {
2248
- let c = `${$.getConfig().http.portalApiUrl}/api/internal/price/export?format=${r}&show_hidden=${e}`;
2248
+ let c = `${T.getConfig().http.portalApiUrl}/api/internal/price/export?format=${r}&show_hidden=${e}`;
2249
2249
  return s && (c += `&category_id=${s}`), i && (c += `&client_id=${i}`), c;
2250
2250
  }
2251
2251
  }
@@ -2483,12 +2483,12 @@ class Ht extends p {
2483
2483
  * @see /doc/api/internal#/operations/api_internal_client_price_template_attach
2484
2484
  */
2485
2485
  attachTemplate(r, e, s) {
2486
- const i = $.getConfig().dateFormats.api;
2486
+ const i = T.getConfig().dateFormats.api;
2487
2487
  return this.post(
2488
2488
  `/internal/clients/${r}/price/templates/${e}`,
2489
2489
  s && {
2490
- startAt: s.startAt && L(s.startAt, i),
2491
- endAt: s.endAt && L(s.endAt, i)
2490
+ startAt: s.startAt && x(s.startAt, i),
2491
+ endAt: s.endAt && x(s.endAt, i)
2492
2492
  },
2493
2493
  (o) => new se(o.data),
2494
2494
  {},
@@ -2517,12 +2517,12 @@ class Ht extends p {
2517
2517
  * @see /doc/api/internal#/operations/api_internal_client_price_template_change
2518
2518
  */
2519
2519
  changeTemplate(r, e, s, i) {
2520
- const o = $.getConfig().dateFormats.api;
2520
+ const o = T.getConfig().dateFormats.api;
2521
2521
  return this.patch(
2522
2522
  `/internal/clients/${r}/price/templates/${e}/${s}`,
2523
2523
  i && {
2524
- startAt: i.startAt && L(i.startAt, o),
2525
- endAt: i.endAt && L(i.endAt, o)
2524
+ startAt: i.startAt && x(i.startAt, o),
2525
+ endAt: i.endAt && x(i.endAt, o)
2526
2526
  },
2527
2527
  (c) => new se(c.data)
2528
2528
  );
@@ -2540,7 +2540,7 @@ class Ht extends p {
2540
2540
  return this.delete(`/internal/clients/${r}/price/templates/${e}/${s}`);
2541
2541
  }
2542
2542
  }
2543
- class Et extends p {
2543
+ class zt extends p {
2544
2544
  /**
2545
2545
  * Возвращает список данных о корневых категориях.
2546
2546
  *
@@ -2613,7 +2613,7 @@ class Et extends p {
2613
2613
  getCategoryProductsCoefficients(r) {
2614
2614
  return this.get(`/internal/catalog/categories/${r}/products/coefficients`, {}, (e) => {
2615
2615
  const { data: s } = e;
2616
- return Or(s, (i) => i.map((o) => new Fe(o))), s;
2616
+ return Or(s, (i) => i.map((o) => new je(o))), s;
2617
2617
  });
2618
2618
  }
2619
2619
  /**
@@ -2632,7 +2632,7 @@ class Et extends p {
2632
2632
  });
2633
2633
  }
2634
2634
  }
2635
- class zt extends p {
2635
+ class Wt extends p {
2636
2636
  /**
2637
2637
  * Возвращает данные об указанном продукте.
2638
2638
  *
@@ -2663,7 +2663,7 @@ class zt extends p {
2663
2663
  return this.get(
2664
2664
  `/internal/catalog/products/${r}/coefficients`,
2665
2665
  {},
2666
- (e) => Pe(e.data, (s) => new Fe(s))
2666
+ (e) => Pe(e.data, (s) => new je(s))
2667
2667
  );
2668
2668
  }
2669
2669
  /**
@@ -2682,7 +2682,7 @@ class zt extends p {
2682
2682
  });
2683
2683
  }
2684
2684
  }
2685
- class Wt extends p {
2685
+ class Et extends p {
2686
2686
  /**
2687
2687
  * Возвращает список данных о корневых категориях указанного клиента.
2688
2688
  *
@@ -2765,7 +2765,7 @@ class Jt extends p {
2765
2765
  );
2766
2766
  }
2767
2767
  }
2768
- var ze = /* @__PURE__ */ ((n) => (n.BeginWith = "bw", n.Contains = "cn", n.Custom = "custom", n.EndsWith = "ew", n.Equals = "eq", n.GreaterOrEqual = "ge", n.GreaterThan = "gt", n.InList = "in", n.LessOrEqual = "le", n.LessThan = "lt", n.NotBeginWith = "bn", n.NotContains = "nc", n.NotEndsWith = "en", n.NotEqual = "ne", n.NotInList = "ni", n.NotNull = "nn", n.Null = "nu", n))(ze || {});
2768
+ var We = /* @__PURE__ */ ((n) => (n.BeginWith = "bw", n.Contains = "cn", n.Custom = "custom", n.EndsWith = "ew", n.Equals = "eq", n.GreaterOrEqual = "ge", n.GreaterThan = "gt", n.InList = "in", n.LessOrEqual = "le", n.LessThan = "lt", n.NotBeginWith = "bn", n.NotContains = "nc", n.NotEndsWith = "en", n.NotEqual = "ne", n.NotInList = "ni", n.NotNull = "nn", n.Null = "nu", n))(We || {});
2769
2769
  class Qe {
2770
2770
  /**
2771
2771
  * Инициализирует экземпляр класса {@link FilterItem}.
@@ -2785,7 +2785,7 @@ class Qe {
2785
2785
  * Значение с которым сравнивается поле.
2786
2786
  */
2787
2787
  t(this, "value");
2788
- this.field = (r == null ? void 0 : r.field) ?? "", this.op = (r == null ? void 0 : r.op) ?? ze.Equals, this.value = (r == null ? void 0 : r.value) ?? "";
2788
+ this.field = (r == null ? void 0 : r.field) ?? "", this.op = (r == null ? void 0 : r.op) ?? We.Equals, this.value = (r == null ? void 0 : r.value) ?? "";
2789
2789
  }
2790
2790
  /**
2791
2791
  * Преобразует фильтр в примитивное представление для API.
@@ -2797,7 +2797,7 @@ class Qe {
2797
2797
  field: this.field,
2798
2798
  op: this.op
2799
2799
  };
2800
- return r.value = Le(this.value) ? L(this.value, $.getConfig().dateFormats.api) : this.value, r;
2800
+ return r.value = xe(this.value) ? x(this.value, T.getConfig().dateFormats.api) : this.value, r;
2801
2801
  }
2802
2802
  }
2803
2803
  class le {
@@ -2835,7 +2835,7 @@ class le {
2835
2835
  };
2836
2836
  }
2837
2837
  }
2838
- class Te extends p {
2838
+ class $e extends p {
2839
2839
  /**
2840
2840
  * Получает пагинированный список данных.
2841
2841
  *
@@ -2855,7 +2855,7 @@ class Te extends p {
2855
2855
  return e && (h.filters = JSON.stringify((e instanceof le ? e : new le(e)).toPrimitive())), K(s) || (h.sort = V(s) ? s : [s]), o && (h = { ...h, ...o }), this.get(r, h, c, u);
2856
2856
  }
2857
2857
  }
2858
- class Vt extends Te {
2858
+ class Vt extends $e {
2859
2859
  /**
2860
2860
  * Возвращает список шаблонов прайс-листа.
2861
2861
  *
@@ -2868,7 +2868,7 @@ class Vt extends Te {
2868
2868
  getTemplateList(r, e, s) {
2869
2869
  return this.getPaginated("/internal/price/templates", r, e, s, {}, (i) => {
2870
2870
  const o = { ...i.data };
2871
- return o.data = o.data.map((c) => new E(c)), o;
2871
+ return o.data = o.data.map((c) => new z(c)), o;
2872
2872
  });
2873
2873
  }
2874
2874
  /**
@@ -2881,7 +2881,7 @@ class Vt extends Te {
2881
2881
  * @see /doc/api/internal#/operations/api_internal_catalog_price_template_create
2882
2882
  */
2883
2883
  createTemplate(r, e = {}) {
2884
- return this.post("/internal/price/templates", r, (s) => new E(s.data), e);
2884
+ return this.post("/internal/price/templates", r, (s) => new z(s.data), e);
2885
2885
  }
2886
2886
  /**
2887
2887
  * Возвращает данные о шаблоне прайс-листа.
@@ -2891,7 +2891,7 @@ class Vt extends Te {
2891
2891
  * @see /doc/api/internal#/operations/api_internal_catalog_price_template_get
2892
2892
  */
2893
2893
  getTemplate(r) {
2894
- return this.get(`/internal/price/templates/${r}`, {}, (e) => new E(e.data));
2894
+ return this.get(`/internal/price/templates/${r}`, {}, (e) => new z(e.data));
2895
2895
  }
2896
2896
  /**
2897
2897
  * Изменяет данные о шаблоне прайс-листа.
@@ -2904,7 +2904,7 @@ class Vt extends Te {
2904
2904
  * @see /doc/api/internal#/operations/api_internal_catalog_price_template_update
2905
2905
  */
2906
2906
  updateTemplate(r, e, s = {}) {
2907
- return this.patch(`/internal/price/templates/${r}`, e, (i) => new E(i.data), s);
2907
+ return this.patch(`/internal/price/templates/${r}`, e, (i) => new z(i.data), s);
2908
2908
  }
2909
2909
  /**
2910
2910
  * Удаляет данные о шаблоне прайс-листа.
@@ -3139,7 +3139,7 @@ class Kt extends p {
3139
3139
  );
3140
3140
  }
3141
3141
  }
3142
- class Qt extends Te {
3142
+ class Qt extends $e {
3143
3143
  /**
3144
3144
  * Возвращает пагинированный список свойств.
3145
3145
  *
@@ -3596,7 +3596,7 @@ class vr extends P {
3596
3596
  }
3597
3597
  class Pr extends P {
3598
3598
  }
3599
- class Oe extends F {
3599
+ class Oe extends j {
3600
3600
  /**
3601
3601
  * Инициализирует экземпляр класса {@link BankAccount}.
3602
3602
  *
@@ -3731,7 +3731,7 @@ class Rr extends b {
3731
3731
  */
3732
3732
  t(this, "updater");
3733
3733
  if (e) {
3734
- if (this.opf = new N(e.opf), this.comment = e.comment, this.alternativeName = e.alternativeName, this.createdAt = C(e == null ? void 0 : e.createdAt) ? v(e.createdAt) : e.createdAt, this.creator = e.creator ? new q(e.creator) : void 0, this.updatedAt = C(e == null ? void 0 : e.updatedAt) ? v(e.updatedAt) : e.updatedAt, this.updater = e.updater ? new q(e.updater) : void 0, e.partnerGroup && (this.partnerGroup = new Z(e.partnerGroup)), e.contacts) {
3734
+ if (this.opf = new N(e.opf), this.comment = e.comment, this.alternativeName = e.alternativeName, this.createdAt = C(e == null ? void 0 : e.createdAt) ? v(e.createdAt) : e.createdAt, this.creator = e.creator ? new _(e.creator) : void 0, this.updatedAt = C(e == null ? void 0 : e.updatedAt) ? v(e.updatedAt) : e.updatedAt, this.updater = e.updater ? new _(e.updater) : void 0, e.partnerGroup && (this.partnerGroup = new Z(e.partnerGroup)), e.contacts) {
3735
3735
  const s = [];
3736
3736
  e.contacts.forEach((i) => {
3737
3737
  s.push(new U(i));
@@ -3856,7 +3856,7 @@ class Ce {
3856
3856
  }
3857
3857
  }
3858
3858
  }
3859
- class Ie extends F {
3859
+ class Ie extends j {
3860
3860
  /**
3861
3861
  * Инициализирует экземпляр класса {@link ContactRelation}.
3862
3862
  *
@@ -3981,14 +3981,6 @@ class Ze extends he {
3981
3981
  * @inheritDoc
3982
3982
  */
3983
3983
  t(this, "primaryDemand");
3984
- /**
3985
- * @inheritDoc
3986
- */
3987
- t(this, "isExcludedFromMsCallsToClients");
3988
- /**
3989
- * @inheritDoc
3990
- */
3991
- t(this, "reasonExcludedFromMsCallsToClients");
3992
3984
  /**
3993
3985
  * @inheritDoc
3994
3986
  */
@@ -3997,7 +3989,7 @@ class Ze extends he {
3997
3989
  * @inheritDoc
3998
3990
  */
3999
3991
  t(this, "extraData");
4000
- this.contragents = ((s = e == null ? void 0 : e.contragents) == null ? void 0 : s.map((u) => Ce.createInstance(u))) ?? [], this.partnerGroups = ((i = e == null ? void 0 : e.partnerGroups) == null ? void 0 : i.map((u) => new Z(u))) ?? [], this.contacts = ((o = e == null ? void 0 : e.contacts) == null ? void 0 : o.map((u) => new U(u))) ?? [], this.deliveryAddresses = ((c = e == null ? void 0 : e.deliveryAddresses) == null ? void 0 : c.map((u) => new ve(u))) ?? [], this.channelPrimaryInterest = new Cr(e == null ? void 0 : e.channelPrimaryInterest), this.sourcePrimaryInterest = new Pr(e == null ? void 0 : e.sourcePrimaryInterest), this.preferredDeliveryType = new Q(e == null ? void 0 : e.preferredDeliveryType), this.primaryDemand = e == null ? void 0 : e.primaryDemand, this.isExcludedFromMsCallsToClients = (e == null ? void 0 : e.isExcludedFromMsCallsToClients) ?? !1, this.reasonExcludedFromMsCallsToClients = e == null ? void 0 : e.reasonExcludedFromMsCallsToClients, this.preferredWarehouse = e != null && e.preferredWarehouse ? new De(e.preferredWarehouse) : void 0, this.extraData = (e == null ? void 0 : e.extraData) ?? {};
3992
+ this.contragents = ((s = e == null ? void 0 : e.contragents) == null ? void 0 : s.map((u) => Ce.createInstance(u))) ?? [], this.partnerGroups = ((i = e == null ? void 0 : e.partnerGroups) == null ? void 0 : i.map((u) => new Z(u))) ?? [], this.contacts = ((o = e == null ? void 0 : e.contacts) == null ? void 0 : o.map((u) => new U(u))) ?? [], this.deliveryAddresses = ((c = e == null ? void 0 : e.deliveryAddresses) == null ? void 0 : c.map((u) => new ve(u))) ?? [], this.channelPrimaryInterest = new Cr(e == null ? void 0 : e.channelPrimaryInterest), this.sourcePrimaryInterest = new Pr(e == null ? void 0 : e.sourcePrimaryInterest), this.preferredDeliveryType = new Q(e == null ? void 0 : e.preferredDeliveryType), this.primaryDemand = e == null ? void 0 : e.primaryDemand, this.preferredWarehouse = e != null && e.preferredWarehouse ? new De(e.preferredWarehouse) : void 0, this.extraData = (e == null ? void 0 : e.extraData) ?? {};
4001
3993
  }
4002
3994
  }
4003
3995
  class Xt {
@@ -4050,11 +4042,11 @@ class Xt {
4050
4042
  /**
4051
4043
  * @inheritDoc
4052
4044
  */
4053
- t(this, "createdAt", new k());
4045
+ t(this, "createdAt", new L());
4054
4046
  /**
4055
4047
  * @inheritDoc
4056
4048
  */
4057
- t(this, "lastLoginDate", new k());
4049
+ t(this, "lastLoginDate", new L());
4058
4050
  /**
4059
4051
  * @inheritDoc
4060
4052
  */
@@ -4099,16 +4091,12 @@ class Xt {
4099
4091
  * @inheritDoc
4100
4092
  */
4101
4093
  t(this, "lastOrder");
4102
- /**
4103
- * @inheritDoc
4104
- */
4105
- t(this, "isExcludedFromMsCallsToClients");
4106
4094
  var e, s, i, o, c, u, h, f;
4107
- this.id = r == null ? void 0 : r.id, this.name = r == null ? void 0 : r.name, this.alternativeName = r == null ? void 0 : r.alternativeName, this.searchTerm = r == null ? void 0 : r.searchTerm, this.cities = (e = r == null ? void 0 : r.cities) == null ? void 0 : e.map((g) => new Ee(g)), this.region = new ce(r == null ? void 0 : r.region), this.country = new X(r == null ? void 0 : r.country), this.phone = r == null ? void 0 : r.phone, this.email = r == null ? void 0 : r.email, this.isActive = r && Object.prototype.hasOwnProperty.call(r, "isActive") ? r == null ? void 0 : r.isActive : !0, this.createdAt = new k(r == null ? void 0 : r.createdAt), this.lastLoginDate = new k(r == null ? void 0 : r.lastLoginDate), this.lastLoginDateHasOrder = (r == null ? void 0 : r.lastLoginDateHasOrder) ?? void 0, this.managers = ((s = r == null ? void 0 : r.managers) == null ? void 0 : s.map((g) => new Ae(g))) ?? [], this.curators = ((i = r == null ? void 0 : r.curators) == null ? void 0 : i.map((g) => new He(g))) ?? [], this.salesDirections = (o = r == null ? void 0 : r.salesDirections) == null ? void 0 : o.map((g) => new _(g)), this.contragentInn = r == null ? void 0 : r.contragentInn, this.contragentType = new N(r == null ? void 0 : r.contragentType), this.preferredDeliveryType = new Q(r == null ? void 0 : r.preferredDeliveryType), this.partnerGroups = (c = r == null ? void 0 : r.partnerGroups) == null ? void 0 : c.map((g) => new Z(g)), this.contact = new qe(r == null ? void 0 : r.contact), this.lastOrder = {
4108
- createdAt: new k((u = r == null ? void 0 : r.lastOrder) == null ? void 0 : u.createdAt),
4095
+ this.id = r == null ? void 0 : r.id, this.name = r == null ? void 0 : r.name, this.alternativeName = r == null ? void 0 : r.alternativeName, this.searchTerm = r == null ? void 0 : r.searchTerm, this.cities = (e = r == null ? void 0 : r.cities) == null ? void 0 : e.map((g) => new ze(g)), this.region = new ce(r == null ? void 0 : r.region), this.country = new X(r == null ? void 0 : r.country), this.phone = r == null ? void 0 : r.phone, this.email = r == null ? void 0 : r.email, this.isActive = r && Object.prototype.hasOwnProperty.call(r, "isActive") ? r == null ? void 0 : r.isActive : !0, this.createdAt = new L(r == null ? void 0 : r.createdAt), this.lastLoginDate = new L(r == null ? void 0 : r.lastLoginDate), this.lastLoginDateHasOrder = (r == null ? void 0 : r.lastLoginDateHasOrder) ?? void 0, this.managers = ((s = r == null ? void 0 : r.managers) == null ? void 0 : s.map((g) => new Ae(g))) ?? [], this.curators = ((i = r == null ? void 0 : r.curators) == null ? void 0 : i.map((g) => new He(g))) ?? [], this.salesDirections = (o = r == null ? void 0 : r.salesDirections) == null ? void 0 : o.map((g) => new O(g)), this.contragentInn = r == null ? void 0 : r.contragentInn, this.contragentType = new N(r == null ? void 0 : r.contragentType), this.preferredDeliveryType = new Q(r == null ? void 0 : r.preferredDeliveryType), this.partnerGroups = (c = r == null ? void 0 : r.partnerGroups) == null ? void 0 : c.map((g) => new Z(g)), this.contact = new qe(r == null ? void 0 : r.contact), this.lastOrder = {
4096
+ createdAt: new L((u = r == null ? void 0 : r.lastOrder) == null ? void 0 : u.createdAt),
4109
4097
  creator: (h = r == null ? void 0 : r.lastOrder) == null ? void 0 : h.creator,
4110
4098
  isApproved: (f = r == null ? void 0 : r.lastOrder) == null ? void 0 : f.isApproved
4111
- }, this.isExcludedFromMsCallsToClients = r == null ? void 0 : r.isExcludedFromMsCallsToClients;
4099
+ };
4112
4100
  }
4113
4101
  /**
4114
4102
  * Выполняет сброс указанного фильтра в значение по умолчанию.
@@ -4176,7 +4164,7 @@ class Xt {
4176
4164
  }), !((e = r == null ? void 0 : r.createdAt) != null && e.from) && !((s = r == null ? void 0 : r.createdAt) != null && s.to) && delete r.createdAt, !((i = r == null ? void 0 : r.lastLoginDate) != null && i.from) && !((o = r == null ? void 0 : r.lastLoginDate) != null && o.to) && delete r.lastLoginDate, r;
4177
4165
  }
4178
4166
  }
4179
- class Tr extends F {
4167
+ class $r extends j {
4180
4168
  /**
4181
4169
  * Инициализирует экземпляр класса {@link OrderShortInfo}.
4182
4170
  *
@@ -4196,7 +4184,7 @@ class Tr extends F {
4196
4184
  * Признак того, что заказ подтвержден в 1С.
4197
4185
  */
4198
4186
  t(this, "isApproved1c");
4199
- this.createdAt = C(e == null ? void 0 : e.createdAt) ? v(e.createdAt) : (e == null ? void 0 : e.createdAt) ?? /* @__PURE__ */ new Date(), this.creator = new q(e == null ? void 0 : e.creator), this.isApproved1c = (e == null ? void 0 : e.isApproved1c) ?? !1;
4187
+ this.createdAt = C(e == null ? void 0 : e.createdAt) ? v(e.createdAt) : (e == null ? void 0 : e.createdAt) ?? /* @__PURE__ */ new Date(), this.creator = new _(e == null ? void 0 : e.creator), this.isApproved1c = (e == null ? void 0 : e.isApproved1c) ?? !1;
4200
4188
  }
4201
4189
  }
4202
4190
  class vt extends b {
@@ -4236,7 +4224,7 @@ class vt extends b {
4236
4224
  * @inheritDoc
4237
4225
  */
4238
4226
  t(this, "curators");
4239
- this.contacts = ((s = e.contacts) == null ? void 0 : s.map((u) => new U(u))) ?? void 0, this.lastOrder = e.lastOrder ? new Tr(e.lastOrder) : void 0, this.partnerGroups = ((i = e.partnerGroups) == null ? void 0 : i.map((u) => new Z(u))) ?? void 0, this.preferredDeliveryType = e.preferredDeliveryType ? new Q(e.preferredDeliveryType) : void 0, this.salesDirection = e.salesDirection ? new _(e.salesDirection) : void 0, this.managers = ((o = e.managers) == null ? void 0 : o.map((u) => new Ge(u))) ?? void 0, this.curators = ((c = e.curators) == null ? void 0 : c.map((u) => new He(u))) ?? void 0;
4227
+ this.contacts = ((s = e.contacts) == null ? void 0 : s.map((u) => new U(u))) ?? void 0, this.lastOrder = e.lastOrder ? new $r(e.lastOrder) : void 0, this.partnerGroups = ((i = e.partnerGroups) == null ? void 0 : i.map((u) => new Z(u))) ?? void 0, this.preferredDeliveryType = e.preferredDeliveryType ? new Q(e.preferredDeliveryType) : void 0, this.salesDirection = e.salesDirection ? new O(e.salesDirection) : void 0, this.managers = ((o = e.managers) == null ? void 0 : o.map((u) => new Me(u))) ?? void 0, this.curators = ((c = e.curators) == null ? void 0 : c.map((u) => new He(u))) ?? void 0;
4240
4228
  }
4241
4229
  }
4242
4230
  class Pt {
@@ -4306,7 +4294,7 @@ class es {
4306
4294
  this.field = (r == null ? void 0 : r.field) ?? "", this.direction = (r == null ? void 0 : r.direction) ?? "asc";
4307
4295
  }
4308
4296
  }
4309
- class x extends Te {
4297
+ class k extends $e {
4310
4298
  /**
4311
4299
  * Преобразует данные о клиенте в данные требуемые для запроса.
4312
4300
  *
@@ -4314,7 +4302,7 @@ class x extends Te {
4314
4302
  */
4315
4303
  static transformClientDataToRequest(r) {
4316
4304
  var s;
4317
- const e = {
4305
+ return {
4318
4306
  name: r.name,
4319
4307
  alternative_name: r.alternativeName,
4320
4308
  partner_groups: r.partnerGroups.map((i) => i.id),
@@ -4325,10 +4313,8 @@ class x extends Te {
4325
4313
  channel_primary_interest_id: r.channelPrimaryInterest.id,
4326
4314
  source_primary_interest_id: r.sourcePrimaryInterest.id,
4327
4315
  primary_demand: r.primaryDemand,
4328
- is_excluded_from_ms_calls_to_clients: r.isExcludedFromMsCallsToClients,
4329
4316
  preferred_warehouse_id: (s = r.preferredWarehouse) == null ? void 0 : s.id
4330
4317
  };
4331
- return r.isExcludedFromMsCallsToClients && (e.reason_excluded_from_ms_calls_to_clients = r.reasonExcludedFromMsCallsToClients), e;
4332
4318
  }
4333
4319
  /**
4334
4320
  * Преобразует данные о контрагенте клиента в данные требуемые для запроса.
@@ -4475,7 +4461,7 @@ class x extends Te {
4475
4461
  return this.getClientsList({
4476
4462
  groupOp: "and",
4477
4463
  groups: [],
4478
- filters: [{ field: "phone", op: ze.Contains, value: r }]
4464
+ filters: [{ field: "phone", op: We.Contains, value: r }]
4479
4465
  });
4480
4466
  }
4481
4467
  /**
@@ -4512,7 +4498,7 @@ class x extends Te {
4512
4498
  * @see /doc/api/internal#/Клиенты/api_internal_client_create
4513
4499
  */
4514
4500
  createClientCommonData(r, e = {}) {
4515
- return this.post("/internal/clients", x.transformClientDataToRequest(r), (s) => new Ze(s.data), e);
4501
+ return this.post("/internal/clients", k.transformClientDataToRequest(r), (s) => new Ze(s.data), e);
4516
4502
  }
4517
4503
  /**
4518
4504
  * Обновляет данные указанного клиента.
@@ -4522,7 +4508,7 @@ class x extends Te {
4522
4508
  * @see /doc/api/internal#/Клиенты/api_internal_client_change
4523
4509
  */
4524
4510
  updateClientCommonData(r, e = {}) {
4525
- return this.patch(`/internal/clients/${r.id}`, x.transformClientDataToRequest(r), void 0, e);
4511
+ return this.patch(`/internal/clients/${r.id}`, k.transformClientDataToRequest(r), void 0, e);
4526
4512
  }
4527
4513
  /**
4528
4514
  * Обновляет данные "Не беспокоить" указанного клиента.
@@ -4533,10 +4519,9 @@ class x extends Te {
4533
4519
  */
4534
4520
  updateClientNotDistribCommonData(r, e = {}) {
4535
4521
  const s = {
4536
- get_news: r.getNews,
4537
- is_excluded_from_ms_calls_to_clients: r.isExcludedFromMsCallsToClients
4522
+ get_news: r.getNews
4538
4523
  };
4539
- return r.isExcludedFromMsCallsToClients && (s.reason_excluded_from_ms_calls_to_clients = r.reasonExcludedFromMsCallsToClients), this.patch(`/internal/clients/${r.id}`, s, void 0, e);
4524
+ return this.patch(`/internal/clients/${r.id}`, s, void 0, e);
4540
4525
  }
4541
4526
  /**
4542
4527
  * Изменяет пароль клиента.
@@ -4652,7 +4637,7 @@ class x extends Te {
4652
4637
  createContragentClientData(r, e, s = {}) {
4653
4638
  return this.post(
4654
4639
  `/internal/clients/${r}/contragents`,
4655
- x.transformContragentClientDataToRequest(e),
4640
+ k.transformContragentClientDataToRequest(e),
4656
4641
  (i) => Ce.createInstance(i.data),
4657
4642
  s
4658
4643
  );
@@ -4668,7 +4653,7 @@ class x extends Te {
4668
4653
  updateContragentClientData(r, e, s = {}) {
4669
4654
  return this.patch(
4670
4655
  `/internal/clients/${r}/contragents/${e.id}`,
4671
- x.transformContragentClientDataToRequest(e),
4656
+ k.transformContragentClientDataToRequest(e),
4672
4657
  (i) => Ce.createInstance(i.data),
4673
4658
  s
4674
4659
  );
@@ -4694,7 +4679,7 @@ class x extends Te {
4694
4679
  createClientDeliveryAddress(r, e, s = {}) {
4695
4680
  return this.post(
4696
4681
  `/internal/clients/${r}/delivery-addresses`,
4697
- x.transformClientDeliveryAddressToRequest(e),
4682
+ k.transformClientDeliveryAddressToRequest(e),
4698
4683
  (i) => new ve(i.data),
4699
4684
  s
4700
4685
  );
@@ -4710,7 +4695,7 @@ class x extends Te {
4710
4695
  updateClientDeliveryAddress(r, e, s = {}) {
4711
4696
  return this.patch(
4712
4697
  `/internal/clients/${r}/delivery-addresses/${e.id}`,
4713
- x.transformClientDeliveryAddressToRequest(e),
4698
+ k.transformClientDeliveryAddressToRequest(e),
4714
4699
  (i) => new ve(i.data),
4715
4700
  s
4716
4701
  );
@@ -4737,7 +4722,7 @@ class x extends Te {
4737
4722
  createContragentBankAccount(r, e, s, i = {}) {
4738
4723
  return this.post(
4739
4724
  `/internal/clients/${r}/contragents/${e}/bank-accounts`,
4740
- x.transformClientContragentBankAccountToRequest(s),
4725
+ k.transformClientContragentBankAccountToRequest(s),
4741
4726
  (o) => new Oe(o.data),
4742
4727
  i
4743
4728
  );
@@ -4754,7 +4739,7 @@ class x extends Te {
4754
4739
  updateContragentBankAccount(r, e, s, i = {}) {
4755
4740
  return this.patch(
4756
4741
  `/internal/clients/${r}/contragents/${e}/bank-accounts/${s.id}`,
4757
- x.transformClientContragentBankAccountToRequest(s),
4742
+ k.transformClientContragentBankAccountToRequest(s),
4758
4743
  (o) => new Oe(o.data),
4759
4744
  i
4760
4745
  );
@@ -4977,7 +4962,7 @@ class x extends Te {
4977
4962
  return this.get(`/internal/clients/${r.id}/verification/email?email=${r.email}`);
4978
4963
  }
4979
4964
  }
4980
- const W = class W extends p {
4965
+ const E = class E extends p {
4981
4966
  /**
4982
4967
  * Инициализирует экземпляр класса {@link HttpCachedRequester}.
4983
4968
  */
@@ -4987,7 +4972,7 @@ const W = class W extends p {
4987
4972
  * Время кэширования данных ответов на запросы (секунд).
4988
4973
  */
4989
4974
  t(this, "responseDataCacheTimeout");
4990
- this.responseDataCacheTimeout = $.getConfig().http.responseDataCacheTimeout;
4975
+ this.responseDataCacheTimeout = T.getConfig().http.responseDataCacheTimeout;
4991
4976
  }
4992
4977
  /**
4993
4978
  * Возвращает кэшированные данные.
@@ -4997,7 +4982,7 @@ const W = class W extends p {
4997
4982
  */
4998
4983
  // eslint-disable-next-line @typescript-eslint/no-unnecessary-type-parameters
4999
4984
  static getCachedResponse(e) {
5000
- const s = W.responseDataCache.get(e);
4985
+ const s = E.responseDataCache.get(e);
5001
4986
  if (s && s.validTo > /* @__PURE__ */ new Date())
5002
4987
  return s.val;
5003
4988
  }
@@ -5008,7 +4993,7 @@ const W = class W extends p {
5008
4993
  * @param data Данные для кэширования.
5009
4994
  */
5010
4995
  cacheResponse(e, s) {
5011
- W.responseDataCache.set(e, {
4996
+ E.responseDataCache.set(e, {
5012
4997
  validTo: qr(/* @__PURE__ */ new Date(), this.responseDataCacheTimeout),
5013
4998
  val: s
5014
4999
  });
@@ -5024,9 +5009,9 @@ const W = class W extends p {
5024
5009
  */
5025
5010
  // eslint-disable-next-line @typescript-eslint/no-unnecessary-type-parameters
5026
5011
  getTypedDataArrayRequester(e, s, i = !1, o = {}) {
5027
- const c = s + (K(o) ? "" : ` >>> ${JSON.stringify(o)}`), u = i ? W.getCachedResponse(c) : void 0;
5012
+ const c = s + (K(o) ? "" : ` >>> ${JSON.stringify(o)}`), u = i ? E.getCachedResponse(c) : void 0;
5028
5013
  return u ? Promise.resolve(u) : this.get(s, o).then((h) => {
5029
- const f = h.map((g) => Me.instanceInitializer(e, g));
5014
+ const f = h.map((g) => Ge.instanceInitializer(e, g));
5030
5015
  return i && f && this.cacheResponse(s, f), f;
5031
5016
  });
5032
5017
  }
@@ -5034,8 +5019,8 @@ const W = class W extends p {
5034
5019
  /**
5035
5020
  * Кэш результатов запросов.
5036
5021
  */
5037
- t(W, "responseDataCache", /* @__PURE__ */ new Map());
5038
- let ue = W;
5022
+ t(E, "responseDataCache", /* @__PURE__ */ new Map());
5023
+ let ue = E;
5039
5024
  class rs extends p {
5040
5025
  /**
5041
5026
  * Выполняет проверку занят ли указанный номер телефона.
@@ -5134,9 +5119,9 @@ class ss {
5134
5119
  return {
5135
5120
  // 'Следующий рабочий день' - это значение по-умолчанию
5136
5121
  nextWorkingDay: { label: "Следующий рабочий день", from: Hr(r), to: Br(r) },
5137
- today: { label: "Сегодня", from: de(), to: Gr() },
5138
- yesterday: { label: "Вчера", from: jr(), to: Mr() },
5139
- tomorrow: { label: "Завтра", from: Fr(), to: Ur() }
5122
+ today: { label: "Сегодня", from: de(), to: Mr() },
5123
+ yesterday: { label: "Вчера", from: Fr(), to: Gr() },
5124
+ tomorrow: { label: "Завтра", from: jr(), to: Ur() }
5140
5125
  };
5141
5126
  }
5142
5127
  }
@@ -5205,11 +5190,11 @@ class Rt extends ue {
5205
5190
  const r = "/internal/managers", e = ue.getCachedResponse(r);
5206
5191
  if (e)
5207
5192
  return e;
5208
- const i = (await this.get(r)).data.map((o) => Me.instanceInitializer(Ae, o));
5193
+ const i = (await this.get(r)).data.map((o) => Ge.instanceInitializer(Ae, o));
5209
5194
  return this.cacheResponse(r, i), i;
5210
5195
  }
5211
5196
  }
5212
- class $r extends Tr {
5197
+ class Tr extends $r {
5213
5198
  /**
5214
5199
  * Инициализирует экземпляр класса {@link OrderInfo}.
5215
5200
  *
@@ -5267,10 +5252,10 @@ class $r extends Tr {
5267
5252
  date: C((u = e == null ? void 0 : e.delivery) == null ? void 0 : u.date) ? v(e.delivery.date) : ((h = e == null ? void 0 : e.delivery) == null ? void 0 : h.date) ?? /* @__PURE__ */ new Date(),
5268
5253
  address: (f = e == null ? void 0 : e.delivery) != null && f.address ? new ve(e.delivery.address) : void 0,
5269
5254
  warehouse: (g = e == null ? void 0 : e.delivery) != null && g.warehouse ? new De(e.delivery.warehouse) : void 0
5270
- }, this.attachedUser = new q(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 = C(e == null ? void 0 : e.pendingAt) ? v(e.pendingAt) : e == null ? void 0 : e.pendingAt, this.processedAt = C(e == null ? void 0 : e.processedAt) ? v(e.processedAt) : e == null ? void 0 : e.processedAt, this.isOnOrder = (e == null ? void 0 : e.isOnOrder) ?? !1, this.isNotInStock = (e == null ? void 0 : e.isNotInStock) ?? !1;
5255
+ }, this.attachedUser = new _(e == null ? void 0 : e.attachedUser), this.status = (e == null ? void 0 : e.status) ?? 0, this.salesDirection = new O(e == null ? void 0 : e.salesDirection), this.pendingAt = C(e == null ? void 0 : e.pendingAt) ? v(e.pendingAt) : e == null ? void 0 : e.pendingAt, this.processedAt = C(e == null ? void 0 : e.processedAt) ? v(e.processedAt) : e == null ? void 0 : e.processedAt, this.isOnOrder = (e == null ? void 0 : e.isOnOrder) ?? !1, this.isNotInStock = (e == null ? void 0 : e.isNotInStock) ?? !1;
5271
5256
  }
5272
5257
  }
5273
- class Dt extends F {
5258
+ class Dt extends j {
5274
5259
  /**
5275
5260
  * Инициализирует экземпляр класса {@link OrderProduct}.
5276
5261
  *
@@ -5350,10 +5335,14 @@ class Dt extends F {
5350
5335
  * который соответствует указанной ширине. Количество не ограничено.
5351
5336
  */
5352
5337
  t(this, "sawing");
5353
- this.product = new Y(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;
5338
+ /**
5339
+ * Данные о пользователе, добавившем продукт в заказ.
5340
+ */
5341
+ t(this, "creatorUser");
5342
+ this.product = new Y(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, this.creatorUser = e.creatorUser && new _(e.creatorUser);
5354
5343
  }
5355
5344
  }
5356
- class rr extends $r {
5345
+ class rr extends Tr {
5357
5346
  /**
5358
5347
  * Инициализирует экземпляр класса {@link Order}.
5359
5348
  *
@@ -5396,7 +5385,7 @@ class rr extends $r {
5396
5385
  this.products = (e.products ?? []).map((s) => new Dt(s)), this.invoices = e.invoices ?? [], this.comment = e.comment, this.image = e.image, this.contragent = e.contragent ? Ce.createInstance(e.contragent) : void 0, this.barcode = e.barcode, this.orderSource = e.orderSource ? new P(e.orderSource) : void 0, this.isAllowProcessingWithoutPayment = e.isAllowProcessingWithoutPayment;
5397
5386
  }
5398
5387
  }
5399
- class ns extends Te {
5388
+ class ns extends $e {
5400
5389
  /**
5401
5390
  * Возвращает данные о заказах, удовлетворяющих указанным параметрам поиска.
5402
5391
  *
@@ -5409,7 +5398,7 @@ class ns extends Te {
5409
5398
  getOrders(r, e, s) {
5410
5399
  return this.getPaginated("/internal/orders", r, e ? [e] : void 0, s, {}, (i) => {
5411
5400
  const o = { ...i.data };
5412
- return o.data = o.data.map((c) => new $r(c)), o;
5401
+ return o.data = o.data.map((c) => new Tr(c)), o;
5413
5402
  });
5414
5403
  }
5415
5404
  /**
@@ -5460,7 +5449,7 @@ class ns extends Te {
5460
5449
  );
5461
5450
  }
5462
5451
  }
5463
- class xe {
5452
+ class ke {
5464
5453
  /**
5465
5454
  * Инициализирует экземпляр класса {@link PriceAnalyze}.
5466
5455
  *
@@ -5487,10 +5476,10 @@ class xe {
5487
5476
  * Источник клиентской цены.
5488
5477
  */
5489
5478
  t(this, "source");
5490
- this.client = new he(r == null ? void 0 : r.client), this.product = new I(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) ?? je.Product;
5479
+ this.client = new he(r == null ? void 0 : r.client), this.product = new I(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) ?? Fe.Product;
5491
5480
  }
5492
5481
  }
5493
- const ke = (n) => {
5482
+ const Le = (n) => {
5494
5483
  var r, e, s, i, o;
5495
5484
  return n ? cr(
5496
5485
  {
@@ -5522,9 +5511,9 @@ class os extends p {
5522
5511
  `/internal/price/products/${r}/analyze`,
5523
5512
  {
5524
5513
  ...tr(e),
5525
- filters: ke(s)
5514
+ filters: Le(s)
5526
5515
  },
5527
- (i) => i.data.map((o) => new xe(o))
5516
+ (i) => i.data.map((o) => new ke(o))
5528
5517
  );
5529
5518
  }
5530
5519
  /**
@@ -5541,9 +5530,9 @@ class os extends p {
5541
5530
  `/internal/price/categories/${r}/analyze`,
5542
5531
  {
5543
5532
  ...tr(e),
5544
- filters: ke(s)
5533
+ filters: Le(s)
5545
5534
  },
5546
- (i) => i.data.map((o) => new xe(o))
5535
+ (i) => i.data.map((o) => new ke(o))
5547
5536
  );
5548
5537
  }
5549
5538
  /**
@@ -5562,9 +5551,9 @@ class os extends p {
5562
5551
  `/internal/price/categories/${r}/analyze/square`,
5563
5552
  {
5564
5553
  ...e,
5565
- filters: ke(s)
5554
+ filters: Le(s)
5566
5555
  },
5567
- (i) => i.data.map((o) => new xe(o))
5556
+ (i) => i.data.map((o) => new ke(o))
5568
5557
  );
5569
5558
  }
5570
5559
  }
@@ -5615,10 +5604,10 @@ class At {
5615
5604
  * @inheritDoc
5616
5605
  */
5617
5606
  t(this, "currency");
5618
- this.cost = r.cost ?? 0, this.isLowCost = r.isLowCost ?? !1, this.isRetail = r.isRetail ?? !1, this.costDate = C(r.costDate) ? v(r.costDate) : r.costDate ?? /* @__PURE__ */ new Date(), this.discountName = r.discountName, this.priceTemplateName = r.priceTemplateName, this.product = r.product ? new oe(r.product) : void 0, this.client = r.client ? new q(r.client) : void 0, this.executor = r.executor ? new q(r.executor) : void 0, this.currency = r.currency ? new we(r.currency) : void 0;
5607
+ this.cost = r.cost ?? 0, this.isLowCost = r.isLowCost ?? !1, this.isRetail = r.isRetail ?? !1, this.costDate = C(r.costDate) ? v(r.costDate) : r.costDate ?? /* @__PURE__ */ new Date(), this.discountName = r.discountName, this.priceTemplateName = r.priceTemplateName, this.product = r.product ? new oe(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 we(r.currency) : void 0;
5619
5608
  }
5620
5609
  }
5621
- class Tt extends oe {
5610
+ class $t extends oe {
5622
5611
  /**
5623
5612
  * Инициализирует экземпляр класса {@link ProductPriceHistory}.
5624
5613
  *
@@ -5643,17 +5632,17 @@ class cs extends p {
5643
5632
  */
5644
5633
  getProductPriceHistory(r) {
5645
5634
  var o, c, u, h, f;
5646
- const e = $.getConfig().dateFormats.api, s = cr(
5635
+ const e = T.getConfig().dateFormats.api, s = cr(
5647
5636
  fe(r, {
5648
5637
  costDate: {
5649
- from: Le((o = r.costDate) == null ? void 0 : o.from) ? L(r.costDate.from, e) : (c = r.costDate) == null ? void 0 : c.from,
5650
- to: Le((u = r.costDate) == null ? void 0 : u.to) ? L(r.costDate.to, e) : (h = r.costDate) == null ? void 0 : h.to
5638
+ from: xe((o = r.costDate) == null ? void 0 : o.from) ? x(r.costDate.from, e) : (c = r.costDate) == null ? void 0 : c.from,
5639
+ to: xe((u = r.costDate) == null ? void 0 : u.to) ? x(r.costDate.to, e) : (h = r.costDate) == null ? void 0 : h.to
5651
5640
  }
5652
5641
  }),
5653
5642
  (g) => A(g) || (V(g) || lr(g)) && K(g)
5654
5643
  ), i = ((f = r.product) == null ? void 0 : f[0]) ?? 0;
5655
5644
  return delete s.product, this.get(`/internal/price/products/${i}/history`, s).then((g) => [
5656
- new Tt(fe(g[0], { history: g }))
5645
+ new $t(fe(g[0], { history: g }))
5657
5646
  ]);
5658
5647
  }
5659
5648
  }
@@ -5721,7 +5710,7 @@ class ls extends p {
5721
5710
  });
5722
5711
  }
5723
5712
  }
5724
- class T extends ue {
5713
+ class $ extends ue {
5725
5714
  /**
5726
5715
  * Возвращает {@link Promise} для получения данных указанного справочника.
5727
5716
  *
@@ -5798,7 +5787,7 @@ class T extends ue {
5798
5787
  * Возвращает {@link Promise} для получения справочника данных направлений продаж.
5799
5788
  */
5800
5789
  getSalesDirections() {
5801
- return this.getTypedDataArrayRequester(_, "/public/references/sales-direction", !0);
5790
+ return this.getTypedDataArrayRequester(O, "/public/references/sales-direction", !0);
5802
5791
  }
5803
5792
  /**
5804
5793
  * Возвращает {@link Promise} для получения справочника данных об источнике первичного интереса.
@@ -5812,7 +5801,7 @@ class T extends ue {
5812
5801
  * @param term Терм поиска.
5813
5802
  */
5814
5803
  searchCity(r) {
5815
- return this.getTypedDataArrayRequester(Ee, `/internal/references/city-with-region-and-country/search?term=${r}`);
5804
+ return this.getTypedDataArrayRequester(ze, `/internal/references/city-with-region-and-country/search?term=${r}`);
5816
5805
  }
5817
5806
  /**
5818
5807
  * Выполняет поиск данных о регионах по терму в названии.
@@ -5862,7 +5851,7 @@ class T extends ue {
5862
5851
  }
5863
5852
  }
5864
5853
  const D = ee("__references_private", () => {
5865
- const n = y({}), r = y(void 0), e = y(void 0), s = y(void 0), i = y(void 0), o = y(void 0), c = y(void 0), u = y(void 0), h = y(void 0), f = y(void 0), g = y(void 0), a = y(void 0), re = y(void 0), te = y(void 0), M = y(void 0), j = y(void 0), $e = y(void 0), l = y(void 0);
5854
+ const n = y({}), r = y(void 0), e = y(void 0), s = y(void 0), i = y(void 0), o = y(void 0), c = y(void 0), u = y(void 0), h = y(void 0), f = y(void 0), g = y(void 0), a = y(void 0), re = y(void 0), te = y(void 0), G = y(void 0), F = y(void 0), Te = y(void 0), l = y(void 0);
5866
5855
  return {
5867
5856
  /**
5868
5857
  * Список загружаемых/загруженных на данный момент значений.
@@ -5923,15 +5912,15 @@ const D = ee("__references_private", () => {
5923
5912
  /**
5924
5913
  * Справочник источников первичного интереса.
5925
5914
  */
5926
- sourcePrimaryInterestReference: M,
5915
+ sourcePrimaryInterestReference: G,
5927
5916
  /**
5928
5917
  * Справочник складов.
5929
5918
  */
5930
- warehousesReference: j,
5919
+ warehousesReference: F,
5931
5920
  /**
5932
5921
  * Справочник типов свойств.
5933
5922
  */
5934
- propertyTypesReference: $e,
5923
+ propertyTypesReference: Te,
5935
5924
  /**
5936
5925
  * Справочник коэффициентов цен.
5937
5926
  */
@@ -5940,67 +5929,67 @@ const D = ee("__references_private", () => {
5940
5929
  }), us = ee("references", () => {
5941
5930
  const n = R(() => {
5942
5931
  const l = D();
5943
- return !l.channelPrimaryInterestReference && !l.dataLoaderList.channelPrimaryInterestReference && (l.dataLoaderList.channelPrimaryInterestReference = !0, p.getInstance(T).getChannelPrimaryInterest().then((m) => {
5932
+ return !l.channelPrimaryInterestReference && !l.dataLoaderList.channelPrimaryInterestReference && (l.dataLoaderList.channelPrimaryInterestReference = !0, p.getInstance($).getChannelPrimaryInterest().then((m) => {
5944
5933
  l.channelPrimaryInterestReference = m;
5945
5934
  }).catch(w)), l.channelPrimaryInterestReference;
5946
5935
  }), r = R(() => {
5947
5936
  const l = D();
5948
- return !l.contactPositionsReference && !l.dataLoaderList.contactPositionsReference && (l.dataLoaderList.contactPositionsReference = !0, p.getInstance(T).getContactPositions().then((m) => {
5937
+ return !l.contactPositionsReference && !l.dataLoaderList.contactPositionsReference && (l.dataLoaderList.contactPositionsReference = !0, p.getInstance($).getContactPositions().then((m) => {
5949
5938
  l.contactPositionsReference = m;
5950
5939
  }).catch(w)), l.contactPositionsReference;
5951
5940
  }), e = R(() => {
5952
5941
  const l = D();
5953
- return !l.currencyReference && !l.dataLoaderList.currencyReference && (l.dataLoaderList.currencyReference = !0, p.getInstance(T).getCurrency().then((m) => {
5942
+ return !l.currencyReference && !l.dataLoaderList.currencyReference && (l.dataLoaderList.currencyReference = !0, p.getInstance($).getCurrency().then((m) => {
5954
5943
  l.currencyReference = m;
5955
5944
  }).catch(w)), l.currencyReference;
5956
5945
  }), s = R(() => {
5957
5946
  const l = D();
5958
- return !l.opfReference && !l.dataLoaderList.opfReference && (l.dataLoaderList.opfReference = !0, p.getInstance(T).getOpf().then((m) => {
5947
+ return !l.opfReference && !l.dataLoaderList.opfReference && (l.dataLoaderList.opfReference = !0, p.getInstance($).getOpf().then((m) => {
5959
5948
  l.opfReference = m;
5960
5949
  }).catch(w)), l.opfReference;
5961
5950
  }), i = R(() => {
5962
5951
  const l = D();
5963
- return !l.orderPaymentStatusReference && !l.dataLoaderList.orderPaymentStatusReference && (l.dataLoaderList.orderPaymentStatusReference = !0, p.getInstance(T).getOrderPaymentStatuses().then((m) => {
5952
+ return !l.orderPaymentStatusReference && !l.dataLoaderList.orderPaymentStatusReference && (l.dataLoaderList.orderPaymentStatusReference = !0, p.getInstance($).getOrderPaymentStatuses().then((m) => {
5964
5953
  l.orderPaymentStatusReference = m;
5965
5954
  }).catch(w)), l.orderPaymentStatusReference;
5966
5955
  }), o = R(() => {
5967
5956
  const l = D();
5968
- return !l.orderStatusReference && !l.dataLoaderList.orderStatusReference && (l.dataLoaderList.orderStatusReference = !0, p.getInstance(T).getOrderStatuses().then((m) => {
5957
+ return !l.orderStatusReference && !l.dataLoaderList.orderStatusReference && (l.dataLoaderList.orderStatusReference = !0, p.getInstance($).getOrderStatuses().then((m) => {
5969
5958
  l.orderStatusReference = m;
5970
5959
  }).catch(w)), l.orderStatusReference;
5971
5960
  }), c = R(() => {
5972
5961
  const l = D();
5973
- return !l.paymentTypeReference && !l.dataLoaderList.paymentTypeReference && (l.dataLoaderList.paymentTypeReference = !0, p.getInstance(T).getPaymentTypes().then((m) => {
5962
+ return !l.paymentTypeReference && !l.dataLoaderList.paymentTypeReference && (l.dataLoaderList.paymentTypeReference = !0, p.getInstance($).getPaymentTypes().then((m) => {
5974
5963
  l.paymentTypeReference = m;
5975
5964
  }).catch(w)), l.paymentTypeReference;
5976
5965
  }), u = R(() => {
5977
5966
  const l = D();
5978
- return !l.partnerGroupReference && !l.dataLoaderList.partnerGroupReference && (l.dataLoaderList.partnerGroupReference = !0, p.getInstance(T).getPartnerGroup().then((m) => {
5967
+ return !l.partnerGroupReference && !l.dataLoaderList.partnerGroupReference && (l.dataLoaderList.partnerGroupReference = !0, p.getInstance($).getPartnerGroup().then((m) => {
5979
5968
  l.partnerGroupReference = m;
5980
5969
  }).catch(w)), l.partnerGroupReference;
5981
5970
  }), h = R(() => {
5982
5971
  const l = D();
5983
- return !l.productFileTypeReference && !l.dataLoaderList.productFileTypeReference && (l.dataLoaderList.productFileTypeReference = !0, p.getInstance(T).getProductFileType().then((m) => {
5972
+ return !l.productFileTypeReference && !l.dataLoaderList.productFileTypeReference && (l.dataLoaderList.productFileTypeReference = !0, p.getInstance($).getProductFileType().then((m) => {
5984
5973
  l.productFileTypeReference = m;
5985
5974
  }).catch(w)), l.productFileTypeReference;
5986
5975
  }), f = R(() => {
5987
5976
  const l = D();
5988
- return !l.resourceTypesReference && !l.dataLoaderList.resourceTypesReference && (l.dataLoaderList.resourceTypesReference = !0, p.getInstance(T).getResourceTypes().then((m) => {
5977
+ return !l.resourceTypesReference && !l.dataLoaderList.resourceTypesReference && (l.dataLoaderList.resourceTypesReference = !0, p.getInstance($).getResourceTypes().then((m) => {
5989
5978
  l.resourceTypesReference = m;
5990
5979
  }).catch(w)), l.resourceTypesReference;
5991
5980
  }), g = R(() => {
5992
5981
  const l = D();
5993
- return !l.salesDirectionsReference && !l.dataLoaderList.salesDirectionsReference && (l.dataLoaderList.salesDirectionsReference = !0, p.getInstance(T).getSalesDirections().then((m) => {
5982
+ return !l.salesDirectionsReference && !l.dataLoaderList.salesDirectionsReference && (l.dataLoaderList.salesDirectionsReference = !0, p.getInstance($).getSalesDirections().then((m) => {
5994
5983
  l.salesDirectionsReference = m;
5995
5984
  }).catch(w)), l.salesDirectionsReference;
5996
5985
  }), a = R(() => {
5997
5986
  const l = D();
5998
- return !l.sourcePrimaryInterestReference && !l.dataLoaderList.sourcePrimaryInterestReference && (l.dataLoaderList.sourcePrimaryInterestReference = !0, p.getInstance(T).getSourcePrimaryInterest().then((m) => {
5987
+ return !l.sourcePrimaryInterestReference && !l.dataLoaderList.sourcePrimaryInterestReference && (l.dataLoaderList.sourcePrimaryInterestReference = !0, p.getInstance($).getSourcePrimaryInterest().then((m) => {
5999
5988
  l.sourcePrimaryInterestReference = m;
6000
5989
  }).catch(w)), l.sourcePrimaryInterestReference;
6001
5990
  }), re = R(() => {
6002
5991
  const l = D();
6003
- return !l.deliveryTypeReference && !l.dataLoaderList.deliveryTypeReference && (l.dataLoaderList.deliveryTypeReference = !0, p.getInstance(T).getDeliveryTypes().then((m) => {
5992
+ return !l.deliveryTypeReference && !l.dataLoaderList.deliveryTypeReference && (l.dataLoaderList.deliveryTypeReference = !0, p.getInstance($).getDeliveryTypes().then((m) => {
6004
5993
  l.deliveryTypeReference = m;
6005
5994
  }).catch(w)), l.deliveryTypeReference;
6006
5995
  }), te = R(() => {
@@ -6008,19 +5997,19 @@ const D = ee("__references_private", () => {
6008
5997
  return !l.managersList && !l.dataLoaderList.managersList && (l.dataLoaderList.managersList = !0, p.getInstance(Rt).getManagers().then((m) => {
6009
5998
  l.managersList = m;
6010
5999
  }).catch(w)), l.managersList;
6011
- }), M = R(() => {
6000
+ }), G = R(() => {
6012
6001
  const l = D();
6013
- return !l.warehousesReference && !l.dataLoaderList.warehousesReference && (l.dataLoaderList.warehousesReference = !0, p.getInstance(T).getWarehouses().then((m) => {
6002
+ return !l.warehousesReference && !l.dataLoaderList.warehousesReference && (l.dataLoaderList.warehousesReference = !0, p.getInstance($).getWarehouses().then((m) => {
6014
6003
  l.warehousesReference = m;
6015
6004
  }).catch(w)), l.warehousesReference;
6016
- }), j = R(() => {
6005
+ }), F = R(() => {
6017
6006
  const l = D();
6018
- return !l.propertyTypesReference && !l.dataLoaderList.propertyTypesReference && (l.dataLoaderList.propertyTypesReference = !0, p.getInstance(T).getPropertyTypes().then((m) => {
6007
+ return !l.propertyTypesReference && !l.dataLoaderList.propertyTypesReference && (l.dataLoaderList.propertyTypesReference = !0, p.getInstance($).getPropertyTypes().then((m) => {
6019
6008
  l.propertyTypesReference = m;
6020
6009
  }).catch(w)), l.propertyTypesReference;
6021
- }), $e = R(() => {
6010
+ }), Te = R(() => {
6022
6011
  const l = D();
6023
- return !l.priceCoefficientsReference && !l.dataLoaderList.priceCoefficientsReference && (l.dataLoaderList.priceCoefficientsReference = !0, p.getInstance(T).getPriceCoefficients().then((m) => {
6012
+ return !l.priceCoefficientsReference && !l.dataLoaderList.priceCoefficientsReference && (l.dataLoaderList.priceCoefficientsReference = !0, p.getInstance($).getPriceCoefficients().then((m) => {
6024
6013
  l.priceCoefficientsReference = m;
6025
6014
  }).catch(w)), l.priceCoefficientsReference;
6026
6015
  });
@@ -6084,18 +6073,18 @@ const D = ee("__references_private", () => {
6084
6073
  /**
6085
6074
  * Справочник складов.
6086
6075
  */
6087
- warehousesReference: M,
6076
+ warehousesReference: G,
6088
6077
  /**
6089
6078
  * Справочник типов свойств.
6090
6079
  */
6091
- propertyTypesReference: j,
6080
+ propertyTypesReference: F,
6092
6081
  /**
6093
6082
  * Справочник коэффициентов цен.
6094
6083
  */
6095
- priceCoefficientsReference: $e
6084
+ priceCoefficientsReference: Te
6096
6085
  };
6097
6086
  });
6098
- class $t {
6087
+ class Tt {
6099
6088
  /**
6100
6089
  * Инициализирует экземпляр класса {@link MetaTagItem}.
6101
6090
  *
@@ -6149,7 +6138,7 @@ class ir {
6149
6138
  */
6150
6139
  t(this, "meta");
6151
6140
  var e;
6152
- this.resourceType = new vr(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 $t(s))) ?? [];
6141
+ this.resourceType = new vr(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 Tt(s))) ?? [];
6153
6142
  }
6154
6143
  }
6155
6144
  class ps extends p {
@@ -6259,7 +6248,7 @@ class gs extends p {
6259
6248
  * Инициализирует экземпляр класса {@link UserAuthDataProvider}.
6260
6249
  */
6261
6250
  constructor() {
6262
- super(), this.baseUrl = `${$.getConfig().http.portalApiUrl}/api`, this.interceptorIds.request.authRequestInterceptor && this.httpClient.interceptors.request.eject(this.interceptorIds.request.authRequestInterceptor);
6251
+ super(), this.baseUrl = `${T.getConfig().http.portalApiUrl}/api`, this.interceptorIds.request.authRequestInterceptor && this.httpClient.interceptors.request.eject(this.interceptorIds.request.authRequestInterceptor);
6263
6252
  }
6264
6253
  /**
6265
6254
  * Функция для получения обновленных токенов доступа.
@@ -6329,30 +6318,30 @@ class fs {
6329
6318
  }
6330
6319
  export {
6331
6320
  ut as AnyReference,
6332
- jt as AppBaseConfig,
6333
- $ as AppConfigProvider,
6321
+ Ft as AppBaseConfig,
6322
+ T as AppConfigProvider,
6334
6323
  Oe as BankAccount,
6335
- Te as BasePaginationProvider,
6324
+ $e as BasePaginationProvider,
6336
6325
  Yr as CalculationTypeEnum,
6337
6326
  ge as Cart,
6338
6327
  Qr as CartItem,
6339
6328
  Kr as CartItemBase,
6340
- Ft as CartProvider,
6341
- Gt as CatalogProvider,
6329
+ jt as CartProvider,
6330
+ Mt as CatalogProvider,
6342
6331
  ur as CatalogableItem,
6343
6332
  H as Category,
6344
6333
  Ke as CategoryPricingRule,
6345
6334
  Cr as ChannelPrimaryInterest,
6346
6335
  Yt as City,
6347
- Ee as CityWithRegionAndCountry,
6336
+ ze as CityWithRegionAndCountry,
6348
6337
  Ze as Client,
6349
6338
  vt as ClientAdditionalData,
6350
6339
  ye as ClientCategory,
6351
- x as ClientDataProvider,
6340
+ k as ClientDataProvider,
6352
6341
  Bt as ClientPriceProvider,
6353
6342
  Ht as ClientPriceTemplateProvider,
6354
6343
  Y as ClientProduct,
6355
- Wt as ClientProductCategoryDataProvider,
6344
+ Et as ClientProductCategoryDataProvider,
6356
6345
  Jt as ClientProductDataProvider,
6357
6346
  he as ClientShortInfo,
6358
6347
  lt as ClientsAdditionalDataRequestTypeEnum,
@@ -6371,7 +6360,7 @@ export {
6371
6360
  yt as ContragentPerson,
6372
6361
  wt as ContragentUlNr,
6373
6362
  Ar as ContragentUlR,
6374
- je as CostSourceEnum,
6363
+ Fe as CostSourceEnum,
6375
6364
  X as Country,
6376
6365
  Be as CuratedDirection,
6377
6366
  He as Curator,
@@ -6390,40 +6379,40 @@ export {
6390
6379
  fs as FieldValidationResultData,
6391
6380
  le as FilterGroup,
6392
6381
  Qe as FilterItem,
6393
- ze as FilterOpEnum,
6382
+ We as FilterOpEnum,
6394
6383
  hr as GeoCoordinates,
6395
6384
  Jr as HiddenCatalogableItem,
6396
6385
  ue as HttpCachedRequester,
6397
6386
  it as HttpParamsConfig,
6398
6387
  p as HttpRequester,
6399
- F as Identity,
6388
+ j as Identity,
6400
6389
  Vr as Image,
6401
- O as JwtPayload,
6390
+ q as JwtPayload,
6402
6391
  Ae as Manager,
6403
- Ge as ManagerCommon,
6392
+ Me as ManagerCommon,
6404
6393
  is as ManagerDataFactory,
6405
6394
  Rt as ManagerDataProvider,
6406
- $t as MetaTagItem,
6395
+ Tt as MetaTagItem,
6407
6396
  b as NamedIdentity,
6408
6397
  N as Opf,
6409
6398
  d as OpfEnum,
6410
6399
  rr as Order,
6411
- $r as OrderInfo,
6400
+ Tr as OrderInfo,
6412
6401
  ht as OrderPaymentStatus,
6413
6402
  Dt as OrderProduct,
6414
- Tr as OrderShortInfo,
6403
+ $r as OrderShortInfo,
6415
6404
  gt as OrderStatus,
6416
6405
  ns as OrdersDataProvider,
6417
6406
  Z as PartnerGroup,
6418
6407
  mt as PaymentType,
6419
6408
  me as PreferencesStorageProvider,
6420
- xe as PriceAnalyze,
6409
+ ke as PriceAnalyze,
6421
6410
  os as PriceAnalyzeProvider,
6422
6411
  Re as PriceCoefficient,
6423
6412
  pr as PriceCoefficientEnum,
6424
6413
  cs as PriceHistoryDataProvider,
6425
6414
  At as PriceHistoryItem,
6426
- E as PriceTemplate,
6415
+ z as PriceTemplate,
6427
6416
  ae as PriceTemplateCategory,
6428
6417
  se as PriceTemplateClient,
6429
6418
  fr as PriceTemplateICatalogableItem,
@@ -6433,11 +6422,11 @@ export {
6433
6422
  Kt as PricingRoleProvider,
6434
6423
  _e as PrimaryCatalogableItem,
6435
6424
  I as Product,
6436
- Et as ProductCategoryDataProvider,
6437
- zt as ProductDataProvider,
6425
+ zt as ProductCategoryDataProvider,
6426
+ Wt as ProductDataProvider,
6438
6427
  ft as ProductFileType,
6439
- Fe as ProductPriceCoefficient,
6440
- Tt as ProductPriceHistory,
6428
+ je as ProductPriceCoefficient,
6429
+ $t as ProductPriceHistory,
6441
6430
  Qt as PropertiesProvider,
6442
6431
  ie as Property,
6443
6432
  wr as PropertyType,
@@ -6446,17 +6435,17 @@ export {
6446
6435
  ls as RecommendationsDataProvider,
6447
6436
  sr as RecommendationsList,
6448
6437
  P as Reference,
6449
- T as ReferenceDataProvider,
6438
+ $ as ReferenceDataProvider,
6450
6439
  ce as Region,
6451
6440
  vr as ResourceType,
6452
- _ as SalesDirection,
6441
+ O as SalesDirection,
6453
6442
  nt as SentryConfig,
6454
6443
  ir as Seo,
6455
6444
  ps as SeoDataProvider,
6456
6445
  Pr as SourcePrimaryInterest,
6457
- Wr as StockCount,
6458
- Mt as TemplatesListFilters,
6459
- Me as TypedInstanceFactory,
6446
+ Er as StockCount,
6447
+ Gt as TemplatesListFilters,
6448
+ Ge as TypedInstanceFactory,
6460
6449
  er as UnitsHelper,
6461
6450
  rs as UnknownClientDataProvider,
6462
6451
  gr as UpdatableNamedIdentity,
@@ -6465,7 +6454,7 @@ export {
6465
6454
  yr as UserCommonInfo,
6466
6455
  St as UserDataProvider,
6467
6456
  rt as UserPricingRole,
6468
- q as UserShortInfo,
6457
+ _ as UserShortInfo,
6469
6458
  bt as UserTypeEnum,
6470
6459
  ot as VersionConfig,
6471
6460
  De as Warehouse,