@snabcentr/common-lib 2.25.1 → 2.52.3

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 $t = Object.defineProperty;
2
- var kt = (n, r, e) => r in n ? $t(n, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[r] = e;
3
- var s = (n, r, e) => kt(n, typeof r != "symbol" ? r + "" : r, e);
4
- import { jwtDecode as Kr } from "jwt-decode";
5
- import { merge as Ne, isNil as m, isEmpty as J, noop as T, mapValues as Xr, isArray as W, every as Ot, split as Lt, startsWith as Zr, endsWith as It, includes as xt, isString as R, isFunction as br, map as De, isObject as Ve, isDate as Je, isError as _r, toLower as _t, isPlainObject as Nt, isUndefined as He, constant as qt, toUpper as Et, cloneDeep as Ut, forEach as Ft, round as Mt, omitBy as et } from "lodash-es";
6
- import { objectToCamel as Sr, objectToSnake as Ht } from "ts-case-convert";
1
+ var kt = Object.defineProperty;
2
+ var Ot = (n, r, e) => r in n ? kt(n, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[r] = e;
3
+ var s = (n, r, e) => Ot(n, typeof r != "symbol" ? r + "" : r, e);
4
+ import { jwtDecode as Xr } from "jwt-decode";
5
+ import { merge as Ne, isNil as m, isEmpty as J, noop as T, mapValues as Zr, isArray as W, every as Lt, split as It, startsWith as et, endsWith as xt, includes as _t, isString as R, isFunction as br, map as De, isObject as Ve, isDate as Je, isError as _r, assign as Nr, toLower as Nt, isPlainObject as qt, isUndefined as He, constant as Et, toUpper as Ut, cloneDeep as Ft, forEach as Mt, round as Ht, omitBy as rt } from "lodash-es";
6
+ import { objectToCamel as Sr, objectToSnake as Bt } from "ts-case-convert";
7
7
  import { defineStore as ne } from "pinia";
8
- import { ref as v, markRaw as Bt, computed as A } from "vue";
9
- import { isAfter as Nr, parseISO as C, startOfToday as qe, format as k, endOfMonth as x, addMonths as $, differenceInCalendarMonths as zt, startOfMonth as E, getDate as qr, getDaysInMonth as Wt, endOfDay as z, startOfDay as ge, setDate as jt, startOfWeek as ee, addWeeks as ar, differenceInCalendarDays as We, addDays as re, isValid as Gt, subDays as je, addBusinessDays as Yt, startOfYear as ue, endOfYear as de, endOfWeek as $e, endOfTomorrow as Qt, startOfTomorrow as Vt, endOfYesterday as Jt, startOfYesterday as Kt, endOfToday as Xt, startOfQuarter as ke, endOfQuarter as Be, addYears as ir, addQuarters as nr, subYears as or, subQuarters as cr, subMonths as lr, subWeeks as Er, addSeconds as Zt } from "date-fns";
10
- import es, { CanceledError as rs } from "axios";
8
+ import { ref as v, markRaw as zt, computed as A } from "vue";
9
+ import { isAfter as qr, parseISO as C, startOfToday as qe, format as k, endOfMonth as x, addMonths as $, differenceInCalendarMonths as Wt, startOfMonth as E, getDate as Er, getDaysInMonth as jt, endOfDay as z, startOfDay as ge, setDate as Gt, startOfWeek as ee, addWeeks as ar, differenceInCalendarDays as We, addDays as re, isValid as Yt, subDays as je, addBusinessDays as Qt, startOfYear as ue, endOfYear as de, endOfWeek as $e, endOfTomorrow as Vt, startOfTomorrow as Jt, endOfYesterday as Kt, startOfYesterday as Xt, endOfToday as Zt, startOfQuarter as ke, endOfQuarter as Be, addYears as ir, addQuarters as nr, subYears as or, subQuarters as cr, subMonths as lr, subWeeks as Ur, addSeconds as es } from "date-fns";
10
+ import rs, { CanceledError as ts } from "axios";
11
11
  class Te {
12
12
  /**
13
13
  * Инициализирует экземпляр класса {@link JwtPayload}.
@@ -107,11 +107,11 @@ class Te {
107
107
  * @param jwtToken JWT-ключ доступа.
108
108
  */
109
109
  static getJwtPayload(r) {
110
- const e = Kr(r), t = new Te(Sr(e));
110
+ const e = Xr(r), t = new Te(Sr(e));
111
111
  return t.resourceAccess = e.resource_access, t;
112
112
  }
113
113
  }
114
- class rt extends Te {
114
+ class tt extends Te {
115
115
  /**
116
116
  * Инициализирует экземпляр класса {@link DetailedJwtPayload}.
117
117
  *
@@ -151,11 +151,11 @@ class rt extends Te {
151
151
  * @param jwtToken JWT-ключ доступа.
152
152
  */
153
153
  static getJwtPayload(e) {
154
- const t = Kr(e), i = new rt(Sr(t));
154
+ const t = Xr(e), i = new tt(Sr(t));
155
155
  return i.resourceAccess = t.resource_access, i;
156
156
  }
157
157
  }
158
- class ts {
158
+ class ss {
159
159
  /**
160
160
  * Инициализирует экземпляр класса {@link DeviceTypeResolutionConfig}.
161
161
  *
@@ -177,7 +177,7 @@ class ts {
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 ss {
180
+ class is {
181
181
  /**
182
182
  * Инициализирует экземпляр класса {@link HttpParamsConfig}.
183
183
  *
@@ -199,7 +199,7 @@ class ss {
199
199
  this.portalApiUrl = (r == null ? void 0 : r.portalApiUrl) ?? "", this.mediaUrl = (r == null ? void 0 : r.mediaUrl) ?? "", this.responseDataCacheTimeout = (r == null ? void 0 : r.responseDataCacheTimeout) ?? 3 * 60 * 60;
200
200
  }
201
201
  }
202
- class is {
202
+ class ns {
203
203
  /**
204
204
  * Инициализирует экземпляр класса {@link SentryConfig}.
205
205
  *
@@ -244,7 +244,7 @@ class is {
244
244
  }, this.additionalParams = (r == null ? void 0 : r.additionalParams) ?? {};
245
245
  }
246
246
  }
247
- class ns {
247
+ class os {
248
248
  /**
249
249
  * Инициализирует экземпляр класса {@link WebSocketConfig}.
250
250
  *
@@ -283,7 +283,7 @@ class ns {
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 os {
286
+ class cs {
287
287
  /**
288
288
  * Инициализирует экземпляр класса {@link AppBaseConfig}.
289
289
  *
@@ -327,10 +327,10 @@ class os {
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 ss(r == null ? void 0 : r.http), this.deviceTypeByResolution = new ts(r == null ? void 0 : r.deviceTypeByResolution), this.sentry = new is({
330
+ this.environment = (r == null ? void 0 : r.environment) ?? "production", this.devMode = (r == null ? void 0 : r.devMode) ?? {}, this.http = new is(r == null ? void 0 : r.http), this.deviceTypeByResolution = new ss(r == null ? void 0 : r.deviceTypeByResolution), this.sentry = new ns({
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 ns(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 os(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 os {
338
338
  }
339
339
  }
340
340
  const O = ne("common.config", () => {
341
- const n = v(new os());
341
+ const n = v(new cs());
342
342
  return {
343
343
  /**
344
344
  * Конфигурационные данные приложения.
@@ -379,7 +379,7 @@ class Ge {
379
379
  if (e)
380
380
  try {
381
381
  const t = JSON.parse(e);
382
- if (!t.availableFor || Nr(C(t.availableFor) || qe(), /* @__PURE__ */ new Date())) {
382
+ if (!t.availableFor || qr(C(t.availableFor) || qe(), /* @__PURE__ */ new Date())) {
383
383
  if (m(t.data) || J(t.data))
384
384
  throw new Error("Data is empty");
385
385
  return t.data;
@@ -454,7 +454,7 @@ class Ge {
454
454
  const i = localStorage.getItem(t);
455
455
  if (i) {
456
456
  const o = JSON.parse(i);
457
- o.availableFor && !Nr(C(o.availableFor) || qe(), /* @__PURE__ */ new Date()) && r.push(t);
457
+ o.availableFor && !qr(C(o.availableFor) || qe(), /* @__PURE__ */ new Date()) && r.push(t);
458
458
  }
459
459
  } catch {
460
460
  r.push(t);
@@ -470,7 +470,7 @@ class Ge {
470
470
  }
471
471
  }
472
472
  }
473
- function Ur(n) {
473
+ function Fr(n) {
474
474
  try {
475
475
  const r = Te.getJwtPayload(n);
476
476
  return new Date(r.exp * 1e3);
@@ -491,11 +491,11 @@ const pe = ne("common.auth_state_private", () => {
491
491
  const c = (u = O().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 = Bt(/* @__PURE__ */ new Map());
494
+ ), r = v(void 0), e = v(void 0), t = zt(/* @__PURE__ */ new Map());
495
495
  function i() {
496
496
  e.value = void 0, m(n.value) || n.value.then((o) => {
497
497
  const c = Te.getJwtPayload(o);
498
- e.value = c.exp * 1e3 > Date.now() ? Xr(c.resourceAccess, (u) => (u == null ? void 0 : u.roles) ?? []) : void 0;
498
+ e.value = c.exp * 1e3 > Date.now() ? Zr(c.resourceAccess, (u) => (u == null ? void 0 : u.roles) ?? []) : void 0;
499
499
  }).catch(T);
500
500
  }
501
501
  return {
@@ -526,7 +526,7 @@ const pe = ne("common.auth_state_private", () => {
526
526
  if (m(o.jwtToken) && !m(o.jwtTokenUpdater)) {
527
527
  const c = o.jwtTokenUpdater();
528
528
  o.jwtToken = c, c.then((u) => {
529
- o.jwtToken = Promise.resolve(u), Ge.saveActualDataToStorage("sc.token", u, Ur(u)), o.recalculateUserPermissions();
529
+ o.jwtToken = Promise.resolve(u), Ge.saveActualDataToStorage("sc.token", u, Fr(u)), o.recalculateUserPermissions();
530
530
  }).catch(T);
531
531
  }
532
532
  return o.jwtToken;
@@ -536,7 +536,7 @@ const pe = ne("common.auth_state_private", () => {
536
536
  }
537
537
  function e(o) {
538
538
  const c = pe();
539
- c.jwtToken = Promise.resolve(o), Ge.saveActualDataToStorage("sc.token", o, Ur(o)), c.recalculateUserPermissions();
539
+ c.jwtToken = Promise.resolve(o), Ge.saveActualDataToStorage("sc.token", o, Fr(o)), c.recalculateUserPermissions();
540
540
  }
541
541
  function t() {
542
542
  const o = pe();
@@ -546,7 +546,7 @@ const pe = ne("common.auth_state_private", () => {
546
546
  const c = pe();
547
547
  !m(c.jwtToken) && m(c.userPermissions) && c.jwtToken.then((g) => {
548
548
  const a = Te.getJwtPayload(g);
549
- c.userPermissions = a.exp * 1e3 > Date.now() ? Xr(a.resourceAccess, (P) => (P == null ? void 0 : P.roles) ?? []) : void 0;
549
+ c.userPermissions = a.exp * 1e3 > Date.now() ? Zr(a.resourceAccess, (P) => (P == null ? void 0 : P.roles) ?? []) : void 0;
550
550
  }).catch(T);
551
551
  const u = W(o) ? o.join(" && ") : o;
552
552
  if (c.userPermissionsComputedRefs.has(u))
@@ -554,13 +554,13 @@ const pe = ne("common.auth_state_private", () => {
554
554
  const p = A(() => {
555
555
  const g = (a) => {
556
556
  var le;
557
- const P = Lt(a, ".");
557
+ const P = It(a, ".");
558
558
  if (P.length < 2)
559
559
  return !1;
560
560
  const [be, Se] = P, ce = (le = pe().userPermissions) == null ? void 0 : le[be];
561
561
  return W(ce) && ce.includes(Se);
562
562
  };
563
- return W(o) ? Ot(o, (a) => g(a)) : g(o);
563
+ return W(o) ? Lt(o, (a) => g(a)) : g(o);
564
564
  });
565
565
  return c.userPermissionsComputedRefs.set(u, p), p;
566
566
  }
@@ -707,7 +707,7 @@ class ae extends G {
707
707
  * @param slug Символьное обозначение статьи.
708
708
  */
709
709
  static getSlugError(e) {
710
- return e ? /[^a-z0-9-]/.test(e) ? "Допустимы только строчные латинские буквы, цифры и дефис: пример «kak-vybrat-podokonnik»." : Zr(e, "-") || It(e, "-") ? "Обозначение не может начинаться или заканчиваться дефисом." : xt(e, "--") ? "Дефисы не могут идти подряд: разделяйте слова одним дефисом." : "" : "";
710
+ return e ? /[^a-z0-9-]/.test(e) ? "Допустимы только строчные латинские буквы, цифры и дефис: пример «kak-vybrat-podokonnik»." : et(e, "-") || xt(e, "-") ? "Обозначение не может начинаться или заканчиваться дефисом." : _t(e, "--") ? "Дефисы не могут идти подряд: разделяйте слова одним дефисом." : "" : "";
711
711
  }
712
712
  /**
713
713
  * Преобразует значение даты, полученное из API, в объект {@link Date}.
@@ -803,7 +803,7 @@ class b {
803
803
  this.from = R(r == null ? void 0 : r.from) ? C(r.from) : (r == null ? void 0 : r.from) ?? null, this.to = R(r == null ? void 0 : r.to) ? C(r.to) : (r == null ? void 0 : r.to) ?? null;
804
804
  }
805
805
  }
806
- class Ks extends Fe {
806
+ class Xs extends Fe {
807
807
  /**
808
808
  * Инициализирует экземпляр класса {@link BlogPostsListFilters}.
809
809
  *
@@ -950,7 +950,7 @@ const w = class w {
950
950
  * @param request Данные запроса.
951
951
  */
952
952
  // eslint-disable-next-line class-methods-use-this
953
- s(this, "dataConverterRequestInterceptor", (r) => (r.method && (r.method === "get" && !m(r.params) && (r.params = w.toSnakeCaseData(r.params)), ["put", "patch", "post"].includes(_t(r.method)) && !m(r.data) && (r.data = w.toSnakeCaseData(r.data))), r));
953
+ s(this, "dataConverterRequestInterceptor", (r) => (r.method && (r.method === "get" && !m(r.params) && (r.params = w.toSnakeCaseData(r.params)), ["put", "patch", "post"].includes(Nt(r.method)) && !m(r.data) && (r.data = w.toSnakeCaseData(r.data))), r));
954
954
  /**
955
955
  * Перехватчик ошибок ответов на запрос.
956
956
  *
@@ -981,7 +981,7 @@ const w = class w {
981
981
  s(this, "canceledResponseInterceptor", (r) => {
982
982
  const e = r.rawError ?? r;
983
983
  if (e.name === "CanceledError" || e.code === "ERR_CANCELED")
984
- throw new rs("Request canceled");
984
+ throw new ts("Request canceled");
985
985
  return Promise.reject(r);
986
986
  });
987
987
  /**
@@ -991,7 +991,7 @@ const w = class w {
991
991
  */
992
992
  // eslint-disable-next-line class-methods-use-this
993
993
  s(this, "dataConverterResponseInterceptor", (r) => (r.data = w.toCamelCaseData(r.data), r));
994
- this.httpClient = es.create({
994
+ this.httpClient = rs.create({
995
995
  headers: {
996
996
  Accept: "application/json",
997
997
  "Content-Type": "application/json"
@@ -1062,7 +1062,7 @@ const w = class w {
1062
1062
  * @param data Исходные данные.
1063
1063
  */
1064
1064
  static toSnakeCaseData(r) {
1065
- return w.canConvertCaseKeys(r) ? Ht(r) : r;
1065
+ return w.canConvertCaseKeys(r) ? Bt(r) : r;
1066
1066
  }
1067
1067
  /**
1068
1068
  * Возвращает токен доступа из заголовка Authorization исходного запроса.
@@ -1071,7 +1071,7 @@ const w = class w {
1071
1071
  */
1072
1072
  static getRequestAccessToken(r) {
1073
1073
  const e = r.headers.get("Authorization"), t = R(e) ? e : void 0, i = "Bearer ";
1074
- if (m(t) || !Zr(t, i))
1074
+ if (m(t) || !et(t, i))
1075
1075
  return;
1076
1076
  const o = t.slice(i.length);
1077
1077
  return o === "" ? void 0 : o;
@@ -1135,13 +1135,16 @@ const w = class w {
1135
1135
  * @param error Данные об ошибке.
1136
1136
  */
1137
1137
  static toHttpResponseError(r) {
1138
- return Ve(r) && "status" in r ? r : {
1138
+ if (Ve(r) && "status" in r)
1139
+ return r;
1140
+ const e = _r(r) ? r.message : "Не удалось обработать данные ответа сервера.";
1141
+ return Nr(new Error(e), {
1142
+ name: "HttpResponseError",
1139
1143
  status: 0,
1140
1144
  statusText: "Invalid response data",
1141
- message: _r(r) ? r.message : "Не удалось обработать данные ответа сервера.",
1142
1145
  headers: {},
1143
1146
  rawError: _r(r) ? r : new Error(String(r))
1144
- };
1147
+ });
1145
1148
  }
1146
1149
  /**
1147
1150
  * Конвертирует данные ошибки HTTP запроса в более упрощённую и часто используемую форму.
@@ -1152,15 +1155,17 @@ const w = class w {
1152
1155
  var e, t;
1153
1156
  if (m(r) || !m(r.request) || !m(r.response)) {
1154
1157
  const i = m(r) ? {} : r == null ? void 0 : r.response;
1155
- return Promise.reject({
1156
- status: (i == null ? void 0 : i.status) ?? 0,
1157
- statusText: (i == null ? void 0 : i.statusText) ?? "Unknown",
1158
- message: ((e = i == null ? void 0 : i.data) == null ? void 0 : e.message) ?? "Unknown Error. Probably network error.",
1159
- errors: (t = i == null ? void 0 : i.data) == null ? void 0 : t.errors,
1160
- headers: (i == null ? void 0 : i.headers) ?? {},
1161
- data: i == null ? void 0 : i.data,
1162
- rawError: r
1163
- });
1158
+ return Promise.reject(
1159
+ Nr(new Error(((e = i == null ? void 0 : i.data) == null ? void 0 : e.message) ?? "Unknown Error. Probably network error."), {
1160
+ name: "HttpResponseError",
1161
+ status: (i == null ? void 0 : i.status) ?? 0,
1162
+ statusText: (i == null ? void 0 : i.statusText) ?? "Unknown",
1163
+ errors: (t = i == null ? void 0 : i.data) == null ? void 0 : t.errors,
1164
+ headers: (i == null ? void 0 : i.headers) ?? {},
1165
+ data: i == null ? void 0 : i.data,
1166
+ rawError: r
1167
+ })
1168
+ );
1164
1169
  }
1165
1170
  return Promise.reject(r);
1166
1171
  }
@@ -1279,7 +1284,7 @@ s(w, "defaultRequestHook"), /**
1279
1284
  s(w, "tokenRefreshPromise");
1280
1285
  let h = w;
1281
1286
  var dr = /* @__PURE__ */ ((n) => (n.BeginWith = "bw", n.Contains = "cn", n.Custom = "custom", n.EndsWith = "ew", n.Equals = "eq", n.GreaterOrEqual = "ge", n.GreaterThan = "gt", n.InList = "in", n.LessOrEqual = "le", n.LessThan = "lt", n.NotBeginWith = "bn", n.NotContains = "nc", n.NotEndsWith = "en", n.NotEqual = "ne", n.NotInList = "ni", n.NotNull = "nn", n.Null = "nu", n))(dr || {});
1282
- class Fr {
1287
+ class Mr {
1283
1288
  /**
1284
1289
  * Инициализирует экземпляр класса {@link FilterItem}.
1285
1290
  *
@@ -1312,7 +1317,7 @@ class Fr {
1312
1317
  };
1313
1318
  if (Je(this.value))
1314
1319
  e.value = k(this.value, r);
1315
- else if (Nt(this.value)) {
1320
+ else if (qt(this.value)) {
1316
1321
  const t = this.value;
1317
1322
  e.value = {
1318
1323
  from: t.from ? k(t.from, r) : null,
@@ -1343,7 +1348,7 @@ class te {
1343
1348
  */
1344
1349
  s(this, "groups");
1345
1350
  var e, t;
1346
- this.groupOp = (r == null ? void 0 : r.groupOp) ?? "and", this.filters = ((e = r == null ? void 0 : r.filters) == null ? void 0 : e.map((i) => new Fr(i))) ?? [], this.groups = ((t = r == null ? void 0 : r.groups) == null ? void 0 : t.map((i) => new te(i))) ?? [];
1351
+ this.groupOp = (r == null ? void 0 : r.groupOp) ?? "and", this.filters = ((e = r == null ? void 0 : r.filters) == null ? void 0 : e.map((i) => new Mr(i))) ?? [], this.groups = ((t = r == null ? void 0 : r.groups) == null ? void 0 : t.map((i) => new te(i))) ?? [];
1347
1352
  }
1348
1353
  /**
1349
1354
  * Преобразует группу фильтров в примитивное представление для API.
@@ -1353,7 +1358,7 @@ class te {
1353
1358
  toPrimitive() {
1354
1359
  return {
1355
1360
  groupOp: this.groupOp,
1356
- filters: this.filters.map((r) => r instanceof Fr && br(r.toPrimitive) ? r.toPrimitive() : r),
1361
+ filters: this.filters.map((r) => r instanceof Mr && br(r.toPrimitive) ? r.toPrimitive() : r),
1357
1362
  groups: this.groups.map((r) => r instanceof te ? r.toPrimitive() : r)
1358
1363
  };
1359
1364
  }
@@ -1590,7 +1595,7 @@ class N extends L {
1590
1595
  this.type = e == null ? void 0 : e.type, this.isActive = (e == null ? void 0 : e.isActive) ?? !0;
1591
1596
  }
1592
1597
  }
1593
- class cs extends L {
1598
+ class ls extends L {
1594
1599
  /**
1595
1600
  * Инициализирует экземпляр класса {@link DiscountShortInfo}.
1596
1601
  *
@@ -1629,7 +1634,7 @@ class cs extends L {
1629
1634
  this.costCoefficient = (e == null ? void 0 : e.costCoefficient) ?? 0, this.isLowPriceAllowed = (e == null ? void 0 : e.isLowPriceAllowed) ?? !1, this.publishedAt = R(e == null ? void 0 : e.publishedAt) ? C(e.publishedAt) : e == null ? void 0 : e.publishedAt, this.description = (e == null ? void 0 : e.description) ?? void 0, this.percent = (e == null ? void 0 : e.percent) ?? 0, this.owner = new N(e == null ? void 0 : e.owner), this.deletedAt = R(e == null ? void 0 : e.deletedAt) ? C(e.deletedAt) : e == null ? void 0 : e.deletedAt;
1630
1635
  }
1631
1636
  }
1632
- class tt extends L {
1637
+ class st extends L {
1633
1638
  /**
1634
1639
  * Инициализирует экземпляр класса {@link UpdatableNamedIdentity}.
1635
1640
  *
@@ -1644,7 +1649,7 @@ class tt extends L {
1644
1649
  this.updatedAt = R(e == null ? void 0 : e.updatedAt) ? C(e.updatedAt) : e == null ? void 0 : e.updatedAt;
1645
1650
  }
1646
1651
  }
1647
- class fe extends tt {
1652
+ class fe extends st {
1648
1653
  /**
1649
1654
  * Инициализирует экземпляр класса {@link PriceTemplate}.
1650
1655
  *
@@ -1667,7 +1672,7 @@ class fe extends tt {
1667
1672
  this.description = (e == null ? void 0 : e.description) ?? "", this.createdAt = R(e == null ? void 0 : e.createdAt) ? C(e.createdAt) : (e == null ? void 0 : e.createdAt) ?? /* @__PURE__ */ new Date(), this.owner = e != null && e.owner ? new N(e.owner) : void 0;
1668
1673
  }
1669
1674
  }
1670
- var st = /* @__PURE__ */ ((n) => (n.K0 = "k0", n.K1 = "k1", n.K2 = "k2", n.K3 = "k3", n.K4 = "k4", n.Retail = "retail", n))(st || {});
1675
+ var it = /* @__PURE__ */ ((n) => (n.K0 = "k0", n.K1 = "k1", n.K2 = "k2", n.K3 = "k3", n.K4 = "k4", n.Retail = "retail", n))(it || {});
1671
1676
  class D extends L {
1672
1677
  /**
1673
1678
  * Инициализирует экземпляр класса {@link Reference}.
@@ -1694,11 +1699,11 @@ class Pe extends D {
1694
1699
  static getRetailPriceCoefficient() {
1695
1700
  const r = new Pe({
1696
1701
  id: -2,
1697
- slug: st.Retail,
1702
+ slug: it.Retail,
1698
1703
  name: "Розн. цена",
1699
1704
  guid: ""
1700
1705
  });
1701
- return r.isNewRec = qt(!0), r;
1706
+ return r.isNewRec = Et(!0), r;
1702
1707
  }
1703
1708
  }
1704
1709
  class $r {
@@ -1731,7 +1736,7 @@ class $r {
1731
1736
  this.coefficient = new Pe(r == null ? void 0 : r.coefficient), this.value = (r == null ? void 0 : r.value) ?? 0, this.cost = (r == null ? void 0 : r.cost) ?? 0, this.percent = (r == null ? void 0 : r.percent) ?? 0, this.readOnly = (r == null ? void 0 : r.readOnly) ?? !0;
1732
1737
  }
1733
1738
  }
1734
- class it {
1739
+ class nt {
1735
1740
  /**
1736
1741
  * Инициализирует экземпляр класса {@link GeoCoordinates}.
1737
1742
  *
@@ -1780,10 +1785,10 @@ class Me extends D {
1780
1785
  * Координаты склада.
1781
1786
  */
1782
1787
  s(this, "coordinates");
1783
- 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 K(i))) ?? [], this.regions = (e == null ? void 0 : e.regions) ?? [], this.coordinates = new it(e == null ? void 0 : e.coordinates);
1788
+ 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 K(i))) ?? [], this.regions = (e == null ? void 0 : e.regions) ?? [], this.coordinates = new nt(e == null ? void 0 : e.coordinates);
1784
1789
  }
1785
1790
  }
1786
- class ls {
1791
+ class us {
1787
1792
  /**
1788
1793
  * Инициализирует экземпляр класса {@link StockCount}.
1789
1794
  *
@@ -1828,7 +1833,7 @@ class j extends L {
1828
1833
  e && (this.signature = e.signature ?? "", this.code = e.code, this.symbol = e.symbol ?? "", this.precision = e.precision);
1829
1834
  }
1830
1835
  }
1831
- class Mr extends L {
1836
+ class Hr extends L {
1832
1837
  /**
1833
1838
  * Инициализирует экземпляр класса {@link ProductUnit}.
1834
1839
  *
@@ -1870,7 +1875,7 @@ class Ee extends L {
1870
1875
  this.code = (e == null ? void 0 : e.code) ?? "";
1871
1876
  }
1872
1877
  }
1873
- class nt extends Ee {
1878
+ class ot extends Ee {
1874
1879
  /**
1875
1880
  * Инициализирует экземпляр класса {@link CatalogableItem}.
1876
1881
  *
@@ -1889,7 +1894,7 @@ class nt extends Ee {
1889
1894
  this.slug = (e == null ? void 0 : e.slug) ?? "";
1890
1895
  }
1891
1896
  }
1892
- class us extends nt {
1897
+ class ps extends ot {
1893
1898
  /**
1894
1899
  * Инициализирует экземпляр класса {@link HiddenCatalogableItem}.
1895
1900
  *
@@ -1904,7 +1909,7 @@ class us extends nt {
1904
1909
  this.isHidden = (e == null ? void 0 : e.isHidden) ?? !1;
1905
1910
  }
1906
1911
  }
1907
- class ps {
1912
+ class hs {
1908
1913
  /**
1909
1914
  * Инициализирует экземпляр класса {@link Image}.
1910
1915
  *
@@ -1927,7 +1932,7 @@ class ps {
1927
1932
  this.image = `${e ?? ""}${r.image}`, this.preview = `${e ?? ""}${r.preview}`, this.isDefault = r.isDefault;
1928
1933
  }
1929
1934
  }
1930
- class Rr extends nt {
1935
+ class Rr extends ot {
1931
1936
  /**
1932
1937
  * Инициализирует экземпляр класса {@link PrimaryCatalogableItem}.
1933
1938
  *
@@ -1942,7 +1947,7 @@ class Rr extends nt {
1942
1947
  this.isPrimary = (e == null ? void 0 : e.isPrimary) ?? !1;
1943
1948
  }
1944
1949
  }
1945
- class q extends us {
1950
+ class q extends ps {
1946
1951
  /**
1947
1952
  * Инициализирует экземпляр класса {@link Product}.
1948
1953
  *
@@ -2019,9 +2024,9 @@ class q extends us {
2019
2024
  * Список коэффициентов цен на продукт.
2020
2025
  */
2021
2026
  s(this, "priceCoefficients");
2022
- this.supplierSku = e == null ? void 0 : e.supplierSku, this.unit = e != null && e.unit ? new Mr(e.unit) : new Mr(), 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) ? C(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 ls(p))) ?? [], this.type = "product";
2027
+ this.supplierSku = e == null ? void 0 : e.supplierSku, this.unit = e != null && e.unit ? new Hr(e.unit) : new Hr(), 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) ? C(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 us(p))) ?? [], this.type = "product";
2023
2028
  const t = (e == null ? void 0 : e.category) ?? ((o = e == null ? void 0 : e.categories) == null ? void 0 : o.find((p) => p.isPrimary));
2024
- t && (this.category = new Rr({ ...t, isPrimary: !0 }), this.categories = [this.category]), e != null && e.categories && (this.categories = e.categories.map((p) => new Rr(p))), this.images = ((c = e == null ? void 0 : e.images) == null ? void 0 : c.map((p) => new ps(p, O().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 $r(p))) ?? [], e && "codeNumber" in e && !e.code && (this.code = e == null ? void 0 : e.codeNumber);
2029
+ t && (this.category = new Rr({ ...t, isPrimary: !0 }), this.categories = [this.category]), e != null && e.categories && (this.categories = e.categories.map((p) => new Rr(p))), this.images = ((c = e == null ? void 0 : e.images) == null ? void 0 : c.map((p) => new hs(p, O().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 $r(p))) ?? [], e && "codeNumber" in e && !e.code && (this.code = e == null ? void 0 : e.codeNumber);
2025
2030
  }
2026
2031
  /**
2027
2032
  * Возвращает признак, что это измеряемый товар.
@@ -2079,7 +2084,7 @@ class X extends q {
2079
2084
  * Признак того, что указанный продукт входит в список избранных продуктов клиента.
2080
2085
  */
2081
2086
  s(this, "isFavorite");
2082
- this.costCoefficient = (e == null ? void 0 : e.costCoefficient) ?? 0, this.costSource = (e == null ? void 0 : e.costSource) ?? kr.Product, this.discount = e != null && e.discount ? new cs(e.discount) : void 0, this.priceTemplate = e != null && e.priceTemplate ? new fe(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;
2087
+ this.costCoefficient = (e == null ? void 0 : e.costCoefficient) ?? 0, this.costSource = (e == null ? void 0 : e.costSource) ?? kr.Product, this.discount = e != null && e.discount ? new ls(e.discount) : void 0, this.priceTemplate = e != null && e.priceTemplate ? new fe(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;
2083
2088
  }
2084
2089
  }
2085
2090
  class Ae extends Rr {
@@ -2106,10 +2111,10 @@ class Ae extends Rr {
2106
2111
  * Список коэффициентов пересчёта из валют в рубли в формате ключ значение.
2107
2112
  */
2108
2113
  s(this, "currencyRates");
2109
- 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]) => [Et(t), i])) : void 0;
2114
+ 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]) => [Ut(t), i])) : void 0;
2110
2115
  }
2111
2116
  }
2112
- class ot extends G {
2117
+ class ct extends G {
2113
2118
  /**
2114
2119
  * Инициализирует экземпляр класса {@link OrderItemBase}.
2115
2120
  *
@@ -2185,10 +2190,10 @@ class ot extends G {
2185
2190
  * @inheritDoc
2186
2191
  */
2187
2192
  s(this, "replacementId");
2188
- this.product = new X(e.product), this.quantity = e.quantity ?? 0, this.marker = e.marker, this.category = e.category ?? new Ae(), 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 && Ut(e.configuratorParams), this.isAdditionalSale = e.isAdditionalSale, this.creator = e.creator && new N(e.creator), this.isRemoved = e.isRemoved, this.ord = e.ord, this.onOrder = e.onOrder, this.originalId = e.originalId, this.replacementId = e.replacementId;
2193
+ this.product = new X(e.product), this.quantity = e.quantity ?? 0, this.marker = e.marker, this.category = e.category ?? new Ae(), 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 && Ft(e.configuratorParams), this.isAdditionalSale = e.isAdditionalSale, this.creator = e.creator && new N(e.creator), this.isRemoved = e.isRemoved, this.ord = e.ord, this.onOrder = e.onOrder, this.originalId = e.originalId, this.replacementId = e.replacementId;
2189
2194
  }
2190
2195
  }
2191
- let Or = class extends ot {
2196
+ let Or = class extends ct {
2192
2197
  /**
2193
2198
  * Инициализирует экземпляр класса {@link OrderItem}.
2194
2199
  *
@@ -2257,7 +2262,7 @@ class Oe {
2257
2262
  this.items = r.items.map((e) => new Or(e)), this.resultSum = r.resultSum, this.directionsSum = r.directionsSum;
2258
2263
  }
2259
2264
  }
2260
- class Zs extends h {
2265
+ class ei extends h {
2261
2266
  /**
2262
2267
  * Возвращает содержимое корзины указанного клиента.
2263
2268
  *
@@ -2371,7 +2376,7 @@ class Zs extends h {
2371
2376
  return this.get(`internal/clients/${r.id}/cart/add-products-from-csv/example`, {}, (e) => new Blob([e.data], { type: "text/csv" }));
2372
2377
  }
2373
2378
  }
2374
- var hs = /* @__PURE__ */ ((n) => (n.m2Cost = "m2Cost", n.percent = "percent", n.value = "value", n))(hs || {}), gs = /* @__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))(gs || {}), ct = /* @__PURE__ */ ((n) => (n.Checkbox = "checkbox", n.Range = "range", n.Toggle = "toggle", n))(ct || {});
2379
+ var gs = /* @__PURE__ */ ((n) => (n.m2Cost = "m2Cost", n.percent = "percent", n.value = "value", n))(gs || {}), fs = /* @__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))(fs || {}), lt = /* @__PURE__ */ ((n) => (n.Checkbox = "checkbox", n.Range = "range", n.Toggle = "toggle", n))(lt || {});
2375
2380
  class Q extends Ae {
2376
2381
  /**
2377
2382
  * Инициализирует экземпляр класса {@link Category}.
@@ -2392,7 +2397,7 @@ class Q extends Ae {
2392
2397
  this.categories = (t = e == null ? void 0 : e.categories) == null ? void 0 : t.map((o) => new Q(o)), this.products = (i = e == null ? void 0 : e.products) == null ? void 0 : i.map((o) => new q(o));
2393
2398
  }
2394
2399
  }
2395
- class lt {
2400
+ class ut {
2396
2401
  /**
2397
2402
  * Инициализирует экземпляр класса {@link ContactLinks}.
2398
2403
  *
@@ -2440,12 +2445,12 @@ class Lr extends L {
2440
2445
  * @inheritDoc
2441
2446
  */
2442
2447
  s(this, "isRegionalDirector");
2443
- this.salesDirection = e != null && e.salesDirection ? new U(e.salesDirection) : new U(), this.photo = e == null ? void 0 : e.photo, this.contacts = e != null && e.contacts ? new lt(e.contacts) : void 0, this.isDefault = (e == null ? void 0 : e.isDefault) ?? !1, this.isRegionalDirector = (e == null ? void 0 : e.isRegionalDirector) ?? !1;
2448
+ this.salesDirection = e != null && e.salesDirection ? new U(e.salesDirection) : new U(), this.photo = e == null ? void 0 : e.photo, this.contacts = e != null && e.contacts ? new ut(e.contacts) : void 0, this.isDefault = (e == null ? void 0 : e.isDefault) ?? !1, this.isRegionalDirector = (e == null ? void 0 : e.isRegionalDirector) ?? !1;
2444
2449
  }
2445
2450
  }
2446
2451
  class Ir extends D {
2447
2452
  }
2448
- class ut extends L {
2453
+ class pt extends L {
2449
2454
  /**
2450
2455
  * Инициализирует экземпляр класса {@link IUserPricingRole}.
2451
2456
  *
@@ -2540,10 +2545,10 @@ class Z extends Lr {
2540
2545
  * Дата и время последнего входа в систему.
2541
2546
  */
2542
2547
  s(this, "lastLoginAt");
2543
- 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 = R(e == null ? void 0 : e.createdAt) ? C(e.createdAt) : e == null ? void 0 : e.createdAt, this.supervisorId = e == null ? void 0 : e.supervisorId, this.pricingRole = e != null && e.pricingRole ? new ut(e.pricingRole) : void 0, this.curatedDirections = ((t = e == null ? void 0 : e.curatedDirections) == null ? void 0 : t.map((c) => new Ir(c))) ?? [], this.showAllCosts = e == null ? void 0 : e.showAllCosts, this.authAsOperator = e == null ? void 0 : e.authAsOperator, this.managerRegions = (i = e == null ? void 0 : e.managerRegions) == null ? void 0 : i.map((c) => new Ze(c)), this.managers = (o = e == null ? void 0 : e.managers) == null ? void 0 : o.map((c) => new Z(c)), this.lastLoginAt = R(e == null ? void 0 : e.lastLoginAt) ? C(e.lastLoginAt) : e == null ? void 0 : e.lastLoginAt;
2548
+ 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 = R(e == null ? void 0 : e.createdAt) ? C(e.createdAt) : e == null ? void 0 : e.createdAt, this.supervisorId = e == null ? void 0 : e.supervisorId, this.pricingRole = e != null && e.pricingRole ? new pt(e.pricingRole) : void 0, this.curatedDirections = ((t = e == null ? void 0 : e.curatedDirections) == null ? void 0 : t.map((c) => new Ir(c))) ?? [], this.showAllCosts = e == null ? void 0 : e.showAllCosts, this.authAsOperator = e == null ? void 0 : e.authAsOperator, this.managerRegions = (i = e == null ? void 0 : e.managerRegions) == null ? void 0 : i.map((c) => new Ze(c)), this.managers = (o = e == null ? void 0 : e.managers) == null ? void 0 : o.map((c) => new Z(c)), this.lastLoginAt = R(e == null ? void 0 : e.lastLoginAt) ? C(e.lastLoginAt) : e == null ? void 0 : e.lastLoginAt;
2544
2549
  }
2545
2550
  }
2546
- class fs extends Ae {
2551
+ class ms extends Ae {
2547
2552
  /**
2548
2553
  * Инициализирует экземпляр класса {@link BaseClientCategory}.
2549
2554
  *
@@ -2574,7 +2579,7 @@ class fs extends Ae {
2574
2579
  this.isDisabled = (e == null ? void 0 : e.isDisabled) ?? !1, this.isRequired = (e == null ? void 0 : e.isRequired) ?? !1, this.isFavorite = (e == null ? void 0 : e.isFavorite) ?? !1, this.hidingComment = e == null ? void 0 : e.hidingComment, this.manager = e != null && e.manager ? new Z(e.manager) : void 0;
2575
2580
  }
2576
2581
  }
2577
- class Ke extends fs {
2582
+ class Ke extends ms {
2578
2583
  /**
2579
2584
  * Инициализирует экземпляр класса {@link ClientCategory}.
2580
2585
  *
@@ -2594,7 +2599,7 @@ class Ke extends fs {
2594
2599
  this.categories = (t = e == null ? void 0 : e.categories) == null ? void 0 : t.map((o) => new Ke(o)), this.products = (i = e == null ? void 0 : e.products) == null ? void 0 : i.map((o) => new X(o));
2595
2600
  }
2596
2601
  }
2597
- class pt {
2602
+ class ht {
2598
2603
  /**
2599
2604
  * Инициализирует экземпляр класса {@link PriceTemplateICatalogableItem}.
2600
2605
  *
@@ -2612,7 +2617,7 @@ class pt {
2612
2617
  this.priceCoefficient = (r == null ? void 0 : r.priceCoefficient) && new Pe(r.priceCoefficient), this.increasePercent = r == null ? void 0 : r.increasePercent;
2613
2618
  }
2614
2619
  }
2615
- class pr extends pt {
2620
+ class pr extends ht {
2616
2621
  /**
2617
2622
  * Инициализирует экземпляр класса {@link PriceTemplateProduct}.
2618
2623
  *
@@ -2647,7 +2652,7 @@ class xr extends L {
2647
2652
  * @inheritDoc
2648
2653
  */
2649
2654
  s(this, "curatedDirection");
2650
- this.photo = e.photo, this.contacts = new lt(e.contacts), this.curatedDirection = new Ir(e.curatedDirection);
2655
+ this.photo = e.photo, this.contacts = new ut(e.contacts), this.curatedDirection = new Ir(e.curatedDirection);
2651
2656
  }
2652
2657
  }
2653
2658
  class we extends D {
@@ -2682,7 +2687,7 @@ class Re extends D {
2682
2687
  e && (this.region = new ve(e.region));
2683
2688
  }
2684
2689
  }
2685
- class ht extends L {
2690
+ class gt extends L {
2686
2691
  /**
2687
2692
  * Инициализирует экземпляр класса {@link UserCommonInfo}.
2688
2693
  *
@@ -2721,7 +2726,7 @@ class ht extends L {
2721
2726
  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 U(e.salesDirection) : void 0, this.createdAt = R(e == null ? void 0 : e.createdAt) ? C(e.createdAt) : e == null ? void 0 : e.createdAt, this.lastLoginAt = R(e == null ? void 0 : e.lastLoginAt) ? C(e.lastLoginAt) : e == null ? void 0 : e.lastLoginAt, this.isActive = (e == null ? void 0 : e.isActive) ?? !1;
2722
2727
  }
2723
2728
  }
2724
- class oe extends ht {
2729
+ class oe extends gt {
2725
2730
  /**
2726
2731
  * Инициализирует экземпляр класса {@link Client}.
2727
2732
  *
@@ -2797,7 +2802,7 @@ class Le extends G {
2797
2802
  this.createdAt = R(e == null ? void 0 : e.createdAt) ? C(e.createdAt) : (e == null ? void 0 : e.createdAt) ?? /* @__PURE__ */ new Date(), this.deletedAt = R(e == null ? void 0 : e.deletedAt) ? C(e.deletedAt) : e == null ? void 0 : e.deletedAt, this.client = new oe(e == null ? void 0 : e.client), this.priceTemplate = new fe(e == null ? void 0 : e.priceTemplate);
2798
2803
  }
2799
2804
  }
2800
- class hr extends pt {
2805
+ class hr extends ht {
2801
2806
  /**
2802
2807
  * Инициализирует экземпляр класса {@link PriceTemplateProduct}.
2803
2808
  *
@@ -2812,7 +2817,7 @@ class hr extends pt {
2812
2817
  this.product = new q(e == null ? void 0 : e.product);
2813
2818
  }
2814
2819
  }
2815
- class gt extends D {
2820
+ class ft extends D {
2816
2821
  }
2817
2822
  class me extends L {
2818
2823
  /**
@@ -2838,7 +2843,7 @@ class me extends L {
2838
2843
  * Признак того, что по свойству может производиться фильтрация в каталоге.
2839
2844
  */
2840
2845
  s(this, "isFilterable");
2841
- this.type = new gt(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;
2846
+ this.type = new ft(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;
2842
2847
  }
2843
2848
  }
2844
2849
  class he {
@@ -2860,7 +2865,7 @@ class he {
2860
2865
  this.property = new me(r == null ? void 0 : r.property), this.value = (r == null ? void 0 : r.value) ?? "";
2861
2866
  }
2862
2867
  }
2863
- class ei {
2868
+ class ri {
2864
2869
  /**
2865
2870
  * Инициализирует экземпляр класса {@link TemplatesListFilters}.
2866
2871
  *
@@ -2964,7 +2969,7 @@ class Ie extends L {
2964
2969
  this.description = e == null ? void 0 : e.description, this.canChangeLowCost = (e == null ? void 0 : e.canChangeLowCost) ?? !1, this.parentRoleId = e == null ? void 0 : e.parentRoleId;
2965
2970
  }
2966
2971
  }
2967
- class Hr {
2972
+ class Br {
2968
2973
  /**
2969
2974
  * Инициализирует экземпляр класса {@link PricingRoleCategoryRule}.
2970
2975
  *
@@ -2986,7 +2991,7 @@ class Hr {
2986
2991
  this.role = new Ie(r == null ? void 0 : r.role), this.category = new Ae(r == null ? void 0 : r.category), this.minCoefficient = new Pe(r == null ? void 0 : r.minCoefficient);
2987
2992
  }
2988
2993
  }
2989
- class ms {
2994
+ class ys {
2990
2995
  /**
2991
2996
  * Инициализирует экземпляр класса {@link FilterSettings}.
2992
2997
  *
@@ -3019,7 +3024,7 @@ class ms {
3019
3024
  this.isFake = (r == null ? void 0 : r.isFake) ?? !1, this.isHidden = (r == null ? void 0 : r.isHidden) ?? !1, this.isMultiple = (r == null ? void 0 : r.isMultiple) ?? null, this.type = (r == null ? void 0 : r.type) ?? null, this.ord = (r == null ? void 0 : r.ord) ?? 0;
3020
3025
  }
3021
3026
  }
3022
- class Br {
3027
+ class zr {
3023
3028
  /**
3024
3029
  * Инициализирует экземпляр класса {@link CategoryFilterSetting}.
3025
3030
  *
@@ -3038,10 +3043,10 @@ class Br {
3038
3043
  * @inheritDoc
3039
3044
  */
3040
3045
  s(this, "settings");
3041
- this.category = new Ae(r == null ? void 0 : r.category), this.property = new me(r == null ? void 0 : r.property), this.settings = new ms(r == null ? void 0 : r.settings);
3046
+ this.category = new Ae(r == null ? void 0 : r.category), this.property = new me(r == null ? void 0 : r.property), this.settings = new ys(r == null ? void 0 : r.settings);
3042
3047
  }
3043
3048
  }
3044
- class ys {
3049
+ class as {
3045
3050
  /**
3046
3051
  * Инициализирует экземпляр класса {@link CategoryFilterValue}.
3047
3052
  *
@@ -3059,7 +3064,7 @@ class ys {
3059
3064
  this.id = (r == null ? void 0 : r.id) ?? "", this.label = (r == null ? void 0 : r.label) ?? "";
3060
3065
  }
3061
3066
  }
3062
- class as {
3067
+ class ws {
3063
3068
  /**
3064
3069
  * Инициализирует экземпляр класса {@link CategoryFilter}.
3065
3070
  *
@@ -3102,10 +3107,10 @@ class as {
3102
3107
  */
3103
3108
  s(this, "max");
3104
3109
  var e;
3105
- this.id = (r == null ? void 0 : r.id) ?? "", this.label = (r == null ? void 0 : r.label) ?? "", this.type = (r == null ? void 0 : r.type) ?? ct.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 ys(t))) ?? [], this.min = (r == null ? void 0 : r.min) ?? null, this.max = (r == null ? void 0 : r.max) ?? null;
3110
+ this.id = (r == null ? void 0 : r.id) ?? "", this.label = (r == null ? void 0 : r.label) ?? "", this.type = (r == null ? void 0 : r.type) ?? lt.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 as(t))) ?? [], this.min = (r == null ? void 0 : r.min) ?? null, this.max = (r == null ? void 0 : r.max) ?? null;
3106
3111
  }
3107
3112
  }
3108
- class ri extends h {
3113
+ class ti extends h {
3109
3114
  /**
3110
3115
  * Возвращает данные о результатах поиска категорий и товаров.
3111
3116
  *
@@ -3136,7 +3141,7 @@ class ri extends h {
3136
3141
  return t && (c += `&category_id=${t}`), i && (c += `&client_id=${i}`), c;
3137
3142
  }
3138
3143
  }
3139
- class ti extends h {
3144
+ class si extends h {
3140
3145
  /**
3141
3146
  * Импортирует цены клиента из CSV файла.
3142
3147
  *
@@ -3335,7 +3340,7 @@ class ti extends h {
3335
3340
  return this.post(`/internal/clients/${r}/price/commercial-offer/send`, e);
3336
3341
  }
3337
3342
  }
3338
- class si extends h {
3343
+ class ii extends h {
3339
3344
  /**
3340
3345
  * Возвращает список шаблонов прайс-листа привязанных к клиенту.
3341
3346
  *
@@ -3423,7 +3428,7 @@ class si extends h {
3423
3428
  return this.delete(`/internal/clients/${r}/price/templates/${e}/${t}`);
3424
3429
  }
3425
3430
  }
3426
- class ii extends h {
3431
+ class ni extends h {
3427
3432
  /**
3428
3433
  * Возвращает список данных о корневых категориях.
3429
3434
  *
@@ -3492,7 +3497,7 @@ class ii extends h {
3492
3497
  getCategoryProductsCoefficients(r) {
3493
3498
  return this.get(`/internal/catalog/categories/${r}/products/coefficients`, {}, (e) => {
3494
3499
  const { data: t } = e;
3495
- return Ft(t, (i) => i.map((o) => new $r(o))), t;
3500
+ return Mt(t, (i) => i.map((o) => new $r(o))), t;
3496
3501
  });
3497
3502
  }
3498
3503
  /**
@@ -3511,7 +3516,7 @@ class ii extends h {
3511
3516
  });
3512
3517
  }
3513
3518
  }
3514
- class ni extends Y {
3519
+ class oi extends Y {
3515
3520
  /**
3516
3521
  * Возвращает данные об указанном продукте.
3517
3522
  *
@@ -3577,7 +3582,7 @@ class ni extends Y {
3577
3582
  });
3578
3583
  }
3579
3584
  }
3580
- class oi extends h {
3585
+ class ci extends h {
3581
3586
  /**
3582
3587
  * Возвращает список данных о корневых категориях указанного клиента.
3583
3588
  *
@@ -3635,7 +3640,7 @@ class oi extends h {
3635
3640
  );
3636
3641
  }
3637
3642
  }
3638
- class ci extends Y {
3643
+ class li extends Y {
3639
3644
  /**
3640
3645
  * Возвращает данные об указанном продукте для указанного клиента.
3641
3646
  *
@@ -3674,7 +3679,7 @@ class ci extends Y {
3674
3679
  });
3675
3680
  }
3676
3681
  }
3677
- class li extends Y {
3682
+ class ui extends Y {
3678
3683
  /**
3679
3684
  * Возвращает список шаблонов прайс-листа.
3680
3685
  *
@@ -3863,7 +3868,7 @@ class li extends Y {
3863
3868
  return this.getTypedList(Le, `/internal/price/templates/${r}/clients`);
3864
3869
  }
3865
3870
  }
3866
- class ui extends h {
3871
+ class pi extends h {
3867
3872
  /**
3868
3873
  * Возвращает список ролей ценообразования.
3869
3874
  *
@@ -3921,7 +3926,7 @@ class ui extends h {
3921
3926
  * @see /doc/api/internal#/operations/api_internal_catalog_price_roles_category_rules_get
3922
3927
  */
3923
3928
  getCategoryRules(r) {
3924
- return this.getTypedList(Hr, `/internal/price/roles/rules/categories/${r}`);
3929
+ return this.getTypedList(Br, `/internal/price/roles/rules/categories/${r}`);
3925
3930
  }
3926
3931
  /**
3927
3932
  * Обновляет правила для роли ценообразования по указанной категории.
@@ -3935,11 +3940,11 @@ class ui extends h {
3935
3940
  return this.patch(
3936
3941
  `/internal/price/roles/rules/categories/${r}`,
3937
3942
  e,
3938
- (t) => _.instanceListInitializer(Hr, t.data)
3943
+ (t) => _.instanceListInitializer(Br, t.data)
3939
3944
  );
3940
3945
  }
3941
3946
  }
3942
- class pi extends Y {
3947
+ class hi extends Y {
3943
3948
  /**
3944
3949
  * Возвращает пагинированный список свойств.
3945
3950
  *
@@ -4318,7 +4323,7 @@ class pi extends Y {
4318
4323
  return this.get(
4319
4324
  `/internal/catalog/categories/${r}/filters`,
4320
4325
  { recursively: e },
4321
- (t) => t.data.map((i) => new as(i))
4326
+ (t) => t.data.map((i) => new ws(i))
4322
4327
  );
4323
4328
  }
4324
4329
  /**
@@ -4328,7 +4333,7 @@ class pi extends Y {
4328
4333
  * @see /doc/api/internal#/operations/api_internal_catalog_categories_filter_settings_get_list
4329
4334
  */
4330
4335
  getCategoryFilterSettings(r) {
4331
- return this.getTypedList(Br, `/internal/catalog/categories/${r}/filter-settings`);
4336
+ return this.getTypedList(zr, `/internal/catalog/categories/${r}/filter-settings`);
4332
4337
  }
4333
4338
  /**
4334
4339
  * Сохраняет настройки фильтра в категории.
@@ -4342,7 +4347,7 @@ class pi extends Y {
4342
4347
  return this.patch(
4343
4348
  `/internal/catalog/categories/${r}/filter-settings/${e}`,
4344
4349
  t,
4345
- (i) => new Br(i.data)
4350
+ (i) => new zr(i.data)
4346
4351
  );
4347
4352
  }
4348
4353
  /**
@@ -4356,7 +4361,7 @@ class pi extends Y {
4356
4361
  return this.delete(`/internal/catalog/categories/${r}/filter-settings/${e}`);
4357
4362
  }
4358
4363
  }
4359
- class hi extends h {
4364
+ class gi extends h {
4360
4365
  /**
4361
4366
  * Возвращает список данных о корневых категориях указанного шаблона прайс-листа.
4362
4367
  *
@@ -4414,7 +4419,7 @@ class hi extends h {
4414
4419
  );
4415
4420
  }
4416
4421
  }
4417
- function zr(n, r, e) {
4422
+ function Wr(n, r, e) {
4418
4423
  let t;
4419
4424
  return n.some((i) => {
4420
4425
  if (i.type === e && i.id === r)
@@ -4423,28 +4428,28 @@ function zr(n, r, e) {
4423
4428
  return !1;
4424
4429
  const o = i;
4425
4430
  if (o.products && o.products.length > 0) {
4426
- const c = zr(o.products, r, e);
4431
+ const c = Wr(o.products, r, e);
4427
4432
  if (c)
4428
4433
  return t = c, !0;
4429
4434
  }
4430
4435
  if (o.categories && o.categories.length > 0) {
4431
- const c = zr(o.categories, r, e);
4436
+ const c = Wr(o.categories, r, e);
4432
4437
  if (c)
4433
4438
  return t = c, !0;
4434
4439
  }
4435
4440
  return !1;
4436
4441
  }), t;
4437
4442
  }
4438
- function Wr(n) {
4443
+ function jr(n) {
4439
4444
  const r = [];
4440
4445
  return n.forEach((e) => {
4441
4446
  if (r.push(e), e.type === "category") {
4442
4447
  const t = e;
4443
- t.products && t.products.length > 0 && r.push(...Wr(t.products)), t.categories && t.categories.length > 0 && r.push(...Wr(t.categories));
4448
+ t.products && t.products.length > 0 && r.push(...jr(t.products)), t.categories && t.categories.length > 0 && r.push(...jr(t.categories));
4444
4449
  }
4445
4450
  }), r;
4446
4451
  }
4447
- var ws = /* @__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))(ws || {}), V = /* @__PURE__ */ ((n) => (n.Person = "individual", n.Ic = "entrepreneur", n.UlR = "legal", n.UlNr = "non_resident_legal", n))(V || {});
4452
+ var vs = /* @__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))(vs || {}), V = /* @__PURE__ */ ((n) => (n.Person = "individual", n.Ic = "entrepreneur", n.UlR = "legal", n.UlNr = "non_resident_legal", n))(V || {});
4448
4453
  class Cr extends G {
4449
4454
  /**
4450
4455
  * Инициализирует экземпляр класса {@link BankAccount}.
@@ -4545,7 +4550,7 @@ class ie extends D {
4545
4550
  }
4546
4551
  class Ce extends D {
4547
4552
  }
4548
- class ft extends tt {
4553
+ class mt extends st {
4549
4554
  /**
4550
4555
  * Инициализирует экземпляр класса {@link UpdatableNamedIdentity}.
4551
4556
  *
@@ -4560,7 +4565,7 @@ class ft extends tt {
4560
4565
  this.deletedAt = R(e == null ? void 0 : e.deletedAt) ? C(e.deletedAt) : e == null ? void 0 : e.deletedAt;
4561
4566
  }
4562
4567
  }
4563
- class mt extends ft {
4568
+ class yt extends mt {
4564
4569
  /**
4565
4570
  * Инициализирует экземпляр класса {@link ContragentBase}.
4566
4571
  *
@@ -4621,7 +4626,7 @@ class mt extends ft {
4621
4626
  }
4622
4627
  }
4623
4628
  }
4624
- class vs extends mt {
4629
+ class Rs extends yt {
4625
4630
  /**
4626
4631
  * Инициализирует экземпляр класса {@link ContragentPerson}.
4627
4632
  *
@@ -4631,7 +4636,7 @@ class vs extends mt {
4631
4636
  super(r);
4632
4637
  }
4633
4638
  }
4634
- class yt extends mt {
4639
+ class at extends yt {
4635
4640
  /**
4636
4641
  * Инициализирует экземпляр класса {@link ContragentIc}.
4637
4642
  *
@@ -4647,6 +4652,10 @@ class yt extends mt {
4647
4652
  * Код ОКПО.
4648
4653
  */
4649
4654
  s(this, "okpo", "");
4655
+ /**
4656
+ * ОГРН (ОГРНИП для индивидуального предпринимателя).
4657
+ */
4658
+ s(this, "ogrn", "");
4650
4659
  /**
4651
4660
  * ФИО руководителя.
4652
4661
  */
@@ -4671,10 +4680,10 @@ class yt extends mt {
4671
4680
  * Фактический адрес.
4672
4681
  */
4673
4682
  s(this, "actualAddress", "");
4674
- 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 ?? "");
4683
+ e && (this.inn = e.inn ?? "", this.okpo = e.okpo ?? "", this.ogrn = e.ogrn ?? "", this.directorName = e.directorName ?? "", this.directorPosition = e.directorPosition ?? "", this.directorActsOn = e.directorActsOn ?? "", this.legalAddress = e.legalAddress ?? "", this.postalAddress = e.postalAddress ?? "", this.actualAddress = e.actualAddress ?? "");
4675
4684
  }
4676
4685
  }
4677
- class at extends yt {
4686
+ class wt extends at {
4678
4687
  /**
4679
4688
  * Инициализирует экземпляр класса {@link ContragentUlR}.
4680
4689
  *
@@ -4689,7 +4698,7 @@ class at extends yt {
4689
4698
  e && (this.kpp = e.kpp ?? "");
4690
4699
  }
4691
4700
  }
4692
- class Rs extends at {
4701
+ class Cs extends wt {
4693
4702
  /**
4694
4703
  * Инициализирует экземпляр класса {@link ContragentUlNr}.
4695
4704
  *
@@ -4721,17 +4730,17 @@ class Xe {
4721
4730
  static createInstance(r) {
4722
4731
  switch (r.opf.slug) {
4723
4732
  case V.Ic:
4724
- return new yt(r);
4725
- case V.UlR:
4726
4733
  return new at(r);
4734
+ case V.UlR:
4735
+ return new wt(r);
4727
4736
  case V.UlNr:
4728
- return new Rs(r);
4737
+ return new Cs(r);
4729
4738
  default:
4730
- return new vs(r);
4739
+ return new Rs(r);
4731
4740
  }
4732
4741
  }
4733
4742
  }
4734
- class _e extends ft {
4743
+ class _e extends mt {
4735
4744
  /**
4736
4745
  * Инициализирует экземпляр класса {@link DeliveryAddress}.
4737
4746
  *
@@ -4768,14 +4777,14 @@ class _e extends ft {
4768
4777
  * Признак того, что указанный адрес является адресом транспортной компании.
4769
4778
  */
4770
4779
  s(this, "isTransportCompanyAddress");
4771
- this.address = (e == null ? void 0 : e.address) ?? "", this.coordinates = new it(e == null ? void 0 : e.coordinates), this.contacts = ((t = e == null ? void 0 : e.contacts) == null ? void 0 : t.map((i) => new se(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;
4780
+ this.address = (e == null ? void 0 : e.address) ?? "", this.coordinates = new nt(e == null ? void 0 : e.coordinates), this.contacts = ((t = e == null ? void 0 : e.contacts) == null ? void 0 : t.map((i) => new se(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;
4772
4781
  }
4773
4782
  }
4774
- class wt extends D {
4775
- }
4776
4783
  class vt extends D {
4777
4784
  }
4778
- class jr extends oe {
4785
+ class Rt extends D {
4786
+ }
4787
+ class Gr extends oe {
4779
4788
  /**
4780
4789
  * Инициализирует экземпляр класса {@link Client}.
4781
4790
  *
@@ -4825,10 +4834,10 @@ class jr extends oe {
4825
4834
  * @inheritDoc
4826
4835
  */
4827
4836
  s(this, "extraData");
4828
- this.contragents = ((t = e == null ? void 0 : e.contragents) == null ? void 0 : t.map((u) => Xe.createInstance(u))) ?? [], this.partnerGroups = ((i = e == null ? void 0 : e.partnerGroups) == null ? void 0 : i.map((u) => new Ce(u))) ?? [], this.contacts = ((o = e == null ? void 0 : e.contacts) == null ? void 0 : o.map((u) => new se(u))) ?? [], this.deliveryAddresses = ((c = e == null ? void 0 : e.deliveryAddresses) == null ? void 0 : c.map((u) => new _e(u))) ?? [], this.channelPrimaryInterest = new wt(e == null ? void 0 : e.channelPrimaryInterest), this.sourcePrimaryInterest = new vt(e == null ? void 0 : e.sourcePrimaryInterest), this.preferredDeliveryType = new K(e == null ? void 0 : e.preferredDeliveryType), this.primaryDemand = e == null ? void 0 : e.primaryDemand, this.preferredWarehouse = e != null && e.preferredWarehouse ? new Me(e.preferredWarehouse) : void 0, this.extraData = (e == null ? void 0 : e.extraData) ?? {};
4837
+ this.contragents = ((t = e == null ? void 0 : e.contragents) == null ? void 0 : t.map((u) => Xe.createInstance(u))) ?? [], this.partnerGroups = ((i = e == null ? void 0 : e.partnerGroups) == null ? void 0 : i.map((u) => new Ce(u))) ?? [], this.contacts = ((o = e == null ? void 0 : e.contacts) == null ? void 0 : o.map((u) => new se(u))) ?? [], this.deliveryAddresses = ((c = e == null ? void 0 : e.deliveryAddresses) == null ? void 0 : c.map((u) => new _e(u))) ?? [], this.channelPrimaryInterest = new vt(e == null ? void 0 : e.channelPrimaryInterest), this.sourcePrimaryInterest = new Rt(e == null ? void 0 : e.sourcePrimaryInterest), this.preferredDeliveryType = new K(e == null ? void 0 : e.preferredDeliveryType), this.primaryDemand = e == null ? void 0 : e.primaryDemand, this.preferredWarehouse = e != null && e.preferredWarehouse ? new Me(e.preferredWarehouse) : void 0, this.extraData = (e == null ? void 0 : e.extraData) ?? {};
4829
4838
  }
4830
4839
  }
4831
- class gi extends Fe {
4840
+ class fi extends Fe {
4832
4841
  /**
4833
4842
  * Инициализирует экземпляр класса {@link ClientsListFilters}.
4834
4843
  *
@@ -5009,7 +5018,7 @@ class gi extends Fe {
5009
5018
  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;
5010
5019
  }
5011
5020
  }
5012
- class Rt extends G {
5021
+ class Ct extends G {
5013
5022
  /**
5014
5023
  * Инициализирует экземпляр класса {@link OrderShortInfo}.
5015
5024
  *
@@ -5028,7 +5037,7 @@ class Rt extends G {
5028
5037
  this.createdAt = R(e == null ? void 0 : e.createdAt) ? C(e.createdAt) : (e == null ? void 0 : e.createdAt) ?? /* @__PURE__ */ new Date(), this.creator = new N(e == null ? void 0 : e.creator);
5029
5038
  }
5030
5039
  }
5031
- class Cs extends L {
5040
+ class Ds extends L {
5032
5041
  /**
5033
5042
  * Инициализирует экземпляр класса {@link ClientAdditionalData}.
5034
5043
  *
@@ -5065,7 +5074,7 @@ class Cs extends L {
5065
5074
  * @inheritDoc
5066
5075
  */
5067
5076
  s(this, "curators");
5068
- this.contacts = ((t = e.contacts) == null ? void 0 : t.map((u) => new se(u))) ?? void 0, this.lastOrder = e.lastOrder ? new Rt(e.lastOrder) : void 0, this.partnerGroups = ((i = e.partnerGroups) == null ? void 0 : i.map((u) => new Ce(u))) ?? void 0, this.preferredDeliveryType = e.preferredDeliveryType ? new K(e.preferredDeliveryType) : void 0, this.salesDirection = e.salesDirection ? new U(e.salesDirection) : void 0, this.managers = ((o = e.managers) == null ? void 0 : o.map((u) => new Lr(u))) ?? void 0, this.curators = ((c = e.curators) == null ? void 0 : c.map((u) => new xr(u))) ?? void 0;
5077
+ this.contacts = ((t = e.contacts) == null ? void 0 : t.map((u) => new se(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 Ce(u))) ?? void 0, this.preferredDeliveryType = e.preferredDeliveryType ? new K(e.preferredDeliveryType) : void 0, this.salesDirection = e.salesDirection ? new U(e.salesDirection) : void 0, this.managers = ((o = e.managers) == null ? void 0 : o.map((u) => new Lr(u))) ?? void 0, this.curators = ((c = e.curators) == null ? void 0 : c.map((u) => new xr(u))) ?? void 0;
5069
5078
  }
5070
5079
  }
5071
5080
  class gr extends G {
@@ -5083,7 +5092,7 @@ class gr extends G {
5083
5092
  this.isPrimary = e.isPrimary;
5084
5093
  }
5085
5094
  }
5086
- class Ds extends se {
5095
+ class Ts extends se {
5087
5096
  /**
5088
5097
  * Инициализирует экземпляр класса {@link ContactPersonRelated}.
5089
5098
  *
@@ -5152,6 +5161,7 @@ class H extends Y {
5152
5161
  comment: t.comment,
5153
5162
  inn: t.inn,
5154
5163
  okpo: t.okpo,
5164
+ ogrn: t.ogrn || void 0,
5155
5165
  director_name: t.directorName,
5156
5166
  director_position: t.directorPosition,
5157
5167
  director_acts_on: t.directorActsOn,
@@ -5170,6 +5180,7 @@ class H extends Y {
5170
5180
  inn: i.inn,
5171
5181
  kpp: i.kpp,
5172
5182
  okpo: i.okpo,
5183
+ ogrn: i.ogrn || void 0,
5173
5184
  director_name: i.directorName,
5174
5185
  director_position: i.directorPosition,
5175
5186
  director_acts_on: i.directorActsOn,
@@ -5250,7 +5261,7 @@ class H extends Y {
5250
5261
  * @see /doc/api/internal#/Клиенты/api_internal_client_get_full_info
5251
5262
  */
5252
5263
  getClient(r) {
5253
- return this.get(`/internal/clients/${r}`, {}, (e) => new jr(e.data));
5264
+ return this.get(`/internal/clients/${r}`, {}, (e) => new Gr(e.data));
5254
5265
  }
5255
5266
  /**
5256
5267
  * Возвращает данные о клиентах, удовлетворяющих указанным параметрам поиска.
@@ -5301,7 +5312,7 @@ class H extends Y {
5301
5312
  return this.post(
5302
5313
  "/internal/clients/additional-data",
5303
5314
  { clients: t, requested_data_types: e },
5304
- (i) => _.instanceListInitializer(Cs, i.data)
5315
+ (i) => _.instanceListInitializer(Ds, i.data)
5305
5316
  );
5306
5317
  }
5307
5318
  /**
@@ -5311,7 +5322,7 @@ class H extends Y {
5311
5322
  * @see /doc/api/internal#/Контакты/api_internal_client_contact_get_all_contact_list
5312
5323
  */
5313
5324
  getAllClientContacts(r) {
5314
- return this.getTypedList(Ds, `/internal/clients/${r}/contacts/all`);
5325
+ return this.getTypedList(Ts, `/internal/clients/${r}/contacts/all`);
5315
5326
  }
5316
5327
  /**
5317
5328
  * Создаёт нового клиента на основе указанных данных.
@@ -5321,7 +5332,7 @@ class H extends Y {
5321
5332
  * @see /doc/api/internal#/Клиенты/api_internal_client_create
5322
5333
  */
5323
5334
  createClientCommonData(r, e = {}) {
5324
- return this.post("/internal/clients", H.transformClientDataToRequest(r), (t) => new jr(t.data), e);
5335
+ return this.post("/internal/clients", H.transformClientDataToRequest(r), (t) => new Gr(t.data), e);
5325
5336
  }
5326
5337
  /**
5327
5338
  * Обновляет данные указанного клиента.
@@ -5794,7 +5805,7 @@ class H extends Y {
5794
5805
  return this.get(`/internal/clients/${r.id}/verification/email?email=${r.email}`);
5795
5806
  }
5796
5807
  }
5797
- class fi extends h {
5808
+ class mi extends h {
5798
5809
  /**
5799
5810
  * Выполняет проверку занят ли указанный номер телефона.
5800
5811
  *
@@ -5808,7 +5819,7 @@ class fi extends h {
5808
5819
  });
5809
5820
  }
5810
5821
  }
5811
- class mi {
5822
+ class yi {
5812
5823
  /**
5813
5824
  * Инициализирует экземпляр класса {@link VersionConfig}.
5814
5825
  *
@@ -5830,8 +5841,8 @@ class mi {
5830
5841
  this.date = R(r == null ? void 0 : r.date) ? C(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";
5831
5842
  }
5832
5843
  }
5833
- var Ts = /* @__PURE__ */ ((n) => (n.Kozyrek = "kozyrek", n.Mosquitto = "mosquitto", n.Strip = "strip", n.MetalForDoors = "metal_for_doors", n.Sandwich = "sandwich", n.SandwichM2 = "sandwich_m2", n))(Ts || {});
5834
- class yi extends h {
5844
+ var Ps = /* @__PURE__ */ ((n) => (n.Kozyrek = "kozyrek", n.Mosquitto = "mosquitto", n.Strip = "strip", n.MetalForDoors = "metal_for_doors", n.Sandwich = "sandwich", n.SandwichM2 = "sandwich_m2", n))(Ps || {});
5845
+ class ai extends h {
5835
5846
  /**
5836
5847
  * Возвращает настройки указанного конфигуратора для указанной категории.
5837
5848
  *
@@ -5923,7 +5934,7 @@ class yi extends h {
5923
5934
  });
5924
5935
  }
5925
5936
  }
5926
- class Ps {
5937
+ class As {
5927
5938
  /**
5928
5939
  * Инициализирует экземпляр класса {@link TableDataPaginationRequestParams}.
5929
5940
  *
@@ -5941,7 +5952,7 @@ class Ps {
5941
5952
  this.page = (r == null ? void 0 : r.page) ?? 1, this.pageSize = (r == null ? void 0 : r.pageSize) ?? 50;
5942
5953
  }
5943
5954
  }
5944
- class ai extends Ps {
5955
+ class wi extends As {
5945
5956
  /**
5946
5957
  * Инициализирует экземпляр класса {@link TableDataPagination}.
5947
5958
  *
@@ -5972,7 +5983,7 @@ class ai extends Ps {
5972
5983
  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;
5973
5984
  }
5974
5985
  }
5975
- class wi {
5986
+ class vi {
5976
5987
  /**
5977
5988
  * Инициализирует экземпляр класса {@link ISortRequestParams}.
5978
5989
  *
@@ -6045,8 +6056,8 @@ class y {
6045
6056
  * @param date Опорная дата.
6046
6057
  */
6047
6058
  static intervalTillSameDate(r, e, t) {
6048
- const i = zt(E(t), E(r)), o = E($(e, i)), c = Math.min(qr(t), Wt(o));
6049
- return { from: ge(e), to: z(jt(o, c)) };
6059
+ const i = Wt(E(t), E(r)), o = E($(e, i)), c = Math.min(Er(t), jt(o));
6060
+ return { from: ge(e), to: z(Gt(o, c)) };
6050
6061
  }
6051
6062
  /**
6052
6063
  * Возвращает интервал «сдвинутая неделя до такого же дня недели»; недели начинаются с понедельника.
@@ -6076,7 +6087,7 @@ class y {
6076
6087
  * @param shift Смещение в декадах, может быть отрицательным.
6077
6088
  */
6078
6089
  static shiftedDecadeBounds(r, e) {
6079
- const t = qr(r);
6090
+ const t = Er(r);
6080
6091
  let i = 2;
6081
6092
  t <= 10 ? i = 0 : t <= 20 && (i = 1);
6082
6093
  const o = i + e, c = Math.floor(o / 3), u = (o % 3 + 3) % 3, p = E($(r, c)), g = re(p, u * 10), a = u === 2 ? x(p) : z(re(g, 9));
@@ -6094,17 +6105,17 @@ class Tr {
6094
6105
  if (m(r))
6095
6106
  return;
6096
6107
  const e = R(r) ? C(r) : r;
6097
- return Gt(e) ? e : void 0;
6108
+ return Yt(e) ? e : void 0;
6098
6109
  }
6099
6110
  }
6100
- function vi(n) {
6111
+ function Ri(n) {
6101
6112
  return k(je(qe(), n), "yyyy-MM-dd");
6102
6113
  }
6103
- function As(n, r) {
6114
+ function bs(n, r) {
6104
6115
  const e = [2, 0, 1, 1, 1, 2], t = Math.floor(Math.abs(n));
6105
6116
  return r[t % 100 > 4 && t % 100 < 20 ? 2 : e[Math.min(t % 10, 5)]];
6106
6117
  }
6107
- function Ri(n) {
6118
+ function Ci(n) {
6108
6119
  const r = C(n), e = We(qe(), r);
6109
6120
  switch (!0) {
6110
6121
  case e === 0:
@@ -6114,23 +6125,23 @@ function Ri(n) {
6114
6125
  case e < 0:
6115
6126
  return n;
6116
6127
  default:
6117
- return `${e} ${As(e, ["день", "дня", "дней"])} назад`;
6128
+ return `${e} ${bs(e, ["день", "дня", "дней"])} назад`;
6118
6129
  }
6119
6130
  }
6120
- class Ci {
6131
+ class Di {
6121
6132
  /**
6122
6133
  * Возвращает предустановленные диапазоны дат.
6123
6134
  *
6124
6135
  * @param year Год, от которого считаются годовые периоды (1/3/9 месяцев, кварталы, полугодия, год); по умолчанию текущий.
6125
6136
  */
6126
6137
  static defaultDateRanges(r) {
6127
- const e = Yt(/* @__PURE__ */ new Date(), 1), t = /* @__PURE__ */ new Date(), i = ue(r === void 0 ? t : new Date(r, 0, 1)), o = de(i);
6138
+ const e = Qt(/* @__PURE__ */ new Date(), 1), t = /* @__PURE__ */ new Date(), i = ue(r === void 0 ? t : new Date(r, 0, 1)), o = de(i);
6128
6139
  return {
6129
6140
  // 'Следующий рабочий день' - это значение по-умолчанию
6130
6141
  nextWorkingDay: { label: "Следующий рабочий день", from: ge(e), to: z(e) },
6131
- today: { label: "Сегодня", from: qe(), to: Xt() },
6132
- yesterday: { label: "Вчера", from: Kt(), to: Jt() },
6133
- tomorrow: { label: "Завтра", from: Vt(), to: Qt() },
6142
+ today: { label: "Сегодня", from: qe(), to: Zt() },
6143
+ yesterday: { label: "Вчера", from: Xt(), to: Kt() },
6144
+ tomorrow: { label: "Завтра", from: Jt(), to: Vt() },
6134
6145
  currentWeek: { label: "Неделя", from: ee(t, { weekStartsOn: 1 }), to: $e(t, { weekStartsOn: 1 }) },
6135
6146
  currentMonth: { label: "Месяц", from: E(t), to: x(t) },
6136
6147
  oneMonth: { label: "1 месяц", from: i, to: x(i) },
@@ -6158,7 +6169,7 @@ class Ci {
6158
6169
  yesterday: { label: "Вчера", group: "day", from: ge(je(r, 1)), to: z(je(r, 1)) },
6159
6170
  today: { label: "Сегодня", group: "day", from: t, to: i },
6160
6171
  tomorrow: { label: "Завтра", group: "day", from: ge(re(r, 1)), to: z(re(r, 1)) },
6161
- lastWeek: { label: "Прошлая неделя", group: "week", from: ee(Er(r, 1), e), to: $e(Er(r, 1), e) },
6172
+ lastWeek: { label: "Прошлая неделя", group: "week", from: ee(Ur(r, 1), e), to: $e(Ur(r, 1), e) },
6162
6173
  thisWeek: { label: "Эта неделя", group: "week", from: ee(r, e), to: $e(r, e) },
6163
6174
  nextWeek: { label: "Следующая неделя", group: "week", from: ee(ar(r, 1), e), to: $e(ar(r, 1), e) },
6164
6175
  lastTenDays: { label: "Прошлая декада", group: "decade", ...y.shiftDecadeInterval(r, -1) },
@@ -6260,7 +6271,7 @@ class Ci {
6260
6271
  };
6261
6272
  }
6262
6273
  }
6263
- const Di = [
6274
+ const Ti = [
6264
6275
  { key: "day", label: "День" },
6265
6276
  { key: "week", label: "Неделя" },
6266
6277
  { key: "decade", label: "Декада" },
@@ -6269,18 +6280,18 @@ const Di = [
6269
6280
  { key: "halfYear", label: "Полугодие" },
6270
6281
  { key: "year", label: "Год" },
6271
6282
  { key: "other", label: "Прочее" }
6272
- ], Ti = [
6283
+ ], Pi = [
6273
6284
  { key: "fromBeginning", label: "С начала периода" },
6274
6285
  { key: "tillEnd", label: "До конца периода" },
6275
6286
  { key: "lastTillSame", label: "Прошлые, до такой же даты" },
6276
6287
  { key: "nextTillSame", label: "Следующие, до такой же даты" },
6277
6288
  { key: "rollingDays", label: "7 дней" }
6278
6289
  ];
6279
- function Pi(n) {
6280
- const r = Mt(n * 100);
6290
+ function Ai(n) {
6291
+ const r = Ht(n * 100);
6281
6292
  return `${r >= 0 ? "+" : ""}${r}%`;
6282
6293
  }
6283
- class Ct {
6294
+ class Dt {
6284
6295
  /**
6285
6296
  * Возвращает признак, что указанный товар имеет линейную единицу измерения.
6286
6297
  *
@@ -6296,7 +6307,7 @@ class Ct {
6296
6307
  */
6297
6308
  static getProductMultiplicity(r) {
6298
6309
  var e, t;
6299
- return !((e = r.properties) != null && e.ignoreMinCountCheck) && ((t = r.properties) == null ? void 0 : t.minCount) != null && !Ct.productIsMeasurable(r) ? r.properties.minCount : 1;
6310
+ return !((e = r.properties) != null && e.ignoreMinCountCheck) && ((t = r.properties) == null ? void 0 : t.minCount) != null && !Dt.productIsMeasurable(r) ? r.properties.minCount : 1;
6300
6311
  }
6301
6312
  /**
6302
6313
  * Возвращает кратность длины для указанного товара.
@@ -6340,7 +6351,7 @@ const ye = class ye extends h {
6340
6351
  */
6341
6352
  cacheResponse(e, t) {
6342
6353
  ye.responseDataCache.set(e, {
6343
- validTo: Zt(/* @__PURE__ */ new Date(), this.responseDataCacheTimeout),
6354
+ validTo: es(/* @__PURE__ */ new Date(), this.responseDataCacheTimeout),
6344
6355
  val: t
6345
6356
  });
6346
6357
  }
@@ -6365,7 +6376,7 @@ const ye = class ye extends h {
6365
6376
  */
6366
6377
  s(ye, "responseDataCache", /* @__PURE__ */ new Map());
6367
6378
  let Ue = ye;
6368
- class Ai {
6379
+ class bi {
6369
6380
  /**
6370
6381
  * Генерирует и возвращает данные-заглушку неопределённого менеджера.
6371
6382
  */
@@ -6381,7 +6392,7 @@ class Ai {
6381
6392
  return r.id === 0 && r.guid === "-undefined-";
6382
6393
  }
6383
6394
  }
6384
- class Dt extends Ue {
6395
+ class Tt extends Ue {
6385
6396
  /**
6386
6397
  * Возвращает {@link Promise} для получения справочника списка менеджеров.
6387
6398
  */
@@ -6404,7 +6415,7 @@ class Dt extends Ue {
6404
6415
  }
6405
6416
  }
6406
6417
  var xe = /* @__PURE__ */ ((n) => (n.Processing = "processing", n.Completed = "completed", n.Error = "error", n.NeedsActualization = "needs_actualization", n))(xe || {});
6407
- class bs {
6418
+ class Ss {
6408
6419
  /**
6409
6420
  * Инициализирует экземпляр класса {@link OfferActualization}.
6410
6421
  *
@@ -6460,7 +6471,7 @@ class bs {
6460
6471
  return this.status === xe.Completed && !this.isOutdatedAt(r);
6461
6472
  }
6462
6473
  }
6463
- class Tt extends G {
6474
+ class Pt extends G {
6464
6475
  /**
6465
6476
  * Инициализирует экземпляр класса {@link OfferShortInfo}.
6466
6477
  *
@@ -6496,10 +6507,10 @@ class Tt extends G {
6496
6507
  * @inheritDoc
6497
6508
  */
6498
6509
  s(this, "file");
6499
- this.name = e == null ? void 0 : e.name, this.createdAt = Tr.parse(e == null ? void 0 : e.createdAt) ?? /* @__PURE__ */ new Date(), this.client = new oe(e == null ? void 0 : e.client), this.sum = e == null ? void 0 : e.sum, this.isProfstroy = e == null ? void 0 : e.isProfstroy, this.actualization = (e == null ? void 0 : e.actualization) && new bs(e.actualization), this.file = e == null ? void 0 : e.file;
6510
+ this.name = e == null ? void 0 : e.name, this.createdAt = Tr.parse(e == null ? void 0 : e.createdAt) ?? /* @__PURE__ */ new Date(), this.client = new oe(e == null ? void 0 : e.client), this.sum = e == null ? void 0 : e.sum, this.isProfstroy = e == null ? void 0 : e.isProfstroy, this.actualization = (e == null ? void 0 : e.actualization) && new Ss(e.actualization), this.file = e == null ? void 0 : e.file;
6500
6511
  }
6501
6512
  }
6502
- class Ss extends Or {
6513
+ class ds extends Or {
6503
6514
  /**
6504
6515
  * Инициализирует экземпляр класса {@link ProfstroyOfferItem}.
6505
6516
  *
@@ -6538,7 +6549,7 @@ class Ss extends Or {
6538
6549
  return !this.isProductStub && !this.isIgnored && J(this.lineError);
6539
6550
  }
6540
6551
  }
6541
- class F extends Tt {
6552
+ class F extends Pt {
6542
6553
  /**
6543
6554
  * Инициализирует экземпляр класса {@link Offer}.
6544
6555
  *
@@ -6555,11 +6566,11 @@ class F extends Tt {
6555
6566
  */
6556
6567
  s(this, "products");
6557
6568
  this.sum = e.sum ?? 0, this.products = (e.products ?? []).map(
6558
- (t) => e.isProfstroy ? new Ss(t) : new Or(t)
6569
+ (t) => e.isProfstroy ? new ds(t) : new Or(t)
6559
6570
  );
6560
6571
  }
6561
6572
  }
6562
- class bi extends Fe {
6573
+ class Si extends Fe {
6563
6574
  /**
6564
6575
  * Инициализирует экземпляр класса {@link OffersListFilters}.
6565
6576
  *
@@ -6602,7 +6613,7 @@ class bi extends Fe {
6602
6613
  }
6603
6614
  class er extends D {
6604
6615
  }
6605
- class Pt extends Rt {
6616
+ class At extends Ct {
6606
6617
  /**
6607
6618
  * Инициализирует экземпляр класса {@link OrderInfo}.
6608
6619
  *
@@ -6675,7 +6686,7 @@ class Pt extends Rt {
6675
6686
  }, this.attachedUser = e != null && e.attachedUser ? new N(e == null ? void 0 : e.attachedUser) : void 0, this.status = new er(e == null ? void 0 : e.status), this.statusDetail = e != null && e.statusDetail ? new D(e.statusDetail) : void 0, this.salesDirection = new U(e == null ? void 0 : e.salesDirection), this.attachedAt = R(e == null ? void 0 : e.attachedAt) ? C(e.attachedAt) : e == null ? void 0 : e.attachedAt, this.isOnOrder = (e == null ? void 0 : e.isOnOrder) ?? !1, this.isProfstroy = (e == null ? void 0 : e.isProfstroy) ?? !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;
6676
6687
  }
6677
6688
  }
6678
- class ds extends ot {
6689
+ class $s extends ct {
6679
6690
  /**
6680
6691
  * Инициализирует экземпляр класса {@link OrderItem}.
6681
6692
  *
@@ -6735,7 +6746,7 @@ class ds extends ot {
6735
6746
  this.product = new X(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"));
6736
6747
  }
6737
6748
  }
6738
- class I extends Pt {
6749
+ class I extends At {
6739
6750
  /**
6740
6751
  * Инициализирует экземпляр класса {@link Order}.
6741
6752
  *
@@ -6803,11 +6814,11 @@ class I extends Pt {
6803
6814
  this.products = (e.products ?? []).map((i) => {
6804
6815
  var c;
6805
6816
  const o = i.replacementId ? (c = e.products) == null ? void 0 : c.find((u) => u.id === i.replacementId) : void 0;
6806
- return new ds(i, o);
6817
+ return new $s(i, o);
6807
6818
  }), this.invoices = e.invoices ?? [], this.comment = e.comment, this.image = e.image, this.contragent = e.contragent ? Xe.createInstance(e.contragent) : void 0, this.barcode = e.barcode, this.orderSource = e.orderSource ? new D(e.orderSource) : void 0, this.isAllowProcessingWithoutPayment = e.isAllowProcessingWithoutPayment, this.nextStatuses = (t = e.nextStatuses) == null ? void 0 : t.map((i) => new er(i)), this.actions = e.actions, this.operatorsComment = e.operatorsComment, this.operatorsForWarehouseComment = e.operatorsForWarehouseComment, this.erpOrderUrl = e.erpOrderUrl, this.numberDoc = e.numberDoc;
6808
6819
  }
6809
6820
  }
6810
- class Si extends Y {
6821
+ class di extends Y {
6811
6822
  /**
6812
6823
  * Возвращает список заказов-черновиков, удовлетворяющих указанным параметрам поиска.
6813
6824
  *
@@ -6819,7 +6830,7 @@ class Si extends Y {
6819
6830
  * @see /doc/api/internal#/Заказы/api_internal_order_commercial_offer_get_list
6820
6831
  */
6821
6832
  getOffers(r, e, t, i = void 0) {
6822
- return this.getTypedPaginated(Tt, "/internal/orders/offers", r, e, t, {}, void 0, i);
6833
+ return this.getTypedPaginated(Pt, "/internal/orders/offers", r, e, t, {}, void 0, i);
6823
6834
  }
6824
6835
  /**
6825
6836
  * Создаёт заказ-черновик из содержимого корзины клиента и возвращает данные созданной записи.
@@ -7043,7 +7054,7 @@ class Si extends Y {
7043
7054
  return this.post(`/internal/orders/offers/${r}/send`, e);
7044
7055
  }
7045
7056
  }
7046
- class di {
7057
+ class $i {
7047
7058
  /**
7048
7059
  * Возвращает признак того, что запись создана из файла выгрузки программы «Профстрой».
7049
7060
  *
@@ -7062,8 +7073,8 @@ class di {
7062
7073
  return !m(r) && r.isProfstroy === !0 && !m(r.actualization);
7063
7074
  }
7064
7075
  }
7065
- var $s = /* @__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))($s || {});
7066
- class $i {
7076
+ var ks = /* @__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))(ks || {});
7077
+ class ki {
7067
7078
  /**
7068
7079
  * Инициализирует экземпляр класса {@link OrderEditorData}.
7069
7080
  *
@@ -7130,11 +7141,11 @@ class $i {
7130
7141
  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;
7131
7142
  }
7132
7143
  }
7133
- class At extends D {
7134
- }
7135
7144
  class bt extends D {
7136
7145
  }
7137
- class ki extends Fe {
7146
+ class St extends D {
7147
+ }
7148
+ class Oi extends Fe {
7138
7149
  /**
7139
7150
  * Инициализирует экземпляр класса {@link OrdersListFilters}.
7140
7151
  *
@@ -7235,7 +7246,7 @@ class ki extends Fe {
7235
7246
  * @inheritDoc
7236
7247
  */
7237
7248
  s(this, "onlyMyRegions");
7238
- this.attachedUsers = (t = e == null ? void 0 : e.attachedUsers) == null ? void 0 : t.map((u) => "isActive" in u ? new Z(u) : new At(u)), this.clientSearchTerm = e == null ? void 0 : e.clientSearchTerm, this.client = e != null && e.client ? new oe(e.client) : void 0, this.contragent = e == null ? void 0 : e.contragent, this.createdAt = new b(e == null ? void 0 : e.createdAt), this.creator = e != null && e.creator ? new N(e.creator) : void 0, this.deliveryDate = new b(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 Re(u)), this.id = e == null ? void 0 : e.id, this.isApproved = e == null ? void 0 : e.isApproved, this.isNotInStock = e == null ? void 0 : e.isNotInStock, this.isOnOrder = e == null ? void 0 : e.isOnOrder, this.isLargeOrder = e == null ? void 0 : e.isLargeOrder, this.attachedAt = new b(e == null ? void 0 : e.attachedAt), this.salesDirections = (o = e == null ? void 0 : e.salesDirections) == null ? void 0 : o.map((u) => new U(u)), this.status = e == null ? void 0 : e.status, this.statusDetail = e == null ? void 0 : e.statusDetail, this.deliveryType = e != null && e.deliveryType ? new K(e.deliveryType) : void 0, this.paymentType = e != null && e.paymentType ? new bt(e.paymentType) : void 0, this.warehouses = (c = e == null ? void 0 : e.warehouses) == null ? void 0 : c.map((u) => new Me(u)), this.isToProcess = e == null ? void 0 : e.isToProcess;
7249
+ this.attachedUsers = (t = e == null ? void 0 : e.attachedUsers) == null ? void 0 : t.map((u) => "isActive" in u ? new Z(u) : new bt(u)), this.clientSearchTerm = e == null ? void 0 : e.clientSearchTerm, this.client = e != null && e.client ? new oe(e.client) : void 0, this.contragent = e == null ? void 0 : e.contragent, this.createdAt = new b(e == null ? void 0 : e.createdAt), this.creator = e != null && e.creator ? new N(e.creator) : void 0, this.deliveryDate = new b(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 Re(u)), this.id = e == null ? void 0 : e.id, this.isApproved = e == null ? void 0 : e.isApproved, this.isNotInStock = e == null ? void 0 : e.isNotInStock, this.isOnOrder = e == null ? void 0 : e.isOnOrder, this.isLargeOrder = e == null ? void 0 : e.isLargeOrder, this.attachedAt = new b(e == null ? void 0 : e.attachedAt), this.salesDirections = (o = e == null ? void 0 : e.salesDirections) == null ? void 0 : o.map((u) => new U(u)), this.status = e == null ? void 0 : e.status, this.statusDetail = e == null ? void 0 : e.statusDetail, this.deliveryType = e != null && e.deliveryType ? new K(e.deliveryType) : void 0, this.paymentType = e != null && e.paymentType ? new St(e.paymentType) : void 0, this.warehouses = (c = e == null ? void 0 : e.warehouses) == null ? void 0 : c.map((u) => new Me(u)), this.isToProcess = e == null ? void 0 : e.isToProcess;
7239
7250
  }
7240
7251
  /**
7241
7252
  * @inheritDoc
@@ -7286,7 +7297,7 @@ class ki extends Fe {
7286
7297
  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;
7287
7298
  }
7288
7299
  }
7289
- class ks {
7300
+ class Os {
7290
7301
  /**
7291
7302
  * Инициализирует экземпляр класса {@link OrderStatusHistoryInfo}.
7292
7303
  *
@@ -7312,7 +7323,7 @@ class ks {
7312
7323
  this.user = new N(r == null ? void 0 : r.user), this.status = new er(r == null ? void 0 : r.status), this.statusDetail = r != null && r.statusDetail ? new D(r.statusDetail) : void 0, this.createdAt = R(r == null ? void 0 : r.createdAt) ? C(r.createdAt) : (r == null ? void 0 : r.createdAt) ?? /* @__PURE__ */ new Date();
7313
7324
  }
7314
7325
  }
7315
- class Oi extends Y {
7326
+ class Li extends Y {
7316
7327
  /**
7317
7328
  * Возвращает данные о заказах, удовлетворяющих указанным параметрам поиска.
7318
7329
  *
@@ -7324,7 +7335,7 @@ class Oi extends Y {
7324
7335
  * @see /doc/api/internal#/Заказы/api_internal_orders_get_list
7325
7336
  */
7326
7337
  getOrders(r, e, t, i = void 0) {
7327
- return this.getTypedPaginated(Pt, "/internal/orders", r, e, t, {}, void 0, i);
7338
+ return this.getTypedPaginated(At, "/internal/orders", r, e, t, {}, void 0, i);
7328
7339
  }
7329
7340
  /**
7330
7341
  * Возвращает количество заказов, соответствующих указанным фильтрам.
@@ -7537,7 +7548,7 @@ class Oi extends Y {
7537
7548
  * @see /doc/api/internal#/Заказы/api_internal_orders_status_history_get
7538
7549
  */
7539
7550
  getOrderStatusHistory(r) {
7540
- return this.getTypedList(ks, `/internal/orders/${r}/history`);
7551
+ return this.getTypedList(Os, `/internal/orders/${r}/history`);
7541
7552
  }
7542
7553
  /**
7543
7554
  * Возвращает содержимое печатной формы заказа в формате HTML.
@@ -7679,7 +7690,7 @@ class Oi extends Y {
7679
7690
  );
7680
7691
  }
7681
7692
  }
7682
- const Li = Symbol("currentOrder");
7693
+ const Ii = Symbol("currentOrder");
7683
7694
  class fr {
7684
7695
  /**
7685
7696
  * Инициализирует экземпляр класса {@link PriceAnalyze}.
@@ -7712,7 +7723,7 @@ class fr {
7712
7723
  }
7713
7724
  const mr = (n) => {
7714
7725
  var r, e, t, i, o;
7715
- return n ? et(
7726
+ return n ? rt(
7716
7727
  {
7717
7728
  cities: (r = n.cities) == null ? void 0 : r.map((c) => c.id),
7718
7729
  clients: (e = n.clients) == null ? void 0 : e.map((c) => c.id),
@@ -7723,11 +7734,11 @@ const mr = (n) => {
7723
7734
  },
7724
7735
  (c) => m(c) || (W(c) || Ve(c)) && J(c)
7725
7736
  ) : {};
7726
- }, Gr = (n) => {
7737
+ }, Yr = (n) => {
7727
7738
  const r = {};
7728
7739
  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;
7729
7740
  };
7730
- class Ii extends h {
7741
+ class xi extends h {
7731
7742
  /**
7732
7743
  * Возвращает список клиентских цен на продукты в указанном диапазоне цены.
7733
7744
  *
@@ -7741,7 +7752,7 @@ class Ii extends h {
7741
7752
  return this.get(
7742
7753
  `/internal/price/products/${r}/analyze`,
7743
7754
  {
7744
- ...Gr(e),
7755
+ ...Yr(e),
7745
7756
  filters: mr(t)
7746
7757
  },
7747
7758
  (i) => _.instanceListInitializer(fr, i.data)
@@ -7760,7 +7771,7 @@ class Ii extends h {
7760
7771
  return this.get(
7761
7772
  `/internal/price/categories/${r}/analyze`,
7762
7773
  {
7763
- ...Gr(e),
7774
+ ...Yr(e),
7764
7775
  filters: mr(t)
7765
7776
  },
7766
7777
  (i) => _.instanceListInitializer(fr, i.data)
@@ -7788,7 +7799,7 @@ class Ii extends h {
7788
7799
  );
7789
7800
  }
7790
7801
  }
7791
- class Os {
7802
+ class Ls {
7792
7803
  /**
7793
7804
  * Инициализирует экземпляр класса {@link PriceHistoryItem}.
7794
7805
  *
@@ -7838,7 +7849,7 @@ class Os {
7838
7849
  this.cost = r.cost ?? 0, this.isLowCost = r.isLowCost ?? !1, this.isRetail = r.isRetail ?? !1, this.costDate = R(r.costDate) ? C(r.costDate) : r.costDate ?? /* @__PURE__ */ new Date(), this.discountName = r.discountName, this.priceTemplateName = r.priceTemplateName, this.product = r.product ? new Ee(r.product) : void 0, this.client = r.client ? new N(r.client) : void 0, this.executor = r.executor ? new N(r.executor) : void 0, this.currency = r.currency ? new j(r.currency) : void 0;
7839
7850
  }
7840
7851
  }
7841
- class Ls extends Ee {
7852
+ class Is extends Ee {
7842
7853
  /**
7843
7854
  * Инициализирует экземпляр класса {@link ProductPriceHistory}.
7844
7855
  *
@@ -7850,10 +7861,10 @@ class Ls extends Ee {
7850
7861
  * @inheritDoc
7851
7862
  */
7852
7863
  s(this, "history");
7853
- this.history = De(e.history, (t) => new Os(t));
7864
+ this.history = De(e.history, (t) => new Ls(t));
7854
7865
  }
7855
7866
  }
7856
- class xi extends h {
7867
+ class _i extends h {
7857
7868
  /**
7858
7869
  * Возвращает данные об истории изменения цен.
7859
7870
  *
@@ -7863,7 +7874,7 @@ class xi extends h {
7863
7874
  */
7864
7875
  getProductPriceHistory(r) {
7865
7876
  var o, c, u, p, g;
7866
- const e = O().config.dateFormats.api, t = et(
7877
+ const e = O().config.dateFormats.api, t = rt(
7867
7878
  Ne(r, {
7868
7879
  costDate: {
7869
7880
  from: Je((o = r.costDate) == null ? void 0 : o.from) ? k(r.costDate.from, e) : (c = r.costDate) == null ? void 0 : c.from,
@@ -7873,11 +7884,11 @@ class xi extends h {
7873
7884
  (a) => m(a) || (W(a) || Ve(a)) && J(a)
7874
7885
  ), i = ((g = r.product) == null ? void 0 : g[0]) ?? 0;
7875
7886
  return delete t.product, this.get(`/internal/price/products/${i}/history`, t).then((a) => [
7876
- new Ls(Ne(a[0], { history: a }))
7887
+ new Is(Ne(a[0], { history: a }))
7877
7888
  ]);
7878
7889
  }
7879
7890
  }
7880
- class Yr {
7891
+ class Qr {
7881
7892
  /**
7882
7893
  * Инициализирует экземпляр класса {@link RecommendationsList}.
7883
7894
  *
@@ -7895,7 +7906,7 @@ class Yr {
7895
7906
  r != null && r.products && (this.products = r.products.map((e) => new Ee(e))), r != null && r.productCategories && (this.productCategories = r.productCategories.map((e) => new Ee(e)));
7896
7907
  }
7897
7908
  }
7898
- class _i extends h {
7909
+ class Ni extends h {
7899
7910
  /**
7900
7911
  * Возвращает данные о рекомендациях указанной категории продуктов.
7901
7912
  *
@@ -7903,7 +7914,7 @@ class _i extends h {
7903
7914
  * @see /docs/api#/operations/api_internal_recommendations_product_category_get
7904
7915
  */
7905
7916
  getProductCategoryRecommendations(r) {
7906
- return this.get(`/internal/catalog/recommendations/categories/${r.id}`, {}, (e) => new Yr(e.data));
7917
+ return this.get(`/internal/catalog/recommendations/categories/${r.id}`, {}, (e) => new Qr(e.data));
7907
7918
  }
7908
7919
  /**
7909
7920
  * Возвращает данные о рекомендациях указанного продукта.
@@ -7912,7 +7923,7 @@ class _i extends h {
7912
7923
  * @see /docs/api#/operations/api_internal_recommendations_product_get
7913
7924
  */
7914
7925
  getProductRecommendations(r) {
7915
- return this.get(`/internal/catalog/recommendations/products/${r.id}`, {}, (e) => new Yr(e.data));
7926
+ return this.get(`/internal/catalog/recommendations/products/${r.id}`, {}, (e) => new Qr(e.data));
7916
7927
  }
7917
7928
  /**
7918
7929
  * Выполняет сохранение данных о рекомендуемых категориях продуктов.
@@ -7941,12 +7952,12 @@ class _i extends h {
7941
7952
  });
7942
7953
  }
7943
7954
  }
7944
- var Is = /* @__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))(Is || {}), xs = /* @__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))(xs || {});
7945
- class _s extends D {
7946
- }
7955
+ var xs = /* @__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))(xs || {}), _s = /* @__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))(_s || {});
7947
7956
  class Ns extends D {
7948
7957
  }
7949
- class Qr extends D {
7958
+ class qs extends D {
7959
+ }
7960
+ class Vr extends D {
7950
7961
  /**
7951
7962
  * Инициализирует экземпляр класса {@link CityWithUserRegion}.
7952
7963
  *
@@ -7962,15 +7973,15 @@ class Qr extends D {
7962
7973
  this.userRegions = ((t = e == null ? void 0 : e.userRegions) == null ? void 0 : t.map((i) => new Ze(i))) ?? [];
7963
7974
  }
7964
7975
  }
7965
- class qs extends D {
7966
- }
7967
7976
  class Es extends D {
7968
7977
  }
7969
7978
  class Us extends D {
7970
7979
  }
7971
7980
  class Fs extends D {
7972
7981
  }
7973
- class Ni {
7982
+ class Ms extends D {
7983
+ }
7984
+ class qi {
7974
7985
  /**
7975
7986
  * Генерирует и возвращает данные-заглушку неопределённой записи справочника.
7976
7987
  *
@@ -7989,7 +8000,7 @@ class Ni {
7989
8000
  return r.id === 0 && r.slug === "-undefined-";
7990
8001
  }
7991
8002
  }
7992
- class St extends D {
8003
+ class dt extends D {
7993
8004
  }
7994
8005
  const B = class B extends Ue {
7995
8006
  /**
@@ -8009,20 +8020,20 @@ const B = class B extends Ue {
8009
8020
  * и использовать в случае аналогичных запросов.
8010
8021
  */
8011
8022
  getReference(r, e = !1) {
8012
- return this.getTypedDataArrayRequester(_s, `/internal/references/${r}`, e);
8023
+ return this.getTypedDataArrayRequester(Ns, `/internal/references/${r}`, e);
8013
8024
  }
8014
8025
  /**
8015
8026
  * Возвращает {@link Promise} для получения справочника данных о канале
8016
8027
  * первичного интереса.
8017
8028
  */
8018
8029
  getChannelPrimaryInterest() {
8019
- return this.getTypedDataArrayRequester(wt, "/internal/references/channel-primary-interest", !0);
8030
+ return this.getTypedDataArrayRequester(vt, "/internal/references/channel-primary-interest", !0);
8020
8031
  }
8021
8032
  /**
8022
8033
  * Возвращает {@link Promise} для получения справочника должностей контактных лиц.
8023
8034
  */
8024
8035
  getContactPositions() {
8025
- return this.getTypedDataArrayRequester(qs, "/internal/references/contact-position", !0);
8036
+ return this.getTypedDataArrayRequester(Es, "/internal/references/contact-position", !0);
8026
8037
  }
8027
8038
  /**
8028
8039
  * Возвращает {@link Promise} для получения справочника списка направлений кураторства.
@@ -8053,13 +8064,13 @@ const B = class B extends Ue {
8053
8064
  * Возвращает {@link Promise} для получения справочника операторов.
8054
8065
  */
8055
8066
  getOperators() {
8056
- return this.getTypedDataArrayRequester(At, "/internal/references/operator", !0);
8067
+ return this.getTypedDataArrayRequester(bt, "/internal/references/operator", !0);
8057
8068
  }
8058
8069
  /**
8059
8070
  * Возвращает {@link Promise} для получения справочника данных статусов оплаты заказов.
8060
8071
  */
8061
8072
  getOrderPaymentStatuses() {
8062
- return this.getTypedDataArrayRequester(Es, "/public/references/order-payment-status", !0);
8073
+ return this.getTypedDataArrayRequester(Us, "/public/references/order-payment-status", !0);
8063
8074
  }
8064
8075
  /**
8065
8076
  * Возвращает {@link Promise} для получения справочника данных статусов заказов.
@@ -8071,19 +8082,19 @@ const B = class B extends Ue {
8071
8082
  * Возвращает {@link Promise} для получения справочника детализирующих статусов (подстатусов) заказов.
8072
8083
  */
8073
8084
  getOrderStatusDetails() {
8074
- return this.getTypedDataArrayRequester(Us, "/internal/references/order-status-detail", !0);
8085
+ return this.getTypedDataArrayRequester(Fs, "/internal/references/order-status-detail", !0);
8075
8086
  }
8076
8087
  /**
8077
8088
  * Возвращает {@link Promise} для получения справочника данных типов оплаты заказов.
8078
8089
  */
8079
8090
  getPaymentTypes() {
8080
- return this.getTypedDataArrayRequester(bt, "/public/references/payment-type", !0);
8091
+ return this.getTypedDataArrayRequester(St, "/public/references/payment-type", !0);
8081
8092
  }
8082
8093
  /**
8083
8094
  * Возвращает {@link Promise} для получения справочника типов ресурсов.
8084
8095
  */
8085
8096
  getResourceTypes() {
8086
- return this.getTypedDataArrayRequester(St, "/internal/references/resource-type", !0);
8097
+ return this.getTypedDataArrayRequester(dt, "/internal/references/resource-type", !0);
8087
8098
  }
8088
8099
  /**
8089
8100
  * Возвращает {@link Promise} для получения справочника данных направлений продаж.
@@ -8095,7 +8106,7 @@ const B = class B extends Ue {
8095
8106
  * Возвращает {@link Promise} для получения справочника данных об источнике первичного интереса.
8096
8107
  */
8097
8108
  getSourcePrimaryInterest() {
8098
- return this.getTypedDataArrayRequester(vt, "/internal/references/source-primary-interest", !0);
8109
+ return this.getTypedDataArrayRequester(Rt, "/internal/references/source-primary-interest", !0);
8099
8110
  }
8100
8111
  /**
8101
8112
  * Выполняет поиск данных о городах по терму в названии.
@@ -8133,7 +8144,7 @@ const B = class B extends Ue {
8133
8144
  * @param regionId Идентификатор региона.
8134
8145
  */
8135
8146
  getCitiesByRegion(r) {
8136
- return this.getTypedDataArrayRequester(Ns, "/internal/references/city", !1, { params: { regionId: r } }).then(
8147
+ return this.getTypedDataArrayRequester(qs, "/internal/references/city", !1, { params: { regionId: r } }).then(
8137
8148
  (e) => B.withoutUnknownLocation(e)
8138
8149
  );
8139
8150
  }
@@ -8144,7 +8155,7 @@ const B = class B extends Ue {
8144
8155
  * @param regionId Идентификатор региона.
8145
8156
  */
8146
8157
  getCitiesWithUserRegionByRegion(r) {
8147
- return this.getTypedDataArrayRequester(Qr, "/internal/references/city-with-user-region", !1, { params: { regionId: r } }).then(
8158
+ return this.getTypedDataArrayRequester(Vr, "/internal/references/city-with-user-region", !1, { params: { regionId: r } }).then(
8148
8159
  (e) => B.withoutUnknownLocation(e)
8149
8160
  );
8150
8161
  }
@@ -8173,7 +8184,7 @@ const B = class B extends Ue {
8173
8184
  * @param signal Сигнал отмены запроса.
8174
8185
  */
8175
8186
  searchCityWithUserRegion(r, e = void 0) {
8176
- return this.getTypedDataArrayRequester(Qr, "/internal/references/city-with-user-region/search", !1, { term: r }, e).then(
8187
+ return this.getTypedDataArrayRequester(Vr, "/internal/references/city-with-user-region/search", !1, { term: r }, e).then(
8177
8188
  (t) => B.withoutUnknownLocation(t)
8178
8189
  );
8179
8190
  }
@@ -8201,7 +8212,7 @@ const B = class B extends Ue {
8201
8212
  * Возвращает {@link Promise} для получения справочника типов свойств.
8202
8213
  */
8203
8214
  getPropertyTypes() {
8204
- return this.getTypedDataArrayRequester(gt, "/internal/references/property-type", !0);
8215
+ return this.getTypedDataArrayRequester(ft, "/internal/references/property-type", !0);
8205
8216
  }
8206
8217
  /**
8207
8218
  * Возвращает {@link Promise} для получения справочника коэффициентов цен.
@@ -8213,7 +8224,7 @@ const B = class B extends Ue {
8213
8224
  * Возвращает {@link Promise} для получения справочника типов файлов продуктов/категорий.
8214
8225
  */
8215
8226
  getProductFileType() {
8216
- return this.getTypedDataArrayRequester(Fs, "/public/references/product-file-type", !0);
8227
+ return this.getTypedDataArrayRequester(Ms, "/public/references/product-file-type", !0);
8217
8228
  }
8218
8229
  };
8219
8230
  /**
@@ -8306,7 +8317,7 @@ const d = ne("common.references_private", () => {
8306
8317
  */
8307
8318
  priceCoefficientsReference: l
8308
8319
  };
8309
- }), qi = ne("common.references", () => {
8320
+ }), Ei = ne("common.references", () => {
8310
8321
  const n = A(() => {
8311
8322
  const l = d();
8312
8323
  return !l.channelPrimaryInterestReference && !l.dataLoaderList.channelPrimaryInterestReference && (l.dataLoaderList.channelPrimaryInterestReference = !0, h.getInstance(S).getChannelPrimaryInterest().then((f) => {
@@ -8384,7 +8395,7 @@ const d = ne("common.references_private", () => {
8384
8395
  }).catch(T)), l.deliveryTypeReference;
8385
8396
  }), le = A(() => {
8386
8397
  const l = d();
8387
- return !l.managersList && !l.dataLoaderList.managersList && (l.dataLoaderList.managersList = !0, h.getInstance(Dt).getManagers().then((f) => {
8398
+ return !l.managersList && !l.dataLoaderList.managersList && (l.dataLoaderList.managersList = !0, h.getInstance(Tt).getManagers().then((f) => {
8388
8399
  l.managersList = f;
8389
8400
  }).catch(T)), l.managersList;
8390
8401
  }), rr = A(() => {
@@ -8482,7 +8493,7 @@ const d = ne("common.references_private", () => {
8482
8493
  priceCoefficientsReference: sr
8483
8494
  };
8484
8495
  });
8485
- class Ms {
8496
+ class Hs {
8486
8497
  /**
8487
8498
  * Инициализирует экземпляр класса {@link MetaTagItem}.
8488
8499
  *
@@ -8500,7 +8511,7 @@ class Ms {
8500
8511
  this.name = r.name, this.content = r.content;
8501
8512
  }
8502
8513
  }
8503
- class Vr {
8514
+ class Jr {
8504
8515
  /**
8505
8516
  * Инициализирует экземпляр класса {@link Seo}.
8506
8517
  *
@@ -8540,10 +8551,10 @@ class Vr {
8540
8551
  */
8541
8552
  s(this, "tags");
8542
8553
  var e;
8543
- this.resourceType = new St(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 Ms(t))) ?? [], this.tags = r == null ? void 0 : r.tags;
8554
+ this.resourceType = new dt(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 Hs(t))) ?? [], this.tags = r == null ? void 0 : r.tags;
8544
8555
  }
8545
8556
  }
8546
- class Ei extends h {
8557
+ class Ui extends h {
8547
8558
  /**
8548
8559
  * Возвращает {@link Promise} для получения данных о SEO-параметрах указанного ресурса.
8549
8560
  *
@@ -8551,7 +8562,7 @@ class Ei extends h {
8551
8562
  * @param resourceId Идентификатор ресурса для которого необходимо получить SEO-данные.
8552
8563
  */
8553
8564
  getResourceSeoData(r, e) {
8554
- return this.get(`/internal/seo/${r.slug}/${e}`, {}, (t) => new Vr(t.data));
8565
+ return this.get(`/internal/seo/${r.slug}/${e}`, {}, (t) => new Jr(t.data));
8555
8566
  }
8556
8567
  /**
8557
8568
  * Выполняет сохранение данных о SEO-параметрах для указанного ресурса.
@@ -8562,7 +8573,7 @@ class Ei extends h {
8562
8573
  * в случае ошибок в запросах.
8563
8574
  */
8564
8575
  saveResourceSeoData(r, e = {}) {
8565
- return this.post(`/internal/seo/${r.resourceType.slug}/${r.resourceId}`, r, (t) => new Vr(t.data), e);
8576
+ return this.post(`/internal/seo/${r.resourceType.slug}/${r.resourceId}`, r, (t) => new Jr(t.data), e);
8566
8577
  }
8567
8578
  /**
8568
8579
  * Возвращает {@link Promise} для удаления данных о SEO-параметрах указанного ресурса.
@@ -8574,7 +8585,7 @@ class Ei extends h {
8574
8585
  return this.delete(`/internal/seo/${r.slug}/${e}`);
8575
8586
  }
8576
8587
  }
8577
- class Ui extends h {
8588
+ class Fi extends h {
8578
8589
  /**
8579
8590
  * Возвращает подсказки по адресам.
8580
8591
  *
@@ -8621,8 +8632,8 @@ class Ui extends h {
8621
8632
  });
8622
8633
  }
8623
8634
  }
8624
- var dt = /* @__PURE__ */ ((n) => (n.Admin = "admin", n.Manager = "manager", n.Operator = "operator", n.Client = "client", n.ExternalSeo = "external_seo", n.Guest = "guest", n))(dt || {});
8625
- class Hs extends ht {
8635
+ var $t = /* @__PURE__ */ ((n) => (n.Admin = "admin", n.Manager = "manager", n.Operator = "operator", n.Client = "client", n.ExternalSeo = "external_seo", n.Guest = "guest", n))($t || {});
8636
+ class Bs extends gt {
8626
8637
  /**
8627
8638
  * Инициализирует экземпляр класса {@link User}.
8628
8639
  *
@@ -8646,10 +8657,10 @@ class Hs extends ht {
8646
8657
  * Роль ценообразования текущего пользователя.
8647
8658
  */
8648
8659
  s(this, "pricingRole");
8649
- 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 ut(e.pricingRole) : void 0;
8660
+ 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 pt(e.pricingRole) : void 0;
8650
8661
  }
8651
8662
  }
8652
- class Fi extends h {
8663
+ class Mi extends h {
8653
8664
  /**
8654
8665
  * Инициализирует экземпляр класса {@link UserAuthDataProvider}.
8655
8666
  */
@@ -8665,13 +8676,13 @@ class Fi extends h {
8665
8676
  return this.get("internal/users/current-tokens").then((r) => r.accessToken);
8666
8677
  }
8667
8678
  }
8668
- class Bs extends h {
8679
+ class zs extends h {
8669
8680
  /**
8670
8681
  * Возвращает данные о текущем пользователе.
8671
8682
  */
8672
8683
  // eslint-disable-next-line class-methods-use-this
8673
8684
  getCurrentUser() {
8674
- return this.get("/internal/users/info", {}, (r) => new Hs(r.data), !0);
8685
+ return this.get("/internal/users/info", {}, (r) => new Bs(r.data), !0);
8675
8686
  }
8676
8687
  }
8677
8688
  const Pr = ne("common.user_state_private", () => {
@@ -8691,23 +8702,23 @@ const Pr = ne("common.user_state_private", () => {
8691
8702
  currentManager: e
8692
8703
  };
8693
8704
  });
8694
- function Jr(n) {
8705
+ function Kr(n) {
8695
8706
  const r = Pr();
8696
- (n == null ? void 0 : n.type) !== dt.Manager || r.currentManager || r.dataLoaderList.currentManager || (r.dataLoaderList.currentManager = !0, h.getInstance(Dt).getManager(n.id).then((e) => {
8707
+ (n == null ? void 0 : n.type) !== $t.Manager || r.currentManager || r.dataLoaderList.currentManager || (r.dataLoaderList.currentManager = !0, h.getInstance(Tt).getManager(n.id).then((e) => {
8697
8708
  r.currentManager = e;
8698
8709
  }).catch(T).finally(() => {
8699
8710
  r.dataLoaderList.currentManager = !1;
8700
8711
  }));
8701
8712
  }
8702
- const Mi = ne("common.user_state", () => {
8713
+ const Hi = ne("common.user_state", () => {
8703
8714
  const n = A(() => {
8704
8715
  const e = Pr();
8705
- return !e.currentUser && !e.dataLoaderList.currentUser && (e.dataLoaderList.currentUser = !0, h.getInstance(Bs).getCurrentUser().then((t) => {
8706
- e.currentUser = t, Jr(t);
8716
+ return !e.currentUser && !e.dataLoaderList.currentUser && (e.dataLoaderList.currentUser = !0, h.getInstance(zs).getCurrentUser().then((t) => {
8717
+ e.currentUser = t, Kr(t);
8707
8718
  }).catch(T).finally(() => {
8708
8719
  e.dataLoaderList.currentUser = !1;
8709
8720
  })), e.currentUser;
8710
- }), r = A(() => (Jr(n.value), Pr().currentManager));
8721
+ }), r = A(() => (Kr(n.value), Pr().currentManager));
8711
8722
  return {
8712
8723
  /**
8713
8724
  * Данные о текущем пользователе.
@@ -8757,7 +8768,7 @@ class yr extends Ze {
8757
8768
  this.cities = ((t = e == null ? void 0 : e.cities) == null ? void 0 : t.map((o) => new Re(o))) ?? [], this.users = ((i = e == null ? void 0 : e.users) == null ? void 0 : i.map((o) => new Ar(o))) ?? [];
8758
8769
  }
8759
8770
  }
8760
- class Hi extends Fe {
8771
+ class Bi extends Fe {
8761
8772
  /**
8762
8773
  * Инициализирует экземпляр класса {@link UserRegionsListFilters}.
8763
8774
  *
@@ -8793,7 +8804,7 @@ class Hi extends Fe {
8793
8804
  return this;
8794
8805
  }
8795
8806
  }
8796
- class Bi extends Y {
8807
+ class zi extends Y {
8797
8808
  /**
8798
8809
  * Возвращает список регионов пользователей.
8799
8810
  *
@@ -8892,7 +8903,7 @@ class Bi extends Y {
8892
8903
  });
8893
8904
  }
8894
8905
  }
8895
- class zi {
8906
+ class Wi {
8896
8907
  /**
8897
8908
  * Инициализирует экземпляр класса {@link FieldValidationResultData}.
8898
8909
  *
@@ -8916,8 +8927,8 @@ class zi {
8916
8927
  }
8917
8928
  }
8918
8929
  export {
8919
- _s as AnyReference,
8920
- os as AppBaseConfig,
8930
+ Ns as AnyReference,
8931
+ cs as AppBaseConfig,
8921
8932
  Cr as BankAccount,
8922
8933
  Y as BasePaginationProvider,
8923
8934
  ur as BlogPost,
@@ -8925,190 +8936,190 @@ export {
8925
8936
  Ye as BlogPostMediaTypeEnum,
8926
8937
  Qe as BlogPostPublicationStatusEnum,
8927
8938
  ae as BlogPostShortInfo,
8928
- Ks as BlogPostsListFilters,
8939
+ Xs as BlogPostsListFilters,
8929
8940
  vr as BlogProvider,
8930
- hs as CalculationTypeEnum,
8941
+ gs as CalculationTypeEnum,
8931
8942
  y as CalendarHelper,
8932
8943
  Oe as Cart,
8933
- Zs as CartProvider,
8934
- ri as CatalogProvider,
8935
- nt as CatalogableItem,
8944
+ ei as CartProvider,
8945
+ ti as CatalogProvider,
8946
+ ot as CatalogableItem,
8936
8947
  Q as Category,
8937
- as as CategoryFilter,
8938
- Br as CategoryFilterSetting,
8939
- ys as CategoryFilterValue,
8940
- Hr as CategoryPricingRule,
8941
- wt as ChannelPrimaryInterest,
8942
- Ns as City,
8948
+ ws as CategoryFilter,
8949
+ zr as CategoryFilterSetting,
8950
+ as as CategoryFilterValue,
8951
+ Br as CategoryPricingRule,
8952
+ vt as ChannelPrimaryInterest,
8953
+ qs as City,
8943
8954
  Re as CityWithRegionAndCountry,
8944
- Qr as CityWithUserRegion,
8945
- jr as Client,
8946
- Cs as ClientAdditionalData,
8955
+ Vr as CityWithUserRegion,
8956
+ Gr as Client,
8957
+ Ds as ClientAdditionalData,
8947
8958
  Ke as ClientCategory,
8948
8959
  H as ClientDataProvider,
8949
- ti as ClientPriceProvider,
8950
- si as ClientPriceTemplateProvider,
8960
+ si as ClientPriceProvider,
8961
+ ii as ClientPriceTemplateProvider,
8951
8962
  X as ClientProduct,
8952
- oi as ClientProductCategoryDataProvider,
8953
- ci as ClientProductDataProvider,
8963
+ ci as ClientProductCategoryDataProvider,
8964
+ li as ClientProductDataProvider,
8954
8965
  oe as ClientShortInfo,
8955
- ws as ClientsAdditionalDataRequestTypeEnum,
8956
- gi as ClientsListFilters,
8966
+ vs as ClientsAdditionalDataRequestTypeEnum,
8967
+ fi as ClientsListFilters,
8957
8968
  Ee as CodedIdentity,
8958
- yi as ConfiguratorProvider,
8959
- Ts as ConfiguratorsEnum,
8969
+ ai as ConfiguratorProvider,
8970
+ Ps as ConfiguratorsEnum,
8960
8971
  Dr as Contact,
8961
- lt as ContactLinks,
8972
+ ut as ContactLinks,
8962
8973
  se as ContactPerson,
8963
- Ds as ContactPersonRelated,
8964
- qs as ContactPosition,
8974
+ Ts as ContactPersonRelated,
8975
+ Es as ContactPosition,
8965
8976
  gr as ContactRelation,
8966
- mt as ContragentBase,
8977
+ yt as ContragentBase,
8967
8978
  Xe as ContragentFactory,
8968
- yt as ContragentIc,
8969
- vs as ContragentPerson,
8970
- Rs as ContragentUlNr,
8971
- at as ContragentUlR,
8979
+ at as ContragentIc,
8980
+ Rs as ContragentPerson,
8981
+ Cs as ContragentUlNr,
8982
+ wt as ContragentUlR,
8972
8983
  kr as CostSourceEnum,
8973
8984
  we as Country,
8974
8985
  Ir as CuratedDirection,
8975
8986
  xr as Curator,
8976
8987
  j as Currency,
8977
- Ui as DataSuggestionProvider,
8988
+ Fi as DataSuggestionProvider,
8978
8989
  Tr as DateHelper,
8979
- Ci as DateTimeProvider,
8980
- ft as DeletableNamedIdentity,
8990
+ Di as DateTimeProvider,
8991
+ mt as DeletableNamedIdentity,
8981
8992
  _e as DeliveryAddress,
8982
8993
  K as DeliveryType,
8983
- rt as DetailedJwtPayload,
8984
- ts as DeviceTypeResolutionConfig,
8985
- cs as DiscountShortInfo,
8986
- zi as FieldValidationResultData,
8994
+ tt as DetailedJwtPayload,
8995
+ ss as DeviceTypeResolutionConfig,
8996
+ ls as DiscountShortInfo,
8997
+ Wi as FieldValidationResultData,
8987
8998
  te as FilterGroup,
8988
- Fr as FilterItem,
8999
+ Mr as FilterItem,
8989
9000
  dr as FilterOpEnum,
8990
- ms as FilterSettings,
8991
- it as GeoCoordinates,
8992
- us as HiddenCatalogableItem,
9001
+ ys as FilterSettings,
9002
+ nt as GeoCoordinates,
9003
+ ps as HiddenCatalogableItem,
8993
9004
  Ue as HttpCachedRequester,
8994
- ss as HttpParamsConfig,
9005
+ is as HttpParamsConfig,
8995
9006
  h as HttpRequester,
8996
9007
  G as Identity,
8997
- ps as Image,
9008
+ hs as Image,
8998
9009
  M as InterceptorsEnum,
8999
9010
  Te as JwtPayload,
9000
9011
  Z as Manager,
9001
9012
  Lr as ManagerCommon,
9002
- Ai as ManagerDataFactory,
9003
- Dt as ManagerDataProvider,
9004
- Ms as MetaTagItem,
9013
+ bi as ManagerDataFactory,
9014
+ Tt as ManagerDataProvider,
9015
+ Hs as MetaTagItem,
9005
9016
  L as NamedIdentity,
9006
9017
  F as Offer,
9007
- bs as OfferActualization,
9018
+ Ss as OfferActualization,
9008
9019
  xe as OfferActualizationStatus,
9009
- di as OfferHelper,
9010
- Tt as OfferShortInfo,
9011
- Si as OffersDataProvider,
9012
- bi as OffersListFilters,
9013
- At as Operator,
9020
+ $i as OfferHelper,
9021
+ Pt as OfferShortInfo,
9022
+ di as OffersDataProvider,
9023
+ Si as OffersListFilters,
9024
+ bt as Operator,
9014
9025
  ie as Opf,
9015
9026
  V as OpfEnum,
9016
9027
  I as Order,
9017
- $s as OrderAction,
9018
- $i as OrderEditorData,
9019
- Pt as OrderInfo,
9020
- ds as OrderItem,
9021
- ot as OrderItemBase,
9022
- Es as OrderPaymentStatus,
9023
- Rt as OrderShortInfo,
9028
+ ks as OrderAction,
9029
+ ki as OrderEditorData,
9030
+ At as OrderInfo,
9031
+ $s as OrderItem,
9032
+ ct as OrderItemBase,
9033
+ Us as OrderPaymentStatus,
9034
+ Ct as OrderShortInfo,
9024
9035
  er as OrderStatus,
9025
- Us as OrderStatusDetail,
9026
- xs as OrderStatusDetailEnum,
9027
- Is as OrderStatusEnum,
9028
- ks as OrderStatusHistoryInfo,
9029
- Oi as OrdersDataProvider,
9030
- ki as OrdersListFilters,
9036
+ Fs as OrderStatusDetail,
9037
+ _s as OrderStatusDetailEnum,
9038
+ xs as OrderStatusEnum,
9039
+ Os as OrderStatusHistoryInfo,
9040
+ Li as OrdersDataProvider,
9041
+ Oi as OrdersListFilters,
9031
9042
  Fe as PaginationFiltersBase,
9032
9043
  Ce as PartnerGroup,
9033
- bt as PaymentType,
9044
+ St as PaymentType,
9034
9045
  Ge as PreferencesStorageProvider,
9035
9046
  fr as PriceAnalyze,
9036
- Ii as PriceAnalyzeProvider,
9047
+ xi as PriceAnalyzeProvider,
9037
9048
  Pe as PriceCoefficient,
9038
- st as PriceCoefficientEnum,
9039
- xi as PriceHistoryDataProvider,
9040
- Os as PriceHistoryItem,
9049
+ it as PriceCoefficientEnum,
9050
+ _i as PriceHistoryDataProvider,
9051
+ Ls as PriceHistoryItem,
9041
9052
  fe as PriceTemplate,
9042
9053
  pr as PriceTemplateCategory,
9043
9054
  Le as PriceTemplateClient,
9044
- pt as PriceTemplateICatalogableItem,
9055
+ ht as PriceTemplateICatalogableItem,
9045
9056
  hr as PriceTemplateProduct,
9046
- li as PriceTemplateProvider,
9057
+ ui as PriceTemplateProvider,
9047
9058
  Ie as PricingRole,
9048
- ui as PricingRoleProvider,
9059
+ pi as PricingRoleProvider,
9049
9060
  Rr as PrimaryCatalogableItem,
9050
9061
  q as Product,
9051
- ii as ProductCategoryDataProvider,
9052
- ni as ProductDataProvider,
9053
- Fs as ProductFileType,
9054
- ct as ProductFilterTypeEnum,
9062
+ ni as ProductCategoryDataProvider,
9063
+ oi as ProductDataProvider,
9064
+ Ms as ProductFileType,
9065
+ lt as ProductFilterTypeEnum,
9055
9066
  $r as ProductPriceCoefficient,
9056
- Ls as ProductPriceHistory,
9057
- Mr as ProductUnit,
9058
- Ss as ProfstroyOfferItem,
9059
- pi as PropertiesProvider,
9067
+ Is as ProductPriceHistory,
9068
+ Hr as ProductUnit,
9069
+ ds as ProfstroyOfferItem,
9070
+ hi as PropertiesProvider,
9060
9071
  me as Property,
9061
- gt as PropertyType,
9062
- gs as PropertyTypeEnum,
9072
+ ft as PropertyType,
9073
+ fs as PropertyTypeEnum,
9063
9074
  he as PropertyValue,
9064
- _i as RecommendationsDataProvider,
9065
- Yr as RecommendationsList,
9075
+ Ni as RecommendationsDataProvider,
9076
+ Qr as RecommendationsList,
9066
9077
  D as Reference,
9067
- Ni as ReferenceDataFactory,
9078
+ qi as ReferenceDataFactory,
9068
9079
  S as ReferenceDataProvider,
9069
9080
  ve as Region,
9070
- St as ResourceType,
9071
- Di as STANDARD_PERIOD_GROUPS,
9072
- Ti as STANDARD_PERIOD_SECTIONS,
9081
+ dt as ResourceType,
9082
+ Ti as STANDARD_PERIOD_GROUPS,
9083
+ Pi as STANDARD_PERIOD_SECTIONS,
9073
9084
  U as SalesDirection,
9074
- is as SentryConfig,
9075
- Vr as Seo,
9076
- Ei as SeoDataProvider,
9077
- vt as SourcePrimaryInterest,
9078
- ls as StockCount,
9079
- ai as TableDataPagination,
9080
- Ps as TableDataPaginationRequestParams,
9081
- wi as TableDataSortRequestParams,
9082
- hi as TemplateProductCategoryDataProvider,
9083
- ei as TemplatesListFilters,
9085
+ ns as SentryConfig,
9086
+ Jr as Seo,
9087
+ Ui as SeoDataProvider,
9088
+ Rt as SourcePrimaryInterest,
9089
+ us as StockCount,
9090
+ wi as TableDataPagination,
9091
+ As as TableDataPaginationRequestParams,
9092
+ vi as TableDataSortRequestParams,
9093
+ gi as TemplateProductCategoryDataProvider,
9094
+ ri as TemplatesListFilters,
9084
9095
  _ as TypedInstanceFactory,
9085
- Ct as UnitsHelper,
9086
- fi as UnknownClientDataProvider,
9087
- tt as UpdatableNamedIdentity,
9088
- Hs as User,
9089
- Fi as UserAuthDataProvider,
9090
- ht as UserCommonInfo,
9091
- Bs as UserDataProvider,
9092
- ut as UserPricingRole,
9096
+ Dt as UnitsHelper,
9097
+ mi as UnknownClientDataProvider,
9098
+ st as UpdatableNamedIdentity,
9099
+ Bs as User,
9100
+ Mi as UserAuthDataProvider,
9101
+ gt as UserCommonInfo,
9102
+ zs as UserDataProvider,
9103
+ pt as UserPricingRole,
9093
9104
  yr as UserRegion,
9094
9105
  Ar as UserRegionEmployee,
9095
- Bi as UserRegionProvider,
9106
+ zi as UserRegionProvider,
9096
9107
  Ze as UserRegionShortInfo,
9097
- Hi as UserRegionsListFilters,
9108
+ Bi as UserRegionsListFilters,
9098
9109
  N as UserShortInfo,
9099
- dt as UserTypeEnum,
9100
- mi as VersionConfig,
9110
+ $t as UserTypeEnum,
9111
+ yi as VersionConfig,
9101
9112
  Me as Warehouse,
9102
- ns as WebSocketConfig,
9103
- Li as currentOrderInjectionKey,
9104
- vi as daysAgoIso,
9105
- zr as findCatalogItemByIdRecursive,
9106
- Wr as flattenCatalogItems,
9107
- Pi as formatPercentChange,
9108
- Ri as formatRelativeDate,
9109
- As as pluralize,
9113
+ os as WebSocketConfig,
9114
+ Ii as currentOrderInjectionKey,
9115
+ Ri as daysAgoIso,
9116
+ Wr as findCatalogItemByIdRecursive,
9117
+ jr as flattenCatalogItems,
9118
+ Ai as formatPercentChange,
9119
+ Ci as formatRelativeDate,
9120
+ bs as pluralize,
9110
9121
  ze as useAuthStateStore,
9111
9122
  O as useBaseConfigStateStore,
9112
- qi as useReferencesStore,
9113
- Mi as useUserStateStore
9123
+ Ei as useReferencesStore,
9124
+ Hi as useUserStateStore
9114
9125
  };