@snabcentr/common-lib 2.18.0 → 2.19.0

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.
@@ -1,13 +1,13 @@
1
- var ft = Object.defineProperty;
2
- var mt = (n, r, e) => r in n ? ft(n, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[r] = e;
3
- var s = (n, r, e) => mt(n, typeof r != "symbol" ? r + "" : r, e);
4
- import { jwtDecode as Fr } from "jwt-decode";
5
- import { merge as Le, isNil as S, isEmpty as ge, noop as w, mapValues as Mr, isArray as W, every as yt, split as at, isString as R, constant as vt, toUpper as wt, cloneDeep as Ct, map as ve, isObject as gr, isError as Pr, toLower as Dt, isFunction as fr, forEach as Rt, isDate as nr, isPlainObject as Pt, omitBy as Br } from "lodash-es";
1
+ var mt = Object.defineProperty;
2
+ var yt = (n, r, e) => r in n ? mt(n, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[r] = e;
3
+ var s = (n, r, e) => yt(n, typeof r != "symbol" ? r + "" : r, e);
4
+ import { jwtDecode as Hr } from "jwt-decode";
5
+ import { merge as Le, isNil as S, isEmpty as ge, noop as w, mapValues as Mr, isArray as W, every as at, split as vt, isString as R, constant as wt, toUpper as Ct, cloneDeep as Dt, map as ve, isObject as gr, isError as Pr, toLower as Rt, isFunction as fr, forEach as Pt, isDate as nr, isPlainObject as Tt, omitBy as Br } from "lodash-es";
6
6
  import { objectToCamel as mr, objectToSnake as Tr } from "ts-case-convert";
7
7
  import { defineStore as Z } from "pinia";
8
- import { ref as v, markRaw as Tt, computed as T } from "vue";
9
- import { isAfter as dr, parseISO as P, startOfToday as or, format as x, endOfMonth as O, addMonths as $, differenceInCalendarMonths as dt, startOfMonth as N, getDate as br, getDaysInMonth as bt, endOfDay as B, startOfDay as le, setDate as At, startOfWeek as E, addWeeks as cr, differenceInCalendarDays as Ye, addDays as Q, addBusinessDays as St, startOfYear as ie, endOfYear as Te, endOfWeek as de, endOfTomorrow as $t, startOfTomorrow as kt, endOfYesterday as Lt, startOfYesterday as Ot, endOfToday as It, startOfQuarter as be, endOfQuarter as qe, subDays as ze, addYears as Ee, addQuarters as Qe, subYears as Je, subQuarters as Ve, subMonths as Ke, subWeeks as Ar, addSeconds as xt } from "date-fns";
10
- import _t, { CanceledError as qt } from "axios";
8
+ import { ref as v, markRaw as bt, computed as T } from "vue";
9
+ import { isAfter as br, parseISO as P, startOfToday as or, format as x, endOfMonth as O, addMonths as $, differenceInCalendarMonths as dt, startOfMonth as N, getDate as dr, getDaysInMonth as At, endOfDay as B, startOfDay as le, setDate as St, startOfWeek as E, addWeeks as cr, differenceInCalendarDays as Ye, addDays as Q, addBusinessDays as $t, startOfYear as ie, endOfYear as Te, endOfWeek as be, endOfTomorrow as kt, startOfTomorrow as Lt, endOfYesterday as Ot, startOfYesterday as It, endOfToday as xt, startOfQuarter as de, endOfQuarter as qe, subDays as ze, addYears as Ee, addQuarters as Qe, subYears as Je, subQuarters as Ve, subMonths as Ke, subWeeks as Ar, addSeconds as _t } from "date-fns";
10
+ import qt, { CanceledError as Nt } from "axios";
11
11
  class we {
12
12
  /**
13
13
  * Инициализирует экземпляр класса {@link JwtPayload}.
@@ -107,7 +107,7 @@ class we {
107
107
  * @param jwtToken JWT-ключ доступа.
108
108
  */
109
109
  static getJwtPayload(r) {
110
- const e = Fr(r), t = new we(mr(e));
110
+ const e = Hr(r), t = new we(mr(e));
111
111
  return t.resourceAccess = e.resource_access, t;
112
112
  }
113
113
  }
@@ -151,11 +151,11 @@ class Wr extends we {
151
151
  * @param jwtToken JWT-ключ доступа.
152
152
  */
153
153
  static getJwtPayload(e) {
154
- const t = Fr(e), i = new Wr(mr(t));
154
+ const t = Hr(e), i = new Wr(mr(t));
155
155
  return i.resourceAccess = t.resource_access, i;
156
156
  }
157
157
  }
158
- class Nt {
158
+ class Ut {
159
159
  /**
160
160
  * Инициализирует экземпляр класса {@link DeviceTypeResolutionConfig}.
161
161
  *
@@ -177,7 +177,7 @@ class Nt {
177
177
  this.phone = (r == null ? void 0 : r.phone) ?? 360, this.tablet = (r == null ? void 0 : r.tablet) ?? 600, this.laptop = (r == null ? void 0 : r.laptop) ?? 1024;
178
178
  }
179
179
  }
180
- class Ut {
180
+ class Ft {
181
181
  /**
182
182
  * Инициализирует экземпляр класса {@link HttpParamsConfig}.
183
183
  *
@@ -244,7 +244,7 @@ class Ht {
244
244
  }, this.additionalParams = (r == null ? void 0 : r.additionalParams) ?? {};
245
245
  }
246
246
  }
247
- class Ft {
247
+ class Mt {
248
248
  /**
249
249
  * Инициализирует экземпляр класса {@link WebSocketConfig}.
250
250
  *
@@ -283,7 +283,7 @@ class Ft {
283
283
  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"];
284
284
  }
285
285
  }
286
- class Mt {
286
+ class Bt {
287
287
  /**
288
288
  * Инициализирует экземпляр класса {@link AppBaseConfig}.
289
289
  *
@@ -327,10 +327,10 @@ class Mt {
327
327
  */
328
328
  s(this, "dateFormats");
329
329
  var e, t, i;
330
- this.environment = (r == null ? void 0 : r.environment) ?? "production", this.devMode = (r == null ? void 0 : r.devMode) ?? {}, this.http = new Ut(r == null ? void 0 : r.http), this.deviceTypeByResolution = new Nt(r == null ? void 0 : r.deviceTypeByResolution), this.sentry = new Ht({
330
+ this.environment = (r == null ? void 0 : r.environment) ?? "production", this.devMode = (r == null ? void 0 : r.devMode) ?? {}, this.http = new Ft(r == null ? void 0 : r.http), this.deviceTypeByResolution = new Ut(r == null ? void 0 : r.deviceTypeByResolution), this.sentry = new Ht({
331
331
  environment: this.environment,
332
332
  ...r == null ? void 0 : r.sentry
333
- }), this.tableDefaultHeightCoefficient = (r == null ? void 0 : r.tableDefaultHeightCoefficient) ?? 0.7, this.urls = r == null ? void 0 : r.urls, this.websocket = r != null && r.websocket ? new Ft(r.websocket) : void 0, this.dateFormats = {
333
+ }), this.tableDefaultHeightCoefficient = (r == null ? void 0 : r.tableDefaultHeightCoefficient) ?? 0.7, this.urls = r == null ? void 0 : r.urls, this.websocket = r != null && r.websocket ? new Mt(r.websocket) : void 0, this.dateFormats = {
334
334
  api: ((e = r == null ? void 0 : r.dateFormats) == null ? void 0 : e.api) ?? "yyyy-MM-dd HH:mm:ss",
335
335
  uiDate: ((t = r == null ? void 0 : r.dateFormats) == null ? void 0 : t.uiDate) ?? "dd.MM.yyyy",
336
336
  uiDateWithTime: ((i = r == null ? void 0 : r.dateFormats) == null ? void 0 : i.uiDateWithTime) ?? "dd.MM.yyyy HH:mm"
@@ -338,7 +338,7 @@ class Mt {
338
338
  }
339
339
  }
340
340
  const I = Z("common.config", () => {
341
- const n = v(new Mt());
341
+ const n = v(new Bt());
342
342
  return {
343
343
  /**
344
344
  * Конфигурационные данные приложения.
@@ -379,7 +379,7 @@ class Ne {
379
379
  if (e)
380
380
  try {
381
381
  const t = JSON.parse(e);
382
- if (!t.availableFor || dr(P(t.availableFor) || or(), /* @__PURE__ */ new Date())) {
382
+ if (!t.availableFor || br(P(t.availableFor) || or(), /* @__PURE__ */ new Date())) {
383
383
  if (S(t.data) || ge(t.data))
384
384
  throw new Error("Data is empty");
385
385
  return t.data;
@@ -454,7 +454,7 @@ class Ne {
454
454
  const i = localStorage.getItem(t);
455
455
  if (i) {
456
456
  const o = JSON.parse(i);
457
- o.availableFor && !dr(P(o.availableFor) || or(), /* @__PURE__ */ new Date()) && r.push(t);
457
+ o.availableFor && !br(P(o.availableFor) || or(), /* @__PURE__ */ new Date()) && r.push(t);
458
458
  }
459
459
  } catch {
460
460
  r.push(t);
@@ -491,7 +491,7 @@ const ne = Z("common.auth_state_private", () => {
491
491
  const c = (u = I().config.devMode) == null ? void 0 : u.initAuthBearerToken;
492
492
  return c ? Promise.resolve(c) : void 0;
493
493
  })()
494
- ), r = v(void 0), e = v(void 0), t = Tt(/* @__PURE__ */ new Map());
494
+ ), r = v(void 0), e = v(void 0), t = bt(/* @__PURE__ */ new Map());
495
495
  function i() {
496
496
  e.value = void 0, S(n.value) || n.value.then((o) => {
497
497
  const c = we.getJwtPayload(o);
@@ -554,13 +554,13 @@ const ne = Z("common.auth_state_private", () => {
554
554
  const p = T(() => {
555
555
  const g = (y) => {
556
556
  var se;
557
- const C = at(y, ".");
557
+ const C = vt(y, ".");
558
558
  if (C.length < 2)
559
559
  return !1;
560
560
  const [Re, Pe] = C, te = (se = ne().userPermissions) == null ? void 0 : se[Re];
561
561
  return W(te) && te.includes(Pe);
562
562
  };
563
- return W(o) ? yt(o, (y) => g(y)) : g(o);
563
+ return W(o) ? at(o, (y) => g(y)) : g(o);
564
564
  });
565
565
  return c.userPermissionsComputedRefs.set(u, p), p;
566
566
  }
@@ -652,7 +652,7 @@ class q extends k {
652
652
  this.type = e == null ? void 0 : e.type, this.isActive = (e == null ? void 0 : e.isActive) ?? !0;
653
653
  }
654
654
  }
655
- class Bt extends k {
655
+ class Wt extends k {
656
656
  /**
657
657
  * Инициализирует экземпляр класса {@link DiscountShortInfo}.
658
658
  *
@@ -749,12 +749,12 @@ class a extends k {
749
749
  this.description = e == null ? void 0 : e.description, this.slug = e == null ? void 0 : e.slug;
750
750
  }
751
751
  }
752
- class Fe extends a {
752
+ class He extends a {
753
753
  /**
754
754
  * Возвращает значение справочника коэффициента розничной цены.
755
755
  */
756
756
  static getRetailPriceCoefficient() {
757
- return { id: -2, slug: Gr.Retail, name: "Розн. цена", guid: "", isNewRec: vt(!0) };
757
+ return { id: -2, slug: Gr.Retail, name: "Розн. цена", guid: "", isNewRec: wt(!0) };
758
758
  }
759
759
  }
760
760
  class yr {
@@ -784,7 +784,7 @@ class yr {
784
784
  * Признак того, что указанный коэффициент доступен текущему пользователю только для просмотра.
785
785
  */
786
786
  s(this, "readOnly");
787
- this.coefficient = new Fe(r == null ? void 0 : r.coefficient), this.value = (r == null ? void 0 : r.value) ?? 0, this.cost = (r == null ? void 0 : r.cost) ?? 0, this.percent = (r == null ? void 0 : r.percent) ?? 0, this.readOnly = (r == null ? void 0 : r.readOnly) ?? !0;
787
+ this.coefficient = new He(r == null ? void 0 : r.coefficient), this.value = (r == null ? void 0 : r.value) ?? 0, this.cost = (r == null ? void 0 : r.cost) ?? 0, this.percent = (r == null ? void 0 : r.percent) ?? 0, this.readOnly = (r == null ? void 0 : r.readOnly) ?? !0;
788
788
  }
789
789
  }
790
790
  class Yr {
@@ -839,7 +839,7 @@ class xe extends a {
839
839
  this.address = (e == null ? void 0 : e.address) ?? "", this.isMain = (e == null ? void 0 : e.isMain) ?? !1, this.deliveryTypes = ((t = e == null ? void 0 : e.deliveryTypes) == null ? void 0 : t.map((i) => new z(i))) ?? [], this.regions = (e == null ? void 0 : e.regions) ?? [], this.coordinates = new Yr(e == null ? void 0 : e.coordinates);
840
840
  }
841
841
  }
842
- class Wt {
842
+ class jt {
843
843
  /**
844
844
  * Инициализирует экземпляр класса {@link StockCount}.
845
845
  *
@@ -945,7 +945,7 @@ class zr extends Oe {
945
945
  this.slug = (e == null ? void 0 : e.slug) ?? "";
946
946
  }
947
947
  }
948
- class jt extends zr {
948
+ class Gt extends zr {
949
949
  /**
950
950
  * Инициализирует экземпляр класса {@link HiddenCatalogableItem}.
951
951
  *
@@ -960,7 +960,7 @@ class jt extends zr {
960
960
  this.isHidden = (e == null ? void 0 : e.isHidden) ?? !1;
961
961
  }
962
962
  }
963
- class Gt {
963
+ class Yt {
964
964
  /**
965
965
  * Инициализирует экземпляр класса {@link Image}.
966
966
  *
@@ -998,7 +998,7 @@ class lr extends zr {
998
998
  this.isPrimary = (e == null ? void 0 : e.isPrimary) ?? !1;
999
999
  }
1000
1000
  }
1001
- class U extends jt {
1001
+ class U extends Gt {
1002
1002
  /**
1003
1003
  * Инициализирует экземпляр класса {@link Product}.
1004
1004
  *
@@ -1075,9 +1075,9 @@ class U extends jt {
1075
1075
  * Список коэффициентов цен на продукт.
1076
1076
  */
1077
1077
  s(this, "priceCoefficients");
1078
- this.supplierSku = e == null ? void 0 : e.supplierSku, this.unit = e != null && e.unit ? new $r(e.unit) : new $r(), this.pack = e == null ? void 0 : e.pack, this.minCount = e == null ? void 0 : e.minCount, this.currency = e != null && e.currency ? new j(e.currency) : new j(), this.cost = (e == null ? void 0 : e.cost) ?? 0, this.costRub = (e == null ? void 0 : e.costRub) ?? 0, this.costDate = R(e == null ? void 0 : e.costDate) ? P(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((p) => new Wt(p))) ?? [], this.type = "product";
1078
+ this.supplierSku = e == null ? void 0 : e.supplierSku, this.unit = e != null && e.unit ? new $r(e.unit) : new $r(), this.pack = e == null ? void 0 : e.pack, this.minCount = e == null ? void 0 : e.minCount, this.currency = e != null && e.currency ? new j(e.currency) : new j(), this.cost = (e == null ? void 0 : e.cost) ?? 0, this.costRub = (e == null ? void 0 : e.costRub) ?? 0, this.costDate = R(e == null ? void 0 : e.costDate) ? P(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((p) => new jt(p))) ?? [], this.type = "product";
1079
1079
  const t = (e == null ? void 0 : e.category) ?? ((o = e == null ? void 0 : e.categories) == null ? void 0 : o.find((p) => p.isPrimary));
1080
- t && (this.category = new lr({ ...t, isPrimary: !0 }), this.categories = [this.category]), e != null && e.categories && (this.categories = e.categories.map((p) => new lr(p))), this.images = ((c = e == null ? void 0 : e.images) == null ? void 0 : c.map((p) => new Gt(p, I().config.http.mediaUrl))) ?? [], this.properties = (e == null ? void 0 : e.properties) ?? {}, this.retailCost = e == null ? void 0 : e.retailCost, this.retailCostRub = e == null ? void 0 : e.retailCostRub, this.priceCoefficients = ((u = e == null ? void 0 : e.priceCoefficients) == null ? void 0 : u.map((p) => new yr(p))) ?? [], e && "codeNumber" in e && !e.code && (this.code = e == null ? void 0 : e.codeNumber);
1080
+ t && (this.category = new lr({ ...t, isPrimary: !0 }), this.categories = [this.category]), e != null && e.categories && (this.categories = e.categories.map((p) => new lr(p))), this.images = ((c = e == null ? void 0 : e.images) == null ? void 0 : c.map((p) => new Yt(p, I().config.http.mediaUrl))) ?? [], this.properties = (e == null ? void 0 : e.properties) ?? {}, this.retailCost = e == null ? void 0 : e.retailCost, this.retailCostRub = e == null ? void 0 : e.retailCostRub, this.priceCoefficients = ((u = e == null ? void 0 : e.priceCoefficients) == null ? void 0 : u.map((p) => new yr(p))) ?? [], e && "codeNumber" in e && !e.code && (this.code = e == null ? void 0 : e.codeNumber);
1081
1081
  }
1082
1082
  /**
1083
1083
  * Возвращает признак, что это измеряемый товар.
@@ -1135,7 +1135,7 @@ class J extends U {
1135
1135
  * Признак того, что указанный продукт входит в список избранных продуктов клиента.
1136
1136
  */
1137
1137
  s(this, "isFavorite");
1138
- this.costCoefficient = (e == null ? void 0 : e.costCoefficient) ?? 0, this.costSource = (e == null ? void 0 : e.costSource) ?? ar.Product, this.discount = e != null && e.discount ? new Bt(e.discount) : void 0, this.priceTemplate = e != null && e.priceTemplate ? new ue(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;
1138
+ this.costCoefficient = (e == null ? void 0 : e.costCoefficient) ?? 0, this.costSource = (e == null ? void 0 : e.costSource) ?? ar.Product, this.discount = e != null && e.discount ? new Wt(e.discount) : void 0, this.priceTemplate = e != null && e.priceTemplate ? new ue(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;
1139
1139
  }
1140
1140
  }
1141
1141
  class Ce extends lr {
@@ -1162,7 +1162,7 @@ class Ce extends lr {
1162
1162
  * Список коэффициентов пересчёта из валют в рубли в формате ключ значение.
1163
1163
  */
1164
1164
  s(this, "currencyRates");
1165
- 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(([t, i]) => [wt(t), i])) : void 0;
1165
+ 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(([t, i]) => [Ct(t), i])) : void 0;
1166
1166
  }
1167
1167
  }
1168
1168
  class Er extends ee {
@@ -1241,7 +1241,7 @@ class Er extends ee {
1241
1241
  * @inheritDoc
1242
1242
  */
1243
1243
  s(this, "replacementId");
1244
- this.product = new J(e.product), this.quantity = e.quantity ?? 0, this.marker = e.marker, this.category = e.category ?? new Ce(), this.currency = e.currency ? new j(e.currency) : void 0, this.height = e.height, this.length = e.length, this.width = e.width, this.configurator = e.configurator, this.configuratorParams = e.configuratorParams && Ct(e.configuratorParams), this.isAdditionalSale = e.isAdditionalSale, this.creator = e.creator && new q(e.creator), this.isRemoved = e.isRemoved, this.ord = e.ord, this.onOrder = e.onOrder, this.originalId = e.originalId, this.replacementId = e.replacementId;
1244
+ this.product = new J(e.product), this.quantity = e.quantity ?? 0, this.marker = e.marker, this.category = e.category ?? new Ce(), this.currency = e.currency ? new j(e.currency) : void 0, this.height = e.height, this.length = e.length, this.width = e.width, this.configurator = e.configurator, this.configuratorParams = e.configuratorParams && Dt(e.configuratorParams), this.isAdditionalSale = e.isAdditionalSale, this.creator = e.creator && new q(e.creator), this.isRemoved = e.isRemoved, this.ord = e.ord, this.onOrder = e.onOrder, this.originalId = e.originalId, this.replacementId = e.replacementId;
1245
1245
  }
1246
1246
  }
1247
1247
  let Qr = class extends Er {
@@ -1399,7 +1399,7 @@ const D = class D {
1399
1399
  * @param request Данные запроса.
1400
1400
  */
1401
1401
  // eslint-disable-next-line class-methods-use-this
1402
- s(this, "dataConverterRequestInterceptor", (r) => (r.method && (r.method === "get" && r.params && (r.params = Tr(r.params)), ["put", "patch", "post"].includes(Dt(r.method)) && r.data && (r.data = Tr(r.data))), r));
1402
+ s(this, "dataConverterRequestInterceptor", (r) => (r.method && (r.method === "get" && r.params && (r.params = Tr(r.params)), ["put", "patch", "post"].includes(Rt(r.method)) && r.data && (r.data = Tr(r.data))), r));
1403
1403
  /**
1404
1404
  * Перехватчик ошибок ответов на запрос.
1405
1405
  *
@@ -1419,7 +1419,7 @@ const D = class D {
1419
1419
  s(this, "canceledResponseInterceptor", (r) => {
1420
1420
  const e = r.rawError ?? r;
1421
1421
  if (e.name === "CanceledError" || e.code === "ERR_CANCELED")
1422
- throw new qt("Request canceled");
1422
+ throw new Nt("Request canceled");
1423
1423
  return Promise.reject(r);
1424
1424
  });
1425
1425
  /**
@@ -1436,7 +1436,7 @@ const D = class D {
1436
1436
  */
1437
1437
  // eslint-disable-next-line class-methods-use-this
1438
1438
  s(this, "dataConverterResponseInterceptor", (r) => (r.data && (r.data = mr(r.data)), r));
1439
- this.errorResponseHandler = D.defaultErrorsResponseHandler, this.httpClient = _t.create({
1439
+ this.errorResponseHandler = D.defaultErrorsResponseHandler, this.httpClient = qt.create({
1440
1440
  headers: {
1441
1441
  Accept: "application/json",
1442
1442
  "Content-Type": "application/json"
@@ -1650,7 +1650,7 @@ s(D, "requestHooks", []), /**
1650
1650
  */
1651
1651
  s(D, "responseHooks", []);
1652
1652
  let h = D;
1653
- class Os extends h {
1653
+ class xs extends h {
1654
1654
  /**
1655
1655
  * Возвращает содержимое корзины указанного клиента.
1656
1656
  *
@@ -1764,7 +1764,7 @@ class Os extends h {
1764
1764
  return this.get(`internal/clients/${r.id}/cart/add-products-from-csv/example`, {}, (e) => new Blob([e.data], { type: "text/csv" }));
1765
1765
  }
1766
1766
  }
1767
- var Yt = /* @__PURE__ */ ((n) => (n.m2Cost = "m2Cost", n.percent = "percent", n.value = "value", n))(Yt || {}), zt = /* @__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))(zt || {}), Et = /* @__PURE__ */ ((n) => (n.Checkbox = "checkbox", n.Range = "range", n.Toggle = "toggle", n))(Et || {});
1767
+ var zt = /* @__PURE__ */ ((n) => (n.m2Cost = "m2Cost", n.percent = "percent", n.value = "value", n))(zt || {}), Et = /* @__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))(Et || {}), Jr = /* @__PURE__ */ ((n) => (n.Checkbox = "checkbox", n.Range = "range", n.Toggle = "toggle", n))(Jr || {});
1768
1768
  class G extends Ce {
1769
1769
  /**
1770
1770
  * Инициализирует экземпляр класса {@link Category}.
@@ -1785,7 +1785,7 @@ class G extends Ce {
1785
1785
  this.categories = (t = e == null ? void 0 : e.categories) == null ? void 0 : t.map((o) => new G(o)), this.products = (i = e == null ? void 0 : e.products) == null ? void 0 : i.map((o) => new U(o));
1786
1786
  }
1787
1787
  }
1788
- class Jr {
1788
+ class Vr {
1789
1789
  /**
1790
1790
  * Инициализирует экземпляр класса {@link ContactLinks}.
1791
1791
  *
@@ -1803,7 +1803,7 @@ class Jr {
1803
1803
  this.phone = /^\d+$/.test(r.phone ?? "") ? `+${r.phone}` : r.phone, this.email = r.email;
1804
1804
  }
1805
1805
  }
1806
- class H extends a {
1806
+ class F extends a {
1807
1807
  }
1808
1808
  class vr extends k {
1809
1809
  /**
@@ -1833,12 +1833,12 @@ class vr extends k {
1833
1833
  * @inheritDoc
1834
1834
  */
1835
1835
  s(this, "isRegionalDirector");
1836
- this.salesDirection = e != null && e.salesDirection ? new H(e.salesDirection) : new H(), this.photo = e == null ? void 0 : e.photo, this.contacts = e != null && e.contacts ? new Jr(e.contacts) : void 0, this.isDefault = (e == null ? void 0 : e.isDefault) ?? !1, this.isRegionalDirector = (e == null ? void 0 : e.isRegionalDirector) ?? !1;
1836
+ this.salesDirection = e != null && e.salesDirection ? new F(e.salesDirection) : new F(), this.photo = e == null ? void 0 : e.photo, this.contacts = e != null && e.contacts ? new Vr(e.contacts) : void 0, this.isDefault = (e == null ? void 0 : e.isDefault) ?? !1, this.isRegionalDirector = (e == null ? void 0 : e.isRegionalDirector) ?? !1;
1837
1837
  }
1838
1838
  }
1839
1839
  class wr extends a {
1840
1840
  }
1841
- class Vr extends k {
1841
+ class Kr extends k {
1842
1842
  /**
1843
1843
  * Инициализирует экземпляр класса {@link IUserPricingRole}.
1844
1844
  *
@@ -1898,7 +1898,7 @@ class _e extends vr {
1898
1898
  * Список направлений кураторства.
1899
1899
  */
1900
1900
  s(this, "curatedDirections");
1901
- this.isActive = (e == null ? void 0 : e.isActive) ?? !1, this.isSupervisor = (e == null ? void 0 : e.isSupervisor) ?? !1, this.canDoReclamations = (e == null ? void 0 : e.canDoReclamations) ?? !1, this.createdAt = e == null ? void 0 : e.createdAt, this.supervisorId = e == null ? void 0 : e.supervisorId, this.pricingRole = e != null && e.pricingRole ? new Vr(e.pricingRole) : void 0, this.curatedDirections = ((t = e == null ? void 0 : e.curatedDirections) == null ? void 0 : t.map((i) => new wr(i))) ?? [];
1901
+ this.isActive = (e == null ? void 0 : e.isActive) ?? !1, this.isSupervisor = (e == null ? void 0 : e.isSupervisor) ?? !1, this.canDoReclamations = (e == null ? void 0 : e.canDoReclamations) ?? !1, this.createdAt = e == null ? void 0 : e.createdAt, this.supervisorId = e == null ? void 0 : e.supervisorId, this.pricingRole = e != null && e.pricingRole ? new Kr(e.pricingRole) : void 0, this.curatedDirections = ((t = e == null ? void 0 : e.curatedDirections) == null ? void 0 : t.map((i) => new wr(i))) ?? [];
1902
1902
  }
1903
1903
  }
1904
1904
  class Qt extends Ce {
@@ -1952,7 +1952,7 @@ class Ue extends Qt {
1952
1952
  this.categories = (t = e == null ? void 0 : e.categories) == null ? void 0 : t.map((o) => new Ue(o)), this.products = (i = e == null ? void 0 : e.products) == null ? void 0 : i.map((o) => new J(o));
1953
1953
  }
1954
1954
  }
1955
- class Kr {
1955
+ class Xr {
1956
1956
  /**
1957
1957
  * Инициализирует экземпляр класса {@link PriceTemplateICatalogableItem}.
1958
1958
  *
@@ -1967,10 +1967,10 @@ class Kr {
1967
1967
  * Процент, который прибавляется к значению выбранного коэффициента.
1968
1968
  */
1969
1969
  s(this, "increasePercent");
1970
- this.priceCoefficient = (r == null ? void 0 : r.priceCoefficient) && new Fe(r.priceCoefficient), this.increasePercent = r == null ? void 0 : r.increasePercent;
1970
+ this.priceCoefficient = (r == null ? void 0 : r.priceCoefficient) && new He(r.priceCoefficient), this.increasePercent = r == null ? void 0 : r.increasePercent;
1971
1971
  }
1972
1972
  }
1973
- class Ze extends Kr {
1973
+ class Ze extends Xr {
1974
1974
  /**
1975
1975
  * Инициализирует экземпляр класса {@link PriceTemplateProduct}.
1976
1976
  *
@@ -2005,7 +2005,7 @@ class Cr extends k {
2005
2005
  * @inheritDoc
2006
2006
  */
2007
2007
  s(this, "curatedDirection");
2008
- this.photo = e.photo, this.contacts = new Jr(e.contacts), this.curatedDirection = new wr(e.curatedDirection);
2008
+ this.photo = e.photo, this.contacts = new Vr(e.contacts), this.curatedDirection = new wr(e.curatedDirection);
2009
2009
  }
2010
2010
  }
2011
2011
  class fe extends a {
@@ -2040,7 +2040,7 @@ class ye extends a {
2040
2040
  e && (this.region = new me(e.region));
2041
2041
  }
2042
2042
  }
2043
- class Xr extends k {
2043
+ class Zr extends k {
2044
2044
  /**
2045
2045
  * Инициализирует экземпляр класса {@link UserCommonInfo}.
2046
2046
  *
@@ -2076,10 +2076,10 @@ class Xr extends k {
2076
2076
  * Признак активности учетной записи пользователя.
2077
2077
  */
2078
2078
  s(this, "isActive");
2079
- 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 H(e.salesDirection) : void 0, this.createdAt = R(e == null ? void 0 : e.createdAt) ? P(e.createdAt) : e == null ? void 0 : e.createdAt, this.lastLoginAt = R(e == null ? void 0 : e.lastLoginAt) ? P(e.lastLoginAt) : e == null ? void 0 : e.lastLoginAt, this.isActive = (e == null ? void 0 : e.isActive) ?? !1;
2079
+ 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 F(e.salesDirection) : void 0, this.createdAt = R(e == null ? void 0 : e.createdAt) ? P(e.createdAt) : e == null ? void 0 : e.createdAt, this.lastLoginAt = R(e == null ? void 0 : e.lastLoginAt) ? P(e.lastLoginAt) : e == null ? void 0 : e.lastLoginAt, this.isActive = (e == null ? void 0 : e.isActive) ?? !1;
2080
2080
  }
2081
2081
  }
2082
- class re extends Xr {
2082
+ class re extends Zr {
2083
2083
  /**
2084
2084
  * Инициализирует экземпляр класса {@link Client}.
2085
2085
  *
@@ -2125,7 +2125,7 @@ class re extends Xr {
2125
2125
  * @inheritDoc
2126
2126
  */
2127
2127
  s(this, "curators");
2128
- this.salesDirection = new H(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 ye(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 = ((t = e == null ? void 0 : e.managers) == null ? void 0 : t.map((o) => new vr(o))) ?? [], this.curators = ((i = e == null ? void 0 : e.curators) == null ? void 0 : i.map((o) => new Cr(o))) ?? void 0;
2128
+ this.salesDirection = new F(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 ye(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 = ((t = e == null ? void 0 : e.managers) == null ? void 0 : t.map((o) => new vr(o))) ?? [], this.curators = ((i = e == null ? void 0 : e.curators) == null ? void 0 : i.map((o) => new Cr(o))) ?? void 0;
2129
2129
  }
2130
2130
  }
2131
2131
  class Se extends ee {
@@ -2155,7 +2155,7 @@ class Se extends ee {
2155
2155
  this.createdAt = R(e == null ? void 0 : e.createdAt) ? P(e.createdAt) : (e == null ? void 0 : e.createdAt) ?? /* @__PURE__ */ new Date(), this.deletedAt = R(e == null ? void 0 : e.deletedAt) ? P(e.deletedAt) : e == null ? void 0 : e.deletedAt, this.client = new re(e == null ? void 0 : e.client), this.priceTemplate = new ue(e == null ? void 0 : e.priceTemplate);
2156
2156
  }
2157
2157
  }
2158
- class er extends Kr {
2158
+ class er extends Xr {
2159
2159
  /**
2160
2160
  * Инициализирует экземпляр класса {@link PriceTemplateProduct}.
2161
2161
  *
@@ -2170,7 +2170,7 @@ class er extends Kr {
2170
2170
  this.product = new U(e == null ? void 0 : e.product);
2171
2171
  }
2172
2172
  }
2173
- class Zr extends a {
2173
+ class et extends a {
2174
2174
  }
2175
2175
  class pe extends k {
2176
2176
  /**
@@ -2196,7 +2196,7 @@ class pe extends k {
2196
2196
  * Признак того, что по свойству может производиться фильтрация в каталоге.
2197
2197
  */
2198
2198
  s(this, "isFilterable");
2199
- this.type = new Zr(e == null ? void 0 : e.type), this.description = (e == null ? void 0 : e.description) ?? "", this.metadata = e == null ? void 0 : e.metadata, this.isFilterable = e == null ? void 0 : e.isFilterable;
2199
+ this.type = new et(e == null ? void 0 : e.type), this.description = (e == null ? void 0 : e.description) ?? "", this.metadata = e == null ? void 0 : e.metadata, this.isFilterable = e == null ? void 0 : e.isFilterable;
2200
2200
  }
2201
2201
  }
2202
2202
  class oe {
@@ -2236,7 +2236,7 @@ class A {
2236
2236
  this.from = R(r == null ? void 0 : r.from) ? P(r.from) : (r == null ? void 0 : r.from) ?? null, this.to = R(r == null ? void 0 : r.to) ? P(r.to) : (r == null ? void 0 : r.to) ?? null;
2237
2237
  }
2238
2238
  }
2239
- class Is {
2239
+ class _s {
2240
2240
  /**
2241
2241
  * Инициализирует экземпляр класса {@link TemplatesListFilters}.
2242
2242
  *
@@ -2359,7 +2359,7 @@ class kr {
2359
2359
  * Минимальный коэффициент цены.
2360
2360
  */
2361
2361
  s(this, "minCoefficient");
2362
- this.role = new $e(r == null ? void 0 : r.role), this.category = new Ce(r == null ? void 0 : r.category), this.minCoefficient = new Fe(r == null ? void 0 : r.minCoefficient);
2362
+ this.role = new $e(r == null ? void 0 : r.role), this.category = new Ce(r == null ? void 0 : r.category), this.minCoefficient = new He(r == null ? void 0 : r.minCoefficient);
2363
2363
  }
2364
2364
  }
2365
2365
  class Jt {
@@ -2417,7 +2417,71 @@ class Lr {
2417
2417
  this.category = new Ce(r == null ? void 0 : r.category), this.property = new pe(r == null ? void 0 : r.property), this.settings = new Jt(r == null ? void 0 : r.settings);
2418
2418
  }
2419
2419
  }
2420
- class xs extends h {
2420
+ class Vt {
2421
+ /**
2422
+ * Инициализирует экземпляр класса {@link CategoryFilterValue}.
2423
+ *
2424
+ * @param data Данные для первоначальной инициализации.
2425
+ */
2426
+ constructor(r) {
2427
+ /**
2428
+ * @inheritDoc
2429
+ */
2430
+ s(this, "id");
2431
+ /**
2432
+ * @inheritDoc
2433
+ */
2434
+ s(this, "label");
2435
+ this.id = (r == null ? void 0 : r.id) ?? "", this.label = (r == null ? void 0 : r.label) ?? "";
2436
+ }
2437
+ }
2438
+ class Kt {
2439
+ /**
2440
+ * Инициализирует экземпляр класса {@link CategoryFilter}.
2441
+ *
2442
+ * Значения по умолчанию заданы намеренно: API не возвращает поля, значения которых не заданы,
2443
+ * а также поля, не относящиеся к типу фильтра.
2444
+ *
2445
+ * @param data Данные для первоначальной инициализации.
2446
+ */
2447
+ constructor(r) {
2448
+ /**
2449
+ * @inheritDoc
2450
+ */
2451
+ s(this, "id");
2452
+ /**
2453
+ * @inheritDoc
2454
+ */
2455
+ s(this, "label");
2456
+ /**
2457
+ * @inheritDoc
2458
+ */
2459
+ s(this, "type");
2460
+ /**
2461
+ * @inheritDoc
2462
+ */
2463
+ s(this, "ord");
2464
+ /**
2465
+ * @inheritDoc
2466
+ */
2467
+ s(this, "isMultiple");
2468
+ /**
2469
+ * @inheritDoc
2470
+ */
2471
+ s(this, "values");
2472
+ /**
2473
+ * @inheritDoc
2474
+ */
2475
+ s(this, "min");
2476
+ /**
2477
+ * @inheritDoc
2478
+ */
2479
+ s(this, "max");
2480
+ var e;
2481
+ this.id = (r == null ? void 0 : r.id) ?? "", this.label = (r == null ? void 0 : r.label) ?? "", this.type = (r == null ? void 0 : r.type) ?? Jr.Checkbox, this.ord = (r == null ? void 0 : r.ord) ?? 0, this.isMultiple = (r == null ? void 0 : r.isMultiple) ?? null, this.values = ((e = r == null ? void 0 : r.values) == null ? void 0 : e.map((t) => new Vt(t))) ?? [], this.min = (r == null ? void 0 : r.min) ?? null, this.max = (r == null ? void 0 : r.max) ?? null;
2482
+ }
2483
+ }
2484
+ class qs extends h {
2421
2485
  /**
2422
2486
  * Возвращает данные о результатах поиска категорий и товаров.
2423
2487
  *
@@ -2448,7 +2512,7 @@ class xs extends h {
2448
2512
  return t && (c += `&category_id=${t}`), i && (c += `&client_id=${i}`), c;
2449
2513
  }
2450
2514
  }
2451
- class _s extends h {
2515
+ class Ns extends h {
2452
2516
  /**
2453
2517
  * Импортирует цены клиента из CSV файла.
2454
2518
  *
@@ -2647,7 +2711,7 @@ class _s extends h {
2647
2711
  return this.post(`/internal/clients/${r}/price/commercial-offer/send`, e);
2648
2712
  }
2649
2713
  }
2650
- class qs extends h {
2714
+ class Us extends h {
2651
2715
  /**
2652
2716
  * Возвращает список шаблонов прайс-листа привязанных к клиенту.
2653
2717
  *
@@ -2735,7 +2799,7 @@ class qs extends h {
2735
2799
  return this.delete(`/internal/clients/${r}/price/templates/${e}/${t}`);
2736
2800
  }
2737
2801
  }
2738
- class Ns extends h {
2802
+ class Fs extends h {
2739
2803
  /**
2740
2804
  * Возвращает список данных о корневых категориях.
2741
2805
  *
@@ -2804,7 +2868,7 @@ class Ns extends h {
2804
2868
  getCategoryProductsCoefficients(r) {
2805
2869
  return this.get(`/internal/catalog/categories/${r}/products/coefficients`, {}, (e) => {
2806
2870
  const { data: t } = e;
2807
- return Rt(t, (i) => i.map((o) => new yr(o))), t;
2871
+ return Pt(t, (i) => i.map((o) => new yr(o))), t;
2808
2872
  });
2809
2873
  }
2810
2874
  /**
@@ -2823,7 +2887,7 @@ class Ns extends h {
2823
2887
  });
2824
2888
  }
2825
2889
  }
2826
- class Us extends h {
2890
+ class Hs extends h {
2827
2891
  /**
2828
2892
  * Возвращает данные об указанном продукте.
2829
2893
  *
@@ -2873,7 +2937,7 @@ class Us extends h {
2873
2937
  });
2874
2938
  }
2875
2939
  }
2876
- class Hs extends h {
2940
+ class Ms extends h {
2877
2941
  /**
2878
2942
  * Возвращает список данных о корневых категориях указанного клиента.
2879
2943
  *
@@ -2931,7 +2995,7 @@ class Hs extends h {
2931
2995
  );
2932
2996
  }
2933
2997
  }
2934
- class Fs extends h {
2998
+ class Bs extends h {
2935
2999
  /**
2936
3000
  * Возвращает данные об указанном продукте для указанного клиента.
2937
3001
  *
@@ -2986,7 +3050,7 @@ class Or {
2986
3050
  };
2987
3051
  if (nr(this.value))
2988
3052
  e.value = x(this.value, r);
2989
- else if (Pt(this.value)) {
3053
+ else if (Tt(this.value)) {
2990
3054
  const t = this.value;
2991
3055
  e.value = {
2992
3056
  from: t.from ? x(t.from, r) : null,
@@ -3080,7 +3144,7 @@ class De extends h {
3080
3144
  );
3081
3145
  }
3082
3146
  }
3083
- class Ms extends De {
3147
+ class Ws extends De {
3084
3148
  /**
3085
3149
  * Возвращает список шаблонов прайс-листа.
3086
3150
  *
@@ -3269,7 +3333,7 @@ class Ms extends De {
3269
3333
  return this.getTypedList(Se, `/internal/price/templates/${r}/clients`);
3270
3334
  }
3271
3335
  }
3272
- class Bs extends h {
3336
+ class js extends h {
3273
3337
  /**
3274
3338
  * Возвращает список ролей ценообразования.
3275
3339
  *
@@ -3345,7 +3409,7 @@ class Bs extends h {
3345
3409
  );
3346
3410
  }
3347
3411
  }
3348
- class Ws extends De {
3412
+ class Gs extends De {
3349
3413
  /**
3350
3414
  * Возвращает пагинированный список свойств.
3351
3415
  *
@@ -3713,6 +3777,20 @@ class Ws extends De {
3713
3777
  updateCategoryImage(r, e) {
3714
3778
  return this.post(`/internal/catalog/categories/${r}/image`, { image: e });
3715
3779
  }
3780
+ /**
3781
+ * Возвращает список фильтров, доступных в категории.
3782
+ *
3783
+ * @param categoryId Идентификатор категории.
3784
+ * @param recursively Признак необходимости включить в список фильтры дочерних категорий.
3785
+ * @see /doc/api/internal#/operations/api_internal_catalog_categories_category_filters_get
3786
+ */
3787
+ getCategoryFilters(r, e = !1) {
3788
+ return this.get(
3789
+ `/internal/catalog/categories/${r}/filters`,
3790
+ { recursively: e },
3791
+ (t) => t.data.map((i) => new Kt(i))
3792
+ );
3793
+ }
3716
3794
  /**
3717
3795
  * Возвращает список настроенных фильтров категории.
3718
3796
  *
@@ -3726,7 +3804,7 @@ class Ws extends De {
3726
3804
  * Сохраняет настройки фильтра в категории.
3727
3805
  *
3728
3806
  * @param categoryId Идентификатор категории.
3729
- * @param propertyId Идентификатор свойства.
3807
+ * @param propertySlug Символьный идентификатор свойства.
3730
3808
  * @param settingsData Данные настроек фильтра.
3731
3809
  * @see /doc/api/internal#/operations/api_internal_catalog_categories_filter_settings_save
3732
3810
  */
@@ -3741,14 +3819,14 @@ class Ws extends De {
3741
3819
  * Удаляет настройки фильтра в категории, возвращая фильтру настройки по умолчанию.
3742
3820
  *
3743
3821
  * @param categoryId Идентификатор категории.
3744
- * @param propertyId Идентификатор свойства.
3822
+ * @param propertySlug Символьный идентификатор свойства.
3745
3823
  * @see /doc/api/internal#/operations/api_internal_catalog_categories_filter_settings_delete
3746
3824
  */
3747
3825
  deleteCategoryFilterSetting(r, e) {
3748
3826
  return this.delete(`/internal/catalog/categories/${r}/filter-settings/${e}`);
3749
3827
  }
3750
3828
  }
3751
- class js extends h {
3829
+ class Ys extends h {
3752
3830
  /**
3753
3831
  * Возвращает список данных о корневых категориях указанного шаблона прайс-листа.
3754
3832
  *
@@ -3836,7 +3914,7 @@ function xr(n) {
3836
3914
  }
3837
3915
  }), r;
3838
3916
  }
3839
- var Vt = /* @__PURE__ */ ((n) => (n.LastOrder = "last_order", n.Contacts = "contacts", n.PartnerGroups = "partner_groups", n.PreferredDeliveryType = "preferred_delivery_type", n.SalesDirection = "sales_direction", n.Managers = "managers", n.Curators = "curators", n))(Vt || {}), Y = /* @__PURE__ */ ((n) => (n.Person = "individual", n.Ic = "entrepreneur", n.UlR = "legal", n.UlNr = "non_resident_legal", n))(Y || {});
3917
+ var Xt = /* @__PURE__ */ ((n) => (n.LastOrder = "last_order", n.Contacts = "contacts", n.PartnerGroups = "partner_groups", n.PreferredDeliveryType = "preferred_delivery_type", n.SalesDirection = "sales_direction", n.Managers = "managers", n.Curators = "curators", n))(Xt || {}), Y = /* @__PURE__ */ ((n) => (n.Person = "individual", n.Ic = "entrepreneur", n.UlR = "legal", n.UlNr = "non_resident_legal", n))(Y || {});
3840
3918
  class ur extends ee {
3841
3919
  /**
3842
3920
  * Инициализирует экземпляр класса {@link BankAccount}.
@@ -3937,7 +4015,7 @@ class X extends a {
3937
4015
  }
3938
4016
  class ae extends a {
3939
4017
  }
3940
- class et extends jr {
4018
+ class rt extends jr {
3941
4019
  /**
3942
4020
  * Инициализирует экземпляр класса {@link UpdatableNamedIdentity}.
3943
4021
  *
@@ -3952,7 +4030,7 @@ class et extends jr {
3952
4030
  this.deletedAt = R(e == null ? void 0 : e.deletedAt) ? P(e.deletedAt) : e == null ? void 0 : e.deletedAt;
3953
4031
  }
3954
4032
  }
3955
- class rt extends et {
4033
+ class tt extends rt {
3956
4034
  /**
3957
4035
  * Инициализирует экземпляр класса {@link ContragentBase}.
3958
4036
  *
@@ -4013,7 +4091,7 @@ class rt extends et {
4013
4091
  }
4014
4092
  }
4015
4093
  }
4016
- class Kt extends rt {
4094
+ class Zt extends tt {
4017
4095
  /**
4018
4096
  * Инициализирует экземпляр класса {@link ContragentPerson}.
4019
4097
  *
@@ -4023,7 +4101,7 @@ class Kt extends rt {
4023
4101
  super(r);
4024
4102
  }
4025
4103
  }
4026
- class tt extends rt {
4104
+ class st extends tt {
4027
4105
  /**
4028
4106
  * Инициализирует экземпляр класса {@link ContragentIc}.
4029
4107
  *
@@ -4066,7 +4144,7 @@ class tt extends rt {
4066
4144
  e && (this.inn = e.inn ?? "", this.okpo = e.okpo ?? "", this.directorName = e.directorName ?? "", this.directorPosition = e.directorPosition ?? "", this.directorActsOn = e.directorActsOn ?? "", this.legalAddress = e.legalAddress ?? "", this.postalAddress = e.postalAddress ?? "", this.actualAddress = e.actualAddress ?? "");
4067
4145
  }
4068
4146
  }
4069
- class st extends tt {
4147
+ class it extends st {
4070
4148
  /**
4071
4149
  * Инициализирует экземпляр класса {@link ContragentUlR}.
4072
4150
  *
@@ -4081,7 +4159,7 @@ class st extends tt {
4081
4159
  e && (this.kpp = e.kpp ?? "");
4082
4160
  }
4083
4161
  }
4084
- class Xt extends st {
4162
+ class es extends it {
4085
4163
  /**
4086
4164
  * Инициализирует экземпляр класса {@link ContragentUlNr}.
4087
4165
  *
@@ -4104,7 +4182,7 @@ class Xt extends st {
4104
4182
  e && (this.registrationCountry = new fe(e.registrationCountry), this.registrationNumber = e.registrationNumber ?? "", this.taxNumber = e.taxNumber ?? "");
4105
4183
  }
4106
4184
  }
4107
- class He {
4185
+ class Fe {
4108
4186
  /**
4109
4187
  * Инициализирует и возвращает экземпляр класса с данными о контрагенте.
4110
4188
  *
@@ -4113,17 +4191,17 @@ class He {
4113
4191
  static createInstance(r) {
4114
4192
  switch (r.opf.slug) {
4115
4193
  case Y.Ic:
4116
- return new tt(r);
4117
- case Y.UlR:
4118
4194
  return new st(r);
4195
+ case Y.UlR:
4196
+ return new it(r);
4119
4197
  case Y.UlNr:
4120
- return new Xt(r);
4198
+ return new es(r);
4121
4199
  default:
4122
- return new Kt(r);
4200
+ return new Zt(r);
4123
4201
  }
4124
4202
  }
4125
4203
  }
4126
- class ke extends et {
4204
+ class ke extends rt {
4127
4205
  /**
4128
4206
  * Инициализирует экземпляр класса {@link DeliveryAddress}.
4129
4207
  *
@@ -4163,10 +4241,10 @@ class ke extends et {
4163
4241
  this.address = (e == null ? void 0 : e.address) ?? "", this.coordinates = new Yr(e == null ? void 0 : e.coordinates), this.contacts = ((t = e == null ? void 0 : e.contacts) == null ? void 0 : t.map((i) => new K(i))) ?? [], this.comment = e == null ? void 0 : e.comment, this.operatingHours = e == null ? void 0 : e.operatingHours, this.isOneTime = e == null ? void 0 : e.isOneTime, this.isTransportCompanyAddress = e == null ? void 0 : e.isTransportCompanyAddress;
4164
4242
  }
4165
4243
  }
4166
- class it extends a {
4167
- }
4168
4244
  class nt extends a {
4169
4245
  }
4246
+ class ot extends a {
4247
+ }
4170
4248
  class _r extends re {
4171
4249
  /**
4172
4250
  * Инициализирует экземпляр класса {@link Client}.
@@ -4217,7 +4295,7 @@ class _r extends re {
4217
4295
  * @inheritDoc
4218
4296
  */
4219
4297
  s(this, "extraData");
4220
- this.contragents = ((t = e == null ? void 0 : e.contragents) == null ? void 0 : t.map((u) => He.createInstance(u))) ?? [], this.partnerGroups = ((i = e == null ? void 0 : e.partnerGroups) == null ? void 0 : i.map((u) => new ae(u))) ?? [], this.contacts = ((o = e == null ? void 0 : e.contacts) == null ? void 0 : o.map((u) => new K(u))) ?? [], this.deliveryAddresses = ((c = e == null ? void 0 : e.deliveryAddresses) == null ? void 0 : c.map((u) => new ke(u))) ?? [], this.channelPrimaryInterest = new it(e == null ? void 0 : e.channelPrimaryInterest), this.sourcePrimaryInterest = new nt(e == null ? void 0 : e.sourcePrimaryInterest), this.preferredDeliveryType = new z(e == null ? void 0 : e.preferredDeliveryType), this.primaryDemand = e == null ? void 0 : e.primaryDemand, this.preferredWarehouse = e != null && e.preferredWarehouse ? new xe(e.preferredWarehouse) : void 0, this.extraData = (e == null ? void 0 : e.extraData) ?? {};
4298
+ this.contragents = ((t = e == null ? void 0 : e.contragents) == null ? void 0 : t.map((u) => Fe.createInstance(u))) ?? [], this.partnerGroups = ((i = e == null ? void 0 : e.partnerGroups) == null ? void 0 : i.map((u) => new ae(u))) ?? [], this.contacts = ((o = e == null ? void 0 : e.contacts) == null ? void 0 : o.map((u) => new K(u))) ?? [], this.deliveryAddresses = ((c = e == null ? void 0 : e.deliveryAddresses) == null ? void 0 : c.map((u) => new ke(u))) ?? [], this.channelPrimaryInterest = new nt(e == null ? void 0 : e.channelPrimaryInterest), this.sourcePrimaryInterest = new ot(e == null ? void 0 : e.sourcePrimaryInterest), this.preferredDeliveryType = new z(e == null ? void 0 : e.preferredDeliveryType), this.primaryDemand = e == null ? void 0 : e.primaryDemand, this.preferredWarehouse = e != null && e.preferredWarehouse ? new xe(e.preferredWarehouse) : void 0, this.extraData = (e == null ? void 0 : e.extraData) ?? {};
4221
4299
  }
4222
4300
  }
4223
4301
  class Me {
@@ -4234,7 +4312,7 @@ class Me {
4234
4312
  }), r;
4235
4313
  }
4236
4314
  }
4237
- class Gs extends Me {
4315
+ class zs extends Me {
4238
4316
  /**
4239
4317
  * Инициализирует экземпляр класса {@link ClientsListFilters}.
4240
4318
  *
@@ -4343,7 +4421,7 @@ class Gs extends Me {
4343
4421
  * @inheritDoc
4344
4422
  */
4345
4423
  s(this, "noOrdersPeriod", new A());
4346
- this.id = e == null ? void 0 : e.id, this.name = e == null ? void 0 : e.name, this.alternativeName = e == null ? void 0 : e.alternativeName, this.searchTerm = e == null ? void 0 : e.searchTerm, this.cities = (t = e == null ? void 0 : e.cities) == null ? void 0 : t.map((C) => new ye(C)), this.region = new me(e == null ? void 0 : e.region), this.country = new fe(e == null ? void 0 : e.country), this.phone = e == null ? void 0 : e.phone, this.email = e == null ? void 0 : e.email, this.isActive = e && Object.prototype.hasOwnProperty.call(e, "isActive") ? e == null ? void 0 : e.isActive : !0, this.createdAt = new A(e == null ? void 0 : e.createdAt), this.lastLoginDate = new A(e == null ? void 0 : e.lastLoginDate), this.lastLoginDateHasOrder = (e == null ? void 0 : e.lastLoginDateHasOrder) ?? void 0, this.managers = ((i = e == null ? void 0 : e.managers) == null ? void 0 : i.map((C) => new _e(C))) ?? [], this.includeSubordinateManagers = (e == null ? void 0 : e.includeSubordinateManagers) ?? !0, this.curators = ((o = e == null ? void 0 : e.curators) == null ? void 0 : o.map((C) => new Cr(C))) ?? [], this.salesDirections = (c = e == null ? void 0 : e.salesDirections) == null ? void 0 : c.map((C) => new H(C)), this.contragentInn = e == null ? void 0 : e.contragentInn, this.contragentType = new X(e == null ? void 0 : e.contragentType), this.preferredDeliveryType = e != null && e.preferredDeliveryType ? new z(e == null ? void 0 : e.preferredDeliveryType) : void 0, this.partnerGroups = (u = e == null ? void 0 : e.partnerGroups) == null ? void 0 : u.map((C) => new ae(C)), this.contact = new pr(e == null ? void 0 : e.contact), this.lastOrder = {
4424
+ this.id = e == null ? void 0 : e.id, this.name = e == null ? void 0 : e.name, this.alternativeName = e == null ? void 0 : e.alternativeName, this.searchTerm = e == null ? void 0 : e.searchTerm, this.cities = (t = e == null ? void 0 : e.cities) == null ? void 0 : t.map((C) => new ye(C)), this.region = new me(e == null ? void 0 : e.region), this.country = new fe(e == null ? void 0 : e.country), this.phone = e == null ? void 0 : e.phone, this.email = e == null ? void 0 : e.email, this.isActive = e && Object.prototype.hasOwnProperty.call(e, "isActive") ? e == null ? void 0 : e.isActive : !0, this.createdAt = new A(e == null ? void 0 : e.createdAt), this.lastLoginDate = new A(e == null ? void 0 : e.lastLoginDate), this.lastLoginDateHasOrder = (e == null ? void 0 : e.lastLoginDateHasOrder) ?? void 0, this.managers = ((i = e == null ? void 0 : e.managers) == null ? void 0 : i.map((C) => new _e(C))) ?? [], this.includeSubordinateManagers = (e == null ? void 0 : e.includeSubordinateManagers) ?? !0, this.curators = ((o = e == null ? void 0 : e.curators) == null ? void 0 : o.map((C) => new Cr(C))) ?? [], this.salesDirections = (c = e == null ? void 0 : e.salesDirections) == null ? void 0 : c.map((C) => new F(C)), this.contragentInn = e == null ? void 0 : e.contragentInn, this.contragentType = new X(e == null ? void 0 : e.contragentType), this.preferredDeliveryType = e != null && e.preferredDeliveryType ? new z(e == null ? void 0 : e.preferredDeliveryType) : void 0, this.partnerGroups = (u = e == null ? void 0 : e.partnerGroups) == null ? void 0 : u.map((C) => new ae(C)), this.contact = new pr(e == null ? void 0 : e.contact), this.lastOrder = {
4347
4425
  createdAt: new A((p = e == null ? void 0 : e.lastOrder) == null ? void 0 : p.createdAt),
4348
4426
  creator: (g = e == null ? void 0 : e.lastOrder) == null ? void 0 : g.creator,
4349
4427
  isApproved: (y = e == null ? void 0 : e.lastOrder) == null ? void 0 : y.isApproved
@@ -4411,7 +4489,7 @@ class Gs extends Me {
4411
4489
  return !((t = e == null ? void 0 : e.createdAt) != null && t.from) && !((i = e == null ? void 0 : e.createdAt) != null && i.to) && delete e.createdAt, !((o = e == null ? void 0 : e.lastLoginDate) != null && o.from) && !((c = e == null ? void 0 : e.lastLoginDate) != null && c.to) && delete e.lastLoginDate, !((u = e == null ? void 0 : e.noOrdersPeriod) != null && u.from) && !((p = e == null ? void 0 : e.noOrdersPeriod) != null && p.to) && delete e.noOrdersPeriod, e;
4412
4490
  }
4413
4491
  }
4414
- class ot extends ee {
4492
+ class ct extends ee {
4415
4493
  /**
4416
4494
  * Инициализирует экземпляр класса {@link OrderShortInfo}.
4417
4495
  *
@@ -4430,7 +4508,7 @@ class ot extends ee {
4430
4508
  this.createdAt = R(e == null ? void 0 : e.createdAt) ? P(e.createdAt) : (e == null ? void 0 : e.createdAt) ?? /* @__PURE__ */ new Date(), this.creator = new q(e == null ? void 0 : e.creator);
4431
4509
  }
4432
4510
  }
4433
- class Zt extends k {
4511
+ class rs extends k {
4434
4512
  /**
4435
4513
  * Инициализирует экземпляр класса {@link ClientAdditionalData}.
4436
4514
  *
@@ -4467,7 +4545,7 @@ class Zt extends k {
4467
4545
  * @inheritDoc
4468
4546
  */
4469
4547
  s(this, "curators");
4470
- this.contacts = ((t = e.contacts) == null ? void 0 : t.map((u) => new K(u))) ?? void 0, this.lastOrder = e.lastOrder ? new ot(e.lastOrder) : void 0, this.partnerGroups = ((i = e.partnerGroups) == null ? void 0 : i.map((u) => new ae(u))) ?? void 0, this.preferredDeliveryType = e.preferredDeliveryType ? new z(e.preferredDeliveryType) : void 0, this.salesDirection = e.salesDirection ? new H(e.salesDirection) : void 0, this.managers = ((o = e.managers) == null ? void 0 : o.map((u) => new vr(u))) ?? void 0, this.curators = ((c = e.curators) == null ? void 0 : c.map((u) => new Cr(u))) ?? void 0;
4548
+ this.contacts = ((t = e.contacts) == null ? void 0 : t.map((u) => new K(u))) ?? void 0, this.lastOrder = e.lastOrder ? new ct(e.lastOrder) : void 0, this.partnerGroups = ((i = e.partnerGroups) == null ? void 0 : i.map((u) => new ae(u))) ?? void 0, this.preferredDeliveryType = e.preferredDeliveryType ? new z(e.preferredDeliveryType) : void 0, this.salesDirection = e.salesDirection ? new F(e.salesDirection) : void 0, this.managers = ((o = e.managers) == null ? void 0 : o.map((u) => new vr(u))) ?? void 0, this.curators = ((c = e.curators) == null ? void 0 : c.map((u) => new Cr(u))) ?? void 0;
4471
4549
  }
4472
4550
  }
4473
4551
  class rr extends ee {
@@ -4485,7 +4563,7 @@ class rr extends ee {
4485
4563
  this.isPrimary = e.isPrimary;
4486
4564
  }
4487
4565
  }
4488
- class es extends K {
4566
+ class ts extends K {
4489
4567
  /**
4490
4568
  * Инициализирует экземпляр класса {@link ContactPersonRelated}.
4491
4569
  *
@@ -4513,7 +4591,7 @@ class es extends K {
4513
4591
  e.relations && (e.relations.addresses && (this.relations.addresses = e.relations.addresses.map((t) => new rr(t))), e.relations.clients && (this.relations.clients = e.relations.clients.map((t) => new rr(t))), e.relations.contragents && (this.relations.contragents = e.relations.contragents.map((t) => new rr(t))));
4514
4592
  }
4515
4593
  }
4516
- class F extends De {
4594
+ class H extends De {
4517
4595
  /**
4518
4596
  * Преобразует данные о клиенте в данные требуемые для запроса.
4519
4597
  *
@@ -4703,7 +4781,7 @@ class F extends De {
4703
4781
  return this.post(
4704
4782
  "/internal/clients/additional-data",
4705
4783
  { clients: t, requested_data_types: e },
4706
- (i) => _.instanceListInitializer(Zt, i.data)
4784
+ (i) => _.instanceListInitializer(rs, i.data)
4707
4785
  );
4708
4786
  }
4709
4787
  /**
@@ -4713,7 +4791,7 @@ class F extends De {
4713
4791
  * @see /doc/api/internal#/Контакты/api_internal_client_contact_get_all_contact_list
4714
4792
  */
4715
4793
  getAllClientContacts(r) {
4716
- return this.getTypedList(es, `/internal/clients/${r}/contacts/all`);
4794
+ return this.getTypedList(ts, `/internal/clients/${r}/contacts/all`);
4717
4795
  }
4718
4796
  /**
4719
4797
  * Создаёт нового клиента на основе указанных данных.
@@ -4723,7 +4801,7 @@ class F extends De {
4723
4801
  * @see /doc/api/internal#/Клиенты/api_internal_client_create
4724
4802
  */
4725
4803
  createClientCommonData(r, e = {}) {
4726
- return this.post("/internal/clients", F.transformClientDataToRequest(r), (t) => new _r(t.data), e);
4804
+ return this.post("/internal/clients", H.transformClientDataToRequest(r), (t) => new _r(t.data), e);
4727
4805
  }
4728
4806
  /**
4729
4807
  * Обновляет данные указанного клиента.
@@ -4733,7 +4811,7 @@ class F extends De {
4733
4811
  * @see /doc/api/internal#/Клиенты/api_internal_client_change
4734
4812
  */
4735
4813
  updateClientCommonData(r, e = {}) {
4736
- return this.patch(`/internal/clients/${r.id}`, F.transformClientDataToRequest(r), void 0, e);
4814
+ return this.patch(`/internal/clients/${r.id}`, H.transformClientDataToRequest(r), void 0, e);
4737
4815
  }
4738
4816
  /**
4739
4817
  * Обновляет данные "Не беспокоить" указанного клиента.
@@ -4862,8 +4940,8 @@ class F extends De {
4862
4940
  createContragentClientData(r, e, t = {}) {
4863
4941
  return this.post(
4864
4942
  `/internal/clients/${r}/contragents`,
4865
- F.transformContragentClientDataToRequest(e),
4866
- (i) => He.createInstance(i.data),
4943
+ H.transformContragentClientDataToRequest(e),
4944
+ (i) => Fe.createInstance(i.data),
4867
4945
  t
4868
4946
  );
4869
4947
  }
@@ -4878,8 +4956,8 @@ class F extends De {
4878
4956
  updateContragentClientData(r, e, t = {}) {
4879
4957
  return this.patch(
4880
4958
  `/internal/clients/${r}/contragents/${e.id}`,
4881
- F.transformContragentClientDataToRequest(e),
4882
- (i) => He.createInstance(i.data),
4959
+ H.transformContragentClientDataToRequest(e),
4960
+ (i) => Fe.createInstance(i.data),
4883
4961
  t
4884
4962
  );
4885
4963
  }
@@ -4913,7 +4991,7 @@ class F extends De {
4913
4991
  createClientDeliveryAddress(r, e, t = {}) {
4914
4992
  return this.post(
4915
4993
  `/internal/clients/${r}/delivery-addresses`,
4916
- F.transformClientDeliveryAddressToRequest(e),
4994
+ H.transformClientDeliveryAddressToRequest(e),
4917
4995
  (i) => new ke(i.data),
4918
4996
  t
4919
4997
  );
@@ -4929,7 +5007,7 @@ class F extends De {
4929
5007
  updateClientDeliveryAddress(r, e, t = {}) {
4930
5008
  return this.patch(
4931
5009
  `/internal/clients/${r}/delivery-addresses/${e.id}`,
4932
- F.transformClientDeliveryAddressToRequest(e),
5010
+ H.transformClientDeliveryAddressToRequest(e),
4933
5011
  (i) => new ke(i.data),
4934
5012
  t
4935
5013
  );
@@ -4956,7 +5034,7 @@ class F extends De {
4956
5034
  createContragentBankAccount(r, e, t, i = {}) {
4957
5035
  return this.post(
4958
5036
  `/internal/clients/${r}/contragents/${e}/bank-accounts`,
4959
- F.transformClientContragentBankAccountToRequest(t),
5037
+ H.transformClientContragentBankAccountToRequest(t),
4960
5038
  (o) => new ur(o.data),
4961
5039
  i
4962
5040
  );
@@ -4973,7 +5051,7 @@ class F extends De {
4973
5051
  updateContragentBankAccount(r, e, t, i = {}) {
4974
5052
  return this.patch(
4975
5053
  `/internal/clients/${r}/contragents/${e}/bank-accounts/${t.id}`,
4976
- F.transformClientContragentBankAccountToRequest(t),
5054
+ H.transformClientContragentBankAccountToRequest(t),
4977
5055
  (o) => new ur(o.data),
4978
5056
  i
4979
5057
  );
@@ -5196,7 +5274,7 @@ class F extends De {
5196
5274
  return this.get(`/internal/clients/${r.id}/verification/email?email=${r.email}`);
5197
5275
  }
5198
5276
  }
5199
- class Ys extends h {
5277
+ class Es extends h {
5200
5278
  /**
5201
5279
  * Выполняет проверку занят ли указанный номер телефона.
5202
5280
  *
@@ -5210,7 +5288,7 @@ class Ys extends h {
5210
5288
  });
5211
5289
  }
5212
5290
  }
5213
- class zs {
5291
+ class Qs {
5214
5292
  /**
5215
5293
  * Инициализирует экземпляр класса {@link VersionConfig}.
5216
5294
  *
@@ -5232,8 +5310,8 @@ class zs {
5232
5310
  this.date = R(r == null ? void 0 : r.date) ? P(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";
5233
5311
  }
5234
5312
  }
5235
- var rs = /* @__PURE__ */ ((n) => (n.Kozyrek = "kozyrek", n.Mosquitto = "mosquitto", n.Strip = "strip", n.MetalForDoors = "metal_for_doors", n.Sandwich = "sandwich", n.SandwichM2 = "sandwich_m2", n))(rs || {});
5236
- class Es extends h {
5313
+ var ss = /* @__PURE__ */ ((n) => (n.Kozyrek = "kozyrek", n.Mosquitto = "mosquitto", n.Strip = "strip", n.MetalForDoors = "metal_for_doors", n.Sandwich = "sandwich", n.SandwichM2 = "sandwich_m2", n))(ss || {});
5314
+ class Js extends h {
5237
5315
  /**
5238
5316
  * Возвращает настройки указанного конфигуратора для указанной категории.
5239
5317
  *
@@ -5324,7 +5402,7 @@ class Es extends h {
5324
5402
  });
5325
5403
  }
5326
5404
  }
5327
- class ts {
5405
+ class is {
5328
5406
  /**
5329
5407
  * Инициализирует экземпляр класса {@link TableDataPaginationRequestParams}.
5330
5408
  *
@@ -5342,7 +5420,7 @@ class ts {
5342
5420
  this.page = (r == null ? void 0 : r.page) ?? 1, this.pageSize = (r == null ? void 0 : r.pageSize) ?? 50;
5343
5421
  }
5344
5422
  }
5345
- class Qs extends ts {
5423
+ class Vs extends is {
5346
5424
  /**
5347
5425
  * Инициализирует экземпляр класса {@link TableDataPagination}.
5348
5426
  *
@@ -5373,7 +5451,7 @@ class Qs extends ts {
5373
5451
  this.itemCount = (e == null ? void 0 : e.itemCount) ?? 0, this.pageCount = (e == null ? void 0 : e.pageCount) ?? 1, this.pageSlot = (e == null ? void 0 : e.pageSlot) ?? 5, this.pageSizes = (e == null ? void 0 : e.pageSizes) ?? [25, 50, 100], this.showSizePicker = (e == null ? void 0 : e.showSizePicker) ?? !0;
5374
5452
  }
5375
5453
  }
5376
- class Js {
5454
+ class Ks {
5377
5455
  /**
5378
5456
  * Инициализирует экземпляр класса {@link ISortRequestParams}.
5379
5457
  *
@@ -5446,8 +5524,8 @@ class m {
5446
5524
  * @param date Опорная дата.
5447
5525
  */
5448
5526
  static intervalTillSameDate(r, e, t) {
5449
- const i = dt(N(t), N(r)), o = N($(e, i)), c = Math.min(br(t), bt(o));
5450
- return { from: le(e), to: B(At(o, c)) };
5527
+ const i = dt(N(t), N(r)), o = N($(e, i)), c = Math.min(dr(t), At(o));
5528
+ return { from: le(e), to: B(St(o, c)) };
5451
5529
  }
5452
5530
  /**
5453
5531
  * Возвращает интервал «сдвинутая неделя до такого же дня недели»; недели начинаются с понедельника.
@@ -5477,28 +5555,28 @@ class m {
5477
5555
  * @param shift Смещение в декадах, может быть отрицательным.
5478
5556
  */
5479
5557
  static shiftedDecadeBounds(r, e) {
5480
- const t = br(r);
5558
+ const t = dr(r);
5481
5559
  let i = 2;
5482
5560
  t <= 10 ? i = 0 : t <= 20 && (i = 1);
5483
5561
  const o = i + e, c = Math.floor(o / 3), u = (o % 3 + 3) % 3, p = N($(r, c)), g = Q(p, u * 10), y = u === 2 ? O(p) : B(Q(g, 9));
5484
5562
  return [g, y];
5485
5563
  }
5486
5564
  }
5487
- class Vs {
5565
+ class Xs {
5488
5566
  /**
5489
5567
  * Возвращает предустановленные диапазоны дат.
5490
5568
  *
5491
5569
  * @param year Год, от которого считаются годовые периоды (1/3/9 месяцев, кварталы, полугодия, год); по умолчанию текущий.
5492
5570
  */
5493
5571
  static defaultDateRanges(r) {
5494
- const e = St(/* @__PURE__ */ new Date(), 1), t = /* @__PURE__ */ new Date(), i = ie(r === void 0 ? t : new Date(r, 0, 1)), o = Te(i);
5572
+ const e = $t(/* @__PURE__ */ new Date(), 1), t = /* @__PURE__ */ new Date(), i = ie(r === void 0 ? t : new Date(r, 0, 1)), o = Te(i);
5495
5573
  return {
5496
5574
  // 'Следующий рабочий день' - это значение по-умолчанию
5497
5575
  nextWorkingDay: { label: "Следующий рабочий день", from: le(e), to: B(e) },
5498
- today: { label: "Сегодня", from: or(), to: It() },
5499
- yesterday: { label: "Вчера", from: Ot(), to: Lt() },
5500
- tomorrow: { label: "Завтра", from: kt(), to: $t() },
5501
- currentWeek: { label: "Неделя", from: E(t, { weekStartsOn: 1 }), to: de(t, { weekStartsOn: 1 }) },
5576
+ today: { label: "Сегодня", from: or(), to: xt() },
5577
+ yesterday: { label: "Вчера", from: It(), to: Ot() },
5578
+ tomorrow: { label: "Завтра", from: Lt(), to: kt() },
5579
+ currentWeek: { label: "Неделя", from: E(t, { weekStartsOn: 1 }), to: be(t, { weekStartsOn: 1 }) },
5502
5580
  currentMonth: { label: "Месяц", from: N(t), to: O(t) },
5503
5581
  oneMonth: { label: "1 месяц", from: i, to: O(i) },
5504
5582
  threeMonths: { label: "3 месяца", from: i, to: O($(i, 2)) },
@@ -5520,23 +5598,23 @@ class Vs {
5520
5598
  * @param now Опорная дата «сейчас»; по умолчанию текущая.
5521
5599
  */
5522
5600
  static standardPeriods(r = /* @__PURE__ */ new Date()) {
5523
- const e = { weekStartsOn: 1 }, t = le(r), i = B(r), o = m.decadeInterval(r), c = N(r), u = be(r), p = m.startOfHalfYear(r), g = ie(r), y = m.addHalfYears(r, -1), C = m.addHalfYears(r, 1);
5601
+ const e = { weekStartsOn: 1 }, t = le(r), i = B(r), o = m.decadeInterval(r), c = N(r), u = de(r), p = m.startOfHalfYear(r), g = ie(r), y = m.addHalfYears(r, -1), C = m.addHalfYears(r, 1);
5524
5602
  return {
5525
5603
  yesterday: { label: "Вчера", group: "day", from: le(ze(r, 1)), to: B(ze(r, 1)) },
5526
5604
  today: { label: "Сегодня", group: "day", from: t, to: i },
5527
5605
  tomorrow: { label: "Завтра", group: "day", from: le(Q(r, 1)), to: B(Q(r, 1)) },
5528
- lastWeek: { label: "Прошлая неделя", group: "week", from: E(Ar(r, 1), e), to: de(Ar(r, 1), e) },
5529
- thisWeek: { label: "Эта неделя", group: "week", from: E(r, e), to: de(r, e) },
5530
- nextWeek: { label: "Следующая неделя", group: "week", from: E(cr(r, 1), e), to: de(cr(r, 1), e) },
5606
+ lastWeek: { label: "Прошлая неделя", group: "week", from: E(Ar(r, 1), e), to: be(Ar(r, 1), e) },
5607
+ thisWeek: { label: "Эта неделя", group: "week", from: E(r, e), to: be(r, e) },
5608
+ nextWeek: { label: "Следующая неделя", group: "week", from: E(cr(r, 1), e), to: be(cr(r, 1), e) },
5531
5609
  lastTenDays: { label: "Прошлая декада", group: "decade", ...m.shiftDecadeInterval(r, -1) },
5532
5610
  thisTenDays: { label: "Эта декада", group: "decade", ...o },
5533
5611
  nextTenDays: { label: "Следующая декада", group: "decade", ...m.shiftDecadeInterval(r, 1) },
5534
5612
  lastMonth: { label: "Прошлый месяц", group: "month", from: N(Ke(r, 1)), to: O(Ke(r, 1)) },
5535
5613
  thisMonth: { label: "Этот месяц", group: "month", from: c, to: O(r) },
5536
5614
  nextMonth: { label: "Следующий месяц", group: "month", from: N($(r, 1)), to: O($(r, 1)) },
5537
- lastQuarter: { label: "Прошлый квартал", group: "quarter", from: be(Ve(r, 1)), to: qe(Ve(r, 1)) },
5615
+ lastQuarter: { label: "Прошлый квартал", group: "quarter", from: de(Ve(r, 1)), to: qe(Ve(r, 1)) },
5538
5616
  thisQuarter: { label: "Этот квартал", group: "quarter", from: u, to: qe(r) },
5539
- nextQuarter: { label: "Следующий квартал", group: "quarter", from: be(Qe(r, 1)), to: qe(Qe(r, 1)) },
5617
+ nextQuarter: { label: "Следующий квартал", group: "quarter", from: de(Qe(r, 1)), to: qe(Qe(r, 1)) },
5540
5618
  lastHalfYear: {
5541
5619
  label: "Прошлое полугодие",
5542
5620
  group: "halfYear",
@@ -5554,7 +5632,7 @@ class Vs {
5554
5632
  fromBeginningOfThisQuarter: { label: "С начала этого квартала", group: "other", section: "fromBeginning", from: u, to: i },
5555
5633
  fromBeginningOfThisHalfYear: { label: "С начала этого полугодия", group: "other", section: "fromBeginning", from: p, to: i },
5556
5634
  fromBeginningOfThisYear: { label: "С начала этого года", group: "other", section: "fromBeginning", from: g, to: i },
5557
- tillEndOfThisWeek: { label: "До конца этой недели", group: "other", section: "tillEnd", from: t, to: de(r, e) },
5635
+ tillEndOfThisWeek: { label: "До конца этой недели", group: "other", section: "tillEnd", from: t, to: be(r, e) },
5558
5636
  tillEndOfThisTenDays: { label: "До конца этой декады", group: "other", section: "tillEnd", from: t, to: o.to },
5559
5637
  tillEndOfThisMonth: { label: "До конца этого месяца", group: "other", section: "tillEnd", from: t, to: O(r) },
5560
5638
  tillEndOfThisQuarter: { label: "До конца этого квартала", group: "other", section: "tillEnd", from: t, to: qe(r) },
@@ -5577,7 +5655,7 @@ class Vs {
5577
5655
  label: "Прошлый квартал, до такой же даты",
5578
5656
  group: "other",
5579
5657
  section: "lastTillSame",
5580
- ...m.intervalTillSameDate(u, be(Ve(r, 1)), r)
5658
+ ...m.intervalTillSameDate(u, de(Ve(r, 1)), r)
5581
5659
  },
5582
5660
  lastHalfYearTillSameDate: {
5583
5661
  label: "Прошлое полугодие, до такой же даты",
@@ -5608,7 +5686,7 @@ class Vs {
5608
5686
  label: "Следующий квартал, до такой же даты",
5609
5687
  group: "other",
5610
5688
  section: "nextTillSame",
5611
- ...m.intervalTillSameDate(u, be(Qe(r, 1)), r)
5689
+ ...m.intervalTillSameDate(u, de(Qe(r, 1)), r)
5612
5690
  },
5613
5691
  nextHalfYearTillSameDate: {
5614
5692
  label: "Следующее полугодие, до такой же даты",
@@ -5627,7 +5705,7 @@ class Vs {
5627
5705
  };
5628
5706
  }
5629
5707
  }
5630
- const Ks = [
5708
+ const Zs = [
5631
5709
  { key: "day", label: "День" },
5632
5710
  { key: "week", label: "Неделя" },
5633
5711
  { key: "decade", label: "Декада" },
@@ -5636,14 +5714,14 @@ const Ks = [
5636
5714
  { key: "halfYear", label: "Полугодие" },
5637
5715
  { key: "year", label: "Год" },
5638
5716
  { key: "other", label: "Прочее" }
5639
- ], Xs = [
5717
+ ], ei = [
5640
5718
  { key: "fromBeginning", label: "С начала периода" },
5641
5719
  { key: "tillEnd", label: "До конца периода" },
5642
5720
  { key: "lastTillSame", label: "Прошлые, до такой же даты" },
5643
5721
  { key: "nextTillSame", label: "Следующие, до такой же даты" },
5644
5722
  { key: "rollingDays", label: "7 дней" }
5645
5723
  ];
5646
- class ct {
5724
+ class lt {
5647
5725
  /**
5648
5726
  * Возвращает признак, что указанный товар имеет линейную единицу измерения.
5649
5727
  *
@@ -5659,7 +5737,7 @@ class ct {
5659
5737
  */
5660
5738
  static getProductMultiplicity(r) {
5661
5739
  var e, t;
5662
- return !((e = r.properties) != null && e.ignoreMinCountCheck) && ((t = r.properties) == null ? void 0 : t.minCount) != null && !ct.productIsMeasurable(r) ? r.properties.minCount : 1;
5740
+ return !((e = r.properties) != null && e.ignoreMinCountCheck) && ((t = r.properties) == null ? void 0 : t.minCount) != null && !lt.productIsMeasurable(r) ? r.properties.minCount : 1;
5663
5741
  }
5664
5742
  /**
5665
5743
  * Возвращает кратность длины для указанного товара.
@@ -5703,7 +5781,7 @@ const he = class he extends h {
5703
5781
  */
5704
5782
  cacheResponse(e, t) {
5705
5783
  he.responseDataCache.set(e, {
5706
- validTo: xt(/* @__PURE__ */ new Date(), this.responseDataCacheTimeout),
5784
+ validTo: _t(/* @__PURE__ */ new Date(), this.responseDataCacheTimeout),
5707
5785
  val: t
5708
5786
  });
5709
5787
  }
@@ -5728,11 +5806,11 @@ const he = class he extends h {
5728
5806
  */
5729
5807
  s(he, "responseDataCache", /* @__PURE__ */ new Map());
5730
5808
  let Ie = he;
5731
- function Zs(n, r) {
5809
+ function ri(n, r) {
5732
5810
  const e = [2, 0, 1, 1, 1, 2], t = Math.floor(Math.abs(n));
5733
5811
  return r[t % 100 > 4 && t % 100 < 20 ? 2 : e[Math.min(t % 10, 5)]];
5734
5812
  }
5735
- class ei {
5813
+ class ti {
5736
5814
  /**
5737
5815
  * Генерирует и возвращает данные-заглушку неопределённого менеджера.
5738
5816
  */
@@ -5748,7 +5826,7 @@ class ei {
5748
5826
  return r.id === 0 && r.guid === "-undefined-";
5749
5827
  }
5750
5828
  }
5751
- class ss extends Ie {
5829
+ class ns extends Ie {
5752
5830
  /**
5753
5831
  * Возвращает {@link Promise} для получения справочника списка менеджеров.
5754
5832
  */
@@ -5760,7 +5838,7 @@ class ss extends Ie {
5760
5838
  return this.cacheResponse(r, i), i;
5761
5839
  }
5762
5840
  }
5763
- class lt extends ee {
5841
+ class ut extends ee {
5764
5842
  /**
5765
5843
  * Инициализирует экземпляр класса {@link OfferShortInfo}.
5766
5844
  *
@@ -5787,7 +5865,7 @@ class lt extends ee {
5787
5865
  this.name = e == null ? void 0 : e.name, this.createdAt = R(e == null ? void 0 : e.createdAt) ? P(e.createdAt) : (e == null ? void 0 : e.createdAt) ?? /* @__PURE__ */ new Date(), this.client = new re(e == null ? void 0 : e.client), this.sum = e == null ? void 0 : e.sum;
5788
5866
  }
5789
5867
  }
5790
- class ce extends lt {
5868
+ class ce extends ut {
5791
5869
  /**
5792
5870
  * Инициализирует экземпляр класса {@link Offer}.
5793
5871
  *
@@ -5806,7 +5884,7 @@ class ce extends lt {
5806
5884
  this.sum = e.sum ?? 0, this.products = (e.products ?? []).map((t) => new Qr(t));
5807
5885
  }
5808
5886
  }
5809
- class ri extends Me {
5887
+ class si extends Me {
5810
5888
  /**
5811
5889
  * Инициализирует экземпляр класса {@link OffersListFilters}.
5812
5890
  *
@@ -5849,7 +5927,7 @@ class ri extends Me {
5849
5927
  }
5850
5928
  class Be extends a {
5851
5929
  }
5852
- class ut extends ot {
5930
+ class pt extends ct {
5853
5931
  /**
5854
5932
  * Инициализирует экземпляр класса {@link OrderInfo}.
5855
5933
  *
@@ -5915,10 +5993,10 @@ class ut extends ot {
5915
5993
  date: R((u = e == null ? void 0 : e.delivery) == null ? void 0 : u.date) ? P(e.delivery.date) : ((p = e == null ? void 0 : e.delivery) == null ? void 0 : p.date) ?? /* @__PURE__ */ new Date(),
5916
5994
  address: (g = e == null ? void 0 : e.delivery) != null && g.address ? new ke(e.delivery.address) : void 0,
5917
5995
  warehouse: (y = e == null ? void 0 : e.delivery) != null && y.warehouse ? new xe(e.delivery.warehouse) : void 0
5918
- }, this.attachedUser = e != null && e.attachedUser ? new q(e == null ? void 0 : e.attachedUser) : void 0, this.status = new Be(e == null ? void 0 : e.status), this.statusDetail = e != null && e.statusDetail ? new a(e.statusDetail) : void 0, this.salesDirection = new H(e == null ? void 0 : e.salesDirection), this.attachedAt = R(e == null ? void 0 : e.attachedAt) ? P(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;
5996
+ }, this.attachedUser = e != null && e.attachedUser ? new q(e == null ? void 0 : e.attachedUser) : void 0, this.status = new Be(e == null ? void 0 : e.status), this.statusDetail = e != null && e.statusDetail ? new a(e.statusDetail) : void 0, this.salesDirection = new F(e == null ? void 0 : e.salesDirection), this.attachedAt = R(e == null ? void 0 : e.attachedAt) ? P(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;
5919
5997
  }
5920
5998
  }
5921
- class is extends Er {
5999
+ class os extends Er {
5922
6000
  /**
5923
6001
  * Инициализирует экземпляр класса {@link OrderItem}.
5924
6002
  *
@@ -5978,7 +6056,7 @@ class is extends Er {
5978
6056
  this.product = new J(e.product), this.currency = new j(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 = W(e.sawing) ? e.sawing : e.sawing ? [e.sawing] : void 0, t && (this.replacement = t, this.quantity !== t.quantity && this.changedFields.push("quantity"), this.length !== t.length && this.changedFields.push("length"));
5979
6057
  }
5980
6058
  }
5981
- class L extends ut {
6059
+ class L extends pt {
5982
6060
  /**
5983
6061
  * Инициализирует экземпляр класса {@link Order}.
5984
6062
  *
@@ -6042,11 +6120,11 @@ class L extends ut {
6042
6120
  this.products = (e.products ?? []).map((i) => {
6043
6121
  var c;
6044
6122
  const o = i.replacementId ? (c = e.products) == null ? void 0 : c.find((u) => u.id === i.replacementId) : void 0;
6045
- return new is(i, o);
6046
- }), this.invoices = e.invoices ?? [], this.comment = e.comment, this.image = e.image, this.contragent = e.contragent ? He.createInstance(e.contragent) : void 0, this.barcode = e.barcode, this.orderSource = e.orderSource ? new a(e.orderSource) : void 0, this.isAllowProcessingWithoutPayment = e.isAllowProcessingWithoutPayment, this.nextStatuses = (t = e.nextStatuses) == null ? void 0 : t.map((i) => new Be(i)), this.actions = e.actions, this.operatorsComment = e.operatorsComment, this.operatorsForWarehouseComment = e.operatorsForWarehouseComment, this.erpOrderUrl = e.erpOrderUrl;
6123
+ return new os(i, o);
6124
+ }), this.invoices = e.invoices ?? [], this.comment = e.comment, this.image = e.image, this.contragent = e.contragent ? Fe.createInstance(e.contragent) : void 0, this.barcode = e.barcode, this.orderSource = e.orderSource ? new a(e.orderSource) : void 0, this.isAllowProcessingWithoutPayment = e.isAllowProcessingWithoutPayment, this.nextStatuses = (t = e.nextStatuses) == null ? void 0 : t.map((i) => new Be(i)), this.actions = e.actions, this.operatorsComment = e.operatorsComment, this.operatorsForWarehouseComment = e.operatorsForWarehouseComment, this.erpOrderUrl = e.erpOrderUrl;
6047
6125
  }
6048
6126
  }
6049
- class ti extends De {
6127
+ class ii extends De {
6050
6128
  /**
6051
6129
  * Возвращает список заказов-черновиков, удовлетворяющих указанным параметрам поиска.
6052
6130
  *
@@ -6058,7 +6136,7 @@ class ti extends De {
6058
6136
  * @see /doc/api/internal#/Заказы/api_internal_order_commercial_offer_get_list
6059
6137
  */
6060
6138
  getOffers(r, e, t, i = void 0) {
6061
- return this.getTypedPaginated(lt, "/internal/orders/offers", r, e, t, {}, void 0, i);
6139
+ return this.getTypedPaginated(ut, "/internal/orders/offers", r, e, t, {}, void 0, i);
6062
6140
  }
6063
6141
  /**
6064
6142
  * Создаёт заказ-черновик из содержимого корзины клиента и возвращает данные созданной записи.
@@ -6244,8 +6322,8 @@ class ti extends De {
6244
6322
  return this.post(`/internal/orders/offers/${r}/send`, e);
6245
6323
  }
6246
6324
  }
6247
- var ns = /* @__PURE__ */ ((n) => (n.View = "view", n.Share = "share", n.EditTags = "edit_tags", n.SaveOrderIgnoredProducts = "save_order_ignored_products", n.ChangeStatus = "change_status", n.ChangeProducts = "change_products", n.ChangeOrderParameters = "change_order_parameters", n.Recalculate = "recalculate", n.AttachOrder = "attach_order", n.DetachOrder = "detach_order", n.ChangeAttachedOperator = "change_attached_operator", n.SendOnlinePaymentLink = "send_online_payment_link", n.ConfirmOnlineFullPayment = "confirm_online_full_payment", n.MergeOrders = "merge_orders", n.GetHistory = "get_history", n.CloneOrder = "clone_order", n.DeleteAttachedFile = "delete_attached_file", n))(ns || {});
6248
- class si {
6325
+ var cs = /* @__PURE__ */ ((n) => (n.View = "view", n.Share = "share", n.EditTags = "edit_tags", n.SaveOrderIgnoredProducts = "save_order_ignored_products", n.ChangeStatus = "change_status", n.ChangeProducts = "change_products", n.ChangeOrderParameters = "change_order_parameters", n.Recalculate = "recalculate", n.AttachOrder = "attach_order", n.DetachOrder = "detach_order", n.ChangeAttachedOperator = "change_attached_operator", n.SendOnlinePaymentLink = "send_online_payment_link", n.ConfirmOnlineFullPayment = "confirm_online_full_payment", n.MergeOrders = "merge_orders", n.GetHistory = "get_history", n.CloneOrder = "clone_order", n.DeleteAttachedFile = "delete_attached_file", n))(cs || {});
6326
+ class ni {
6249
6327
  /**
6250
6328
  * Инициализирует экземпляр класса {@link OrderEditorData}.
6251
6329
  *
@@ -6312,11 +6390,11 @@ class si {
6312
6390
  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 = (t = r == null ? void 0 : r.delivery.address) == null ? void 0 : t.id, this.warehouseId = (i = r == null ? void 0 : r.delivery.warehouse) == null ? void 0 : i.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;
6313
6391
  }
6314
6392
  }
6315
- class pt extends a {
6316
- }
6317
6393
  class ht extends a {
6318
6394
  }
6319
- class ii extends Me {
6395
+ class gt extends a {
6396
+ }
6397
+ class oi extends Me {
6320
6398
  /**
6321
6399
  * Инициализирует экземпляр класса {@link OrdersListFilters}.
6322
6400
  *
@@ -6417,7 +6495,7 @@ class ii extends Me {
6417
6495
  * @inheritDoc
6418
6496
  */
6419
6497
  s(this, "onlyMyRegions");
6420
- this.attachedUsers = (t = e == null ? void 0 : e.attachedUsers) == null ? void 0 : t.map((u) => "isActive" in u ? new _e(u) : new pt(u)), this.clientSearchTerm = e == null ? void 0 : e.clientSearchTerm, this.client = e != null && e.client ? new re(e.client) : void 0, this.contragent = e == null ? void 0 : e.contragent, this.createdAt = new A(e == null ? void 0 : e.createdAt), this.creator = e != null && e.creator ? new q(e.creator) : void 0, this.deliveryDate = new A(e == null ? void 0 : e.deliveryDate), this.deliveryAddressSearch = e == null ? void 0 : e.deliveryAddressSearch, this.clientCities = (i = e == null ? void 0 : e.clientCities) == null ? void 0 : i.map((u) => new ye(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 A(e == null ? void 0 : e.attachedAt), this.salesDirections = (o = e == null ? void 0 : e.salesDirections) == null ? void 0 : o.map((u) => new H(u)), this.status = e == null ? void 0 : e.status, this.statusDetail = e == null ? void 0 : e.statusDetail, this.deliveryType = e != null && e.deliveryType ? new z(e.deliveryType) : void 0, this.paymentType = e != null && e.paymentType ? new ht(e.paymentType) : void 0, this.warehouses = (c = e == null ? void 0 : e.warehouses) == null ? void 0 : c.map((u) => new xe(u)), this.isToProcess = e == null ? void 0 : e.isToProcess;
6498
+ this.attachedUsers = (t = e == null ? void 0 : e.attachedUsers) == null ? void 0 : t.map((u) => "isActive" in u ? new _e(u) : new ht(u)), this.clientSearchTerm = e == null ? void 0 : e.clientSearchTerm, this.client = e != null && e.client ? new re(e.client) : void 0, this.contragent = e == null ? void 0 : e.contragent, this.createdAt = new A(e == null ? void 0 : e.createdAt), this.creator = e != null && e.creator ? new q(e.creator) : void 0, this.deliveryDate = new A(e == null ? void 0 : e.deliveryDate), this.deliveryAddressSearch = e == null ? void 0 : e.deliveryAddressSearch, this.clientCities = (i = e == null ? void 0 : e.clientCities) == null ? void 0 : i.map((u) => new ye(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 A(e == null ? void 0 : e.attachedAt), this.salesDirections = (o = e == null ? void 0 : e.salesDirections) == null ? void 0 : o.map((u) => new F(u)), this.status = e == null ? void 0 : e.status, this.statusDetail = e == null ? void 0 : e.statusDetail, this.deliveryType = e != null && e.deliveryType ? new z(e.deliveryType) : void 0, this.paymentType = e != null && e.paymentType ? new gt(e.paymentType) : void 0, this.warehouses = (c = e == null ? void 0 : e.warehouses) == null ? void 0 : c.map((u) => new xe(u)), this.isToProcess = e == null ? void 0 : e.isToProcess;
6421
6499
  }
6422
6500
  /**
6423
6501
  * @inheritDoc
@@ -6468,7 +6546,7 @@ class ii extends Me {
6468
6546
  return !((t = e == null ? void 0 : e.createdAt) != null && t.from) && !((i = e == null ? void 0 : e.createdAt) != null && i.to) && delete e.createdAt, !((o = e == null ? void 0 : e.deliveryDate) != null && o.from) && !((c = e == null ? void 0 : e.deliveryDate) != null && c.to) && delete e.deliveryDate, !((u = e == null ? void 0 : e.attachedAt) != null && u.from) && !((p = e == null ? void 0 : e.attachedAt) != null && p.to) && delete e.attachedAt, e;
6469
6547
  }
6470
6548
  }
6471
- class os {
6549
+ class ls {
6472
6550
  /**
6473
6551
  * Инициализирует экземпляр класса {@link OrderStatusHistoryInfo}.
6474
6552
  *
@@ -6494,7 +6572,7 @@ class os {
6494
6572
  this.user = new q(r == null ? void 0 : r.user), this.status = new Be(r == null ? void 0 : r.status), this.statusDetail = r != null && r.statusDetail ? new a(r.statusDetail) : void 0, this.createdAt = R(r == null ? void 0 : r.createdAt) ? P(r.createdAt) : (r == null ? void 0 : r.createdAt) ?? /* @__PURE__ */ new Date();
6495
6573
  }
6496
6574
  }
6497
- class ni extends De {
6575
+ class ci extends De {
6498
6576
  /**
6499
6577
  * Возвращает данные о заказах, удовлетворяющих указанным параметрам поиска.
6500
6578
  *
@@ -6506,7 +6584,7 @@ class ni extends De {
6506
6584
  * @see /doc/api/internal#/Заказы/api_internal_orders_get_list
6507
6585
  */
6508
6586
  getOrders(r, e, t, i = void 0) {
6509
- return this.getTypedPaginated(ut, "/internal/orders", r, e, t, {}, void 0, i);
6587
+ return this.getTypedPaginated(pt, "/internal/orders", r, e, t, {}, void 0, i);
6510
6588
  }
6511
6589
  /**
6512
6590
  * Возвращает количество заказов, соответствующих указанным фильтрам.
@@ -6719,7 +6797,7 @@ class ni extends De {
6719
6797
  * @see /doc/api/internal#/Заказы/api_internal_orders_status_history_get
6720
6798
  */
6721
6799
  getOrderStatusHistory(r) {
6722
- return this.getTypedList(os, `/internal/orders/${r}/history`);
6800
+ return this.getTypedList(ls, `/internal/orders/${r}/history`);
6723
6801
  }
6724
6802
  /**
6725
6803
  * Возвращает содержимое печатной формы заказа в формате HTML.
@@ -6907,7 +6985,7 @@ const sr = (n) => {
6907
6985
  const r = {};
6908
6986
  return n.from && (n.from.coefficient || n.from.value) && (r.from = {}, n.from.coefficient && (r.from.priceCoefficientId = n.from.coefficient.id), n.from.value && (r.from.increasePercent = n.from.value)), n.to && (n.to.coefficient || n.to.value) && (r.to = {}, n.to.coefficient && (r.to.priceCoefficientId = n.to.coefficient.id), n.to.value && (r.to.increasePercent = n.to.value)), r;
6909
6987
  };
6910
- class oi extends h {
6988
+ class li extends h {
6911
6989
  /**
6912
6990
  * Возвращает список клиентских цен на продукты в указанном диапазоне цены.
6913
6991
  *
@@ -6968,7 +7046,7 @@ class oi extends h {
6968
7046
  );
6969
7047
  }
6970
7048
  }
6971
- class cs {
7049
+ class us {
6972
7050
  /**
6973
7051
  * Инициализирует экземпляр класса {@link PriceHistoryItem}.
6974
7052
  *
@@ -7018,7 +7096,7 @@ class cs {
7018
7096
  this.cost = r.cost ?? 0, this.isLowCost = r.isLowCost ?? !1, this.isRetail = r.isRetail ?? !1, this.costDate = R(r.costDate) ? P(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 j(r.currency) : void 0;
7019
7097
  }
7020
7098
  }
7021
- class ls extends Oe {
7099
+ class ps extends Oe {
7022
7100
  /**
7023
7101
  * Инициализирует экземпляр класса {@link ProductPriceHistory}.
7024
7102
  *
@@ -7030,10 +7108,10 @@ class ls extends Oe {
7030
7108
  * @inheritDoc
7031
7109
  */
7032
7110
  s(this, "history");
7033
- this.history = ve(e.history, (t) => new cs(t));
7111
+ this.history = ve(e.history, (t) => new us(t));
7034
7112
  }
7035
7113
  }
7036
- class ci extends h {
7114
+ class ui extends h {
7037
7115
  /**
7038
7116
  * Возвращает данные об истории изменения цен.
7039
7117
  *
@@ -7053,7 +7131,7 @@ class ci extends h {
7053
7131
  (y) => S(y) || (W(y) || gr(y)) && ge(y)
7054
7132
  ), i = ((g = r.product) == null ? void 0 : g[0]) ?? 0;
7055
7133
  return delete t.product, this.get(`/internal/price/products/${i}/history`, t).then((y) => [
7056
- new ls(Le(y[0], { history: y }))
7134
+ new ps(Le(y[0], { history: y }))
7057
7135
  ]);
7058
7136
  }
7059
7137
  }
@@ -7075,7 +7153,7 @@ class Nr {
7075
7153
  r != null && r.products && (this.products = r.products.map((e) => new Oe(e))), r != null && r.productCategories && (this.productCategories = r.productCategories.map((e) => new Oe(e)));
7076
7154
  }
7077
7155
  }
7078
- class li extends h {
7156
+ class pi extends h {
7079
7157
  /**
7080
7158
  * Возвращает данные о рекомендациях указанной категории продуктов.
7081
7159
  *
@@ -7121,10 +7199,10 @@ class li extends h {
7121
7199
  });
7122
7200
  }
7123
7201
  }
7124
- var us = /* @__PURE__ */ ((n) => (n.New = "new", n.Processing = "processing", n.AwaitingSupplyProducts = "awaiting_supply_products", n.InvoiceIssued = "invoice_issued", n.ProcessingOnStock = "processing_on_stock", n.Finished = "finished", n.OrderUpdated = "order_updated", n.Canceled = "canceled", n.Error = "error", n))(us || {}), ps = /* @__PURE__ */ ((n) => (n.CanceledBy1c = "canceled_by1c", n.CanceledByClient = "canceled_by_client", n.FinishedNotApproved = "finished_not_approved", n.ProcessingByPurchasingDepartment = "processing_by_purchasing_department", n.WillWaiting = "will_waiting", n))(ps || {});
7125
- class hs extends a {
7202
+ var hs = /* @__PURE__ */ ((n) => (n.New = "new", n.Processing = "processing", n.AwaitingSupplyProducts = "awaiting_supply_products", n.InvoiceIssued = "invoice_issued", n.ProcessingOnStock = "processing_on_stock", n.Finished = "finished", n.OrderUpdated = "order_updated", n.Canceled = "canceled", n.Error = "error", n))(hs || {}), gs = /* @__PURE__ */ ((n) => (n.CanceledBy1c = "canceled_by1c", n.CanceledByClient = "canceled_by_client", n.FinishedNotApproved = "finished_not_approved", n.ProcessingByPurchasingDepartment = "processing_by_purchasing_department", n.WillWaiting = "will_waiting", n))(gs || {});
7203
+ class fs extends a {
7126
7204
  }
7127
- class gs extends a {
7205
+ class ms extends a {
7128
7206
  }
7129
7207
  class Rr extends k {
7130
7208
  /**
@@ -7157,15 +7235,15 @@ class Ur extends a {
7157
7235
  this.userRegions = ((t = e == null ? void 0 : e.userRegions) == null ? void 0 : t.map((i) => new Rr(i))) ?? [];
7158
7236
  }
7159
7237
  }
7160
- class fs extends a {
7161
- }
7162
- class ms extends a {
7163
- }
7164
7238
  class ys extends a {
7165
7239
  }
7166
7240
  class as extends a {
7167
7241
  }
7168
- class ui {
7242
+ class vs extends a {
7243
+ }
7244
+ class ws extends a {
7245
+ }
7246
+ class hi {
7169
7247
  /**
7170
7248
  * Генерирует и возвращает данные-заглушку неопределённой записи справочника.
7171
7249
  *
@@ -7184,7 +7262,7 @@ class ui {
7184
7262
  return r.id === 0 && r.slug === "-undefined-";
7185
7263
  }
7186
7264
  }
7187
- class gt extends a {
7265
+ class ft extends a {
7188
7266
  }
7189
7267
  const M = class M extends Ie {
7190
7268
  /**
@@ -7204,20 +7282,20 @@ const M = class M extends Ie {
7204
7282
  * и использовать в случае аналогичных запросов.
7205
7283
  */
7206
7284
  getReference(r, e = !1) {
7207
- return this.getTypedDataArrayRequester(hs, `/internal/references/${r}`, e);
7285
+ return this.getTypedDataArrayRequester(fs, `/internal/references/${r}`, e);
7208
7286
  }
7209
7287
  /**
7210
7288
  * Возвращает {@link Promise} для получения справочника данных о канале
7211
7289
  * первичного интереса.
7212
7290
  */
7213
7291
  getChannelPrimaryInterest() {
7214
- return this.getTypedDataArrayRequester(it, "/internal/references/channel-primary-interest", !0);
7292
+ return this.getTypedDataArrayRequester(nt, "/internal/references/channel-primary-interest", !0);
7215
7293
  }
7216
7294
  /**
7217
7295
  * Возвращает {@link Promise} для получения справочника должностей контактных лиц.
7218
7296
  */
7219
7297
  getContactPositions() {
7220
- return this.getTypedDataArrayRequester(fs, "/internal/references/contact-position", !0);
7298
+ return this.getTypedDataArrayRequester(ys, "/internal/references/contact-position", !0);
7221
7299
  }
7222
7300
  /**
7223
7301
  * Возвращает {@link Promise} для получения справочника списка направлений кураторства.
@@ -7248,13 +7326,13 @@ const M = class M extends Ie {
7248
7326
  * Возвращает {@link Promise} для получения справочника операторов.
7249
7327
  */
7250
7328
  getOperators() {
7251
- return this.getTypedDataArrayRequester(pt, "/internal/references/operator", !0);
7329
+ return this.getTypedDataArrayRequester(ht, "/internal/references/operator", !0);
7252
7330
  }
7253
7331
  /**
7254
7332
  * Возвращает {@link Promise} для получения справочника данных статусов оплаты заказов.
7255
7333
  */
7256
7334
  getOrderPaymentStatuses() {
7257
- return this.getTypedDataArrayRequester(ms, "/public/references/order-payment-status", !0);
7335
+ return this.getTypedDataArrayRequester(as, "/public/references/order-payment-status", !0);
7258
7336
  }
7259
7337
  /**
7260
7338
  * Возвращает {@link Promise} для получения справочника данных статусов заказов.
@@ -7266,31 +7344,31 @@ const M = class M extends Ie {
7266
7344
  * Возвращает {@link Promise} для получения справочника детализирующих статусов (подстатусов) заказов.
7267
7345
  */
7268
7346
  getOrderStatusDetails() {
7269
- return this.getTypedDataArrayRequester(ys, "/internal/references/order-status-detail", !0);
7347
+ return this.getTypedDataArrayRequester(vs, "/internal/references/order-status-detail", !0);
7270
7348
  }
7271
7349
  /**
7272
7350
  * Возвращает {@link Promise} для получения справочника данных типов оплаты заказов.
7273
7351
  */
7274
7352
  getPaymentTypes() {
7275
- return this.getTypedDataArrayRequester(ht, "/public/references/payment-type", !0);
7353
+ return this.getTypedDataArrayRequester(gt, "/public/references/payment-type", !0);
7276
7354
  }
7277
7355
  /**
7278
7356
  * Возвращает {@link Promise} для получения справочника типов ресурсов.
7279
7357
  */
7280
7358
  getResourceTypes() {
7281
- return this.getTypedDataArrayRequester(gt, "/internal/references/resource-type", !0);
7359
+ return this.getTypedDataArrayRequester(ft, "/internal/references/resource-type", !0);
7282
7360
  }
7283
7361
  /**
7284
7362
  * Возвращает {@link Promise} для получения справочника данных направлений продаж.
7285
7363
  */
7286
7364
  getSalesDirections() {
7287
- return this.getTypedDataArrayRequester(H, "/public/references/sales-direction", !0);
7365
+ return this.getTypedDataArrayRequester(F, "/public/references/sales-direction", !0);
7288
7366
  }
7289
7367
  /**
7290
7368
  * Возвращает {@link Promise} для получения справочника данных об источнике первичного интереса.
7291
7369
  */
7292
7370
  getSourcePrimaryInterest() {
7293
- return this.getTypedDataArrayRequester(nt, "/internal/references/source-primary-interest", !0);
7371
+ return this.getTypedDataArrayRequester(ot, "/internal/references/source-primary-interest", !0);
7294
7372
  }
7295
7373
  /**
7296
7374
  * Выполняет поиск данных о городах по терму в названии.
@@ -7328,7 +7406,7 @@ const M = class M extends Ie {
7328
7406
  * @param regionId Идентификатор региона.
7329
7407
  */
7330
7408
  getCitiesByRegion(r) {
7331
- return this.getTypedDataArrayRequester(gs, "/internal/references/city", !1, { params: { regionId: r } }).then(
7409
+ return this.getTypedDataArrayRequester(ms, "/internal/references/city", !1, { params: { regionId: r } }).then(
7332
7410
  (e) => M.withoutUnknownLocation(e)
7333
7411
  );
7334
7412
  }
@@ -7396,19 +7474,19 @@ const M = class M extends Ie {
7396
7474
  * Возвращает {@link Promise} для получения справочника типов свойств.
7397
7475
  */
7398
7476
  getPropertyTypes() {
7399
- return this.getTypedDataArrayRequester(Zr, "/internal/references/property-type", !0);
7477
+ return this.getTypedDataArrayRequester(et, "/internal/references/property-type", !0);
7400
7478
  }
7401
7479
  /**
7402
7480
  * Возвращает {@link Promise} для получения справочника коэффициентов цен.
7403
7481
  */
7404
7482
  getPriceCoefficients() {
7405
- return this.getTypedDataArrayRequester(Fe, "/internal/references/price-coefficient", !0);
7483
+ return this.getTypedDataArrayRequester(He, "/internal/references/price-coefficient", !0);
7406
7484
  }
7407
7485
  /**
7408
7486
  * Возвращает {@link Promise} для получения справочника типов файлов продуктов/категорий.
7409
7487
  */
7410
7488
  getProductFileType() {
7411
- return this.getTypedDataArrayRequester(as, "/public/references/product-file-type", !0);
7489
+ return this.getTypedDataArrayRequester(ws, "/public/references/product-file-type", !0);
7412
7490
  }
7413
7491
  };
7414
7492
  /**
@@ -7416,8 +7494,8 @@ const M = class M extends Ie {
7416
7494
  * обозначающих неизвестное местоположение.
7417
7495
  */
7418
7496
  s(M, "unknownLocationId", 1);
7419
- let d = M;
7420
- const b = Z("common.references_private", () => {
7497
+ let b = M;
7498
+ const d = Z("common.references_private", () => {
7421
7499
  const n = v({}), r = v(void 0), e = v(void 0), t = v(void 0), i = v(void 0), o = v(void 0), c = v(void 0), u = v(void 0), p = v(void 0), g = v(void 0), y = v(void 0), C = v(void 0), Re = v(void 0), Pe = v(void 0), te = v(void 0), se = v(void 0), We = v(void 0), je = v(void 0), Ge = v(void 0), l = v(void 0);
7422
7500
  return {
7423
7501
  /**
@@ -7501,100 +7579,100 @@ const b = Z("common.references_private", () => {
7501
7579
  */
7502
7580
  priceCoefficientsReference: l
7503
7581
  };
7504
- }), pi = Z("common.references", () => {
7582
+ }), gi = Z("common.references", () => {
7505
7583
  const n = T(() => {
7506
- const l = b();
7507
- return !l.channelPrimaryInterestReference && !l.dataLoaderList.channelPrimaryInterestReference && (l.dataLoaderList.channelPrimaryInterestReference = !0, h.getInstance(d).getChannelPrimaryInterest().then((f) => {
7584
+ const l = d();
7585
+ return !l.channelPrimaryInterestReference && !l.dataLoaderList.channelPrimaryInterestReference && (l.dataLoaderList.channelPrimaryInterestReference = !0, h.getInstance(b).getChannelPrimaryInterest().then((f) => {
7508
7586
  l.channelPrimaryInterestReference = f;
7509
7587
  }).catch(w)), l.channelPrimaryInterestReference;
7510
7588
  }), r = T(() => {
7511
- const l = b();
7512
- return !l.contactPositionsReference && !l.dataLoaderList.contactPositionsReference && (l.dataLoaderList.contactPositionsReference = !0, h.getInstance(d).getContactPositions().then((f) => {
7589
+ const l = d();
7590
+ return !l.contactPositionsReference && !l.dataLoaderList.contactPositionsReference && (l.dataLoaderList.contactPositionsReference = !0, h.getInstance(b).getContactPositions().then((f) => {
7513
7591
  l.contactPositionsReference = f;
7514
7592
  }).catch(w)), l.contactPositionsReference;
7515
7593
  }), e = T(() => {
7516
- const l = b();
7517
- return !l.currencyReference && !l.dataLoaderList.currencyReference && (l.dataLoaderList.currencyReference = !0, h.getInstance(d).getCurrency().then((f) => {
7594
+ const l = d();
7595
+ return !l.currencyReference && !l.dataLoaderList.currencyReference && (l.dataLoaderList.currencyReference = !0, h.getInstance(b).getCurrency().then((f) => {
7518
7596
  l.currencyReference = f;
7519
7597
  }).catch(w)), l.currencyReference;
7520
7598
  }), t = T(() => {
7521
- const l = b();
7522
- return !l.opfReference && !l.dataLoaderList.opfReference && (l.dataLoaderList.opfReference = !0, h.getInstance(d).getOpf().then((f) => {
7599
+ const l = d();
7600
+ return !l.opfReference && !l.dataLoaderList.opfReference && (l.dataLoaderList.opfReference = !0, h.getInstance(b).getOpf().then((f) => {
7523
7601
  l.opfReference = f;
7524
7602
  }).catch(w)), l.opfReference;
7525
7603
  }), i = T(() => {
7526
- const l = b();
7527
- return !l.operatorReference && !l.dataLoaderList.operatorReference && (l.dataLoaderList.operatorReference = !0, h.getInstance(d).getOperators().then((f) => {
7604
+ const l = d();
7605
+ return !l.operatorReference && !l.dataLoaderList.operatorReference && (l.dataLoaderList.operatorReference = !0, h.getInstance(b).getOperators().then((f) => {
7528
7606
  l.operatorReference = f;
7529
7607
  }).catch(w)), l.operatorReference;
7530
7608
  }), o = T(() => {
7531
- const l = b();
7532
- return !l.orderPaymentStatusReference && !l.dataLoaderList.orderPaymentStatusReference && (l.dataLoaderList.orderPaymentStatusReference = !0, h.getInstance(d).getOrderPaymentStatuses().then((f) => {
7609
+ const l = d();
7610
+ return !l.orderPaymentStatusReference && !l.dataLoaderList.orderPaymentStatusReference && (l.dataLoaderList.orderPaymentStatusReference = !0, h.getInstance(b).getOrderPaymentStatuses().then((f) => {
7533
7611
  l.orderPaymentStatusReference = f;
7534
7612
  }).catch(w)), l.orderPaymentStatusReference;
7535
7613
  }), c = T(() => {
7536
- const l = b();
7537
- return !l.orderStatusReference && !l.dataLoaderList.orderStatusReference && (l.dataLoaderList.orderStatusReference = !0, h.getInstance(d).getOrderStatuses().then((f) => {
7614
+ const l = d();
7615
+ return !l.orderStatusReference && !l.dataLoaderList.orderStatusReference && (l.dataLoaderList.orderStatusReference = !0, h.getInstance(b).getOrderStatuses().then((f) => {
7538
7616
  l.orderStatusReference = f;
7539
7617
  }).catch(w)), l.orderStatusReference;
7540
7618
  }), u = T(() => {
7541
- const l = b();
7542
- return !l.orderStatusDetailReference && !l.dataLoaderList.orderStatusDetailReference && (l.dataLoaderList.orderStatusDetailReference = !0, h.getInstance(d).getOrderStatusDetails().then((f) => {
7619
+ const l = d();
7620
+ return !l.orderStatusDetailReference && !l.dataLoaderList.orderStatusDetailReference && (l.dataLoaderList.orderStatusDetailReference = !0, h.getInstance(b).getOrderStatusDetails().then((f) => {
7543
7621
  l.orderStatusDetailReference = f;
7544
7622
  }).catch(w)), l.orderStatusDetailReference;
7545
7623
  }), p = T(() => {
7546
- const l = b();
7547
- return !l.paymentTypeReference && !l.dataLoaderList.paymentTypeReference && (l.dataLoaderList.paymentTypeReference = !0, h.getInstance(d).getPaymentTypes().then((f) => {
7624
+ const l = d();
7625
+ return !l.paymentTypeReference && !l.dataLoaderList.paymentTypeReference && (l.dataLoaderList.paymentTypeReference = !0, h.getInstance(b).getPaymentTypes().then((f) => {
7548
7626
  l.paymentTypeReference = f;
7549
7627
  }).catch(w)), l.paymentTypeReference;
7550
7628
  }), g = T(() => {
7551
- const l = b();
7552
- return !l.partnerGroupReference && !l.dataLoaderList.partnerGroupReference && (l.dataLoaderList.partnerGroupReference = !0, h.getInstance(d).getPartnerGroup().then((f) => {
7629
+ const l = d();
7630
+ return !l.partnerGroupReference && !l.dataLoaderList.partnerGroupReference && (l.dataLoaderList.partnerGroupReference = !0, h.getInstance(b).getPartnerGroup().then((f) => {
7553
7631
  l.partnerGroupReference = f;
7554
7632
  }).catch(w)), l.partnerGroupReference;
7555
7633
  }), y = T(() => {
7556
- const l = b();
7557
- return !l.productFileTypeReference && !l.dataLoaderList.productFileTypeReference && (l.dataLoaderList.productFileTypeReference = !0, h.getInstance(d).getProductFileType().then((f) => {
7634
+ const l = d();
7635
+ return !l.productFileTypeReference && !l.dataLoaderList.productFileTypeReference && (l.dataLoaderList.productFileTypeReference = !0, h.getInstance(b).getProductFileType().then((f) => {
7558
7636
  l.productFileTypeReference = f;
7559
7637
  }).catch(w)), l.productFileTypeReference;
7560
7638
  }), C = T(() => {
7561
- const l = b();
7562
- return !l.resourceTypesReference && !l.dataLoaderList.resourceTypesReference && (l.dataLoaderList.resourceTypesReference = !0, h.getInstance(d).getResourceTypes().then((f) => {
7639
+ const l = d();
7640
+ return !l.resourceTypesReference && !l.dataLoaderList.resourceTypesReference && (l.dataLoaderList.resourceTypesReference = !0, h.getInstance(b).getResourceTypes().then((f) => {
7563
7641
  l.resourceTypesReference = f;
7564
7642
  }).catch(w)), l.resourceTypesReference;
7565
7643
  }), Re = T(() => {
7566
- const l = b();
7567
- return !l.salesDirectionsReference && !l.dataLoaderList.salesDirectionsReference && (l.dataLoaderList.salesDirectionsReference = !0, h.getInstance(d).getSalesDirections().then((f) => {
7644
+ const l = d();
7645
+ return !l.salesDirectionsReference && !l.dataLoaderList.salesDirectionsReference && (l.dataLoaderList.salesDirectionsReference = !0, h.getInstance(b).getSalesDirections().then((f) => {
7568
7646
  l.salesDirectionsReference = f;
7569
7647
  }).catch(w)), l.salesDirectionsReference;
7570
7648
  }), Pe = T(() => {
7571
- const l = b();
7572
- return !l.sourcePrimaryInterestReference && !l.dataLoaderList.sourcePrimaryInterestReference && (l.dataLoaderList.sourcePrimaryInterestReference = !0, h.getInstance(d).getSourcePrimaryInterest().then((f) => {
7649
+ const l = d();
7650
+ return !l.sourcePrimaryInterestReference && !l.dataLoaderList.sourcePrimaryInterestReference && (l.dataLoaderList.sourcePrimaryInterestReference = !0, h.getInstance(b).getSourcePrimaryInterest().then((f) => {
7573
7651
  l.sourcePrimaryInterestReference = f;
7574
7652
  }).catch(w)), l.sourcePrimaryInterestReference;
7575
7653
  }), te = T(() => {
7576
- const l = b();
7577
- return !l.deliveryTypeReference && !l.dataLoaderList.deliveryTypeReference && (l.dataLoaderList.deliveryTypeReference = !0, h.getInstance(d).getDeliveryTypes().then((f) => {
7654
+ const l = d();
7655
+ return !l.deliveryTypeReference && !l.dataLoaderList.deliveryTypeReference && (l.dataLoaderList.deliveryTypeReference = !0, h.getInstance(b).getDeliveryTypes().then((f) => {
7578
7656
  l.deliveryTypeReference = f;
7579
7657
  }).catch(w)), l.deliveryTypeReference;
7580
7658
  }), se = T(() => {
7581
- const l = b();
7582
- return !l.managersList && !l.dataLoaderList.managersList && (l.dataLoaderList.managersList = !0, h.getInstance(ss).getManagers().then((f) => {
7659
+ const l = d();
7660
+ return !l.managersList && !l.dataLoaderList.managersList && (l.dataLoaderList.managersList = !0, h.getInstance(ns).getManagers().then((f) => {
7583
7661
  l.managersList = f;
7584
7662
  }).catch(w)), l.managersList;
7585
7663
  }), We = T(() => {
7586
- const l = b();
7587
- return !l.warehousesReference && !l.dataLoaderList.warehousesReference && (l.dataLoaderList.warehousesReference = !0, h.getInstance(d).getWarehouses().then((f) => {
7664
+ const l = d();
7665
+ return !l.warehousesReference && !l.dataLoaderList.warehousesReference && (l.dataLoaderList.warehousesReference = !0, h.getInstance(b).getWarehouses().then((f) => {
7588
7666
  l.warehousesReference = f;
7589
7667
  }).catch(w)), l.warehousesReference;
7590
7668
  }), je = T(() => {
7591
- const l = b();
7592
- return !l.propertyTypesReference && !l.dataLoaderList.propertyTypesReference && (l.dataLoaderList.propertyTypesReference = !0, h.getInstance(d).getPropertyTypes().then((f) => {
7669
+ const l = d();
7670
+ return !l.propertyTypesReference && !l.dataLoaderList.propertyTypesReference && (l.dataLoaderList.propertyTypesReference = !0, h.getInstance(b).getPropertyTypes().then((f) => {
7593
7671
  l.propertyTypesReference = f;
7594
7672
  }).catch(w)), l.propertyTypesReference;
7595
7673
  }), Ge = T(() => {
7596
- const l = b();
7597
- return !l.priceCoefficientsReference && !l.dataLoaderList.priceCoefficientsReference && (l.dataLoaderList.priceCoefficientsReference = !0, h.getInstance(d).getPriceCoefficients().then((f) => {
7674
+ const l = d();
7675
+ return !l.priceCoefficientsReference && !l.dataLoaderList.priceCoefficientsReference && (l.dataLoaderList.priceCoefficientsReference = !0, h.getInstance(b).getPriceCoefficients().then((f) => {
7598
7676
  l.priceCoefficientsReference = f;
7599
7677
  }).catch(w)), l.priceCoefficientsReference;
7600
7678
  });
@@ -7677,7 +7755,7 @@ const b = Z("common.references_private", () => {
7677
7755
  priceCoefficientsReference: Ge
7678
7756
  };
7679
7757
  });
7680
- class vs {
7758
+ class Cs {
7681
7759
  /**
7682
7760
  * Инициализирует экземпляр класса {@link MetaTagItem}.
7683
7761
  *
@@ -7695,7 +7773,7 @@ class vs {
7695
7773
  this.name = r.name, this.content = r.content;
7696
7774
  }
7697
7775
  }
7698
- class Hr {
7776
+ class Fr {
7699
7777
  /**
7700
7778
  * Инициализирует экземпляр класса {@link Seo}.
7701
7779
  *
@@ -7735,10 +7813,10 @@ class Hr {
7735
7813
  */
7736
7814
  s(this, "tags");
7737
7815
  var e;
7738
- this.resourceType = new gt(r == null ? void 0 : r.resourceType), this.resourceId = (r == null ? void 0 : r.resourceId) ?? "", this.h1 = r == null ? void 0 : r.h1, this.title = r == null ? void 0 : r.title, this.description = r == null ? void 0 : r.description, this.keywords = r == null ? void 0 : r.keywords, this.meta = ((e = r == null ? void 0 : r.meta) == null ? void 0 : e.map((t) => new vs(t))) ?? [], this.tags = r == null ? void 0 : r.tags;
7816
+ this.resourceType = new ft(r == null ? void 0 : r.resourceType), this.resourceId = (r == null ? void 0 : r.resourceId) ?? "", this.h1 = r == null ? void 0 : r.h1, this.title = r == null ? void 0 : r.title, this.description = r == null ? void 0 : r.description, this.keywords = r == null ? void 0 : r.keywords, this.meta = ((e = r == null ? void 0 : r.meta) == null ? void 0 : e.map((t) => new Cs(t))) ?? [], this.tags = r == null ? void 0 : r.tags;
7739
7817
  }
7740
7818
  }
7741
- class hi extends h {
7819
+ class fi extends h {
7742
7820
  /**
7743
7821
  * Возвращает {@link Promise} для получения данных о SEO-параметрах указанного ресурса.
7744
7822
  *
@@ -7746,7 +7824,7 @@ class hi extends h {
7746
7824
  * @param resourceId Идентификатор ресурса для которого необходимо получить SEO-данные.
7747
7825
  */
7748
7826
  getResourceSeoData(r, e) {
7749
- return this.get(`/internal/seo/${r.slug}/${e}`, {}, (t) => new Hr(t.data));
7827
+ return this.get(`/internal/seo/${r.slug}/${e}`, {}, (t) => new Fr(t.data));
7750
7828
  }
7751
7829
  /**
7752
7830
  * Выполняет сохранение данных о SEO-параметрах для указанного ресурса.
@@ -7757,7 +7835,7 @@ class hi extends h {
7757
7835
  * в случае ошибок в запросах.
7758
7836
  */
7759
7837
  saveResourceSeoData(r, e = {}) {
7760
- return this.post(`/internal/seo/${r.resourceType.slug}/${r.resourceId}`, r, (t) => new Hr(t.data), e);
7838
+ return this.post(`/internal/seo/${r.resourceType.slug}/${r.resourceId}`, r, (t) => new Fr(t.data), e);
7761
7839
  }
7762
7840
  /**
7763
7841
  * Возвращает {@link Promise} для удаления данных о SEO-параметрах указанного ресурса.
@@ -7769,7 +7847,7 @@ class hi extends h {
7769
7847
  return this.delete(`/internal/seo/${r.slug}/${e}`);
7770
7848
  }
7771
7849
  }
7772
- class gi extends h {
7850
+ class mi extends h {
7773
7851
  /**
7774
7852
  * Возвращает подсказки по адресам.
7775
7853
  *
@@ -7816,8 +7894,8 @@ class gi extends h {
7816
7894
  });
7817
7895
  }
7818
7896
  }
7819
- var ws = /* @__PURE__ */ ((n) => (n.Admin = "admin", n.Manager = "manager", n.Operator = "operator", n.Client = "client", n.Guest = "guest", n))(ws || {});
7820
- class Cs extends Xr {
7897
+ var Ds = /* @__PURE__ */ ((n) => (n.Admin = "admin", n.Manager = "manager", n.Operator = "operator", n.Client = "client", n.ExternalSeo = "external_seo", n.Guest = "guest", n))(Ds || {});
7898
+ class Rs extends Zr {
7821
7899
  /**
7822
7900
  * Инициализирует экземпляр класса {@link User}.
7823
7901
  *
@@ -7841,10 +7919,10 @@ class Cs extends Xr {
7841
7919
  * Роль ценообразования текущего пользователя.
7842
7920
  */
7843
7921
  s(this, "pricingRole");
7844
- this.type = e == null ? void 0 : e.type, this.canDoReclamations = (e == null ? void 0 : e.canDoReclamations) ?? !1, this.photo = e == null ? void 0 : e.photo, this.pricingRole = e != null && e.pricingRole ? new Vr(e.pricingRole) : void 0;
7922
+ this.type = e == null ? void 0 : e.type, this.canDoReclamations = (e == null ? void 0 : e.canDoReclamations) ?? !1, this.photo = e == null ? void 0 : e.photo, this.pricingRole = e != null && e.pricingRole ? new Kr(e.pricingRole) : void 0;
7845
7923
  }
7846
7924
  }
7847
- class fi extends h {
7925
+ class yi extends h {
7848
7926
  /**
7849
7927
  * Инициализирует экземпляр класса {@link UserAuthDataProvider}.
7850
7928
  */
@@ -7860,16 +7938,16 @@ class fi extends h {
7860
7938
  return this.get("internal/users/current-tokens").then((r) => r.accessToken);
7861
7939
  }
7862
7940
  }
7863
- class Ds extends h {
7941
+ class Ps extends h {
7864
7942
  /**
7865
7943
  * Возвращает данные о текущем пользователе.
7866
7944
  */
7867
7945
  // eslint-disable-next-line class-methods-use-this
7868
7946
  getCurrentUser() {
7869
- return this.get("/internal/users/info", {}, (r) => new Cs(r.data), !0);
7947
+ return this.get("/internal/users/info", {}, (r) => new Rs(r.data), !0);
7870
7948
  }
7871
7949
  }
7872
- const Rs = Z("common.user_state_private", () => {
7950
+ const Ts = Z("common.user_state_private", () => {
7873
7951
  const n = v({}), r = v(void 0);
7874
7952
  return {
7875
7953
  /**
@@ -7881,13 +7959,13 @@ const Rs = Z("common.user_state_private", () => {
7881
7959
  */
7882
7960
  currentUser: r
7883
7961
  };
7884
- }), mi = Z("common.user_state", () => ({
7962
+ }), ai = Z("common.user_state", () => ({
7885
7963
  /**
7886
7964
  * Данные о текущем пользователе.
7887
7965
  */
7888
7966
  currentUser: T(() => {
7889
- const r = Rs();
7890
- return !r.currentUser && !r.dataLoaderList.currentUser && (r.dataLoaderList.currentUser = !0, h.getInstance(Ds).getCurrentUser().then((e) => {
7967
+ const r = Ts();
7968
+ return !r.currentUser && !r.dataLoaderList.currentUser && (r.dataLoaderList.currentUser = !0, h.getInstance(Ps).getCurrentUser().then((e) => {
7891
7969
  r.currentUser = e;
7892
7970
  }).catch(w).finally(() => {
7893
7971
  r.dataLoaderList.currentUser = !1;
@@ -7909,7 +7987,7 @@ class hr {
7909
7987
  * @inheritDoc
7910
7988
  */
7911
7989
  s(this, "salesDirection");
7912
- this.user = new q(r == null ? void 0 : r.user), this.salesDirection = new H(r == null ? void 0 : r.salesDirection);
7990
+ this.user = new q(r == null ? void 0 : r.user), this.salesDirection = new F(r == null ? void 0 : r.salesDirection);
7913
7991
  }
7914
7992
  }
7915
7993
  class ir extends Rr {
@@ -7932,7 +8010,7 @@ class ir extends Rr {
7932
8010
  this.cities = ((t = e == null ? void 0 : e.cities) == null ? void 0 : t.map((o) => new ye(o))) ?? [], this.users = ((i = e == null ? void 0 : e.users) == null ? void 0 : i.map((o) => new hr(o))) ?? [];
7933
8011
  }
7934
8012
  }
7935
- class yi extends Me {
8013
+ class vi extends Me {
7936
8014
  /**
7937
8015
  * Инициализирует экземпляр класса {@link UserRegionsListFilters}.
7938
8016
  *
@@ -7968,7 +8046,7 @@ class yi extends Me {
7968
8046
  return this;
7969
8047
  }
7970
8048
  }
7971
- class ai extends De {
8049
+ class wi extends De {
7972
8050
  /**
7973
8051
  * Возвращает список регионов пользователей.
7974
8052
  *
@@ -8067,7 +8145,7 @@ class ai extends De {
8067
8145
  });
8068
8146
  }
8069
8147
  }
8070
- class vi {
8148
+ class Ci {
8071
8149
  /**
8072
8150
  * Инициализирует экземпляр класса {@link FieldValidationResultData}.
8073
8151
  *
@@ -8091,180 +8169,182 @@ class vi {
8091
8169
  }
8092
8170
  }
8093
8171
  export {
8094
- hs as AnyReference,
8095
- Mt as AppBaseConfig,
8172
+ fs as AnyReference,
8173
+ Bt as AppBaseConfig,
8096
8174
  ur as BankAccount,
8097
8175
  De as BasePaginationProvider,
8098
- Yt as CalculationTypeEnum,
8176
+ zt as CalculationTypeEnum,
8099
8177
  m as CalendarHelper,
8100
8178
  Ae as Cart,
8101
- Os as CartProvider,
8102
- xs as CatalogProvider,
8179
+ xs as CartProvider,
8180
+ qs as CatalogProvider,
8103
8181
  zr as CatalogableItem,
8104
8182
  G as Category,
8183
+ Kt as CategoryFilter,
8105
8184
  Lr as CategoryFilterSetting,
8185
+ Vt as CategoryFilterValue,
8106
8186
  kr as CategoryPricingRule,
8107
- it as ChannelPrimaryInterest,
8108
- gs as City,
8187
+ nt as ChannelPrimaryInterest,
8188
+ ms as City,
8109
8189
  ye as CityWithRegionAndCountry,
8110
8190
  Ur as CityWithUserRegion,
8111
8191
  _r as Client,
8112
- Zt as ClientAdditionalData,
8192
+ rs as ClientAdditionalData,
8113
8193
  Ue as ClientCategory,
8114
- F as ClientDataProvider,
8115
- _s as ClientPriceProvider,
8116
- qs as ClientPriceTemplateProvider,
8194
+ H as ClientDataProvider,
8195
+ Ns as ClientPriceProvider,
8196
+ Us as ClientPriceTemplateProvider,
8117
8197
  J as ClientProduct,
8118
- Hs as ClientProductCategoryDataProvider,
8119
- Fs as ClientProductDataProvider,
8198
+ Ms as ClientProductCategoryDataProvider,
8199
+ Bs as ClientProductDataProvider,
8120
8200
  re as ClientShortInfo,
8121
- Vt as ClientsAdditionalDataRequestTypeEnum,
8122
- Gs as ClientsListFilters,
8201
+ Xt as ClientsAdditionalDataRequestTypeEnum,
8202
+ zs as ClientsListFilters,
8123
8203
  Oe as CodedIdentity,
8124
- Es as ConfiguratorProvider,
8125
- rs as ConfiguratorsEnum,
8204
+ Js as ConfiguratorProvider,
8205
+ ss as ConfiguratorsEnum,
8126
8206
  pr as Contact,
8127
- Jr as ContactLinks,
8207
+ Vr as ContactLinks,
8128
8208
  K as ContactPerson,
8129
- es as ContactPersonRelated,
8130
- fs as ContactPosition,
8209
+ ts as ContactPersonRelated,
8210
+ ys as ContactPosition,
8131
8211
  rr as ContactRelation,
8132
- rt as ContragentBase,
8133
- He as ContragentFactory,
8134
- tt as ContragentIc,
8135
- Kt as ContragentPerson,
8136
- Xt as ContragentUlNr,
8137
- st as ContragentUlR,
8212
+ tt as ContragentBase,
8213
+ Fe as ContragentFactory,
8214
+ st as ContragentIc,
8215
+ Zt as ContragentPerson,
8216
+ es as ContragentUlNr,
8217
+ it as ContragentUlR,
8138
8218
  ar as CostSourceEnum,
8139
8219
  fe as Country,
8140
8220
  wr as CuratedDirection,
8141
8221
  Cr as Curator,
8142
8222
  j as Currency,
8143
- gi as DataSuggestionProvider,
8144
- Vs as DateTimeProvider,
8145
- et as DeletableNamedIdentity,
8223
+ mi as DataSuggestionProvider,
8224
+ Xs as DateTimeProvider,
8225
+ rt as DeletableNamedIdentity,
8146
8226
  ke as DeliveryAddress,
8147
8227
  z as DeliveryType,
8148
8228
  Wr as DetailedJwtPayload,
8149
- Nt as DeviceTypeResolutionConfig,
8150
- Bt as DiscountShortInfo,
8151
- vi as FieldValidationResultData,
8229
+ Ut as DeviceTypeResolutionConfig,
8230
+ Wt as DiscountShortInfo,
8231
+ Ci as FieldValidationResultData,
8152
8232
  V as FilterGroup,
8153
8233
  Or as FilterItem,
8154
8234
  Dr as FilterOpEnum,
8155
8235
  Jt as FilterSettings,
8156
8236
  Yr as GeoCoordinates,
8157
- jt as HiddenCatalogableItem,
8237
+ Gt as HiddenCatalogableItem,
8158
8238
  Ie as HttpCachedRequester,
8159
- Ut as HttpParamsConfig,
8239
+ Ft as HttpParamsConfig,
8160
8240
  h as HttpRequester,
8161
8241
  ee as Identity,
8162
- Gt as Image,
8242
+ Yt as Image,
8163
8243
  we as JwtPayload,
8164
8244
  _e as Manager,
8165
8245
  vr as ManagerCommon,
8166
- ei as ManagerDataFactory,
8167
- ss as ManagerDataProvider,
8168
- vs as MetaTagItem,
8246
+ ti as ManagerDataFactory,
8247
+ ns as ManagerDataProvider,
8248
+ Cs as MetaTagItem,
8169
8249
  k as NamedIdentity,
8170
8250
  ce as Offer,
8171
- lt as OfferShortInfo,
8172
- ti as OffersDataProvider,
8173
- ri as OffersListFilters,
8174
- pt as Operator,
8251
+ ut as OfferShortInfo,
8252
+ ii as OffersDataProvider,
8253
+ si as OffersListFilters,
8254
+ ht as Operator,
8175
8255
  X as Opf,
8176
8256
  Y as OpfEnum,
8177
8257
  L as Order,
8178
- ns as OrderAction,
8179
- si as OrderEditorData,
8180
- ut as OrderInfo,
8181
- is as OrderItem,
8258
+ cs as OrderAction,
8259
+ ni as OrderEditorData,
8260
+ pt as OrderInfo,
8261
+ os as OrderItem,
8182
8262
  Er as OrderItemBase,
8183
- ms as OrderPaymentStatus,
8184
- ot as OrderShortInfo,
8263
+ as as OrderPaymentStatus,
8264
+ ct as OrderShortInfo,
8185
8265
  Be as OrderStatus,
8186
- ys as OrderStatusDetail,
8187
- ps as OrderStatusDetailEnum,
8188
- us as OrderStatusEnum,
8189
- os as OrderStatusHistoryInfo,
8190
- ni as OrdersDataProvider,
8191
- ii as OrdersListFilters,
8266
+ vs as OrderStatusDetail,
8267
+ gs as OrderStatusDetailEnum,
8268
+ hs as OrderStatusEnum,
8269
+ ls as OrderStatusHistoryInfo,
8270
+ ci as OrdersDataProvider,
8271
+ oi as OrdersListFilters,
8192
8272
  Me as PaginationFiltersBase,
8193
8273
  ae as PartnerGroup,
8194
- ht as PaymentType,
8274
+ gt as PaymentType,
8195
8275
  Ne as PreferencesStorageProvider,
8196
8276
  tr as PriceAnalyze,
8197
- oi as PriceAnalyzeProvider,
8198
- Fe as PriceCoefficient,
8277
+ li as PriceAnalyzeProvider,
8278
+ He as PriceCoefficient,
8199
8279
  Gr as PriceCoefficientEnum,
8200
- ci as PriceHistoryDataProvider,
8201
- cs as PriceHistoryItem,
8280
+ ui as PriceHistoryDataProvider,
8281
+ us as PriceHistoryItem,
8202
8282
  ue as PriceTemplate,
8203
8283
  Ze as PriceTemplateCategory,
8204
8284
  Se as PriceTemplateClient,
8205
- Kr as PriceTemplateICatalogableItem,
8285
+ Xr as PriceTemplateICatalogableItem,
8206
8286
  er as PriceTemplateProduct,
8207
- Ms as PriceTemplateProvider,
8287
+ Ws as PriceTemplateProvider,
8208
8288
  $e as PricingRole,
8209
- Bs as PricingRoleProvider,
8289
+ js as PricingRoleProvider,
8210
8290
  lr as PrimaryCatalogableItem,
8211
8291
  U as Product,
8212
- Ns as ProductCategoryDataProvider,
8213
- Us as ProductDataProvider,
8214
- as as ProductFileType,
8215
- Et as ProductFilterTypeEnum,
8292
+ Fs as ProductCategoryDataProvider,
8293
+ Hs as ProductDataProvider,
8294
+ ws as ProductFileType,
8295
+ Jr as ProductFilterTypeEnum,
8216
8296
  yr as ProductPriceCoefficient,
8217
- ls as ProductPriceHistory,
8297
+ ps as ProductPriceHistory,
8218
8298
  $r as ProductUnit,
8219
- Ws as PropertiesProvider,
8299
+ Gs as PropertiesProvider,
8220
8300
  pe as Property,
8221
- Zr as PropertyType,
8222
- zt as PropertyTypeEnum,
8301
+ et as PropertyType,
8302
+ Et as PropertyTypeEnum,
8223
8303
  oe as PropertyValue,
8224
- li as RecommendationsDataProvider,
8304
+ pi as RecommendationsDataProvider,
8225
8305
  Nr as RecommendationsList,
8226
8306
  a as Reference,
8227
- ui as ReferenceDataFactory,
8228
- d as ReferenceDataProvider,
8307
+ hi as ReferenceDataFactory,
8308
+ b as ReferenceDataProvider,
8229
8309
  me as Region,
8230
- gt as ResourceType,
8231
- Ks as STANDARD_PERIOD_GROUPS,
8232
- Xs as STANDARD_PERIOD_SECTIONS,
8233
- H as SalesDirection,
8310
+ ft as ResourceType,
8311
+ Zs as STANDARD_PERIOD_GROUPS,
8312
+ ei as STANDARD_PERIOD_SECTIONS,
8313
+ F as SalesDirection,
8234
8314
  Ht as SentryConfig,
8235
- Hr as Seo,
8236
- hi as SeoDataProvider,
8237
- nt as SourcePrimaryInterest,
8238
- Wt as StockCount,
8239
- Qs as TableDataPagination,
8240
- ts as TableDataPaginationRequestParams,
8241
- Js as TableDataSortRequestParams,
8242
- js as TemplateProductCategoryDataProvider,
8243
- Is as TemplatesListFilters,
8315
+ Fr as Seo,
8316
+ fi as SeoDataProvider,
8317
+ ot as SourcePrimaryInterest,
8318
+ jt as StockCount,
8319
+ Vs as TableDataPagination,
8320
+ is as TableDataPaginationRequestParams,
8321
+ Ks as TableDataSortRequestParams,
8322
+ Ys as TemplateProductCategoryDataProvider,
8323
+ _s as TemplatesListFilters,
8244
8324
  _ as TypedInstanceFactory,
8245
- ct as UnitsHelper,
8246
- Ys as UnknownClientDataProvider,
8325
+ lt as UnitsHelper,
8326
+ Es as UnknownClientDataProvider,
8247
8327
  jr as UpdatableNamedIdentity,
8248
- Cs as User,
8249
- fi as UserAuthDataProvider,
8250
- Xr as UserCommonInfo,
8251
- Ds as UserDataProvider,
8252
- Vr as UserPricingRole,
8328
+ Rs as User,
8329
+ yi as UserAuthDataProvider,
8330
+ Zr as UserCommonInfo,
8331
+ Ps as UserDataProvider,
8332
+ Kr as UserPricingRole,
8253
8333
  ir as UserRegion,
8254
8334
  hr as UserRegionEmployee,
8255
- ai as UserRegionProvider,
8335
+ wi as UserRegionProvider,
8256
8336
  Rr as UserRegionShortInfo,
8257
- yi as UserRegionsListFilters,
8337
+ vi as UserRegionsListFilters,
8258
8338
  q as UserShortInfo,
8259
- ws as UserTypeEnum,
8260
- zs as VersionConfig,
8339
+ Ds as UserTypeEnum,
8340
+ Qs as VersionConfig,
8261
8341
  xe as Warehouse,
8262
- Ft as WebSocketConfig,
8342
+ Mt as WebSocketConfig,
8263
8343
  Ir as findCatalogItemByIdRecursive,
8264
8344
  xr as flattenCatalogItems,
8265
- Zs as pluralize,
8345
+ ri as pluralize,
8266
8346
  Xe as useAuthStateStore,
8267
8347
  I as useBaseConfigStateStore,
8268
- pi as useReferencesStore,
8269
- mi as useUserStateStore
8348
+ gi as useReferencesStore,
8349
+ ai as useUserStateStore
8270
8350
  };