@snabcentr/common-lib 1.40.4 → 1.41.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,13 +1,13 @@
1
- var Fe = Object.defineProperty;
2
- var je = (i, r, e) => r in i ? Fe(i, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[r] = e;
3
- var s = (i, r, e) => je(i, typeof r != "symbol" ? r + "" : r, e);
4
- import { isUndefined as Te, cloneDeep as Ve, noop as m, toLower as Ee, isString as D, map as X, forEach as Ke, isNil as Je, isEmpty as Qe, isArray as Ye, isFunction as Xe } from "lodash-es";
5
- import { format as Ze, addSeconds as er, parseISO as N, isAfter as rr, startOfToday as ge, parse as j, getDay as sr, startOfTomorrow as pe, nextMonday as tr, getUnixTime as k, endOfTomorrow as nr, endOfYesterday as ir, startOfYesterday as or, endOfToday as cr, endOfDay as lr, startOfDay as ur } from "date-fns";
6
- import pr from "axios";
7
- import { objectToSnake as Ae, objectToCamel as hr } from "ts-case-convert";
8
- import { defineStore as ie } from "pinia";
1
+ var je = Object.defineProperty;
2
+ var Ve = (i, r, e) => r in i ? je(i, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[r] = e;
3
+ var s = (i, r, e) => Ve(i, typeof r != "symbol" ? r + "" : r, e);
4
+ import { isUndefined as Le, cloneDeep as Ee, noop as m, toLower as Ke, isString as D, map as Z, forEach as Je, isNil as Qe, isEmpty as Ye, isArray as Xe, isFunction as Ze } from "lodash-es";
5
+ import { format as er, addSeconds as rr, parseISO as N, isAfter as sr, startOfToday as me, parse as V, getDay as tr, startOfTomorrow as he, nextMonday as nr, getUnixTime as k, endOfTomorrow as ir, endOfYesterday as or, startOfYesterday as cr, endOfToday as lr, endOfDay as ur, startOfDay as pr } from "date-fns";
6
+ import hr from "axios";
7
+ import { objectToSnake as $e, objectToCamel as gr } from "ts-case-convert";
8
+ import { defineStore as oe } from "pinia";
9
9
  import { ref as w, computed as C } from "vue";
10
- class K {
10
+ class J {
11
11
  /**
12
12
  * Инициализирует экземпляр класса {@link Identity}.
13
13
  *
@@ -31,7 +31,7 @@ class K {
31
31
  return this.id === -1;
32
32
  }
33
33
  }
34
- class P extends K {
34
+ class P extends J {
35
35
  /**
36
36
  * Инициализирует экземпляр класса {@link NamedIdentity}.
37
37
  *
@@ -46,7 +46,7 @@ class P extends K {
46
46
  this.name = (e == null ? void 0 : e.name) ?? "";
47
47
  }
48
48
  }
49
- class Le extends P {
49
+ class ae extends P {
50
50
  /**
51
51
  * Инициализирует экземпляр класса {@link CatalogableItem}.
52
52
  *
@@ -69,7 +69,7 @@ class Le extends P {
69
69
  this.slug = (e == null ? void 0 : e.slug) ?? "", this.code = (e == null ? void 0 : e.code) ?? "";
70
70
  }
71
71
  }
72
- class me extends Le {
72
+ class fe extends ae {
73
73
  /**
74
74
  * Инициализирует экземпляр класса {@link PrimaryCatalogableItem}.
75
75
  *
@@ -84,7 +84,7 @@ class me extends Le {
84
84
  this.isPrimary = (e == null ? void 0 : e.isPrimary) ?? !1;
85
85
  }
86
86
  }
87
- class oe extends me {
87
+ class ce extends fe {
88
88
  /**
89
89
  * Инициализирует экземпляр класса {@link BaseCategory}.
90
90
  *
@@ -126,9 +126,9 @@ class f extends P {
126
126
  this.description = e == null ? void 0 : e.description, this.slug = e == null ? void 0 : e.slug;
127
127
  }
128
128
  }
129
- class ae extends f {
129
+ class Ie extends f {
130
130
  }
131
- class ve {
131
+ class Re {
132
132
  /**
133
133
  * Инициализирует экземпляр класса {@link ProductPriceCoefficient}.
134
134
  *
@@ -155,10 +155,10 @@ class ve {
155
155
  * Признак того, что указанный коэффициент доступен текущему пользователю только для просмотра.
156
156
  */
157
157
  s(this, "readOnly");
158
- this.coefficient = new ae(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;
158
+ this.coefficient = new Ie(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;
159
159
  }
160
160
  }
161
- class Ie {
161
+ class xe {
162
162
  /**
163
163
  * Инициализирует экземпляр класса {@link GeoCoordinates}.
164
164
  *
@@ -176,9 +176,9 @@ class Ie {
176
176
  this.lat = (r == null ? void 0 : r.lat) ?? 0, this.long = (r == null ? void 0 : r.long) ?? 0;
177
177
  }
178
178
  }
179
- class V extends f {
179
+ class E extends f {
180
180
  }
181
- class ce extends f {
181
+ class le extends f {
182
182
  /**
183
183
  * Инициализирует экземпляр класса {@link Warehouse}.
184
184
  *
@@ -207,10 +207,10 @@ class ce extends f {
207
207
  * Координаты склада.
208
208
  */
209
209
  s(this, "coordinates");
210
- 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((n) => new V(n))) ?? [], this.regions = (e == null ? void 0 : e.regions) ?? [], this.coordinates = new Ie(e == null ? void 0 : e.coordinates);
210
+ 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((n) => new E(n))) ?? [], this.regions = (e == null ? void 0 : e.regions) ?? [], this.coordinates = new xe(e == null ? void 0 : e.coordinates);
211
211
  }
212
212
  }
213
- class gr {
213
+ class mr {
214
214
  /**
215
215
  * Инициализирует экземпляр класса {@link StockCount}.
216
216
  *
@@ -225,7 +225,7 @@ class gr {
225
225
  * Количество остатков товара на складе.
226
226
  */
227
227
  s(this, "count");
228
- this.warehouse = new ce(r == null ? void 0 : r.warehouse), this.count = (r == null ? void 0 : r.count) ?? 0;
228
+ this.warehouse = new le(r == null ? void 0 : r.warehouse), this.count = (r == null ? void 0 : r.count) ?? 0;
229
229
  }
230
230
  }
231
231
  const W = class W {
@@ -242,7 +242,7 @@ const W = class W {
242
242
  */
243
243
  // eslint-disable-next-line @typescript-eslint/no-unnecessary-type-parameters
244
244
  static getConfig() {
245
- if (Te(W.config))
245
+ if (Le(W.config))
246
246
  throw new Error("Config is undefined. Please set config by AppConfigProvider.init().");
247
247
  return W.config;
248
248
  }
@@ -265,7 +265,7 @@ const W = class W {
265
265
  */
266
266
  s(W, "config");
267
267
  let O = W;
268
- class mr extends Le {
268
+ class fr extends ae {
269
269
  /**
270
270
  * Инициализирует экземпляр класса {@link HiddenCatalogableItem}.
271
271
  *
@@ -280,7 +280,7 @@ class mr extends Le {
280
280
  this.isHidden = (e == null ? void 0 : e.isHidden) ?? !1;
281
281
  }
282
282
  }
283
- class fr {
283
+ class yr {
284
284
  /**
285
285
  * Инициализирует экземпляр класса {@link Image}.
286
286
  *
@@ -303,7 +303,7 @@ class fr {
303
303
  this.image = `${e ?? ""}${r.image}`, this.preview = `${e ?? ""}${r.preview}`, this.isDefault = r.isDefault;
304
304
  }
305
305
  }
306
- class x extends mr {
306
+ class x extends fr {
307
307
  /**
308
308
  * Инициализирует экземпляр класса {@link Product}.
309
309
  *
@@ -376,12 +376,12 @@ class x extends mr {
376
376
  * Список коэффициентов цен на продукт.
377
377
  */
378
378
  s(this, "priceCoefficients");
379
- this.supplierSku = e == null ? void 0 : e.supplierSku, this.unit = (e == null ? void 0 : e.unit) ?? "", this.pack = e == null ? void 0 : e.pack, this.minCount = e == null ? void 0 : e.minCount, this.quantityUnit = e == null ? void 0 : e.quantityUnit, this.currency = (e == null ? void 0 : e.currency) ?? "", this.cost = (e == null ? void 0 : e.cost) ?? 0, this.costRub = (e == null ? void 0 : e.costRub) ?? 0, this.costDate = e == null ? void 0 : e.costDate, this.onOrder = (e == null ? void 0 : e.onOrder) ?? !1, this.stockCount = ((n = e == null ? void 0 : e.stockCount) == null ? void 0 : n.map((h) => new gr(h))) ?? [], this.type = "product";
380
- const t = (e == null ? void 0 : e.category) ?? ((o = e == null ? void 0 : e.categories) == null ? void 0 : o.find((h) => h.isPrimary));
381
- t && (this.category = new me({ ...t, isPrimary: !0 }), this.categories = [this.category]), e != null && e.categories && (this.categories = e.categories.map((h) => new me(h))), this.images = ((l = e == null ? void 0 : e.images) == null ? void 0 : l.map((h) => {
379
+ this.supplierSku = e == null ? void 0 : e.supplierSku, this.unit = (e == null ? void 0 : e.unit) ?? "", this.pack = e == null ? void 0 : e.pack, this.minCount = e == null ? void 0 : e.minCount, this.quantityUnit = e == null ? void 0 : e.quantityUnit, this.currency = (e == null ? void 0 : e.currency) ?? "", this.cost = (e == null ? void 0 : e.cost) ?? 0, this.costRub = (e == null ? void 0 : e.costRub) ?? 0, this.costDate = e == null ? void 0 : e.costDate, this.onOrder = (e == null ? void 0 : e.onOrder) ?? !1, this.stockCount = ((n = e == null ? void 0 : e.stockCount) == null ? void 0 : n.map((g) => new mr(g))) ?? [], this.type = "product";
380
+ const t = (e == null ? void 0 : e.category) ?? ((o = e == null ? void 0 : e.categories) == null ? void 0 : o.find((g) => g.isPrimary));
381
+ t && (this.category = new fe({ ...t, isPrimary: !0 }), this.categories = [this.category]), e != null && e.categories && (this.categories = e.categories.map((g) => new fe(g))), this.images = ((l = e == null ? void 0 : e.images) == null ? void 0 : l.map((g) => {
382
382
  var y;
383
- return new fr(h, (y = O.getConfig().urls) == null ? void 0 : y.mediaServer);
384
- })) ?? [], this.properties = (e == null ? void 0 : e.properties) ?? {}, this.priceCoefficients = ((u = e == null ? void 0 : e.priceCoefficients) == null ? void 0 : u.map((h) => new ve(h))) ?? [], e && "codeNumber" in e && !e.code && (this.code = e == null ? void 0 : e.codeNumber);
383
+ return new yr(g, (y = O.getConfig().urls) == null ? void 0 : y.mediaServer);
384
+ })) ?? [], this.properties = (e == null ? void 0 : e.properties) ?? {}, this.priceCoefficients = ((u = e == null ? void 0 : e.priceCoefficients) == null ? void 0 : u.map((g) => new Re(g))) ?? [], e && "codeNumber" in e && !e.code && (this.code = e == null ? void 0 : e.codeNumber);
385
385
  }
386
386
  /**
387
387
  * Возвращает признак, что это измеряемый товар.
@@ -391,7 +391,7 @@ class x extends mr {
391
391
  return [...e.linear, ...e.square].includes(this.unit);
392
392
  }
393
393
  }
394
- class yr extends K {
394
+ class wr extends J {
395
395
  /**
396
396
  * Инициализирует экземпляр класса {@link CartItemBase}.
397
397
  *
@@ -443,10 +443,10 @@ class yr extends K {
443
443
  * Признак того, что позиция является дополнительной продажей.
444
444
  */
445
445
  s(this, "isAdditionalSale");
446
- this.product = new x(e == null ? void 0 : e.product), this.quantity = e.quantity ?? 0, this.marker = e.marker, this.category = e.category ?? new oe(), this.height = e.height, this.length = e.length, this.width = e.width, this.configurator = e.configurator, this.configuratorParams = e.configuratorParams && Ve(e.configuratorParams), this.isAdditionalSale = e.isAdditionalSale;
446
+ this.product = new x(e == null ? void 0 : e.product), this.quantity = e.quantity ?? 0, this.marker = e.marker, this.category = e.category ?? new ce(), this.height = e.height, this.length = e.length, this.width = e.width, this.configurator = e.configurator, this.configuratorParams = e.configuratorParams && Ee(e.configuratorParams), this.isAdditionalSale = e.isAdditionalSale;
447
447
  }
448
448
  }
449
- class wr extends yr {
449
+ class Cr extends wr {
450
450
  /**
451
451
  * Инициализирует экземпляр класса {@link CartItem}.
452
452
  *
@@ -496,7 +496,7 @@ class wr extends yr {
496
496
  this.currency = e.currency, this.cost = e.cost, this.costOne = e.costOne, this.costOneRub = e.costOneRub, this.costRub = e.costRub, this.logicGroupId = e.logicGroupId, this.salesDirection = e.salesDirection, this.specificationImgUrl = e.specificationImgUrl, this.sawing = e.sawing;
497
497
  }
498
498
  }
499
- class Y {
499
+ class X {
500
500
  /**
501
501
  * Инициализирует экземпляр класса {@link Cart}.
502
502
  *
@@ -515,10 +515,10 @@ class Y {
515
515
  * Список итоговых сумм по направлениям продаж.
516
516
  */
517
517
  s(this, "directionsSum");
518
- this.items = r.items.map((e) => new wr(e)), this.resultSum = r.resultSum, this.directionsSum = r.directionsSum;
518
+ this.items = r.items.map((e) => new Cr(e)), this.resultSum = r.resultSum, this.directionsSum = r.directionsSum;
519
519
  }
520
520
  }
521
- class Cr {
521
+ class vr {
522
522
  /**
523
523
  * Инициализирует экземпляр класса {@link DeviceTypeResolutionConfig}.
524
524
  *
@@ -540,7 +540,7 @@ class Cr {
540
540
  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;
541
541
  }
542
542
  }
543
- class vr {
543
+ class Rr {
544
544
  /**
545
545
  * Инициализирует экземпляр класса {@link HttpParamsConfig}.
546
546
  *
@@ -558,7 +558,7 @@ class vr {
558
558
  this.apiUri = (r == null ? void 0 : r.apiUri) ?? "", this.responseDataCacheTimeout = (r == null ? void 0 : r.responseDataCacheTimeout) ?? 3 * 60 * 60;
559
559
  }
560
560
  }
561
- class Rr {
561
+ class Dr {
562
562
  /**
563
563
  * Инициализирует экземпляр класса {@link SentryConfig}.
564
564
  *
@@ -603,7 +603,7 @@ class Rr {
603
603
  }, this.additionalParams = (r == null ? void 0 : r.additionalParams) ?? {};
604
604
  }
605
605
  }
606
- class Dr {
606
+ class Pr {
607
607
  /**
608
608
  * Инициализирует экземпляр класса {@link VersionConfig}.
609
609
  *
@@ -622,10 +622,10 @@ class Dr {
622
622
  * Текущая версия приложения.
623
623
  */
624
624
  s(this, "version");
625
- this.date = (r == null ? void 0 : r.date) ?? Ze(/* @__PURE__ */ new Date(), "dd.MM.yyyy"), this.name = (r == null ? void 0 : r.name) ?? "", this.version = (r == null ? void 0 : r.version) ?? "0.0.0";
625
+ this.date = (r == null ? void 0 : r.date) ?? er(/* @__PURE__ */ new Date(), "dd.MM.yyyy"), this.name = (r == null ? void 0 : r.name) ?? "", this.version = (r == null ? void 0 : r.version) ?? "0.0.0";
626
626
  }
627
627
  }
628
- class ss {
628
+ class ns {
629
629
  /**
630
630
  * Инициализирует экземпляр класса {@link AppBaseConfig}.
631
631
  *
@@ -668,19 +668,19 @@ class ss {
668
668
  * Данные о текущем выпуске приложения.
669
669
  */
670
670
  s(this, "version");
671
- this.environment = (r == null ? void 0 : r.environment) ?? "production", this.currentDomain = (r == null ? void 0 : r.currentDomain) ?? "", this.devMode = (r == null ? void 0 : r.devMode) ?? {}, this.http = new vr(r == null ? void 0 : r.http), this.deviceTypeByResolution = new Cr(r == null ? void 0 : r.deviceTypeByResolution), this.products = {
671
+ this.environment = (r == null ? void 0 : r.environment) ?? "production", this.currentDomain = (r == null ? void 0 : r.currentDomain) ?? "", this.devMode = (r == null ? void 0 : r.devMode) ?? {}, this.http = new Rr(r == null ? void 0 : r.http), this.deviceTypeByResolution = new vr(r == null ? void 0 : r.deviceTypeByResolution), this.products = {
672
672
  units: {
673
673
  linear: ["пог.м.", "м."],
674
674
  square: ["м2"]
675
675
  },
676
676
  ...r == null ? void 0 : r.products
677
- }, this.sentry = new Rr({
677
+ }, this.sentry = new Dr({
678
678
  environment: this.environment,
679
679
  ...r == null ? void 0 : r.sentry
680
- }), this.urls = r == null ? void 0 : r.urls, this.version = new Dr(r == null ? void 0 : r.version);
680
+ }), this.urls = r == null ? void 0 : r.urls, this.version = new Pr(r == null ? void 0 : r.version);
681
681
  }
682
682
  }
683
- class Re {
683
+ class De {
684
684
  /**
685
685
  * Инициализирует экземпляр указанного класса.
686
686
  *
@@ -720,7 +720,7 @@ const b = class b {
720
720
  */
721
721
  s(this, "defaultInstanceNotificationErrorResponseHandler", m);
722
722
  const t = O.getConfig().version;
723
- this.defaultInstanceNotificationErrorResponseHandler = b.baseDefaultNotificationErrorResponseHandler, this.httpClient = pr.create({
723
+ this.defaultInstanceNotificationErrorResponseHandler = b.baseDefaultNotificationErrorResponseHandler, this.httpClient = hr.create({
724
724
  // eslint-disable-next-line @typescript-eslint/restrict-template-expressions
725
725
  baseURL: r,
726
726
  headers: {
@@ -730,10 +730,10 @@ const b = class b {
730
730
  ...e
731
731
  }
732
732
  }), this.httpClient.interceptors.request.use(
733
- (n) => (n.method && (n.method === "get" && n.params && (n.params = Ae(n.params)), ["put", "patch", "post"].includes(Ee(n.method)) && n.data && (n.data = Ae(n.data))), n),
733
+ (n) => (n.method && (n.method === "get" && n.params && (n.params = $e(n.params)), ["put", "patch", "post"].includes(Ke(n.method)) && n.data && (n.data = $e(n.data))), n),
734
734
  (n) => Promise.reject(n)
735
735
  ), this.httpClient.interceptors.response.use(
736
- (n) => (n.data && (n.data = hr(n.data)), n),
736
+ (n) => (n.data && (n.data = gr(n.data)), n),
737
737
  // Возвращаем изменённую структуру сообщения об ошибке.
738
738
  (n) => b.convertHttpErrorResponse(n)
739
739
  );
@@ -752,7 +752,7 @@ const b = class b {
752
752
  * @param type Тип данных, которыми оперирует метод.
753
753
  */
754
754
  static getInstance(r) {
755
- return Object.prototype.hasOwnProperty.call(b.instances, r.name) || (b.instances[r.name] = Re.simpleInstanceInitializer(r)), b.instances[r.name];
755
+ return Object.prototype.hasOwnProperty.call(b.instances, r.name) || (b.instances[r.name] = De.simpleInstanceInitializer(r)), b.instances[r.name];
756
756
  }
757
757
  /**
758
758
  * Конвертирует данные ошибки HTTP запроса в более упрощённую и часто используемую форму.
@@ -842,8 +842,8 @@ s(b, "instances", {}), /**
842
842
  * - validationFieldResultData Список полей, для которых необходимо установить данные об ошибках валидации в случае ошибок в запросах.
843
843
  */
844
844
  s(b, "baseDefaultNotificationErrorResponseHandler", m);
845
- let fe = b;
846
- const z = class z extends fe {
845
+ let ye = b;
846
+ const z = class z extends ye {
847
847
  /**
848
848
  * Инициализирует экземпляр класса {@link HttpBaseCachedRequester}.
849
849
  *
@@ -878,7 +878,7 @@ const z = class z extends fe {
878
878
  */
879
879
  cacheResponse(e, t) {
880
880
  z.responseDataCache.set(e, {
881
- validTo: er(/* @__PURE__ */ new Date(), this.responseDataCacheTimeout),
881
+ validTo: rr(/* @__PURE__ */ new Date(), this.responseDataCacheTimeout),
882
882
  val: t
883
883
  });
884
884
  }
@@ -894,7 +894,7 @@ const z = class z extends fe {
894
894
  getTypedDataArrayRequester(e, t, n = !1) {
895
895
  const o = n ? z.getCachedResponse(t) : void 0;
896
896
  return o ? Promise.resolve(o) : this.get(t).then((l) => {
897
- const u = l.map((h) => Re.instanceInitializer(e, h));
897
+ const u = l.map((g) => De.instanceInitializer(e, g));
898
898
  return n && u && this.cacheResponse(t, u), u;
899
899
  });
900
900
  }
@@ -903,8 +903,8 @@ const z = class z extends fe {
903
903
  * Кэш результатов запросов.
904
904
  */
905
905
  s(z, "responseDataCache", /* @__PURE__ */ new Map());
906
- let ye = z;
907
- class p extends ye {
906
+ let we = z;
907
+ class p extends we {
908
908
  /**
909
909
  * Инициализирует экземпляр класса {@link HttpRequester}.
910
910
  */
@@ -914,7 +914,7 @@ class p extends ye {
914
914
  (t = r.devMode) != null && t.authBearerToken && (e.Authorization = `Bearer ${(n = r.devMode) == null ? void 0 : n.authBearerToken}`), super(`${r.http.apiUri}/api`, e);
915
915
  }
916
916
  }
917
- class ts extends p {
917
+ class is extends p {
918
918
  /**
919
919
  * Возвращает содержимое корзины указанного клиента.
920
920
  *
@@ -923,7 +923,7 @@ class ts extends p {
923
923
  * @see /doc/api/internal#/Корзина/api_internal_client_cart_get
924
924
  */
925
925
  getCart(r) {
926
- return this.get(`internal/clients/${r.id}/cart`, {}, (e) => new Y(e.data));
926
+ return this.get(`internal/clients/${r.id}/cart`, {}, (e) => new X(e.data));
927
927
  }
928
928
  /**
929
929
  * Удаляет всё содержимое корзины.
@@ -961,7 +961,7 @@ class ts extends p {
961
961
  isAdditionalSale: e.isAdditionalSale,
962
962
  ...e.configuratorParams
963
963
  },
964
- (n) => new Y(n.data),
964
+ (n) => new X(n.data),
965
965
  t
966
966
  );
967
967
  }
@@ -991,7 +991,7 @@ class ts extends p {
991
991
  isAdditionalSale: e.isAdditionalSale,
992
992
  ...e.configuratorParams
993
993
  },
994
- (n) => new Y(n.data),
994
+ (n) => new X(n.data),
995
995
  t
996
996
  );
997
997
  }
@@ -1014,11 +1014,11 @@ class ts extends p {
1014
1014
  * @see /doc/api/internal#/Корзина/api_internal_client_cart_add_products_from_csv
1015
1015
  */
1016
1016
  addCartItemFromCSV(r) {
1017
- return this.post(`internal/clients/${r.id}/cart/add-products-from-csv`, {}, (e) => new Y(e.data));
1017
+ return this.post(`internal/clients/${r.id}/cart/add-products-from-csv`, {}, (e) => new X(e.data));
1018
1018
  }
1019
1019
  }
1020
- var xe = /* @__PURE__ */ ((i) => (i.Discount = "discount", i.PriceTemplate = "price_template", i.ClientPrice = "client_price", i.Product = "product", i))(xe || {}), Pr = /* @__PURE__ */ ((i) => (i.Unknown = "unknown", i.Bool = "bool", i.Integer = "integer", i.Float = "float", i.String = "string", i.Range = "range", i.Json = "json", i.Object = "object", i))(Pr || {}), Ar = /* @__PURE__ */ ((i) => (i.K0 = "k0", i.K1 = "k1", i.K2 = "k2", i.K3 = "k3", i.K4 = "k4", i))(Ar || {});
1021
- class d extends oe {
1020
+ var ke = /* @__PURE__ */ ((i) => (i.Discount = "discount", i.PriceTemplate = "price_template", i.ClientPrice = "client_price", i.Product = "product", i))(ke || {}), Ar = /* @__PURE__ */ ((i) => (i.Unknown = "unknown", i.Bool = "bool", i.Integer = "integer", i.Float = "float", i.String = "string", i.Range = "range", i.Json = "json", i.Object = "object", i))(Ar || {}), $r = /* @__PURE__ */ ((i) => (i.K0 = "k0", i.K1 = "k1", i.K2 = "k2", i.K3 = "k3", i.K4 = "k4", i))($r || {});
1021
+ class U extends ce {
1022
1022
  /**
1023
1023
  * Инициализирует экземпляр класса {@link Category}.
1024
1024
  *
@@ -1035,10 +1035,10 @@ class d extends oe {
1035
1035
  * Список продуктов категории.
1036
1036
  */
1037
1037
  s(this, "products");
1038
- this.categories = (t = e == null ? void 0 : e.categories) == null ? void 0 : t.map((o) => new d(o)), this.products = (n = e == null ? void 0 : e.products) == null ? void 0 : n.map((o) => new x(o));
1038
+ this.categories = (t = e == null ? void 0 : e.categories) == null ? void 0 : t.map((o) => new U(o)), this.products = (n = e == null ? void 0 : e.products) == null ? void 0 : n.map((o) => new x(o));
1039
1039
  }
1040
1040
  }
1041
- class ke extends P {
1041
+ class Ne extends P {
1042
1042
  /**
1043
1043
  * Инициализирует экземпляр класса {@link UpdatableNamedIdentity}.
1044
1044
  *
@@ -1053,7 +1053,7 @@ class ke extends P {
1053
1053
  this.updatedAt = e == null ? void 0 : e.updatedAt;
1054
1054
  }
1055
1055
  }
1056
- class $r extends ke {
1056
+ class br extends Ne {
1057
1057
  /**
1058
1058
  * Инициализирует экземпляр класса {@link UpdatableNamedIdentity}.
1059
1059
  *
@@ -1068,7 +1068,7 @@ class $r extends ke {
1068
1068
  this.deletedAt = e != null && e.deletedAt ? D(e.deletedAt) ? N(e.deletedAt) : e.deletedAt : void 0;
1069
1069
  }
1070
1070
  }
1071
- class ns {
1071
+ class os {
1072
1072
  /**
1073
1073
  * Возвращает актуальные и не просроченные данные из хранилища.
1074
1074
  *
@@ -1079,7 +1079,7 @@ class ns {
1079
1079
  if (e)
1080
1080
  try {
1081
1081
  const t = JSON.parse(e);
1082
- if (rr(N(t.availableFor) || ge(), /* @__PURE__ */ new Date()))
1082
+ if (sr(N(t.availableFor) || me(), /* @__PURE__ */ new Date()))
1083
1083
  return t.data || {};
1084
1084
  } catch {
1085
1085
  localStorage.removeItem(r);
@@ -1102,7 +1102,7 @@ class ns {
1102
1102
  );
1103
1103
  }
1104
1104
  }
1105
- class U extends P {
1105
+ class q extends P {
1106
1106
  /**
1107
1107
  * Инициализирует экземпляр класса {@link UserShortInfo}.
1108
1108
  *
@@ -1117,7 +1117,7 @@ class U extends P {
1117
1117
  this.type = e == null ? void 0 : e.type;
1118
1118
  }
1119
1119
  }
1120
- class br extends P {
1120
+ class Tr extends P {
1121
1121
  /**
1122
1122
  * Инициализирует экземпляр класса {@link DiscountShortInfo}.
1123
1123
  *
@@ -1153,10 +1153,10 @@ class br extends P {
1153
1153
  * Дата и время удаления в формате Y-m-d H:i:s.
1154
1154
  */
1155
1155
  s(this, "deletedAt");
1156
- this.costCoefficient = (e == null ? void 0 : e.costCoefficient) ?? 0, this.isLowPriceAllowed = (e == null ? void 0 : e.isLowPriceAllowed) ?? !1, this.publishedAt = e != null && e.publishedAt ? D(e.publishedAt) ? N(e.publishedAt) : e.publishedAt : void 0, this.description = (e == null ? void 0 : e.description) ?? void 0, this.percent = (e == null ? void 0 : e.percent) ?? 0, this.owner = new U(e == null ? void 0 : e.owner), this.deletedAt = e != null && e.deletedAt ? D(e.deletedAt) ? N(e.deletedAt) : e.deletedAt : void 0;
1156
+ this.costCoefficient = (e == null ? void 0 : e.costCoefficient) ?? 0, this.isLowPriceAllowed = (e == null ? void 0 : e.isLowPriceAllowed) ?? !1, this.publishedAt = e != null && e.publishedAt ? D(e.publishedAt) ? N(e.publishedAt) : e.publishedAt : void 0, this.description = (e == null ? void 0 : e.description) ?? void 0, this.percent = (e == null ? void 0 : e.percent) ?? 0, this.owner = new q(e == null ? void 0 : e.owner), this.deletedAt = e != null && e.deletedAt ? D(e.deletedAt) ? N(e.deletedAt) : e.deletedAt : void 0;
1157
1157
  }
1158
1158
  }
1159
- class Sr extends ke {
1159
+ class Sr extends Ne {
1160
1160
  /**
1161
1161
  * Инициализирует экземпляр класса {@link PriceTemplate}.
1162
1162
  *
@@ -1175,7 +1175,7 @@ class Sr extends ke {
1175
1175
  this.description = (e == null ? void 0 : e.description) ?? "", this.createdAt = e != null && e.createdAt ? D(e.createdAt) ? N(e.createdAt) : e.createdAt : /* @__PURE__ */ new Date();
1176
1176
  }
1177
1177
  }
1178
- class le extends x {
1178
+ class ue extends x {
1179
1179
  /**
1180
1180
  * Инициализирует экземпляр класса {@link ClientProduct}.
1181
1181
  *
@@ -1211,7 +1211,7 @@ class le extends x {
1211
1211
  * Признак того, что указанный продукт входит в список избранных продуктов клиента.
1212
1212
  */
1213
1213
  s(this, "isFavorite");
1214
- this.costCoefficient = (e == null ? void 0 : e.costCoefficient) ?? 0, this.costSource = (e == null ? void 0 : e.costSource) ?? xe.Product, this.discount = e != null && e.discount ? new br(e.discount) : void 0, this.priceTemplate = e != null && e.priceTemplate ? new Sr(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;
1214
+ this.costCoefficient = (e == null ? void 0 : e.costCoefficient) ?? 0, this.costSource = (e == null ? void 0 : e.costSource) ?? ke.Product, this.discount = e != null && e.discount ? new Tr(e.discount) : void 0, this.priceTemplate = e != null && e.priceTemplate ? new Sr(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;
1215
1215
  }
1216
1216
  }
1217
1217
  class _r {
@@ -1232,9 +1232,9 @@ class _r {
1232
1232
  this.phone = /^\d+$/.test(r.phone ?? "") ? `+${r.phone}` : r.phone, this.email = r.email;
1233
1233
  }
1234
1234
  }
1235
- class S extends f {
1235
+ class T extends f {
1236
1236
  }
1237
- class Z extends P {
1237
+ class ee extends P {
1238
1238
  /**
1239
1239
  * Инициализирует экземпляр класса {@link ManagerCommon}.
1240
1240
  *
@@ -1245,7 +1245,7 @@ class Z extends P {
1245
1245
  /**
1246
1246
  * Направление продаж.
1247
1247
  */
1248
- s(this, "salesDirection", new S());
1248
+ s(this, "salesDirection", new T());
1249
1249
  /**
1250
1250
  * URI путь к фотографии пользователя.
1251
1251
  */
@@ -1258,10 +1258,10 @@ class Z extends P {
1258
1258
  * Признак того, что менеджер является основным для клиента.
1259
1259
  */
1260
1260
  s(this, "isDefault");
1261
- e && (this.salesDirection = new S(e.salesDirection), this.photo = e.photo, e.contacts && (this.contacts = new _r(e.contacts)), e.isDefault !== void 0 && (this.isDefault = e.isDefault));
1261
+ e && (this.salesDirection = new T(e.salesDirection), this.photo = e.photo, e.contacts && (this.contacts = new _r(e.contacts)), e.isDefault !== void 0 && (this.isDefault = e.isDefault));
1262
1262
  }
1263
1263
  }
1264
- class ue extends Z {
1264
+ class pe extends ee {
1265
1265
  /**
1266
1266
  * Инициализирует экземпляр класса {@link Manager}.
1267
1267
  *
@@ -1292,7 +1292,7 @@ class ue extends Z {
1292
1292
  this.isActive = (e == null ? void 0 : e.isActive) ?? !1, this.isSupervisor = (e == null ? void 0 : e.isSupervisor) ?? !1, this.canDoReclamations = (e == null ? void 0 : e.canDoReclamations) ?? !1, this.createdAt = e == null ? void 0 : e.createdAt, this.supervisorId = e == null ? void 0 : e.supervisorId;
1293
1293
  }
1294
1294
  }
1295
- class Tr extends oe {
1295
+ class Lr extends ce {
1296
1296
  /**
1297
1297
  * Инициализирует экземпляр класса {@link BaseClientCategory}.
1298
1298
  *
@@ -1320,10 +1320,10 @@ class Tr extends oe {
1320
1320
  * Данные о менеджере за которым закреплена категория.
1321
1321
  */
1322
1322
  s(this, "manager");
1323
- 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 ue(e.manager) : void 0;
1323
+ 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 pe(e.manager) : void 0;
1324
1324
  }
1325
1325
  }
1326
- class ee extends Tr {
1326
+ class re extends Lr {
1327
1327
  /**
1328
1328
  * Инициализирует экземпляр класса {@link ClientCategory}.
1329
1329
  *
@@ -1340,12 +1340,12 @@ class ee extends Tr {
1340
1340
  * Список продуктов категории.
1341
1341
  */
1342
1342
  s(this, "products");
1343
- this.categories = (t = e == null ? void 0 : e.categories) == null ? void 0 : t.map((o) => new ee(o)), this.products = (n = e == null ? void 0 : e.products) == null ? void 0 : n.map((o) => new le(o));
1343
+ this.categories = (t = e == null ? void 0 : e.categories) == null ? void 0 : t.map((o) => new re(o)), this.products = (n = e == null ? void 0 : e.products) == null ? void 0 : n.map((o) => new ue(o));
1344
1344
  }
1345
1345
  }
1346
- class Ne extends f {
1346
+ class Oe extends f {
1347
1347
  }
1348
- class J extends P {
1348
+ class Q extends P {
1349
1349
  /**
1350
1350
  * Инициализирует экземпляр класса {@link Property}.
1351
1351
  *
@@ -1365,10 +1365,10 @@ class J extends P {
1365
1365
  * Дополнительные метаданные свойства.
1366
1366
  */
1367
1367
  s(this, "metadata");
1368
- this.type = new Ne(e == null ? void 0 : e.type), this.description = (e == null ? void 0 : e.description) ?? "", this.metadata = e == null ? void 0 : e.metadata;
1368
+ this.type = new Oe(e == null ? void 0 : e.type), this.description = (e == null ? void 0 : e.description) ?? "", this.metadata = e == null ? void 0 : e.metadata;
1369
1369
  }
1370
1370
  }
1371
- class H {
1371
+ class F {
1372
1372
  /**
1373
1373
  * Инициализирует экземпляр класса {@link PropertyValue}.
1374
1374
  *
@@ -1384,18 +1384,18 @@ class H {
1384
1384
  * Может быть строкой, числом, boolean, диапазоном или JSON объектом.
1385
1385
  */
1386
1386
  s(this, "value");
1387
- this.property = new J(r == null ? void 0 : r.property), this.value = (r == null ? void 0 : r.value) ?? "";
1387
+ this.property = new Q(r == null ? void 0 : r.property), this.value = (r == null ? void 0 : r.value) ?? "";
1388
1388
  }
1389
1389
  }
1390
- class Lr extends f {
1390
+ class ar extends f {
1391
1391
  }
1392
- class Oe extends f {
1392
+ class de extends f {
1393
1393
  }
1394
- class is extends f {
1394
+ class cs extends f {
1395
1395
  }
1396
- class E extends f {
1396
+ class K extends f {
1397
1397
  }
1398
- class Q extends f {
1398
+ class Y extends f {
1399
1399
  /**
1400
1400
  * Инициализирует экземпляр класса {@link Region}.
1401
1401
  *
@@ -1406,11 +1406,11 @@ class Q extends f {
1406
1406
  /**
1407
1407
  * Данные о стране, в которой расположен регион.
1408
1408
  */
1409
- s(this, "country", new E());
1410
- e && (this.country = new E(e.country));
1409
+ s(this, "country", new K());
1410
+ e && (this.country = new K(e.country));
1411
1411
  }
1412
1412
  }
1413
- class re extends f {
1413
+ class se extends f {
1414
1414
  /**
1415
1415
  * Инициализирует экземпляр класса {@link CityWithRegionAndCountry}.
1416
1416
  *
@@ -1421,13 +1421,13 @@ class re extends f {
1421
1421
  /**
1422
1422
  * Данные о регионе, в котором расположен город.
1423
1423
  */
1424
- s(this, "region", new Q());
1425
- e && (this.region = new Q(e.region));
1424
+ s(this, "region", new Y());
1425
+ e && (this.region = new Y(e.region));
1426
1426
  }
1427
1427
  }
1428
- class ar extends f {
1428
+ class Ir extends f {
1429
1429
  }
1430
- class se extends P {
1430
+ class te extends P {
1431
1431
  /**
1432
1432
  * Инициализирует экземпляр класса {@link Currency}.
1433
1433
  *
@@ -1447,12 +1447,12 @@ class se extends P {
1447
1447
  }
1448
1448
  }
1449
1449
  var $ = /* @__PURE__ */ ((i) => (i.Person = "individual", i.Ic = "entrepreneur", i.UlR = "legal", i.UlNr = "non_resident_legal", i))($ || {});
1450
- class q extends f {
1450
+ class G extends f {
1451
1451
  /**
1452
1452
  * Возвращает сгенерированную запись-описание физического лица.
1453
1453
  */
1454
1454
  static generatePersonItem() {
1455
- return new q({
1455
+ return new G({
1456
1456
  id: 1,
1457
1457
  guid: "",
1458
1458
  slug: $.Person,
@@ -1460,18 +1460,20 @@ class q extends f {
1460
1460
  });
1461
1461
  }
1462
1462
  }
1463
- class Ir extends f {
1464
- }
1465
1463
  class xr extends f {
1466
1464
  }
1467
- class G extends f {
1468
- }
1469
1465
  class kr extends f {
1470
1466
  }
1471
- class de extends f {
1467
+ class M extends f {
1468
+ }
1469
+ class Nr extends f {
1470
+ }
1471
+ class Or extends f {
1472
1472
  }
1473
1473
  class Ue extends f {
1474
1474
  }
1475
+ class qe extends f {
1476
+ }
1475
1477
  class R extends p {
1476
1478
  /**
1477
1479
  * Возвращает {@link Promise} для получения данных указанного справочника.
@@ -1481,75 +1483,75 @@ class R extends p {
1481
1483
  * и использовать в случае аналогичных запросов.
1482
1484
  */
1483
1485
  getReference(r, e = !1) {
1484
- return this.getTypedDataArrayRequester(Lr, `/internal/references/${r}`, e);
1486
+ return this.getTypedDataArrayRequester(ar, `/internal/references/${r}`, e);
1485
1487
  }
1486
1488
  /**
1487
1489
  * Возвращает {@link Promise} для получения справочника данных о канале
1488
1490
  * первичного интереса.
1489
1491
  */
1490
1492
  getChannelPrimaryInterest() {
1491
- return this.getTypedDataArrayRequester(Oe, "/internal/references/channel-primary-interest", !0);
1493
+ return this.getTypedDataArrayRequester(de, "/internal/references/channel-primary-interest", !0);
1492
1494
  }
1493
1495
  /**
1494
1496
  * Возвращает {@link Promise} для получения справочника должностей контактных лиц.
1495
1497
  */
1496
1498
  getContactPositions() {
1497
- return this.getTypedDataArrayRequester(ar, "/internal/references/contact-position", !0);
1499
+ return this.getTypedDataArrayRequester(Ir, "/internal/references/contact-position", !0);
1498
1500
  }
1499
1501
  /**
1500
1502
  * Возвращает {@link Promise} для получения справочника списка валют.
1501
1503
  */
1502
1504
  getCurrency() {
1503
- return this.getTypedDataArrayRequester(se, "/public/references/currency", !0);
1505
+ return this.getTypedDataArrayRequester(te, "/public/references/currency", !0);
1504
1506
  }
1505
1507
  /**
1506
1508
  * Возвращает {@link Promise} для получения справочника данных
1507
1509
  * групп партнеров (направлений деятельности).
1508
1510
  */
1509
1511
  getPartnerGroup() {
1510
- return this.getTypedDataArrayRequester(G, "/internal/references/partner-group", !0);
1512
+ return this.getTypedDataArrayRequester(M, "/internal/references/partner-group", !0);
1511
1513
  }
1512
1514
  /**
1513
1515
  * Возвращает {@link Promise} для получения справочника данных организационно-правовых форм.
1514
1516
  */
1515
1517
  getOpf() {
1516
- return this.getTypedDataArrayRequester(q, "/public/references/opf", !0);
1518
+ return this.getTypedDataArrayRequester(G, "/public/references/opf", !0);
1517
1519
  }
1518
1520
  /**
1519
1521
  * Возвращает {@link Promise} для получения справочника данных статусов оплаты заказов.
1520
1522
  */
1521
1523
  getOrderPaymentStatuses() {
1522
- return this.getTypedDataArrayRequester(Ir, "/public/references/order-payment-status", !0);
1524
+ return this.getTypedDataArrayRequester(xr, "/public/references/order-payment-status", !0);
1523
1525
  }
1524
1526
  /**
1525
1527
  * Возвращает {@link Promise} для получения справочника данных статусов заказов.
1526
1528
  */
1527
1529
  getOrderStatuses() {
1528
- return this.getTypedDataArrayRequester(xr, "/public/references/order-status", !0);
1530
+ return this.getTypedDataArrayRequester(kr, "/public/references/order-status", !0);
1529
1531
  }
1530
1532
  /**
1531
1533
  * Возвращает {@link Promise} для получения справочника данных типов оплаты заказов.
1532
1534
  */
1533
1535
  getPaymentTypes() {
1534
- return this.getTypedDataArrayRequester(kr, "/public/references/payment-type", !0);
1536
+ return this.getTypedDataArrayRequester(Nr, "/public/references/payment-type", !0);
1535
1537
  }
1536
1538
  /**
1537
1539
  * Возвращает {@link Promise} для получения справочника типов ресурсов.
1538
1540
  */
1539
1541
  getResourceTypes() {
1540
- return this.getTypedDataArrayRequester(de, "/internal/references/resource-type", !0);
1542
+ return this.getTypedDataArrayRequester(Ue, "/internal/references/resource-type", !0);
1541
1543
  }
1542
1544
  /**
1543
1545
  * Возвращает {@link Promise} для получения справочника данных направлений продаж.
1544
1546
  */
1545
1547
  getSalesDirections() {
1546
- return this.getTypedDataArrayRequester(S, "/public/references/sales-direction", !0);
1548
+ return this.getTypedDataArrayRequester(T, "/public/references/sales-direction", !0);
1547
1549
  }
1548
1550
  /**
1549
1551
  * Возвращает {@link Promise} для получения справочника данных об источнике первичного интереса.
1550
1552
  */
1551
1553
  getSourcePrimaryInterest() {
1552
- return this.getTypedDataArrayRequester(Ue, "/internal/references/source-primary-interest", !0);
1554
+ return this.getTypedDataArrayRequester(qe, "/internal/references/source-primary-interest", !0);
1553
1555
  }
1554
1556
  /**
1555
1557
  * Выполняет поиск данных о городах по терму в названии.
@@ -1557,7 +1559,7 @@ class R extends p {
1557
1559
  * @param term Терм поиска.
1558
1560
  */
1559
1561
  searchCity(r) {
1560
- return this.getTypedDataArrayRequester(re, `/internal/references/city-with-region-and-country/search?term=${r}`);
1562
+ return this.getTypedDataArrayRequester(se, `/internal/references/city-with-region-and-country/search?term=${r}`);
1561
1563
  }
1562
1564
  /**
1563
1565
  * Выполняет поиск данных о регионах по терму в названии.
@@ -1565,7 +1567,7 @@ class R extends p {
1565
1567
  * @param term Терм поиска.
1566
1568
  */
1567
1569
  searchRegion(r) {
1568
- return this.getTypedDataArrayRequester(Q, `/internal/references/region-with-country/search?term=${r}`);
1570
+ return this.getTypedDataArrayRequester(Y, `/internal/references/region-with-country/search?term=${r}`);
1569
1571
  }
1570
1572
  /**
1571
1573
  * Выполняет поиск данных о странах по терму в названии.
@@ -1573,35 +1575,41 @@ class R extends p {
1573
1575
  * @param term Терм поиска.
1574
1576
  */
1575
1577
  searchCountry(r) {
1576
- return this.getTypedDataArrayRequester(E, `/internal/references/country/search?term=${r}`);
1578
+ return this.getTypedDataArrayRequester(K, `/internal/references/country/search?term=${r}`);
1577
1579
  }
1578
1580
  /**
1579
1581
  * Возвращает {@link Promise} для получения справочника типов доставки.
1580
1582
  */
1581
1583
  getDeliveryTypes() {
1582
- return this.getTypedDataArrayRequester(V, "/internal/references/delivery-type", !0);
1584
+ return this.getTypedDataArrayRequester(E, "/internal/references/delivery-type", !0);
1583
1585
  }
1584
1586
  /**
1585
1587
  * Возвращает {@link Promise} для получения справочника складов.
1586
1588
  */
1587
1589
  getWarehouses() {
1588
- return this.getTypedDataArrayRequester(ce, "/public/references/warehouse", !0);
1590
+ return this.getTypedDataArrayRequester(le, "/public/references/warehouse", !0);
1589
1591
  }
1590
1592
  /**
1591
1593
  * Возвращает {@link Promise} для получения справочника типов свойств.
1592
1594
  */
1593
1595
  getPropertyTypes() {
1594
- return this.getTypedDataArrayRequester(Ne, "/internal/references/property-type", !0);
1596
+ return this.getTypedDataArrayRequester(Oe, "/internal/references/property-type", !0);
1595
1597
  }
1596
1598
  /**
1597
1599
  * Возвращает {@link Promise} для получения справочника коэффициентов цен.
1598
1600
  */
1599
1601
  getPriceCoefficients() {
1600
- return this.getTypedDataArrayRequester(ae, "/internal/references/price-coefficient", !0);
1602
+ return this.getTypedDataArrayRequester(Ie, "/internal/references/price-coefficient", !0);
1603
+ }
1604
+ /**
1605
+ * Возвращает {@link Promise} для получения справочника типов файлов продуктов/категорий.
1606
+ */
1607
+ getProductFileType() {
1608
+ return this.getTypedDataArrayRequester(Or, "/public/references/product-file-type", !0);
1601
1609
  }
1602
1610
  }
1603
- var Nr = /* @__PURE__ */ ((i) => (i.Admin = "admin", i.Manager = "manager", i.Operator = "operator", i.Client = "client", i.Guest = "guest", i))(Nr || {});
1604
- class qe extends P {
1611
+ var dr = /* @__PURE__ */ ((i) => (i.Admin = "admin", i.Manager = "manager", i.Operator = "operator", i.Client = "client", i.Guest = "guest", i))(dr || {});
1612
+ class Ge extends P {
1605
1613
  /**
1606
1614
  * Инициализирует экземпляр класса {@link UserCommonInfo}.
1607
1615
  *
@@ -1637,10 +1645,10 @@ class qe extends P {
1637
1645
  * Признак активности учетной записи пользователя.
1638
1646
  */
1639
1647
  s(this, "isActive");
1640
- 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 S(e.salesDirection) : void 0, this.createdAt = D(e == null ? void 0 : e.createdAt) ? N(e.createdAt) : e == null ? void 0 : e.createdAt, this.lastLoginAt = D(e == null ? void 0 : e.lastLoginAt) ? N(e.lastLoginAt) : e == null ? void 0 : e.lastLoginAt, this.isActive = (e == null ? void 0 : e.isActive) ?? !1;
1648
+ 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 T(e.salesDirection) : void 0, this.createdAt = D(e == null ? void 0 : e.createdAt) ? N(e.createdAt) : e == null ? void 0 : e.createdAt, this.lastLoginAt = D(e == null ? void 0 : e.lastLoginAt) ? N(e.lastLoginAt) : e == null ? void 0 : e.lastLoginAt, this.isActive = (e == null ? void 0 : e.isActive) ?? !1;
1641
1649
  }
1642
1650
  }
1643
- class Or extends qe {
1651
+ class Ur extends Ge {
1644
1652
  /**
1645
1653
  * Инициализирует экземпляр класса {@link User}.
1646
1654
  *
@@ -1663,16 +1671,16 @@ class Or extends qe {
1663
1671
  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;
1664
1672
  }
1665
1673
  }
1666
- class dr extends p {
1674
+ class qr extends p {
1667
1675
  /**
1668
1676
  * Возвращает данные о текущем пользователе.
1669
1677
  */
1670
1678
  // eslint-disable-next-line class-methods-use-this
1671
1679
  getCurrentUser() {
1672
- return this.get("/internal/users/info", {}, (r) => new Or(r.data));
1680
+ return this.get("/internal/users/info", {}, (r) => new Ur(r.data));
1673
1681
  }
1674
1682
  }
1675
- class Ur {
1683
+ class Gr {
1676
1684
  /**
1677
1685
  * Инициализирует экземпляр класса {@link ProductPriceHistory}.
1678
1686
  *
@@ -1715,10 +1723,10 @@ class Ur {
1715
1723
  * Данные о валюте.
1716
1724
  */
1717
1725
  s(this, "currency");
1718
- this.cost = r.cost, this.costDate = D(r.costDate) ? N(r.costDate) : r.costDate, this.isLowCost = r.isLowCost, this.isRetail = r.isRetail, this.discountName = r.discountName, this.priceTemplateName = r.priceTemplateName, this.client = r.client ? new U(r.client) : void 0, this.executor = r.executor ? new U(r.executor) : void 0, this.currency = r.currency ? new se(r.currency) : void 0;
1726
+ this.cost = r.cost, this.costDate = D(r.costDate) ? N(r.costDate) : r.costDate, this.isLowCost = r.isLowCost, this.isRetail = r.isRetail, this.discountName = r.discountName, this.priceTemplateName = r.priceTemplateName, this.client = r.client ? new q(r.client) : void 0, this.executor = r.executor ? new q(r.executor) : void 0, this.currency = r.currency ? new te(r.currency) : void 0;
1719
1727
  }
1720
1728
  }
1721
- class $e {
1729
+ class be {
1722
1730
  /**
1723
1731
  * Инициализирует экземпляр класса {@link RecommendationsList}.
1724
1732
  *
@@ -1733,7 +1741,7 @@ class $e {
1733
1741
  * Список рекомендованных категорий продуктов.
1734
1742
  */
1735
1743
  s(this, "productCategories", []);
1736
- r != null && r.products && (this.products = r.products.map((e) => new x(e))), r != null && r.productCategories && (this.productCategories = r.productCategories.map((e) => new d(e)));
1744
+ r != null && r.products && (this.products = r.products.map((e) => new x(e))), r != null && r.productCategories && (this.productCategories = r.productCategories.map((e) => new U(e)));
1737
1745
  }
1738
1746
  }
1739
1747
  class B extends P {
@@ -1759,7 +1767,7 @@ class B extends P {
1759
1767
  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;
1760
1768
  }
1761
1769
  }
1762
- class qr {
1770
+ class Mr {
1763
1771
  /**
1764
1772
  * Инициализирует экземпляр класса {@link PricingRoleCategoryRule}.
1765
1773
  *
@@ -1778,10 +1786,10 @@ class qr {
1778
1786
  * Минимальный коэффициент цены.
1779
1787
  */
1780
1788
  s(this, "minCoefficient");
1781
- this.role = new B(r == null ? void 0 : r.role), this.category = new oe(r == null ? void 0 : r.category), this.minCoefficient = new f(r == null ? void 0 : r.minCoefficient);
1789
+ this.role = new B(r == null ? void 0 : r.role), this.category = new ce(r == null ? void 0 : r.category), this.minCoefficient = new f(r == null ? void 0 : r.minCoefficient);
1782
1790
  }
1783
1791
  }
1784
- class os extends p {
1792
+ class ls extends p {
1785
1793
  /**
1786
1794
  * Возвращает данные о результатах поиска категорий и товаров.
1787
1795
  *
@@ -1811,7 +1819,7 @@ class os extends p {
1811
1819
  return t && (o += `&client_id=${t}`), o;
1812
1820
  }
1813
1821
  }
1814
- class cs extends p {
1822
+ class us extends p {
1815
1823
  /**
1816
1824
  * Возвращает список данных о корневых категориях.
1817
1825
  *
@@ -1825,7 +1833,7 @@ class cs extends p {
1825
1833
  {
1826
1834
  showHidden: r
1827
1835
  },
1828
- (e) => e.data.map((t) => new d(t))
1836
+ (e) => e.data.map((t) => new U(t))
1829
1837
  );
1830
1838
  }
1831
1839
  /**
@@ -1844,7 +1852,7 @@ class cs extends p {
1844
1852
  showHidden: e,
1845
1853
  withNestedCategories: t
1846
1854
  },
1847
- (n) => new d(n.data)
1855
+ (n) => new U(n.data)
1848
1856
  );
1849
1857
  }
1850
1858
  /**
@@ -1853,7 +1861,7 @@ class cs extends p {
1853
1861
  * @param categoryID Идентификатор категории продуктов.
1854
1862
  */
1855
1863
  getPublicCategoryData(r) {
1856
- return this.get(`/public/catalog/categories/${r}`, {}, (e) => new d(e.data));
1864
+ return this.get(`/public/catalog/categories/${r}`, {}, (e) => new U(e.data));
1857
1865
  }
1858
1866
  /**
1859
1867
  * Возвращает список продуктов категории.
@@ -1871,7 +1879,7 @@ class cs extends p {
1871
1879
  showHidden: t,
1872
1880
  withPriceCoefficients: e
1873
1881
  },
1874
- (n) => X(n.data, (o) => new x(o))
1882
+ (n) => Z(n.data, (o) => new x(o))
1875
1883
  );
1876
1884
  }
1877
1885
  /**
@@ -1884,7 +1892,7 @@ class cs extends p {
1884
1892
  getCategoryProductsCoefficients(r) {
1885
1893
  return this.get(`/internal/catalog/categories/${r}/products/coefficients`, {}, (e) => {
1886
1894
  const { data: t } = e;
1887
- return Ke(t, (n) => n.map((o) => new ve(o))), t;
1895
+ return Je(t, (n) => n.map((o) => new Re(o))), t;
1888
1896
  });
1889
1897
  }
1890
1898
  /**
@@ -1896,14 +1904,14 @@ class cs extends p {
1896
1904
  publicSimpleSearch(r, e = 10) {
1897
1905
  return new Promise((t, n) => {
1898
1906
  this.get(`/public/catalog/search/simple?limit=${e}&term=${r}`).then((o) => {
1899
- t(o.categories.map((l) => new d(l)));
1907
+ t(o.categories.map((l) => new U(l)));
1900
1908
  }).catch((o) => {
1901
1909
  n(o);
1902
1910
  });
1903
1911
  });
1904
1912
  }
1905
1913
  }
1906
- class ls extends p {
1914
+ class ps extends p {
1907
1915
  /**
1908
1916
  * Возвращает данные об указанном продукте.
1909
1917
  *
@@ -1934,7 +1942,7 @@ class ls extends p {
1934
1942
  return this.get(
1935
1943
  `/internal/catalog/products/${r}/coefficients`,
1936
1944
  {},
1937
- (e) => X(e.data, (t) => new ve(t))
1945
+ (e) => Z(e.data, (t) => new Re(t))
1938
1946
  );
1939
1947
  }
1940
1948
  /**
@@ -1947,7 +1955,7 @@ class ls extends p {
1947
1955
  */
1948
1956
  getProductPriceHistory(r, e) {
1949
1957
  const t = {};
1950
- return Je(e) || (t.clientId = e), this.get(`/internal/price/products/${r}/history`, t, (n) => X(n.data, (o) => new Ur(o)));
1958
+ return Qe(e) || (t.clientId = e), this.get(`/internal/price/products/${r}/history`, t, (n) => Z(n.data, (o) => new Gr(o)));
1951
1959
  }
1952
1960
  /**
1953
1961
  * Выполняет публичный поиск данных о продуктах по терму.
@@ -1965,7 +1973,7 @@ class ls extends p {
1965
1973
  });
1966
1974
  }
1967
1975
  }
1968
- class us extends p {
1976
+ class hs extends p {
1969
1977
  /**
1970
1978
  * Возвращает список данных о корневых категориях указанного клиента.
1971
1979
  *
@@ -1981,7 +1989,7 @@ class us extends p {
1981
1989
  clientId: r,
1982
1990
  showHidden: e
1983
1991
  },
1984
- (t) => t.data.map((n) => new ee(n))
1992
+ (t) => t.data.map((n) => new re(n))
1985
1993
  );
1986
1994
  }
1987
1995
  /**
@@ -2002,7 +2010,7 @@ class us extends p {
2002
2010
  showHidden: t,
2003
2011
  withNestedCategories: n
2004
2012
  },
2005
- (o) => new ee(o.data)
2013
+ (o) => new re(o.data)
2006
2014
  );
2007
2015
  }
2008
2016
  /**
@@ -2023,11 +2031,11 @@ class us extends p {
2023
2031
  showHidden: n,
2024
2032
  withPriceCoefficients: t
2025
2033
  },
2026
- (o) => X(o.data, (l) => new le(l))
2034
+ (o) => Z(o.data, (l) => new ue(l))
2027
2035
  );
2028
2036
  }
2029
2037
  }
2030
- class ps extends p {
2038
+ class gs extends p {
2031
2039
  /**
2032
2040
  * Возвращает данные об указанном продукте для указанного клиента.
2033
2041
  *
@@ -2044,11 +2052,11 @@ class ps extends p {
2044
2052
  clientId: e,
2045
2053
  withPriceCoefficients: t
2046
2054
  },
2047
- (n) => new le(n.data)
2055
+ (n) => new ue(n.data)
2048
2056
  );
2049
2057
  }
2050
2058
  }
2051
- class hs extends p {
2059
+ class ms extends p {
2052
2060
  /**
2053
2061
  * Возвращает список ролей ценообразования.
2054
2062
  *
@@ -2106,7 +2114,7 @@ class hs extends p {
2106
2114
  * @see /doc/api/internal#/operations/api_internal_catalog_price_roles_category_rules_get
2107
2115
  */
2108
2116
  getCategoryRules(r) {
2109
- return this.get(`/internal/price/roles/rules/categories/${r}`, {}, (e) => e.data.map((t) => new qr(t)));
2117
+ return this.get(`/internal/price/roles/rules/categories/${r}`, {}, (e) => e.data.map((t) => new Mr(t)));
2110
2118
  }
2111
2119
  /**
2112
2120
  * Обновляет правила для роли ценообразования по указанной категории.
@@ -2120,7 +2128,7 @@ class hs extends p {
2120
2128
  return this.patch(`/internal/price/roles/rules/categories/${r}`, e, (t) => t.data.map((n) => new B(n)));
2121
2129
  }
2122
2130
  }
2123
- class De extends p {
2131
+ class Pe extends p {
2124
2132
  /**
2125
2133
  * Получает пагинированный список данных.
2126
2134
  *
@@ -2136,12 +2144,12 @@ class De extends p {
2136
2144
  page: (n == null ? void 0 : n.page) ?? 1,
2137
2145
  per_page: (n == null ? void 0 : n.pageSize) ?? (n == null ? void 0 : n.perPage) ?? 10
2138
2146
  };
2139
- return e && (u.filters = JSON.stringify(e)), Qe(t) || (Ye(t) ? t : [t]).forEach((h, y) => {
2140
- u[`sort[${y}][field]`] = h.field, u[`sort[${y}][direction]`] = h.direction;
2147
+ return e && (u.filters = JSON.stringify(e)), Ye(t) || (Xe(t) ? t : [t]).forEach((g, y) => {
2148
+ u[`sort[${y}][field]`] = g.field, u[`sort[${y}][direction]`] = g.direction;
2141
2149
  }), this.get(r, u, o, l);
2142
2150
  }
2143
2151
  }
2144
- class gs extends De {
2152
+ class fs extends Pe {
2145
2153
  /**
2146
2154
  * Возвращает пагинированный список свойств.
2147
2155
  *
@@ -2153,7 +2161,7 @@ class gs extends De {
2153
2161
  getProperties(r, e, t) {
2154
2162
  return this.getPaginated("/internal/catalog/properties", r, e, t, (n) => {
2155
2163
  const o = { ...n.data };
2156
- return o.data = o.data.map((l) => new J(l)), o;
2164
+ return o.data = o.data.map((l) => new Q(l)), o;
2157
2165
  });
2158
2166
  }
2159
2167
  /**
@@ -2170,7 +2178,7 @@ class gs extends De {
2170
2178
  ...t,
2171
2179
  type: e
2172
2180
  },
2173
- (n) => new J(n.data)
2181
+ (n) => new Q(n.data)
2174
2182
  );
2175
2183
  }
2176
2184
  /**
@@ -2180,7 +2188,7 @@ class gs extends De {
2180
2188
  * @see /doc/api/internal#/operations/api_internal_catalog_properties_get
2181
2189
  */
2182
2190
  getProperty(r) {
2183
- return this.get(`/internal/catalog/properties/${r}`, {}, (e) => new J(e.data));
2191
+ return this.get(`/internal/catalog/properties/${r}`, {}, (e) => new Q(e.data));
2184
2192
  }
2185
2193
  /**
2186
2194
  * Обновляет существующее свойство.
@@ -2197,7 +2205,7 @@ class gs extends De {
2197
2205
  ...n,
2198
2206
  type: t
2199
2207
  },
2200
- (o) => new J(o.data)
2208
+ (o) => new Q(o.data)
2201
2209
  );
2202
2210
  }
2203
2211
  /**
@@ -2216,7 +2224,7 @@ class gs extends De {
2216
2224
  * @see /doc/api/internal#/operations/api_internal_catalog_product_properties_get_list
2217
2225
  */
2218
2226
  getProductProperties(r) {
2219
- return this.get(`/internal/catalog/products/${r}/properties`, {}, (e) => e.data.map((t) => new H(t)));
2227
+ return this.get(`/internal/catalog/products/${r}/properties`, {}, (e) => e.data.map((t) => new F(t)));
2220
2228
  }
2221
2229
  /**
2222
2230
  * Возвращает значение свойства продукта.
@@ -2226,7 +2234,7 @@ class gs extends De {
2226
2234
  * @see /doc/api/internal#/operations/api_internal_catalog_product_properties_get
2227
2235
  */
2228
2236
  getProductProperty(r, e) {
2229
- return this.get(`/internal/catalog/products/${r}/properties/${e}`, {}, (t) => new H(t.data));
2237
+ return this.get(`/internal/catalog/products/${r}/properties/${e}`, {}, (t) => new F(t.data));
2230
2238
  }
2231
2239
  /**
2232
2240
  * Обновляет значение свойства продукта.
@@ -2237,7 +2245,7 @@ class gs extends De {
2237
2245
  * @see /doc/api/internal#/operations/api_internal_catalog_product_properties_update
2238
2246
  */
2239
2247
  updateProductProperty(r, e, t) {
2240
- return this.patch(`/internal/catalog/products/${r}/properties/${e}`, { value: t }, (n) => new H(n.data));
2248
+ return this.patch(`/internal/catalog/products/${r}/properties/${e}`, { value: t }, (n) => new F(n.data));
2241
2249
  }
2242
2250
  /**
2243
2251
  * Удаляет значение свойства продукта.
@@ -2362,7 +2370,7 @@ class gs extends De {
2362
2370
  * @see /doc/api/internal#/operations/api_internal_catalog_category_properties_get_list
2363
2371
  */
2364
2372
  getCategoryProperties(r) {
2365
- return this.get(`/internal/catalog/categories/${r}/properties`, {}, (e) => e.data.map((t) => new H(t)));
2373
+ return this.get(`/internal/catalog/categories/${r}/properties`, {}, (e) => e.data.map((t) => new F(t)));
2366
2374
  }
2367
2375
  /**
2368
2376
  * Возвращает значение свойства категории.
@@ -2372,7 +2380,7 @@ class gs extends De {
2372
2380
  * @see /doc/api/internal#/operations/api_internal_catalog_category_properties_get
2373
2381
  */
2374
2382
  getCategoryProperty(r, e) {
2375
- return this.get(`/internal/catalog/categories/${r}/properties/${e}`, {}, (t) => new H(t.data));
2383
+ return this.get(`/internal/catalog/categories/${r}/properties/${e}`, {}, (t) => new F(t.data));
2376
2384
  }
2377
2385
  /**
2378
2386
  * Обновляет значение свойства категории.
@@ -2383,7 +2391,7 @@ class gs extends De {
2383
2391
  * @see /doc/api/internal#/operations/api_internal_catalog_category_properties_update
2384
2392
  */
2385
2393
  updateCategoryProperty(r, e, t) {
2386
- return this.patch(`/internal/catalog/categories/${r}/properties/${e}`, { value: t }, (n) => new H(n.data));
2394
+ return this.patch(`/internal/catalog/categories/${r}/properties/${e}`, { value: t }, (n) => new F(n.data));
2387
2395
  }
2388
2396
  /**
2389
2397
  * Удаляет значение свойства категории.
@@ -2502,14 +2510,14 @@ class gs extends De {
2502
2510
  return this.patch(`/internal/catalog/categories/${r}/properties/slug`, { slug: e });
2503
2511
  }
2504
2512
  }
2505
- class ms extends p {
2513
+ class ys extends p {
2506
2514
  /**
2507
2515
  * Возвращает данные о рекомендациях указанной категории продуктов.
2508
2516
  *
2509
2517
  * @param productCategory Данные о категории продуктов, для которой необходимо получить рекомендации.
2510
2518
  */
2511
2519
  getProductCategoryRecommendations(r) {
2512
- return this.get(`/internal/catalog/recommendations/categories/${r.id}`, {}, (e) => new $e(e.data));
2520
+ return this.get(`/internal/catalog/recommendations/categories/${r.id}`, {}, (e) => new be(e.data));
2513
2521
  }
2514
2522
  /**
2515
2523
  * Возвращает данные о рекомендациях указанного продукта.
@@ -2517,7 +2525,7 @@ class ms extends p {
2517
2525
  * @param product Данные о продукте, для которого необходимо получить рекомендации.
2518
2526
  */
2519
2527
  getProductRecommendations(r) {
2520
- return this.get(`/internal/catalog/recommendations/products/${r.id}`, {}, (e) => new $e(e.data));
2528
+ return this.get(`/internal/catalog/recommendations/products/${r.id}`, {}, (e) => new be(e.data));
2521
2529
  }
2522
2530
  /**
2523
2531
  * Выполняет сохранение данных о рекомендуемых категориях продуктов.
@@ -2544,8 +2552,8 @@ class ms extends p {
2544
2552
  });
2545
2553
  }
2546
2554
  }
2547
- var Gr = /* @__PURE__ */ ((i) => (i.LastOrder = "last_order", i.Contacts = "contacts", i.PartnerGroups = "partner_groups", i.PreferredDeliveryType = "preferred_delivery_type", i))(Gr || {});
2548
- class we extends K {
2555
+ var Hr = /* @__PURE__ */ ((i) => (i.LastOrder = "last_order", i.Contacts = "contacts", i.PartnerGroups = "partner_groups", i.PreferredDeliveryType = "preferred_delivery_type", i))(Hr || {});
2556
+ class Ce extends J {
2549
2557
  /**
2550
2558
  * Инициализирует экземпляр класса {@link BankAccount}.
2551
2559
  *
@@ -2572,11 +2580,11 @@ class we extends K {
2572
2580
  /**
2573
2581
  * Данные о валюте.
2574
2582
  */
2575
- s(this, "currency", new se());
2576
- e && (this.bankName = e.bankName ?? "", this.bic = e.bic ?? "", this.accountNumber = e.accountNumber ?? "", this.correspondentAccount = e.correspondentAccount ?? "", this.currency = new se(e.currency));
2583
+ s(this, "currency", new te());
2584
+ e && (this.bankName = e.bankName ?? "", this.bic = e.bic ?? "", this.accountNumber = e.accountNumber ?? "", this.correspondentAccount = e.correspondentAccount ?? "", this.currency = new te(e.currency));
2577
2585
  }
2578
2586
  }
2579
- class Ce extends P {
2587
+ class ve extends P {
2580
2588
  /**
2581
2589
  * Инициализирует экземпляр класса {@link Contact}.
2582
2590
  *
@@ -2595,7 +2603,7 @@ class Ce extends P {
2595
2603
  this.email = e == null ? void 0 : e.email, this.phone = /^\d+$/.test((e == null ? void 0 : e.phone) ?? "") ? `+${e == null ? void 0 : e.phone}` : e == null ? void 0 : e.phone;
2596
2604
  }
2597
2605
  }
2598
- class M extends Ce {
2606
+ class H extends ve {
2599
2607
  /**
2600
2608
  * Инициализирует экземпляр класса {@link ContactPerson}.
2601
2609
  *
@@ -2630,7 +2638,7 @@ class M extends Ce {
2630
2638
  this.isPrimary = (e == null ? void 0 : e.isPrimary) ?? !1, this.position = e == null ? void 0 : e.position, this.notDisturb = (e == null ? void 0 : e.notDisturb) ?? !1, this.comment = e == null ? void 0 : e.comment, this.updatedAt = e == null ? void 0 : e.updatedAt, this.deletedAt = e == null ? void 0 : e.deletedAt;
2631
2639
  }
2632
2640
  }
2633
- class Ge extends P {
2641
+ class Me extends P {
2634
2642
  /**
2635
2643
  * Инициализирует экземпляр класса {@link ContragentBase}.
2636
2644
  *
@@ -2642,19 +2650,19 @@ class Ge extends P {
2642
2650
  /**
2643
2651
  * Данные о менеджере.
2644
2652
  */
2645
- s(this, "manager", new Z());
2653
+ s(this, "manager", new ee());
2646
2654
  /**
2647
2655
  * Данные об организационно-правовой форме.
2648
2656
  */
2649
- s(this, "opf", q.generatePersonItem());
2657
+ s(this, "opf", G.generatePersonItem());
2650
2658
  /**
2651
2659
  * Направление продаж.
2652
2660
  */
2653
- s(this, "salesDirection", new S());
2661
+ s(this, "salesDirection", new T());
2654
2662
  /**
2655
2663
  * Группа партнеров (направление деятельности).
2656
2664
  */
2657
- s(this, "partnerGroup", new G());
2665
+ s(this, "partnerGroup", new M());
2658
2666
  /**
2659
2667
  * Список контактных лиц контрагента.
2660
2668
  */
@@ -2688,22 +2696,22 @@ class Ge extends P {
2688
2696
  */
2689
2697
  s(this, "updater");
2690
2698
  if (e) {
2691
- if (this.opf = new q(e.opf), this.salesDirection = new S(e.salesDirection), this.comment = e.comment, this.alternativeName = e.alternativeName, this.createdAt = D(e == null ? void 0 : e.createdAt) ? j(e == null ? void 0 : e.createdAt, "yyyy-MM-dd HH:mm:ss", /* @__PURE__ */ new Date()) : e.createdAt, this.creator = e.creator ? new U(e.creator) : void 0, this.updatedAt = D(e == null ? void 0 : e.updatedAt) ? j(e == null ? void 0 : e.updatedAt, "yyyy-MM-dd HH:mm:ss", /* @__PURE__ */ new Date()) : e.updatedAt, this.updater = e.updater ? new U(e.updater) : void 0, e.partnerGroup && (this.partnerGroup = new G(e.partnerGroup)), e.manager && (this.manager = new Z(e.manager)), e.contacts) {
2699
+ if (this.opf = new G(e.opf), this.salesDirection = new T(e.salesDirection), this.comment = e.comment, this.alternativeName = e.alternativeName, this.createdAt = D(e == null ? void 0 : e.createdAt) ? V(e == null ? void 0 : e.createdAt, "yyyy-MM-dd HH:mm:ss", /* @__PURE__ */ new Date()) : e.createdAt, this.creator = e.creator ? new q(e.creator) : void 0, this.updatedAt = D(e == null ? void 0 : e.updatedAt) ? V(e == null ? void 0 : e.updatedAt, "yyyy-MM-dd HH:mm:ss", /* @__PURE__ */ new Date()) : e.updatedAt, this.updater = e.updater ? new q(e.updater) : void 0, e.partnerGroup && (this.partnerGroup = new M(e.partnerGroup)), e.manager && (this.manager = new ee(e.manager)), e.contacts) {
2692
2700
  const t = [];
2693
2701
  e.contacts.forEach((n) => {
2694
- t.push(new M(n));
2702
+ t.push(new H(n));
2695
2703
  }), this.contacts = t;
2696
2704
  }
2697
2705
  if (e.bankAccounts) {
2698
2706
  const t = [];
2699
2707
  e.bankAccounts.forEach((n) => {
2700
- t.push(new we(n));
2708
+ t.push(new Ce(n));
2701
2709
  }), this.bankAccounts = t;
2702
2710
  }
2703
2711
  }
2704
2712
  }
2705
2713
  }
2706
- class Mr extends Ge {
2714
+ class Fr extends Me {
2707
2715
  /**
2708
2716
  * Инициализирует экземпляр класса {@link ContragentPerson}.
2709
2717
  *
@@ -2713,7 +2721,7 @@ class Mr extends Ge {
2713
2721
  super(r);
2714
2722
  }
2715
2723
  }
2716
- class Me extends Ge {
2724
+ class He extends Me {
2717
2725
  /**
2718
2726
  * Инициализирует экземпляр класса {@link ContragentIc}.
2719
2727
  *
@@ -2756,7 +2764,7 @@ class Me extends Ge {
2756
2764
  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 ?? "");
2757
2765
  }
2758
2766
  }
2759
- class He extends Me {
2767
+ class Fe extends He {
2760
2768
  /**
2761
2769
  * Инициализирует экземпляр класса {@link ContragentUlR}.
2762
2770
  *
@@ -2771,7 +2779,7 @@ class He extends Me {
2771
2779
  e && (this.kpp = e.kpp ?? "");
2772
2780
  }
2773
2781
  }
2774
- class Hr extends He {
2782
+ class Br extends Fe {
2775
2783
  /**
2776
2784
  * Инициализирует экземпляр класса {@link ContragentUlNr}.
2777
2785
  *
@@ -2782,7 +2790,7 @@ class Hr extends He {
2782
2790
  /**
2783
2791
  * Страна регистрации юридического лица нерезидента.
2784
2792
  */
2785
- s(this, "registrationCountry", new E());
2793
+ s(this, "registrationCountry", new K());
2786
2794
  /**
2787
2795
  * Регистрационный номер юридического лица нерезидента.
2788
2796
  */
@@ -2791,10 +2799,10 @@ class Hr extends He {
2791
2799
  * Налоговый номер юридического лица нерезидента.
2792
2800
  */
2793
2801
  s(this, "taxNumber", "");
2794
- e && (this.registrationCountry = new E(e.registrationCountry), this.registrationNumber = e.registrationNumber ?? "", this.taxNumber = e.taxNumber ?? "");
2802
+ e && (this.registrationCountry = new K(e.registrationCountry), this.registrationNumber = e.registrationNumber ?? "", this.taxNumber = e.taxNumber ?? "");
2795
2803
  }
2796
2804
  }
2797
- class te {
2805
+ class ne {
2798
2806
  /**
2799
2807
  * Инициализирует и возвращает экземпляр класса с данными о контрагенте.
2800
2808
  *
@@ -2803,17 +2811,17 @@ class te {
2803
2811
  static createInstance(r) {
2804
2812
  switch (r.opf.slug) {
2805
2813
  case $.Ic:
2806
- return new Me(r);
2807
- case $.UlR:
2808
2814
  return new He(r);
2815
+ case $.UlR:
2816
+ return new Fe(r);
2809
2817
  case $.UlNr:
2810
- return new Hr(r);
2818
+ return new Br(r);
2811
2819
  default:
2812
- return new Mr(r);
2820
+ return new Fr(r);
2813
2821
  }
2814
2822
  }
2815
2823
  }
2816
- class Pe extends qe {
2824
+ class Ae extends Ge {
2817
2825
  /**
2818
2826
  * Инициализирует экземпляр класса {@link Client}.
2819
2827
  *
@@ -2855,10 +2863,10 @@ class Pe extends qe {
2855
2863
  * Список менеджеров клиента.
2856
2864
  */
2857
2865
  s(this, "managers");
2858
- this.salesDirection = new S(e == null ? void 0 : e.salesDirection), this.debt = (e == null ? void 0 : e.debt) ?? 0, this.alternativeName = (e == null ? void 0 : e.alternativeName) ?? "", this.city = new re(e == null ? void 0 : e.city), this.comment = e == null ? void 0 : e.comment, this.isPhoneApproved = (e == null ? void 0 : e.isPhoneApproved) ?? !1, this.isEmailApproved = (e == null ? void 0 : e.isEmailApproved) ?? !1, this.managers = ((t = e == null ? void 0 : e.managers) == null ? void 0 : t.map((n) => new Z(n))) ?? [];
2866
+ this.salesDirection = new T(e == null ? void 0 : e.salesDirection), this.debt = (e == null ? void 0 : e.debt) ?? 0, this.alternativeName = (e == null ? void 0 : e.alternativeName) ?? "", this.city = new se(e == null ? void 0 : e.city), this.comment = e == null ? void 0 : e.comment, this.isPhoneApproved = (e == null ? void 0 : e.isPhoneApproved) ?? !1, this.isEmailApproved = (e == null ? void 0 : e.isEmailApproved) ?? !1, this.managers = ((t = e == null ? void 0 : e.managers) == null ? void 0 : t.map((n) => new ee(n))) ?? [];
2859
2867
  }
2860
2868
  }
2861
- class he extends K {
2869
+ class ge extends J {
2862
2870
  /**
2863
2871
  * Инициализирует экземпляр класса {@link ContactRelation}.
2864
2872
  *
@@ -2873,7 +2881,7 @@ class he extends K {
2873
2881
  this.isPrimary = e.isPrimary;
2874
2882
  }
2875
2883
  }
2876
- class Br extends M {
2884
+ class Wr extends H {
2877
2885
  /**
2878
2886
  * Инициализирует экземпляр класса {@link ContactPersonRelated}.
2879
2887
  *
@@ -2898,10 +2906,10 @@ class Br extends M {
2898
2906
  */
2899
2907
  addresses: []
2900
2908
  });
2901
- e.relations && (e.relations.addresses && (this.relations.addresses = e.relations.addresses.map((t) => new he(t))), e.relations.clients && (this.relations.clients = e.relations.clients.map((t) => new he(t))), e.relations.contragents && (this.relations.contragents = e.relations.contragents.map((t) => new he(t))));
2909
+ e.relations && (e.relations.addresses && (this.relations.addresses = e.relations.addresses.map((t) => new ge(t))), e.relations.clients && (this.relations.clients = e.relations.clients.map((t) => new ge(t))), e.relations.contragents && (this.relations.contragents = e.relations.contragents.map((t) => new ge(t))));
2902
2910
  }
2903
2911
  }
2904
- class ne extends $r {
2912
+ class ie extends br {
2905
2913
  /**
2906
2914
  * Инициализирует экземпляр класса {@link DeliveryAddress}.
2907
2915
  *
@@ -2938,10 +2946,10 @@ class ne extends $r {
2938
2946
  * Признак того, что указанный адрес является адресом транспортной компании.
2939
2947
  */
2940
2948
  s(this, "isTransportCompanyAddress");
2941
- this.address = (e == null ? void 0 : e.address) ?? "", this.coordinates = new Ie(e == null ? void 0 : e.coordinates), this.contacts = ((t = e == null ? void 0 : e.contacts) == null ? void 0 : t.map((n) => new M(n))) ?? [], 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;
2949
+ this.address = (e == null ? void 0 : e.address) ?? "", this.coordinates = new xe(e == null ? void 0 : e.coordinates), this.contacts = ((t = e == null ? void 0 : e.contacts) == null ? void 0 : t.map((n) => new H(n))) ?? [], 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;
2942
2950
  }
2943
2951
  }
2944
- class be extends Pe {
2952
+ class Te extends Ae {
2945
2953
  /**
2946
2954
  * Инициализирует экземпляр класса {@link Client}.
2947
2955
  *
@@ -2995,10 +3003,10 @@ class be extends Pe {
2995
3003
  * Дополнительные данные о клиенте.
2996
3004
  */
2997
3005
  s(this, "extraData");
2998
- this.contragents = ((t = e == null ? void 0 : e.contragents) == null ? void 0 : t.map((u) => te.createInstance(u))) ?? [], this.partnerGroups = ((n = e == null ? void 0 : e.partnerGroups) == null ? void 0 : n.map((u) => new G(u))) ?? [], this.contacts = ((o = e == null ? void 0 : e.contacts) == null ? void 0 : o.map((u) => new M(u))) ?? [], this.deliveryAddresses = ((l = e == null ? void 0 : e.deliveryAddresses) == null ? void 0 : l.map((u) => new ne(u))) ?? [], this.channelPrimaryInterest = new Oe(e == null ? void 0 : e.channelPrimaryInterest), this.sourcePrimaryInterest = new Ue(e == null ? void 0 : e.sourcePrimaryInterest), this.preferredDeliveryType = new V(e == null ? void 0 : e.preferredDeliveryType), this.primaryDemand = e == null ? void 0 : e.primaryDemand, this.isExcludedFromMsCallsToClients = (e == null ? void 0 : e.isExcludedFromMsCallsToClients) ?? !1, this.preferredWarehouse = e != null && e.preferredWarehouse ? new ce(e.preferredWarehouse) : void 0, this.extraData = (e == null ? void 0 : e.extraData) ?? {};
3006
+ this.contragents = ((t = e == null ? void 0 : e.contragents) == null ? void 0 : t.map((u) => ne.createInstance(u))) ?? [], this.partnerGroups = ((n = e == null ? void 0 : e.partnerGroups) == null ? void 0 : n.map((u) => new M(u))) ?? [], this.contacts = ((o = e == null ? void 0 : e.contacts) == null ? void 0 : o.map((u) => new H(u))) ?? [], this.deliveryAddresses = ((l = e == null ? void 0 : e.deliveryAddresses) == null ? void 0 : l.map((u) => new ie(u))) ?? [], this.channelPrimaryInterest = new de(e == null ? void 0 : e.channelPrimaryInterest), this.sourcePrimaryInterest = new qe(e == null ? void 0 : e.sourcePrimaryInterest), this.preferredDeliveryType = new E(e == null ? void 0 : e.preferredDeliveryType), this.primaryDemand = e == null ? void 0 : e.primaryDemand, this.isExcludedFromMsCallsToClients = (e == null ? void 0 : e.isExcludedFromMsCallsToClients) ?? !1, this.preferredWarehouse = e != null && e.preferredWarehouse ? new le(e.preferredWarehouse) : void 0, this.extraData = (e == null ? void 0 : e.extraData) ?? {};
2999
3007
  }
3000
3008
  }
3001
- class fs {
3009
+ class ws {
3002
3010
  /**
3003
3011
  * Инициализирует экземпляр класса {@link ClientsListFilters}.
3004
3012
  *
@@ -3095,17 +3103,17 @@ class fs {
3095
3103
  * Данные о параметрах поиска последнего заказа который сделал пользователь.
3096
3104
  */
3097
3105
  s(this, "lastOrder");
3098
- var e, t, n, o, l, u, h;
3099
- this.id = (r == null ? void 0 : r.id) ?? "", this.name = (r == null ? void 0 : r.name) ?? "", this.alternativeName = (r == null ? void 0 : r.alternativeName) ?? "", this.city = new re(r == null ? void 0 : r.city), this.region = new Q(r == null ? void 0 : r.region), this.country = new E(r == null ? void 0 : r.country), this.phone = (r == null ? void 0 : r.phone) ?? "", this.email = (r == null ? void 0 : r.email) ?? "", this.isActive = r && Object.prototype.hasOwnProperty.call(r, "isActive") ? r == null ? void 0 : r.isActive : !0, this.createdAt = {
3106
+ var e, t, n, o, l, u, g;
3107
+ this.id = (r == null ? void 0 : r.id) ?? "", this.name = (r == null ? void 0 : r.name) ?? "", this.alternativeName = (r == null ? void 0 : r.alternativeName) ?? "", this.city = new se(r == null ? void 0 : r.city), this.region = new Y(r == null ? void 0 : r.region), this.country = new K(r == null ? void 0 : r.country), this.phone = (r == null ? void 0 : r.phone) ?? "", this.email = (r == null ? void 0 : r.email) ?? "", this.isActive = r && Object.prototype.hasOwnProperty.call(r, "isActive") ? r == null ? void 0 : r.isActive : !0, this.createdAt = {
3100
3108
  from: ((e = r == null ? void 0 : r.createdAt) == null ? void 0 : e.from) ?? null,
3101
3109
  to: ((t = r == null ? void 0 : r.createdAt) == null ? void 0 : t.to) ?? null
3102
3110
  }, this.lastLoginDate = {
3103
3111
  from: ((n = r == null ? void 0 : r.lastLoginDate) == null ? void 0 : n.from) ?? null,
3104
3112
  to: ((o = r == null ? void 0 : r.lastLoginDate) == null ? void 0 : o.to) ?? null
3105
- }, this.lastLoginDateHasOrder = (r == null ? void 0 : r.lastLoginDateHasOrder) ?? void 0, this.managers = r != null && r.managers && r.managers.length > 0 ? r.managers.map((y) => new ue(y)) : [], this.salesDirection = new S(r == null ? void 0 : r.salesDirection), this.contragentInn = (r == null ? void 0 : r.contragentInn) ?? "", this.contragentType = new q(r == null ? void 0 : r.contragentType), this.preferredDeliveryType = new V(r == null ? void 0 : r.preferredDeliveryType), this.hasCostLessThenStop = r != null && r.hasCostLessThenStop ? !0 : void 0, this.partnerGroup = new G(r == null ? void 0 : r.partnerGroup), this.contact = new Ce(r == null ? void 0 : r.contact), this.lastOrder = {
3113
+ }, this.lastLoginDateHasOrder = (r == null ? void 0 : r.lastLoginDateHasOrder) ?? void 0, this.managers = r != null && r.managers && r.managers.length > 0 ? r.managers.map((y) => new pe(y)) : [], this.salesDirection = new T(r == null ? void 0 : r.salesDirection), this.contragentInn = (r == null ? void 0 : r.contragentInn) ?? "", this.contragentType = new G(r == null ? void 0 : r.contragentType), this.preferredDeliveryType = new E(r == null ? void 0 : r.preferredDeliveryType), this.hasCostLessThenStop = r != null && r.hasCostLessThenStop ? !0 : void 0, this.partnerGroup = new M(r == null ? void 0 : r.partnerGroup), this.contact = new ve(r == null ? void 0 : r.contact), this.lastOrder = {
3106
3114
  createdAt: (l = r == null ? void 0 : r.lastOrder) == null ? void 0 : l.createdAt,
3107
3115
  creator: (u = r == null ? void 0 : r.lastOrder) == null ? void 0 : u.creator,
3108
- isApproved: (h = r == null ? void 0 : r.lastOrder) == null ? void 0 : h.isApproved
3116
+ isApproved: (g = r == null ? void 0 : r.lastOrder) == null ? void 0 : g.isApproved
3109
3117
  };
3110
3118
  }
3111
3119
  /**
@@ -3124,10 +3132,10 @@ class fs {
3124
3132
  this[r] = "";
3125
3133
  break;
3126
3134
  case "city":
3127
- this.city = new re();
3135
+ this.city = new se();
3128
3136
  break;
3129
3137
  case "region":
3130
- this.region = new Q();
3138
+ this.region = new Y();
3131
3139
  break;
3132
3140
  case "isActive":
3133
3141
  this.isActive = !0;
@@ -3148,22 +3156,22 @@ class fs {
3148
3156
  this.managers = [];
3149
3157
  break;
3150
3158
  case "salesDirection":
3151
- this.salesDirection = new S();
3159
+ this.salesDirection = new T();
3152
3160
  break;
3153
3161
  case "contragentType":
3154
- this.contragentType = new q();
3162
+ this.contragentType = new G();
3155
3163
  break;
3156
3164
  case "preferredDeliveryType":
3157
- this.preferredDeliveryType = new V();
3165
+ this.preferredDeliveryType = new E();
3158
3166
  break;
3159
3167
  case "partnerGroup":
3160
- this.partnerGroup = new G();
3168
+ this.partnerGroup = new M();
3161
3169
  break;
3162
3170
  case "hasCostLessThenStop":
3163
3171
  this.hasCostLessThenStop = void 0;
3164
3172
  break;
3165
3173
  case "contact":
3166
- this.contact = new Ce();
3174
+ this.contact = new ve();
3167
3175
  break;
3168
3176
  }
3169
3177
  return this;
@@ -3178,11 +3186,11 @@ class fs {
3178
3186
  return Object.keys(this).forEach((l) => {
3179
3187
  const u = this[l];
3180
3188
  // eslint-disable-next-line prettier/prettier
3181
- Te(u) || D(u) && u.trim().length === 0 || Xe(u.isNewRec) && u.isNewRec() || (r[l] = u);
3189
+ Le(u) || D(u) && u.trim().length === 0 || Ze(u.isNewRec) && u.isNewRec() || (r[l] = u);
3182
3190
  }), !((e = r == null ? void 0 : r.createdAt) != null && e.from) && !((t = r == null ? void 0 : r.createdAt) != null && t.to) && delete r.createdAt, !((n = r == null ? void 0 : r.lastLoginDate) != null && n.from) && !((o = r == null ? void 0 : r.lastLoginDate) != null && o.to) && delete r.lastLoginDate, r;
3183
3191
  }
3184
3192
  }
3185
- class Be extends K {
3193
+ class Be extends J {
3186
3194
  /**
3187
3195
  * Инициализирует экземпляр класса {@link OrderShortInfo}.
3188
3196
  *
@@ -3202,7 +3210,7 @@ class Be extends K {
3202
3210
  * Признак того, что заказ подтвержден в 1С.
3203
3211
  */
3204
3212
  s(this, "isApproved1c");
3205
- this.createdAt = D(e == null ? void 0 : e.createdAt) ? j(e.createdAt, "dd.MM.yyyy HH:mm", /* @__PURE__ */ new Date()) : (e == null ? void 0 : e.createdAt) ?? /* @__PURE__ */ new Date(), this.creator = new U(e == null ? void 0 : e.creator), this.isApproved1c = (e == null ? void 0 : e.isApproved1c) ?? !1;
3213
+ this.createdAt = D(e == null ? void 0 : e.createdAt) ? V(e.createdAt, "dd.MM.yyyy HH:mm", /* @__PURE__ */ new Date()) : (e == null ? void 0 : e.createdAt) ?? /* @__PURE__ */ new Date(), this.creator = new q(e == null ? void 0 : e.creator), this.isApproved1c = (e == null ? void 0 : e.isApproved1c) ?? !1;
3206
3214
  }
3207
3215
  }
3208
3216
  class We extends Be {
@@ -3212,7 +3220,7 @@ class We extends Be {
3212
3220
  * @param data Данные для первоначальной инициализации.
3213
3221
  */
3214
3222
  constructor(e) {
3215
- var t, n, o, l, u, h, y, A;
3223
+ var t, n, o, l, u, g, y, A;
3216
3224
  super(e);
3217
3225
  /**
3218
3226
  * Краткие данные о клиенте.
@@ -3254,19 +3262,19 @@ class We extends Be {
3254
3262
  * Признак того, что заказ создан из товаров, которые имеют признак "Нет в наличии".
3255
3263
  */
3256
3264
  s(this, "isNotInStock");
3257
- this.client = new Pe(e == null ? void 0 : e.client), this.payment = {
3265
+ this.client = new Ae(e == null ? void 0 : e.client), this.payment = {
3258
3266
  type: ((t = e == null ? void 0 : e.payment) == null ? void 0 : t.type) ?? -1,
3259
3267
  status: ((n = e == null ? void 0 : e.payment) == null ? void 0 : n.status) ?? -1,
3260
3268
  onlinePaymentLink: (o = e == null ? void 0 : e.payment) == null ? void 0 : o.onlinePaymentLink
3261
3269
  }, this.delivery = {
3262
3270
  type: ((l = e == null ? void 0 : e.delivery) == null ? void 0 : l.type) ?? -1,
3263
- date: D((u = e == null ? void 0 : e.delivery) == null ? void 0 : u.date) ? j(e == null ? void 0 : e.delivery.date, "dd.MM.yyyy", /* @__PURE__ */ new Date()) : ((h = e == null ? void 0 : e.delivery) == null ? void 0 : h.date) ?? /* @__PURE__ */ new Date(),
3264
- address: (y = e == null ? void 0 : e.delivery) != null && y.address ? new ne(e.delivery.address) : void 0,
3265
- warehouse: (A = e == null ? void 0 : e.delivery) != null && A.warehouse ? new ce(e.delivery.warehouse) : void 0
3266
- }, this.attachedUser = new U(e == null ? void 0 : e.attachedUser), this.status = (e == null ? void 0 : e.status) ?? 0, this.salesDirection = new S(e == null ? void 0 : e.salesDirection), this.pendingAt = D(e == null ? void 0 : e.pendingAt) ? j(e == null ? void 0 : e.pendingAt, "dd.MM.yyyy HH:mm", /* @__PURE__ */ new Date()) : (e == null ? void 0 : e.pendingAt) ?? /* @__PURE__ */ new Date(), this.processedAt = D(e == null ? void 0 : e.processedAt) ? j(e == null ? void 0 : e.processedAt, "dd.MM.yyyy HH:mm", /* @__PURE__ */ new Date()) : (e == null ? void 0 : e.processedAt) ?? /* @__PURE__ */ new Date(), this.isOnOrder = (e == null ? void 0 : e.isOnOrder) ?? !1, this.isNotInStock = (e == null ? void 0 : e.isNotInStock) ?? !1;
3271
+ date: D((u = e == null ? void 0 : e.delivery) == null ? void 0 : u.date) ? V(e == null ? void 0 : e.delivery.date, "dd.MM.yyyy", /* @__PURE__ */ new Date()) : ((g = e == null ? void 0 : e.delivery) == null ? void 0 : g.date) ?? /* @__PURE__ */ new Date(),
3272
+ address: (y = e == null ? void 0 : e.delivery) != null && y.address ? new ie(e.delivery.address) : void 0,
3273
+ warehouse: (A = e == null ? void 0 : e.delivery) != null && A.warehouse ? new le(e.delivery.warehouse) : void 0
3274
+ }, this.attachedUser = new q(e == null ? void 0 : e.attachedUser), this.status = (e == null ? void 0 : e.status) ?? 0, this.salesDirection = new T(e == null ? void 0 : e.salesDirection), this.pendingAt = D(e == null ? void 0 : e.pendingAt) ? V(e == null ? void 0 : e.pendingAt, "dd.MM.yyyy HH:mm", /* @__PURE__ */ new Date()) : (e == null ? void 0 : e.pendingAt) ?? /* @__PURE__ */ new Date(), this.processedAt = D(e == null ? void 0 : e.processedAt) ? V(e == null ? void 0 : e.processedAt, "dd.MM.yyyy HH:mm", /* @__PURE__ */ new Date()) : (e == null ? void 0 : e.processedAt) ?? /* @__PURE__ */ new Date(), this.isOnOrder = (e == null ? void 0 : e.isOnOrder) ?? !1, this.isNotInStock = (e == null ? void 0 : e.isNotInStock) ?? !1;
3267
3275
  }
3268
3276
  }
3269
- class Wr extends K {
3277
+ class zr extends J {
3270
3278
  /**
3271
3279
  * Инициализирует экземпляр класса {@link OrderProduct}.
3272
3280
  *
@@ -3346,10 +3354,10 @@ class Wr extends K {
3346
3354
  * который соответствует указанной ширине. Количество не ограничено.
3347
3355
  */
3348
3356
  s(this, "sawing");
3349
- this.product = new le(e.product), this.quantity = e.quantity, this.currency = e.currency, this.costOne = e.costOne, this.costOneRub = e.costOneRub, this.cost = e.cost, this.costRub = e.costRub, this.marker = e.marker, this.height = e.height, this.length = e.length, this.width = e.width, this.logicGroupId = e.logicGroupId, this.salesDirection = e.salesDirection, this.specificationImgUrl = e.specificationImgUrl, this.configurator = e.configurator, this.configuratorParams = e.configuratorParams, this.sawing = e.sawing;
3357
+ this.product = new ue(e.product), this.quantity = e.quantity, this.currency = e.currency, this.costOne = e.costOne, this.costOneRub = e.costOneRub, this.cost = e.cost, this.costRub = e.costRub, this.marker = e.marker, this.height = e.height, this.length = e.length, this.width = e.width, this.logicGroupId = e.logicGroupId, this.salesDirection = e.salesDirection, this.specificationImgUrl = e.specificationImgUrl, this.configurator = e.configurator, this.configuratorParams = e.configuratorParams, this.sawing = e.sawing;
3350
3358
  }
3351
3359
  }
3352
- class zr extends We {
3360
+ class jr extends We {
3353
3361
  /**
3354
3362
  * Инициализирует экземпляр класса {@link Order}.
3355
3363
  *
@@ -3389,10 +3397,10 @@ class zr extends We {
3389
3397
  * Признак, что разрешена передача заказа в работу без оплаты.
3390
3398
  */
3391
3399
  s(this, "isAllowProcessingWithoutPayment");
3392
- this.products = (e.products ?? []).map((t) => new Wr(t)), this.invoices = e.invoices ?? [], this.comment = e.comment, this.image = e.image, this.contragent = e.contragent ? te.createInstance(e.contragent) : void 0, this.barcode = e.barcode, this.orderSource = e.orderSource ? new f(e.orderSource) : void 0, this.isAllowProcessingWithoutPayment = e.isAllowProcessingWithoutPayment;
3400
+ this.products = (e.products ?? []).map((t) => new zr(t)), this.invoices = e.invoices ?? [], this.comment = e.comment, this.image = e.image, this.contragent = e.contragent ? ne.createInstance(e.contragent) : void 0, this.barcode = e.barcode, this.orderSource = e.orderSource ? new f(e.orderSource) : void 0, this.isAllowProcessingWithoutPayment = e.isAllowProcessingWithoutPayment;
3393
3401
  }
3394
3402
  }
3395
- class ys extends De {
3403
+ class Cs extends Pe {
3396
3404
  /**
3397
3405
  * Возвращает данные о заказах, удовлетворяющих указанным параметрам поиска.
3398
3406
  *
@@ -3422,10 +3430,10 @@ class ys extends De {
3422
3430
  * @param orderId Идентификатор заказа для которого необходимо вернуть данные.
3423
3431
  */
3424
3432
  getOrder(r) {
3425
- return this.get(`/internal/orders/${r}`, {}, (e) => new zr(e.data));
3433
+ return this.get(`/internal/orders/${r}`, {}, (e) => new jr(e.data));
3426
3434
  }
3427
3435
  }
3428
- class Fr extends P {
3436
+ class Vr extends P {
3429
3437
  /**
3430
3438
  * Инициализирует экземпляр класса {@link ClientAdditionalData}.
3431
3439
  *
@@ -3450,11 +3458,11 @@ class Fr extends P {
3450
3458
  * Данные о последнем заказе клиента.
3451
3459
  */
3452
3460
  s(this, "lastOrder");
3453
- (t = e.contacts) != null && t.length && (this.contacts = e.contacts.map((o) => new M(o))), e.lastOrder && (this.lastOrder = new Be(e.lastOrder)), (n = e.partnerGroups) != null && n.length && (this.partnerGroups = e.partnerGroups.map((o) => new G(o))), e.preferredDeliveryType && (this.preferredDeliveryType = new V(e.preferredDeliveryType));
3461
+ (t = e.contacts) != null && t.length && (this.contacts = e.contacts.map((o) => new H(o))), e.lastOrder && (this.lastOrder = new Be(e.lastOrder)), (n = e.partnerGroups) != null && n.length && (this.partnerGroups = e.partnerGroups.map((o) => new M(o))), e.preferredDeliveryType && (this.preferredDeliveryType = new E(e.preferredDeliveryType));
3454
3462
  }
3455
3463
  }
3456
3464
  var ze = /* @__PURE__ */ ((i) => (i.BeginWith = "bw", i.Contains = "cn", i.Custom = "custom", i.EndsWith = "ew", i.Equals = "eq", i.GreaterOrEqual = "ge", i.GreaterThan = "gt", i.InList = "in", i.LessOrEqual = "le", i.LessThan = "lt", i.NotBeginWith = "bn", i.NotContains = "nc", i.NotEndsWith = "en", i.NotEqual = "ne", i.NotInList = "ni", i.NotNull = "nn", i.Null = "nu", i))(ze || {});
3457
- class jr {
3465
+ class Er {
3458
3466
  /**
3459
3467
  * Инициализирует экземпляр класса {@link DataTablePaginationRequestParams}.
3460
3468
  *
@@ -3478,7 +3486,7 @@ class jr {
3478
3486
  this.page = (r == null ? void 0 : r.page) ?? 1, this.perPage = (r == null ? void 0 : r.perPage) ?? 50, this.pageSize = (r == null ? void 0 : r.pageSize) ?? this.perPage;
3479
3487
  }
3480
3488
  }
3481
- class ws extends jr {
3489
+ class vs extends Er {
3482
3490
  /**
3483
3491
  * Инициализирует экземпляр класса {@link DataTablePagination}.
3484
3492
  *
@@ -3509,7 +3517,7 @@ class ws extends jr {
3509
3517
  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;
3510
3518
  }
3511
3519
  }
3512
- class Cs {
3520
+ class Rs {
3513
3521
  /**
3514
3522
  * Инициализирует экземпляр класса {@link ISortRequestParams}.
3515
3523
  *
@@ -3527,7 +3535,7 @@ class Cs {
3527
3535
  this.field = (r == null ? void 0 : r.field) ?? "", this.direction = (r == null ? void 0 : r.direction) ?? "asc";
3528
3536
  }
3529
3537
  }
3530
- class vs extends De {
3538
+ class Ds extends Pe {
3531
3539
  /**
3532
3540
  * Возвращает данные об указанном клиенте.
3533
3541
  *
@@ -3535,7 +3543,7 @@ class vs extends De {
3535
3543
  * @see /doc/api/internal#/Клиенты/api_internal_client_get_full_info
3536
3544
  */
3537
3545
  getClient(r) {
3538
- return this.get(`/internal/clients/${r}`, {}, (e) => new be(e.data));
3546
+ return this.get(`/internal/clients/${r}`, {}, (e) => new Te(e.data));
3539
3547
  }
3540
3548
  /**
3541
3549
  * Возвращает данные о клиентах, удовлетворяющих указанным параметрам поиска.
@@ -3548,7 +3556,7 @@ class vs extends De {
3548
3556
  getClientsList(r, e, t) {
3549
3557
  return this.getPaginated("/internal/clients", r, e, t, (n) => {
3550
3558
  const o = { ...n.data };
3551
- return o.data = o.data.map((l) => new Pe(l)), o;
3559
+ return o.data = o.data.map((l) => new Ae(l)), o;
3552
3560
  });
3553
3561
  }
3554
3562
  /**
@@ -3574,7 +3582,7 @@ class vs extends De {
3574
3582
  getAdditionalClientsData(r, e) {
3575
3583
  return this.post("/internal/clients/additional-data", { clients: r, requested_data_types: e }, (t) => {
3576
3584
  let n = [];
3577
- return (t == null ? void 0 : t.data.length) > 0 && (n = t.data.map((o) => new Fr(o))), n;
3585
+ return (t == null ? void 0 : t.data.length) > 0 && (n = t.data.map((o) => new Vr(o))), n;
3578
3586
  });
3579
3587
  }
3580
3588
  /**
@@ -3586,7 +3594,7 @@ class vs extends De {
3586
3594
  getAllClientContacts(r) {
3587
3595
  return this.get(`/internal/clients/${r}/contacts/all`, {}, (e) => {
3588
3596
  let t = [];
3589
- return (e == null ? void 0 : e.data.length) > 0 && (t = e.data.map((n) => new Br(n))), t;
3597
+ return (e == null ? void 0 : e.data.length) > 0 && (t = e.data.map((n) => new Wr(n))), t;
3590
3598
  });
3591
3599
  }
3592
3600
  /**
@@ -3616,7 +3624,7 @@ class vs extends De {
3616
3624
  is_excluded_from_ms_calls_to_clients: r.isExcludedFromMsCallsToClients,
3617
3625
  preferred_warehouse_id: (t = r.preferredWarehouse) == null ? void 0 : t.id
3618
3626
  },
3619
- (n) => new be(n.data),
3627
+ (n) => new Te(n.data),
3620
3628
  e
3621
3629
  );
3622
3630
  }
@@ -3726,7 +3734,7 @@ class vs extends De {
3726
3734
  * @see /doc/api/internal#/Контрагенты/api_internal_client_contragent_create
3727
3735
  */
3728
3736
  createContragentClientData(r, e, t = {}) {
3729
- var h, y, A, _, T, L, a, I;
3737
+ var g, y, A, S, _, L, a, I;
3730
3738
  let n;
3731
3739
  const o = e, l = e, u = e;
3732
3740
  switch (e.opf.slug) {
@@ -3735,7 +3743,7 @@ class vs extends De {
3735
3743
  opf: o.opf.slug,
3736
3744
  name: o.name,
3737
3745
  alternative_name: o.alternativeName,
3738
- partner_group_id: (h = o.partnerGroup) == null ? void 0 : h.id,
3746
+ partner_group_id: (g = o.partnerGroup) == null ? void 0 : g.id,
3739
3747
  manager_id: (y = o.manager) == null ? void 0 : y.id,
3740
3748
  comment: o.comment,
3741
3749
  inn: o.inn,
@@ -3754,7 +3762,7 @@ class vs extends De {
3754
3762
  name: l.name,
3755
3763
  alternative_name: l.alternativeName,
3756
3764
  partner_group_id: (A = l.partnerGroup) == null ? void 0 : A.id,
3757
- manager_id: (_ = l.manager) == null ? void 0 : _.id,
3765
+ manager_id: (S = l.manager) == null ? void 0 : S.id,
3758
3766
  comment: l.comment,
3759
3767
  inn: l.inn,
3760
3768
  kpp: l.kpp,
@@ -3772,7 +3780,7 @@ class vs extends De {
3772
3780
  opf: u.opf.slug,
3773
3781
  name: u.name,
3774
3782
  alternative_name: u.alternativeName,
3775
- partner_group_id: (T = u.partnerGroup) == null ? void 0 : T.id,
3783
+ partner_group_id: (_ = u.partnerGroup) == null ? void 0 : _.id,
3776
3784
  manager_id: (L = u.manager) == null ? void 0 : L.id,
3777
3785
  comment: u.comment,
3778
3786
  inn: u.inn,
@@ -3803,7 +3811,7 @@ class vs extends De {
3803
3811
  return this.post(
3804
3812
  `/internal/clients/${r}/contragents`,
3805
3813
  n,
3806
- (c) => te.createInstance(c.data),
3814
+ (d) => ne.createInstance(d.data),
3807
3815
  t
3808
3816
  );
3809
3817
  }
@@ -3818,7 +3826,7 @@ class vs extends De {
3818
3826
  * @see /doc/api/internal#/Контрагенты/api_internal_client_contragent_update
3819
3827
  */
3820
3828
  updateContragentClientData(r, e, t = {}) {
3821
- var h, y, A, _, T, L, a, I;
3829
+ var g, y, A, S, _, L, a, I;
3822
3830
  let n;
3823
3831
  const o = e, l = e, u = e;
3824
3832
  switch (e.opf.slug) {
@@ -3827,7 +3835,7 @@ class vs extends De {
3827
3835
  opf: o.opf.slug,
3828
3836
  name: o.name,
3829
3837
  alternative_name: o.alternativeName,
3830
- partner_group_id: (h = o.partnerGroup) == null ? void 0 : h.id,
3838
+ partner_group_id: (g = o.partnerGroup) == null ? void 0 : g.id,
3831
3839
  manager_id: (y = o.manager) == null ? void 0 : y.id,
3832
3840
  comment: o.comment,
3833
3841
  inn: o.inn,
@@ -3846,7 +3854,7 @@ class vs extends De {
3846
3854
  name: l.name,
3847
3855
  alternative_name: l.alternativeName,
3848
3856
  partner_group_id: (A = l.partnerGroup) == null ? void 0 : A.id,
3849
- manager_id: (_ = l.manager) == null ? void 0 : _.id,
3857
+ manager_id: (S = l.manager) == null ? void 0 : S.id,
3850
3858
  comment: l.comment,
3851
3859
  inn: l.inn,
3852
3860
  kpp: l.kpp,
@@ -3864,7 +3872,7 @@ class vs extends De {
3864
3872
  opf: u.opf.slug,
3865
3873
  name: u.name,
3866
3874
  alternative_name: u.alternativeName,
3867
- partner_group_id: (T = u.partnerGroup) == null ? void 0 : T.id,
3875
+ partner_group_id: (_ = u.partnerGroup) == null ? void 0 : _.id,
3868
3876
  manager_id: (L = u.manager) == null ? void 0 : L.id,
3869
3877
  comment: u.comment,
3870
3878
  inn: u.inn,
@@ -3895,7 +3903,7 @@ class vs extends De {
3895
3903
  return this.patch(
3896
3904
  `/internal/clients/${r}/contragents/${e.id}`,
3897
3905
  n,
3898
- (c) => te.createInstance(c.data),
3906
+ (d) => ne.createInstance(d.data),
3899
3907
  t
3900
3908
  );
3901
3909
  }
@@ -3933,7 +3941,7 @@ class vs extends De {
3933
3941
  }), e.operatingHours && (n.operating_hours = {
3934
3942
  from: e.operatingHours.from,
3935
3943
  to: e.operatingHours.to
3936
- }), this.post(`/internal/clients/${r}/delivery-addresses`, n, (u) => new ne(u.data), t);
3944
+ }), this.post(`/internal/clients/${r}/delivery-addresses`, n, (u) => new ie(u.data), t);
3937
3945
  }
3938
3946
  /**
3939
3947
  * Обновляет данные об адресе доставки клиента.
@@ -3962,7 +3970,7 @@ class vs extends De {
3962
3970
  }), this.patch(
3963
3971
  `/internal/clients/${r}/delivery-addresses/${e.id}`,
3964
3972
  n,
3965
- (u) => new ne(u.data),
3973
+ (u) => new ie(u.data),
3966
3974
  t
3967
3975
  );
3968
3976
  }
@@ -3998,7 +4006,7 @@ class vs extends De {
3998
4006
  correspondent_account: t.correspondentAccount,
3999
4007
  currency_id: t.currency.id
4000
4008
  },
4001
- (o) => new we(o.data),
4009
+ (o) => new Ce(o.data),
4002
4010
  n
4003
4011
  );
4004
4012
  }
@@ -4024,7 +4032,7 @@ class vs extends De {
4024
4032
  correspondent_account: t.correspondentAccount,
4025
4033
  currency_id: t.currency.id
4026
4034
  },
4027
- (o) => new we(o.data),
4035
+ (o) => new Ce(o.data),
4028
4036
  n
4029
4037
  );
4030
4038
  }
@@ -4085,7 +4093,7 @@ class vs extends De {
4085
4093
  comment: e.comment,
4086
4094
  not_disturb: e.notDisturb
4087
4095
  },
4088
- (n) => new M(n.data),
4096
+ (n) => new H(n.data),
4089
4097
  t
4090
4098
  );
4091
4099
  }
@@ -4228,7 +4236,7 @@ class vs extends De {
4228
4236
  comment: e.comment,
4229
4237
  ...t
4230
4238
  };
4231
- return (l = e.phone) != null && l.length && (o.phone = e.phone), (u = e.email) != null && u.length && (o.email = e.email), this.post(`/internal/clients/${r}/contacts`, o, (h) => new M(h.data), n);
4239
+ return (l = e.phone) != null && l.length && (o.phone = e.phone), (u = e.email) != null && u.length && (o.email = e.email), this.post(`/internal/clients/${r}/contacts`, o, (g) => new H(g.data), n);
4232
4240
  }
4233
4241
  /**
4234
4242
  * Устанавливает признак основного контактного лица.
@@ -4257,7 +4265,7 @@ class vs extends De {
4257
4265
  return this.get(`/internal/clients/${r.id}/verification/email?email=${r.email}`);
4258
4266
  }
4259
4267
  }
4260
- class Rs extends p {
4268
+ class Ps extends p {
4261
4269
  /**
4262
4270
  * Выполняет проверку занят ли указанный номер телефона.
4263
4271
  *
@@ -4271,7 +4279,7 @@ class Rs extends p {
4271
4279
  });
4272
4280
  }
4273
4281
  }
4274
- class Ds extends p {
4282
+ class As extends p {
4275
4283
  /**
4276
4284
  * Возвращает настройки указанного конфигуратора для указанной категории.
4277
4285
  *
@@ -4342,7 +4350,7 @@ class Ds extends p {
4342
4350
  return this.delete(`internal/catalog/categories/${r.id}/configurators/${(t = r.properties) == null ? void 0 : t.editor}/template/${e}`);
4343
4351
  }
4344
4352
  }
4345
- class Ps {
4353
+ class $s {
4346
4354
  /**
4347
4355
  * Возвращает Unix Timestamp диапазон дат (в секундах) по умолчанию.
4348
4356
  *
@@ -4352,24 +4360,24 @@ class Ps {
4352
4360
  * Для пересчета в JavaScript Unix Timestamp значение необходимо умножить на 1000.
4353
4361
  */
4354
4362
  static defaultDateRanges() {
4355
- const r = [0, 6].includes(sr(pe())) ? tr(ge()) : pe();
4363
+ const r = [0, 6].includes(tr(he())) ? nr(me()) : he();
4356
4364
  return {
4357
4365
  // 'Следующий рабочий день' - это значение по-умолчанию
4358
- nextWorkingDay: { label: "Следующий рабочий день", from: k(ur(r)), to: k(lr(r)) },
4359
- today: { label: "Сегодня", from: k(ge()), to: k(cr()) },
4360
- yesterday: { label: "Вчера", from: k(or()), to: k(ir()) },
4361
- tomorrow: { label: "Завтра", from: k(pe()), to: k(nr()) }
4366
+ nextWorkingDay: { label: "Следующий рабочий день", from: k(pr(r)), to: k(ur(r)) },
4367
+ today: { label: "Сегодня", from: k(me()), to: k(lr()) },
4368
+ yesterday: { label: "Вчера", from: k(cr()), to: k(or()) },
4369
+ tomorrow: { label: "Завтра", from: k(he()), to: k(ir()) }
4362
4370
  };
4363
4371
  }
4364
4372
  }
4365
- const F = class F {
4373
+ const j = class j {
4366
4374
  /**
4367
4375
  * Устанавливает список единиц измерения линейной величины.
4368
4376
  *
4369
4377
  * @param linearValues Список единиц измерения линейной величины.
4370
4378
  */
4371
4379
  static setLinearValues(r) {
4372
- F.linearValues = r;
4380
+ j.linearValues = r;
4373
4381
  }
4374
4382
  /**
4375
4383
  * Возвращает признак, что указанный товар имеет линейную единицу измерения.
@@ -4377,7 +4385,7 @@ const F = class F {
4377
4385
  * @param product Данные о товаре для которого нужно проверить линейность его единицы измерения.
4378
4386
  */
4379
4387
  static productIsMeasurable(r) {
4380
- return F.linearValues.includes(r.unit);
4388
+ return j.linearValues.includes(r.unit);
4381
4389
  }
4382
4390
  /**
4383
4391
  * Возвращает кратность количества для указанного товара.
@@ -4386,7 +4394,7 @@ const F = class F {
4386
4394
  */
4387
4395
  static getProductMultiplicity(r) {
4388
4396
  var e, t;
4389
- return !((e = r.properties) != null && e.ignoreMinCountCheck) && ((t = r.properties) != null && t.minCount) && !F.productIsMeasurable(r) ? r.properties.minCount : 1;
4397
+ return !((e = r.properties) != null && e.ignoreMinCountCheck) && ((t = r.properties) != null && t.minCount) && !j.productIsMeasurable(r) ? r.properties.minCount : 1;
4390
4398
  }
4391
4399
  /**
4392
4400
  * Возвращает кратность длины для указанного товара.
@@ -4401,14 +4409,14 @@ const F = class F {
4401
4409
  /**
4402
4410
  * Список единиц измерения линейной величины.
4403
4411
  */
4404
- s(F, "linearValues", ["пог.м.", "м.", "м2"]);
4405
- let Se = F;
4406
- class As {
4412
+ s(j, "linearValues", ["пог.м.", "м.", "м2"]);
4413
+ let Se = j;
4414
+ class bs {
4407
4415
  /**
4408
4416
  * Генерирует и возвращает данные-заглушку неопределённого менеджера.
4409
4417
  */
4410
4418
  static generateUndefinedManagerInstance() {
4411
- return new ue({ id: 0, name: "- Не назначен -", isActive: !0, guid: "-undefined-" });
4419
+ return new pe({ id: 0, name: "- Не назначен -", isActive: !0, guid: "-undefined-" });
4412
4420
  }
4413
4421
  /**
4414
4422
  * Выполняет проверку, является ли указанная запись записью-заглушкой с данными о неопределённом менеджере.
@@ -4419,19 +4427,19 @@ class As {
4419
4427
  return r.id === 0 && r.guid === "-undefined-";
4420
4428
  }
4421
4429
  }
4422
- class Vr extends p {
4430
+ class Kr extends p {
4423
4431
  /**
4424
4432
  * Возвращает {@link Promise} для получения справочника списка менеджеров.
4425
4433
  */
4426
4434
  getManagers() {
4427
4435
  const r = "/internal/managers", e = p.getCachedResponse(r);
4428
4436
  return e ? Promise.resolve(e) : this.get(r).then((t) => {
4429
- const n = t.data.map((o) => Re.instanceInitializer(ue, o));
4437
+ const n = t.data.map((o) => De.instanceInitializer(pe, o));
4430
4438
  return n && this.cacheResponse(r, n), n;
4431
4439
  });
4432
4440
  }
4433
4441
  }
4434
- class Er {
4442
+ class Jr {
4435
4443
  /**
4436
4444
  * Инициализирует экземпляр класса {@link MetaTagItem}.
4437
4445
  *
@@ -4485,10 +4493,10 @@ class _e {
4485
4493
  */
4486
4494
  s(this, "meta");
4487
4495
  var e;
4488
- this.resourceType = new de(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 Er(t))) ?? [];
4496
+ this.resourceType = new Ue(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 Jr(t))) ?? [];
4489
4497
  }
4490
4498
  }
4491
- class $s extends p {
4499
+ class Ts extends p {
4492
4500
  /**
4493
4501
  * Возвращает {@link Promise} для получения данных о SEO-параметрах указанного ресурса.
4494
4502
  *
@@ -4519,8 +4527,8 @@ class $s extends p {
4519
4527
  return this.delete(`/internal/seo/${r.slug}/${e}`);
4520
4528
  }
4521
4529
  }
4522
- const v = ie("__references_private", () => {
4523
- const i = w({}), r = w(void 0), e = w(void 0), t = w(void 0), n = w(void 0), o = w(void 0), l = w(void 0), u = w(void 0), h = w(void 0), y = w(void 0), A = w(void 0), _ = w(void 0), T = w(void 0), L = w(void 0), a = w(void 0), I = w(void 0), c = w(void 0);
4530
+ const v = oe("__references_private", () => {
4531
+ const i = w({}), r = w(void 0), e = w(void 0), t = w(void 0), n = w(void 0), o = w(void 0), l = w(void 0), u = w(void 0), g = w(void 0), y = w(void 0), A = w(void 0), S = w(void 0), _ = w(void 0), L = w(void 0), a = w(void 0), I = w(void 0), d = w(void 0), c = w(void 0);
4524
4532
  return {
4525
4533
  /**
4526
4534
  * Список загружаемых/загруженных на данный момент значений.
@@ -4557,7 +4565,7 @@ const v = ie("__references_private", () => {
4557
4565
  /**
4558
4566
  * Справочник статусов заказов.
4559
4567
  */
4560
- orderStatusReference: h,
4568
+ orderStatusReference: g,
4561
4569
  /**
4562
4570
  * Справочник типов оплаты заказов.
4563
4571
  */
@@ -4566,6 +4574,10 @@ const v = ie("__references_private", () => {
4566
4574
  * Справочник групп партнеров.
4567
4575
  */
4568
4576
  partnerGroupReference: A,
4577
+ /**
4578
+ * Справочник типов файлов продукктов/категорий.
4579
+ */
4580
+ productFileTypeReference: S,
4569
4581
  /**
4570
4582
  * Справочник типов ресурсов.
4571
4583
  */
@@ -4573,104 +4585,109 @@ const v = ie("__references_private", () => {
4573
4585
  /**
4574
4586
  * Справочник направлений продаж.
4575
4587
  */
4576
- salesDirectionsReference: T,
4588
+ salesDirectionsReference: L,
4577
4589
  /**
4578
4590
  * Справочник источников первичного интереса.
4579
4591
  */
4580
- sourcePrimaryInterestReference: L,
4592
+ sourcePrimaryInterestReference: a,
4581
4593
  /**
4582
4594
  * Справочник складов.
4583
4595
  */
4584
- warehousesReference: a,
4596
+ warehousesReference: I,
4585
4597
  /**
4586
4598
  * Справочник типов свойств.
4587
4599
  */
4588
- propertyTypesReference: I,
4600
+ propertyTypesReference: d,
4589
4601
  /**
4590
4602
  * Справочник коэффициентов цен.
4591
4603
  */
4592
4604
  priceCoefficientsReference: c
4593
4605
  };
4594
- }), bs = ie("references", () => {
4606
+ }), Ss = oe("references", () => {
4595
4607
  const i = C(() => {
4596
4608
  const c = v();
4597
- return !c.channelPrimaryInterestReference && !c.dataLoaderList.channelPrimaryInterestReference && (c.dataLoaderList.channelPrimaryInterestReference = !0, p.getInstance(R).getChannelPrimaryInterest().then((g) => {
4598
- c.channelPrimaryInterestReference = g;
4609
+ return !c.channelPrimaryInterestReference && !c.dataLoaderList.channelPrimaryInterestReference && (c.dataLoaderList.channelPrimaryInterestReference = !0, p.getInstance(R).getChannelPrimaryInterest().then((h) => {
4610
+ c.channelPrimaryInterestReference = h;
4599
4611
  }).catch(m)), c.channelPrimaryInterestReference;
4600
4612
  }), r = C(() => {
4601
4613
  const c = v();
4602
- return !c.contactPositionsReference && !c.dataLoaderList.contactPositionsReference && (c.dataLoaderList.contactPositionsReference = !0, p.getInstance(R).getContactPositions().then((g) => {
4603
- c.contactPositionsReference = g;
4614
+ return !c.contactPositionsReference && !c.dataLoaderList.contactPositionsReference && (c.dataLoaderList.contactPositionsReference = !0, p.getInstance(R).getContactPositions().then((h) => {
4615
+ c.contactPositionsReference = h;
4604
4616
  }).catch(m)), c.contactPositionsReference;
4605
4617
  }), e = C(() => {
4606
4618
  const c = v();
4607
- return !c.currencyReference && !c.dataLoaderList.currencyReference && (c.dataLoaderList.currencyReference = !0, p.getInstance(R).getCurrency().then((g) => {
4608
- c.currencyReference = g;
4619
+ return !c.currencyReference && !c.dataLoaderList.currencyReference && (c.dataLoaderList.currencyReference = !0, p.getInstance(R).getCurrency().then((h) => {
4620
+ c.currencyReference = h;
4609
4621
  }).catch(m)), c.currencyReference;
4610
4622
  }), t = C(() => {
4611
4623
  const c = v();
4612
- return !c.opfReference && !c.dataLoaderList.opfReference && (c.dataLoaderList.opfReference = !0, p.getInstance(R).getOpf().then((g) => {
4613
- c.opfReference = g;
4624
+ return !c.opfReference && !c.dataLoaderList.opfReference && (c.dataLoaderList.opfReference = !0, p.getInstance(R).getOpf().then((h) => {
4625
+ c.opfReference = h;
4614
4626
  }).catch(m)), c.opfReference;
4615
4627
  }), n = C(() => {
4616
4628
  const c = v();
4617
- return !c.orderPaymentStatusReference && !c.dataLoaderList.orderPaymentStatusReference && (c.dataLoaderList.orderPaymentStatusReference = !0, p.getInstance(R).getOrderPaymentStatuses().then((g) => {
4618
- c.orderPaymentStatusReference = g;
4629
+ return !c.orderPaymentStatusReference && !c.dataLoaderList.orderPaymentStatusReference && (c.dataLoaderList.orderPaymentStatusReference = !0, p.getInstance(R).getOrderPaymentStatuses().then((h) => {
4630
+ c.orderPaymentStatusReference = h;
4619
4631
  }).catch(m)), c.orderPaymentStatusReference;
4620
4632
  }), o = C(() => {
4621
4633
  const c = v();
4622
- return !c.orderStatusReference && !c.dataLoaderList.orderStatusReference && (c.dataLoaderList.orderStatusReference = !0, p.getInstance(R).getOrderStatuses().then((g) => {
4623
- c.orderStatusReference = g;
4634
+ return !c.orderStatusReference && !c.dataLoaderList.orderStatusReference && (c.dataLoaderList.orderStatusReference = !0, p.getInstance(R).getOrderStatuses().then((h) => {
4635
+ c.orderStatusReference = h;
4624
4636
  }).catch(m)), c.orderStatusReference;
4625
4637
  }), l = C(() => {
4626
4638
  const c = v();
4627
- return !c.paymentTypeReference && !c.dataLoaderList.paymentTypeReference && (c.dataLoaderList.paymentTypeReference = !0, p.getInstance(R).getPaymentTypes().then((g) => {
4628
- c.paymentTypeReference = g;
4639
+ return !c.paymentTypeReference && !c.dataLoaderList.paymentTypeReference && (c.dataLoaderList.paymentTypeReference = !0, p.getInstance(R).getPaymentTypes().then((h) => {
4640
+ c.paymentTypeReference = h;
4629
4641
  }).catch(m)), c.paymentTypeReference;
4630
4642
  }), u = C(() => {
4631
4643
  const c = v();
4632
- return !c.partnerGroupReference && !c.dataLoaderList.partnerGroupReference && (c.dataLoaderList.partnerGroupReference = !0, p.getInstance(R).getPartnerGroup().then((g) => {
4633
- c.partnerGroupReference = g;
4644
+ return !c.partnerGroupReference && !c.dataLoaderList.partnerGroupReference && (c.dataLoaderList.partnerGroupReference = !0, p.getInstance(R).getPartnerGroup().then((h) => {
4645
+ c.partnerGroupReference = h;
4634
4646
  }).catch(m)), c.partnerGroupReference;
4635
- }), h = C(() => {
4647
+ }), g = C(() => {
4636
4648
  const c = v();
4637
- return !c.resourceTypesReference && !c.dataLoaderList.resourceTypesReference && (c.dataLoaderList.resourceTypesReference = !0, p.getInstance(R).getResourceTypes().then((g) => {
4638
- c.resourceTypesReference = g;
4639
- }).catch(m)), c.resourceTypesReference;
4649
+ return !c.productFileTypeReference && !c.dataLoaderList.productFileTypeReference && (c.dataLoaderList.productFileTypeReference = !0, p.getInstance(R).getProductFileType().then((h) => {
4650
+ c.productFileTypeReference = h;
4651
+ }).catch(m)), c.productFileTypeReference;
4640
4652
  }), y = C(() => {
4641
4653
  const c = v();
4642
- return !c.salesDirectionsReference && !c.dataLoaderList.salesDirectionsReference && (c.dataLoaderList.salesDirectionsReference = !0, p.getInstance(R).getSalesDirections().then((g) => {
4643
- c.salesDirectionsReference = g;
4644
- }).catch(m)), c.salesDirectionsReference;
4654
+ return !c.resourceTypesReference && !c.dataLoaderList.resourceTypesReference && (c.dataLoaderList.resourceTypesReference = !0, p.getInstance(R).getResourceTypes().then((h) => {
4655
+ c.resourceTypesReference = h;
4656
+ }).catch(m)), c.resourceTypesReference;
4645
4657
  }), A = C(() => {
4646
4658
  const c = v();
4647
- return !c.sourcePrimaryInterestReference && !c.dataLoaderList.sourcePrimaryInterestReference && (c.dataLoaderList.sourcePrimaryInterestReference = !0, p.getInstance(R).getSourcePrimaryInterest().then((g) => {
4648
- c.sourcePrimaryInterestReference = g;
4659
+ return !c.salesDirectionsReference && !c.dataLoaderList.salesDirectionsReference && (c.dataLoaderList.salesDirectionsReference = !0, p.getInstance(R).getSalesDirections().then((h) => {
4660
+ c.salesDirectionsReference = h;
4661
+ }).catch(m)), c.salesDirectionsReference;
4662
+ }), S = C(() => {
4663
+ const c = v();
4664
+ return !c.sourcePrimaryInterestReference && !c.dataLoaderList.sourcePrimaryInterestReference && (c.dataLoaderList.sourcePrimaryInterestReference = !0, p.getInstance(R).getSourcePrimaryInterest().then((h) => {
4665
+ c.sourcePrimaryInterestReference = h;
4649
4666
  }).catch(m)), c.sourcePrimaryInterestReference;
4650
4667
  }), _ = C(() => {
4651
4668
  const c = v();
4652
- return !c.deliveryTypeReference && !c.dataLoaderList.deliveryTypeReference && (c.dataLoaderList.deliveryTypeReference = !0, p.getInstance(R).getDeliveryTypes().then((g) => {
4653
- c.deliveryTypeReference = g;
4669
+ return !c.deliveryTypeReference && !c.dataLoaderList.deliveryTypeReference && (c.dataLoaderList.deliveryTypeReference = !0, p.getInstance(R).getDeliveryTypes().then((h) => {
4670
+ c.deliveryTypeReference = h;
4654
4671
  }).catch(m)), c.deliveryTypeReference;
4655
- }), T = C(() => {
4672
+ }), L = C(() => {
4656
4673
  const c = v();
4657
- return !c.managersList && !c.dataLoaderList.managersList && (c.dataLoaderList.managersList = !0, p.getInstance(Vr).getManagers().then((g) => {
4658
- c.managersList = g;
4674
+ return !c.managersList && !c.dataLoaderList.managersList && (c.dataLoaderList.managersList = !0, p.getInstance(Kr).getManagers().then((h) => {
4675
+ c.managersList = h;
4659
4676
  }).catch(m)), c.managersList;
4660
- }), L = C(() => {
4677
+ }), a = C(() => {
4661
4678
  const c = v();
4662
- return !c.warehousesReference && !c.dataLoaderList.warehousesReference && (c.dataLoaderList.warehousesReference = !0, p.getInstance(R).getWarehouses().then((g) => {
4663
- c.warehousesReference = g;
4679
+ return !c.warehousesReference && !c.dataLoaderList.warehousesReference && (c.dataLoaderList.warehousesReference = !0, p.getInstance(R).getWarehouses().then((h) => {
4680
+ c.warehousesReference = h;
4664
4681
  }).catch(m)), c.warehousesReference;
4665
- }), a = C(() => {
4682
+ }), I = C(() => {
4666
4683
  const c = v();
4667
- return !c.propertyTypesReference && !c.dataLoaderList.propertyTypesReference && (c.dataLoaderList.propertyTypesReference = !0, p.getInstance(R).getPropertyTypes().then((g) => {
4668
- c.propertyTypesReference = g;
4684
+ return !c.propertyTypesReference && !c.dataLoaderList.propertyTypesReference && (c.dataLoaderList.propertyTypesReference = !0, p.getInstance(R).getPropertyTypes().then((h) => {
4685
+ c.propertyTypesReference = h;
4669
4686
  }).catch(m)), c.propertyTypesReference;
4670
- }), I = C(() => {
4687
+ }), d = C(() => {
4671
4688
  const c = v();
4672
- return !c.priceCoefficientsReference && !c.dataLoaderList.priceCoefficientsReference && (c.dataLoaderList.priceCoefficientsReference = !0, p.getInstance(R).getPriceCoefficients().then((g) => {
4673
- c.priceCoefficientsReference = g;
4689
+ return !c.priceCoefficientsReference && !c.dataLoaderList.priceCoefficientsReference && (c.dataLoaderList.priceCoefficientsReference = !0, p.getInstance(R).getPriceCoefficients().then((h) => {
4690
+ c.priceCoefficientsReference = h;
4674
4691
  }).catch(m)), c.priceCoefficientsReference;
4675
4692
  });
4676
4693
  return {
@@ -4706,18 +4723,22 @@ const v = ie("__references_private", () => {
4706
4723
  * Справочник групп партнеров.
4707
4724
  */
4708
4725
  partnerGroupsReference: u,
4726
+ /**
4727
+ * Справочник типов файлов продуктов/категорий.
4728
+ */
4729
+ productFilesTypesReference: g,
4709
4730
  /**
4710
4731
  * Справочник типов ресурсов.
4711
4732
  */
4712
- resourceTypesReference: h,
4733
+ resourceTypesReference: y,
4713
4734
  /**
4714
4735
  * Справочник направлений продаж.
4715
4736
  */
4716
- salesDirectionsReference: y,
4737
+ salesDirectionsReference: A,
4717
4738
  /**
4718
4739
  * Справочник каналов первичного интереса.
4719
4740
  */
4720
- sourcePrimaryInterestsReference: A,
4741
+ sourcePrimaryInterestsReference: S,
4721
4742
  /**
4722
4743
  * Справочник типов доставки.
4723
4744
  */
@@ -4725,21 +4746,21 @@ const v = ie("__references_private", () => {
4725
4746
  /**
4726
4747
  * Список менеджеров.
4727
4748
  */
4728
- managersList: T,
4749
+ managersList: L,
4729
4750
  /**
4730
4751
  * Справочник складов.
4731
4752
  */
4732
- warehousesReference: L,
4753
+ warehousesReference: a,
4733
4754
  /**
4734
4755
  * Справочник типов свойств.
4735
4756
  */
4736
- propertyTypesReference: a,
4757
+ propertyTypesReference: I,
4737
4758
  /**
4738
4759
  * Справочник коэффициентов цен.
4739
4760
  */
4740
- priceCoefficientsReference: I
4761
+ priceCoefficientsReference: d
4741
4762
  };
4742
- }), Kr = ie("__user_state_private", () => {
4763
+ }), Qr = oe("__user_state_private", () => {
4743
4764
  const i = w({}), r = w(void 0);
4744
4765
  return {
4745
4766
  /**
@@ -4751,18 +4772,18 @@ const v = ie("__references_private", () => {
4751
4772
  */
4752
4773
  currentUser: r
4753
4774
  };
4754
- }), Ss = ie("user_state", () => ({
4775
+ }), _s = oe("user_state", () => ({
4755
4776
  /**
4756
4777
  * Данные о текущем пользователе.
4757
4778
  */
4758
4779
  currentUser: C(() => {
4759
- const r = Kr();
4760
- return !r.currentUser && !r.dataLoaderList.currentUser && (r.dataLoaderList.currentUser = !0, p.getInstance(dr).getCurrentUser().then((e) => {
4780
+ const r = Qr();
4781
+ return !r.currentUser && !r.dataLoaderList.currentUser && (r.dataLoaderList.currentUser = !0, p.getInstance(qr).getCurrentUser().then((e) => {
4761
4782
  r.currentUser = e;
4762
4783
  }).catch(m).finally(m)), r.currentUser;
4763
4784
  })
4764
4785
  }));
4765
- class _s extends p {
4786
+ class Ls extends p {
4766
4787
  /**
4767
4788
  * Возвращает подсказки по адресам.
4768
4789
  *
@@ -4809,7 +4830,7 @@ class _s extends p {
4809
4830
  });
4810
4831
  }
4811
4832
  }
4812
- class Ts {
4833
+ class as {
4813
4834
  /**
4814
4835
  * Инициализирует экземпляр класса {@link FieldValidationResultData}.
4815
4836
  *
@@ -4833,125 +4854,126 @@ class Ts {
4833
4854
  }
4834
4855
  }
4835
4856
  export {
4836
- Lr as AnyReference,
4837
- ss as AppBaseConfig,
4857
+ ar as AnyReference,
4858
+ ns as AppBaseConfig,
4838
4859
  O as AppConfigProvider,
4839
- we as BankAccount,
4840
- De as BasePaginationProvider,
4841
- Y as Cart,
4842
- wr as CartItem,
4843
- yr as CartItemBase,
4844
- ts as CartProvider,
4845
- os as CatalogProvider,
4846
- Le as CatalogableItem,
4847
- d as Category,
4848
- qr as CategoryPricingRole,
4849
- Oe as ChannelPrimaryInterest,
4850
- is as City,
4851
- re as CityWithRegionAndCountry,
4852
- be as Client,
4853
- Fr as ClientAdditionalData,
4854
- ee as ClientCategory,
4855
- vs as ClientDataProvider,
4856
- le as ClientProduct,
4857
- us as ClientProductCategoryDataProvider,
4858
- ps as ClientProductDataProvider,
4859
- Pe as ClientShortInfo,
4860
- Gr as ClientsAdditionalDataRequestTypeEnum,
4861
- fs as ClientsListFilters,
4862
- Ds as ConfiguratorProvider,
4863
- Ce as Contact,
4860
+ Ce as BankAccount,
4861
+ Pe as BasePaginationProvider,
4862
+ X as Cart,
4863
+ Cr as CartItem,
4864
+ wr as CartItemBase,
4865
+ is as CartProvider,
4866
+ ls as CatalogProvider,
4867
+ ae as CatalogableItem,
4868
+ U as Category,
4869
+ Mr as CategoryPricingRole,
4870
+ de as ChannelPrimaryInterest,
4871
+ cs as City,
4872
+ se as CityWithRegionAndCountry,
4873
+ Te as Client,
4874
+ Vr as ClientAdditionalData,
4875
+ re as ClientCategory,
4876
+ Ds as ClientDataProvider,
4877
+ ue as ClientProduct,
4878
+ hs as ClientProductCategoryDataProvider,
4879
+ gs as ClientProductDataProvider,
4880
+ Ae as ClientShortInfo,
4881
+ Hr as ClientsAdditionalDataRequestTypeEnum,
4882
+ ws as ClientsListFilters,
4883
+ As as ConfiguratorProvider,
4884
+ ve as Contact,
4864
4885
  _r as ContactLinks,
4865
- M as ContactPerson,
4866
- Br as ContactPersonRelated,
4867
- ar as ContactPosition,
4868
- he as ContactRelation,
4869
- Ge as ContragentBase,
4870
- te as ContragentFactory,
4871
- Me as ContragentIc,
4872
- Mr as ContragentPerson,
4873
- Hr as ContragentUlNr,
4874
- He as ContragentUlR,
4875
- xe as CostSourceEnum,
4876
- E as Country,
4877
- se as Currency,
4878
- _s as DataSuggestionProvider,
4879
- ws as DataTablePagination,
4880
- jr as DataTablePaginationRequestParams,
4881
- Cs as DataTableSortRequestParams,
4882
- Ps as DateTimeProvider,
4883
- $r as DeletableNamedIdentity,
4884
- ne as DeliveryAddress,
4885
- V as DeliveryType,
4886
- Cr as DeviceTypeResolutionConfig,
4887
- br as DiscountShortInfo,
4888
- Ts as FieldValidationResultData,
4886
+ H as ContactPerson,
4887
+ Wr as ContactPersonRelated,
4888
+ Ir as ContactPosition,
4889
+ ge as ContactRelation,
4890
+ Me as ContragentBase,
4891
+ ne as ContragentFactory,
4892
+ He as ContragentIc,
4893
+ Fr as ContragentPerson,
4894
+ Br as ContragentUlNr,
4895
+ Fe as ContragentUlR,
4896
+ ke as CostSourceEnum,
4897
+ K as Country,
4898
+ te as Currency,
4899
+ Ls as DataSuggestionProvider,
4900
+ vs as DataTablePagination,
4901
+ Er as DataTablePaginationRequestParams,
4902
+ Rs as DataTableSortRequestParams,
4903
+ $s as DateTimeProvider,
4904
+ br as DeletableNamedIdentity,
4905
+ ie as DeliveryAddress,
4906
+ E as DeliveryType,
4907
+ vr as DeviceTypeResolutionConfig,
4908
+ Tr as DiscountShortInfo,
4909
+ as as FieldValidationResultData,
4889
4910
  ze as FilterOpEnum,
4890
- Ie as GeoCoordinates,
4891
- mr as HiddenCatalogableItem,
4892
- ye as HttpBaseCachedRequester,
4893
- fe as HttpBaseRequester,
4894
- vr as HttpParamsConfig,
4911
+ xe as GeoCoordinates,
4912
+ fr as HiddenCatalogableItem,
4913
+ we as HttpBaseCachedRequester,
4914
+ ye as HttpBaseRequester,
4915
+ Rr as HttpParamsConfig,
4895
4916
  p as HttpRequester,
4896
- K as Identity,
4897
- fr as Image,
4898
- ue as Manager,
4899
- Z as ManagerCommon,
4900
- As as ManagerDataFactory,
4901
- Vr as ManagerDataProvider,
4902
- Er as MetaTagItem,
4917
+ J as Identity,
4918
+ yr as Image,
4919
+ pe as Manager,
4920
+ ee as ManagerCommon,
4921
+ bs as ManagerDataFactory,
4922
+ Kr as ManagerDataProvider,
4923
+ Jr as MetaTagItem,
4903
4924
  P as NamedIdentity,
4904
- q as Opf,
4925
+ G as Opf,
4905
4926
  $ as OpfEnum,
4906
- zr as Order,
4927
+ jr as Order,
4907
4928
  We as OrderInfo,
4908
- Ir as OrderPaymentStatus,
4909
- Wr as OrderProduct,
4929
+ xr as OrderPaymentStatus,
4930
+ zr as OrderProduct,
4910
4931
  Be as OrderShortInfo,
4911
- xr as OrderStatus,
4912
- ys as OrdersDataProvider,
4913
- G as PartnerGroup,
4914
- kr as PaymentType,
4915
- ns as PreferencesStorageProvider,
4916
- Ar as PriceCoefficientEnum,
4932
+ kr as OrderStatus,
4933
+ Cs as OrdersDataProvider,
4934
+ M as PartnerGroup,
4935
+ Nr as PaymentType,
4936
+ os as PreferencesStorageProvider,
4937
+ $r as PriceCoefficientEnum,
4917
4938
  Sr as PriceTemplate,
4918
4939
  B as PricingRole,
4919
- hs as PricingRoleProvider,
4920
- me as PrimaryCatalogableItem,
4940
+ ms as PricingRoleProvider,
4941
+ fe as PrimaryCatalogableItem,
4921
4942
  x as Product,
4922
- cs as ProductCategoryDataProvider,
4923
- ls as ProductDataProvider,
4924
- ve as ProductPriceCoefficient,
4925
- Ur as ProductPriceHistory,
4926
- gs as PropertiesProvider,
4927
- J as Property,
4928
- Ne as PropertyType,
4929
- Pr as PropertyTypeEnum,
4930
- H as PropertyValue,
4931
- ms as RecommendationsDataProvider,
4932
- $e as RecommendationsList,
4943
+ us as ProductCategoryDataProvider,
4944
+ ps as ProductDataProvider,
4945
+ Or as ProductFileType,
4946
+ Re as ProductPriceCoefficient,
4947
+ Gr as ProductPriceHistory,
4948
+ fs as PropertiesProvider,
4949
+ Q as Property,
4950
+ Oe as PropertyType,
4951
+ Ar as PropertyTypeEnum,
4952
+ F as PropertyValue,
4953
+ ys as RecommendationsDataProvider,
4954
+ be as RecommendationsList,
4933
4955
  f as Reference,
4934
4956
  R as ReferenceDataProvider,
4935
- Q as Region,
4936
- de as ResourceType,
4937
- S as SalesDirection,
4938
- Rr as SentryConfig,
4957
+ Y as Region,
4958
+ Ue as ResourceType,
4959
+ T as SalesDirection,
4960
+ Dr as SentryConfig,
4939
4961
  _e as Seo,
4940
- $s as SeoDataProvider,
4941
- Ue as SourcePrimaryInterest,
4942
- gr as StockCount,
4943
- Re as TypedInstanceFactory,
4962
+ Ts as SeoDataProvider,
4963
+ qe as SourcePrimaryInterest,
4964
+ mr as StockCount,
4965
+ De as TypedInstanceFactory,
4944
4966
  Se as UnitsHelper,
4945
- Rs as UnknownClientDataProvider,
4946
- ke as UpdatableNamedIdentity,
4947
- Or as User,
4948
- qe as UserCommonInfo,
4949
- dr as UserDataProvider,
4950
- U as UserShortInfo,
4951
- Nr as UserTypeEnum,
4952
- Dr as VersionConfig,
4953
- ce as Warehouse,
4954
- bs as useReferencesStore,
4955
- Ss as useUserStateStore
4967
+ Ps as UnknownClientDataProvider,
4968
+ Ne as UpdatableNamedIdentity,
4969
+ Ur as User,
4970
+ Ge as UserCommonInfo,
4971
+ qr as UserDataProvider,
4972
+ q as UserShortInfo,
4973
+ dr as UserTypeEnum,
4974
+ Pr as VersionConfig,
4975
+ le as Warehouse,
4976
+ Ss as useReferencesStore,
4977
+ _s as useUserStateStore
4956
4978
  };
4957
4979
  //# sourceMappingURL=sc-common-lib.js.map