@snabcentr/common-lib 3.4.0 → 3.5.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.
- package/dist/manifest.json +1 -1
- package/dist/release_notes.tmp +2 -2
- package/dist/sc-common-lib.js +1072 -942
- package/dist/sc-common-lib.js.map +1 -1
- package/dist/sc-common-lib.umd.cjs +1 -1
- package/dist/sc-common-lib.umd.cjs.map +1 -1
- package/dist/src/blog/classes/blog-post-short-info.d.ts +2 -6
- package/dist/src/blog/classes/blog-post-short-info.d.ts.map +1 -1
- package/dist/src/blog/interfaces/i-blog-post-short-info.d.ts +2 -7
- package/dist/src/blog/interfaces/i-blog-post-short-info.d.ts.map +1 -1
- package/dist/src/catalog/classes/client-price-catalogable-item.d.ts +23 -0
- package/dist/src/catalog/classes/client-price-catalogable-item.d.ts.map +1 -0
- package/dist/src/catalog/classes/client-price-category.d.ts +19 -0
- package/dist/src/catalog/classes/client-price-category.d.ts.map +1 -0
- package/dist/src/catalog/classes/client-price-product.d.ts +19 -0
- package/dist/src/catalog/classes/client-price-product.d.ts.map +1 -0
- package/dist/src/catalog/classes/client-product.d.ts +9 -0
- package/dist/src/catalog/classes/client-product.d.ts.map +1 -1
- package/dist/src/catalog/classes/discount-short-info.d.ts +2 -6
- package/dist/src/catalog/classes/discount-short-info.d.ts.map +1 -1
- package/dist/src/catalog/classes/index.d.ts +4 -0
- package/dist/src/catalog/classes/index.d.ts.map +1 -1
- package/dist/src/catalog/classes/price-catalogable-item.d.ts +22 -0
- package/dist/src/catalog/classes/price-catalogable-item.d.ts.map +1 -0
- package/dist/src/catalog/classes/price-template-catalogable-item.d.ts +2 -10
- package/dist/src/catalog/classes/price-template-catalogable-item.d.ts.map +1 -1
- package/dist/src/catalog/classes/price-template-client.d.ts +2 -10
- package/dist/src/catalog/classes/price-template-client.d.ts.map +1 -1
- package/dist/src/catalog/classes/price-template.d.ts +0 -4
- package/dist/src/catalog/classes/price-template.d.ts.map +1 -1
- package/dist/src/catalog/interfaces/i-client-price-catalogable-item.d.ts +13 -0
- package/dist/src/catalog/interfaces/i-client-price-catalogable-item.d.ts.map +1 -0
- package/dist/src/catalog/interfaces/i-client-price-category.d.ts +12 -0
- package/dist/src/catalog/interfaces/i-client-price-category.d.ts.map +1 -0
- package/dist/src/catalog/interfaces/i-client-price-product.d.ts +12 -0
- package/dist/src/catalog/interfaces/i-client-price-product.d.ts.map +1 -0
- package/dist/src/catalog/interfaces/i-client-product.d.ts +9 -0
- package/dist/src/catalog/interfaces/i-client-product.d.ts.map +1 -1
- package/dist/src/catalog/interfaces/i-discount-short-info.d.ts +2 -3
- package/dist/src/catalog/interfaces/i-discount-short-info.d.ts.map +1 -1
- package/dist/src/catalog/interfaces/i-price-catalogable-item.d.ts +17 -0
- package/dist/src/catalog/interfaces/i-price-catalogable-item.d.ts.map +1 -0
- package/dist/src/catalog/interfaces/i-price-template-catalogable-item.d.ts +3 -12
- package/dist/src/catalog/interfaces/i-price-template-catalogable-item.d.ts.map +1 -1
- package/dist/src/catalog/interfaces/i-price-template-client.d.ts +2 -3
- package/dist/src/catalog/interfaces/i-price-template-client.d.ts.map +1 -1
- package/dist/src/catalog/interfaces/i-price-template.d.ts +0 -4
- package/dist/src/catalog/interfaces/i-price-template.d.ts.map +1 -1
- package/dist/src/catalog/interfaces/index.d.ts +4 -0
- package/dist/src/catalog/interfaces/index.d.ts.map +1 -1
- package/dist/src/catalog/providers/client-price-provider.d.ts +57 -10
- package/dist/src/catalog/providers/client-price-provider.d.ts.map +1 -1
- package/dist/src/clients/classes/contragent/contragent-base.d.ts +0 -4
- package/dist/src/clients/classes/contragent/contragent-base.d.ts.map +1 -1
- package/dist/src/clients/interfaces/contragent/i-contragent-base.d.ts +1 -2
- package/dist/src/clients/interfaces/contragent/i-contragent-base.d.ts.map +1 -1
- package/dist/src/clients/interfaces/i-client-short-info.d.ts +1 -2
- package/dist/src/clients/interfaces/i-client-short-info.d.ts.map +1 -1
- package/dist/src/contacts/classes/contact-person.d.ts +0 -8
- package/dist/src/contacts/classes/contact-person.d.ts.map +1 -1
- package/dist/src/contacts/classes/contact.d.ts +2 -2
- package/dist/src/contacts/classes/contact.d.ts.map +1 -1
- package/dist/src/contacts/interfaces/i-contact-person.d.ts +1 -3
- package/dist/src/contacts/interfaces/i-contact-person.d.ts.map +1 -1
- package/dist/src/contacts/interfaces/i-contact.d.ts +2 -2
- package/dist/src/contacts/interfaces/i-contact.d.ts.map +1 -1
- package/dist/src/managers/classes/manager-common.d.ts +2 -2
- package/dist/src/managers/classes/manager-common.d.ts.map +1 -1
- package/dist/src/managers/classes/manager.d.ts +0 -4
- package/dist/src/managers/classes/manager.d.ts.map +1 -1
- package/dist/src/managers/interfaces/i-manager-common.d.ts +2 -2
- package/dist/src/managers/interfaces/i-manager-common.d.ts.map +1 -1
- package/dist/src/managers/interfaces/i-manager.d.ts +0 -4
- package/dist/src/managers/interfaces/i-manager.d.ts.map +1 -1
- package/dist/src/offers/classes/offer-short-info.d.ts +2 -6
- package/dist/src/offers/classes/offer-short-info.d.ts.map +1 -1
- package/dist/src/offers/interfaces/i-offer-short-info.d.ts +2 -6
- package/dist/src/offers/interfaces/i-offer-short-info.d.ts.map +1 -1
- package/dist/src/orders/classes/order-short-info.d.ts +2 -6
- package/dist/src/orders/classes/order-short-info.d.ts.map +1 -1
- package/dist/src/orders/interfaces/i-order-short-info.d.ts +2 -6
- package/dist/src/orders/interfaces/i-order-short-info.d.ts.map +1 -1
- package/dist/src/orders/interfaces/i-order-status-history-info.d.ts +2 -1
- package/dist/src/orders/interfaces/i-order-status-history-info.d.ts.map +1 -1
- package/dist/src/system/classes/creatable-identity.d.ts +19 -0
- package/dist/src/system/classes/creatable-identity.d.ts.map +1 -0
- package/dist/src/system/classes/deletable-identity.d.ts +19 -0
- package/dist/src/system/classes/deletable-identity.d.ts.map +1 -0
- package/dist/src/system/classes/deletable-named-identity.d.ts +1 -1
- package/dist/src/system/classes/deletable-named-identity.d.ts.map +1 -1
- package/dist/src/system/classes/index.d.ts +2 -0
- package/dist/src/system/classes/index.d.ts.map +1 -1
- package/dist/src/system/classes/updatable-named-identity.d.ts +6 -2
- package/dist/src/system/classes/updatable-named-identity.d.ts.map +1 -1
- package/dist/src/system/interfaces/i-creatable-identity.d.ts +8 -0
- package/dist/src/system/interfaces/i-creatable-identity.d.ts.map +1 -0
- package/dist/src/system/interfaces/i-deletable-identity.d.ts +8 -0
- package/dist/src/system/interfaces/i-deletable-identity.d.ts.map +1 -0
- package/dist/src/system/interfaces/i-updatable-named-identity.d.ts +3 -2
- package/dist/src/system/interfaces/i-updatable-named-identity.d.ts.map +1 -1
- package/dist/src/system/interfaces/index.d.ts +2 -0
- package/dist/src/system/interfaces/index.d.ts.map +1 -1
- package/dist/src/user/classes/user-common-info.d.ts +2 -6
- package/dist/src/user/classes/user-common-info.d.ts.map +1 -1
- package/dist/src/user/interfaces/i-user-common-info.d.ts +2 -6
- package/dist/src/user/interfaces/i-user-common-info.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { BlogPostPublicationStatusEnum } from '../enums/blog-post-publication-status-enum';
|
|
2
2
|
import { IBlogPostShortInfo } from '../interfaces/i-blog-post-short-info';
|
|
3
|
-
import {
|
|
3
|
+
import { CreatableIdentity } from '../../system/classes/creatable-identity';
|
|
4
4
|
/**
|
|
5
5
|
* Краткие данные о статье блога.
|
|
6
6
|
*/
|
|
7
|
-
export declare class BlogPostShortInfo extends
|
|
7
|
+
export declare class BlogPostShortInfo extends CreatableIdentity implements IBlogPostShortInfo {
|
|
8
8
|
/**
|
|
9
9
|
* Возвращает состояние публикации статьи по дате её публикации.
|
|
10
10
|
*
|
|
@@ -39,10 +39,6 @@ export declare class BlogPostShortInfo extends Identity implements IBlogPostShor
|
|
|
39
39
|
* @inheritDoc
|
|
40
40
|
*/
|
|
41
41
|
publishedAt: Date | null;
|
|
42
|
-
/**
|
|
43
|
-
* @inheritDoc
|
|
44
|
-
*/
|
|
45
|
-
createdAt: Date;
|
|
46
42
|
/**
|
|
47
43
|
* Инициализирует экземпляр класса {@link BlogPostShortInfo}.
|
|
48
44
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blog-post-short-info.d.ts","sourceRoot":"","sources":["../../../../src/blog/classes/blog-post-short-info.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,MAAM,kDAAkD,CAAC;AACjG,OAAO,EAAE,kBAAkB,EAAE,MAAM,4CAA4C,CAAC;AAChF,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"blog-post-short-info.d.ts","sourceRoot":"","sources":["../../../../src/blog/classes/blog-post-short-info.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,MAAM,kDAAkD,CAAC;AACjG,OAAO,EAAE,kBAAkB,EAAE,MAAM,4CAA4C,CAAC;AAChF,OAAO,EAAE,iBAAiB,EAAE,MAAM,uCAAuC,CAAC;AAI1E;;GAEG;AACH,qBAAa,iBAAkB,SAAQ,iBAAkB,YAAW,kBAAkB;IAClF;;;;OAIG;WACW,wBAAwB,CAAC,WAAW,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,6BAA6B;IAQhG;;;;;;;;OAQG;WACW,YAAY,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,MAAM;IAoBxD;;;;OAIG;IACH,SAAS,CAAC,MAAM,CAAC,SAAS,CAAC,KAAK,CAAC,EAAE,IAAI,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI;IAQrE;;OAEG;IACI,IAAI,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACI,KAAK,EAAE,MAAM,CAAC;IAErB;;OAEG;IACI,WAAW,EAAE,IAAI,GAAG,IAAI,CAAC;IAEhC;;;;OAIG;gBACgB,IAAI,CAAC,EAAE,OAAO,CAAC,kBAAkB,CAAC;IAQrD;;OAEG;IACI,oBAAoB,IAAI,6BAA6B;CAG/D"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { IIdentity } from '../../system/interfaces/i-identity';
|
|
1
|
+
import { ICreatableIdentity } from '../../system/interfaces/i-creatable-identity';
|
|
3
2
|
/**
|
|
4
3
|
* Краткие данные о статье блога.
|
|
5
4
|
*/
|
|
6
|
-
export interface IBlogPostShortInfo extends
|
|
5
|
+
export interface IBlogPostShortInfo extends ICreatableIdentity {
|
|
7
6
|
/**
|
|
8
7
|
* Символьное обозначение статьи.
|
|
9
8
|
*/
|
|
@@ -16,9 +15,5 @@ export interface IBlogPostShortInfo extends IIdentity, ICreatedAt {
|
|
|
16
15
|
* Дата и время публикации статьи. Если не задано, статья не опубликована.
|
|
17
16
|
*/
|
|
18
17
|
publishedAt: Date | null;
|
|
19
|
-
/**
|
|
20
|
-
* @inheritDoc
|
|
21
|
-
*/
|
|
22
|
-
createdAt: Date;
|
|
23
18
|
}
|
|
24
19
|
//# sourceMappingURL=i-blog-post-short-info.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i-blog-post-short-info.d.ts","sourceRoot":"","sources":["../../../../src/blog/interfaces/i-blog-post-short-info.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"i-blog-post-short-info.d.ts","sourceRoot":"","sources":["../../../../src/blog/interfaces/i-blog-post-short-info.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,4CAA4C,CAAC;AAEhF;;GAEG;AACH,MAAM,WAAW,kBAAmB,SAAQ,kBAAkB;IAC1D;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,WAAW,EAAE,IAAI,GAAG,IAAI,CAAC;CAC5B"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { PriceCatalogableItem } from './price-catalogable-item';
|
|
2
|
+
import { IClientPriceCatalogableItem } from '../interfaces/i-client-price-catalogable-item';
|
|
3
|
+
import { IUserShortInfo } from '../../user/interfaces/i-user-short-info';
|
|
4
|
+
/**
|
|
5
|
+
* Данные о цене элемента каталога в прайс-листе клиента.
|
|
6
|
+
*/
|
|
7
|
+
export declare class ClientPriceCatalogableItem extends PriceCatalogableItem implements IClientPriceCatalogableItem {
|
|
8
|
+
/**
|
|
9
|
+
* Данные о пользователе, установившем цену.
|
|
10
|
+
*/
|
|
11
|
+
executor?: IUserShortInfo;
|
|
12
|
+
/**
|
|
13
|
+
* Дата и время создания записи.
|
|
14
|
+
*/
|
|
15
|
+
createdAt?: Date;
|
|
16
|
+
/**
|
|
17
|
+
* Инициализирует экземпляр класса {@link ClientPriceCatalogableItem}.
|
|
18
|
+
*
|
|
19
|
+
* @param data Данные для первоначальной инициализации.
|
|
20
|
+
*/
|
|
21
|
+
protected constructor(data?: IClientPriceCatalogableItem);
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=client-price-catalogable-item.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client-price-catalogable-item.d.ts","sourceRoot":"","sources":["../../../../src/catalog/classes/client-price-catalogable-item.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,4CAA4C,CAAC;AAClF,OAAO,EAAE,2BAA2B,EAAE,MAAM,wDAAwD,CAAC;AAGrG,OAAO,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAEvE;;GAEG;AACH,qBAAa,0BAA2B,SAAQ,oBAAqB,YAAW,2BAA2B;IACvG;;OAEG;IACI,QAAQ,CAAC,EAAE,cAAc,CAAC;IAEjC;;OAEG;IACI,SAAS,CAAC,EAAE,IAAI,CAAC;IAExB;;;;OAIG;IACH,SAAS,aAAa,IAAI,CAAC,EAAE,2BAA2B;CAM3D"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ClientPriceCatalogableItem } from './client-price-catalogable-item';
|
|
2
|
+
import { IClientPriceCategory } from '../interfaces/i-client-price-category';
|
|
3
|
+
import { IBaseCategory } from '../interfaces/internal/base/i-base-category';
|
|
4
|
+
/**
|
|
5
|
+
* Данные о цене категории в прайс-листе клиента.
|
|
6
|
+
*/
|
|
7
|
+
export declare class ClientPriceCategory extends ClientPriceCatalogableItem implements IClientPriceCategory {
|
|
8
|
+
/**
|
|
9
|
+
* Базовые данные о категории.
|
|
10
|
+
*/
|
|
11
|
+
productCategory: IBaseCategory;
|
|
12
|
+
/**
|
|
13
|
+
* Инициализирует экземпляр класса {@link ClientPriceCategory}.
|
|
14
|
+
*
|
|
15
|
+
* @param data Данные для первоначальной инициализации.
|
|
16
|
+
*/
|
|
17
|
+
constructor(data?: IClientPriceCategory);
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=client-price-category.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client-price-category.d.ts","sourceRoot":"","sources":["../../../../src/catalog/classes/client-price-category.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,mDAAmD,CAAC;AAE/F,OAAO,EAAE,oBAAoB,EAAE,MAAM,gDAAgD,CAAC;AACtF,OAAO,EAAE,aAAa,EAAE,MAAM,sDAAsD,CAAC;AAErF;;GAEG;AACH,qBAAa,mBAAoB,SAAQ,0BAA2B,YAAW,oBAAoB;IAC/F;;OAEG;IACI,eAAe,EAAE,aAAa,CAAC;IAEtC;;;;OAIG;gBACgB,IAAI,CAAC,EAAE,oBAAoB;CAKjD"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ClientPriceCatalogableItem } from './client-price-catalogable-item';
|
|
2
|
+
import { IClientPriceProduct } from '../interfaces/i-client-price-product';
|
|
3
|
+
import { IProduct } from '../interfaces/i-product';
|
|
4
|
+
/**
|
|
5
|
+
* Данные о цене продукта в прайс-листе клиента.
|
|
6
|
+
*/
|
|
7
|
+
export declare class ClientPriceProduct extends ClientPriceCatalogableItem implements IClientPriceProduct {
|
|
8
|
+
/**
|
|
9
|
+
* Базовые данные о продукте.
|
|
10
|
+
*/
|
|
11
|
+
product: IProduct;
|
|
12
|
+
/**
|
|
13
|
+
* Инициализирует экземпляр класса {@link ClientPriceProduct}.
|
|
14
|
+
*
|
|
15
|
+
* @param data Данные для первоначальной инициализации.
|
|
16
|
+
*/
|
|
17
|
+
constructor(data?: IClientPriceProduct);
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=client-price-product.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client-price-product.d.ts","sourceRoot":"","sources":["../../../../src/catalog/classes/client-price-product.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,mDAAmD,CAAC;AAE/F,OAAO,EAAE,mBAAmB,EAAE,MAAM,+CAA+C,CAAC;AACpF,OAAO,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAE5D;;GAEG;AACH,qBAAa,kBAAmB,SAAQ,0BAA2B,YAAW,mBAAmB;IAC7F;;OAEG;IACI,OAAO,EAAE,QAAQ,CAAC;IAEzB;;;;OAIG;gBACgB,IAAI,CAAC,EAAE,mBAAmB;CAKhD"}
|
|
@@ -3,6 +3,7 @@ import { CostSourceEnum } from '../enums/cost-source-enum';
|
|
|
3
3
|
import { IClientProduct } from '../interfaces/i-client-product';
|
|
4
4
|
import { IDiscountShortInfo } from '../interfaces/i-discount-short-info';
|
|
5
5
|
import { IPriceTemplate } from '../interfaces/i-price-template';
|
|
6
|
+
import { IPriceCoefficient } from '../../references/interfaces/i-price-coefficient';
|
|
6
7
|
/**
|
|
7
8
|
* Данные о продукте для клиента.
|
|
8
9
|
*/
|
|
@@ -23,6 +24,14 @@ export declare class ClientProduct extends Product implements IClientProduct {
|
|
|
23
24
|
* Данные о шаблоне прайс-листа.
|
|
24
25
|
*/
|
|
25
26
|
priceTemplate?: IPriceTemplate;
|
|
27
|
+
/**
|
|
28
|
+
* Коэффициент цены, от значения которого рассчитана итоговая цена (для источников «клиентская цена» и «шаблон»).
|
|
29
|
+
*/
|
|
30
|
+
priceCoefficient?: IPriceCoefficient;
|
|
31
|
+
/**
|
|
32
|
+
* Процент, прибавленный к значению коэффициента цены при расчёте итоговой цены.
|
|
33
|
+
*/
|
|
34
|
+
increasePercent?: number;
|
|
26
35
|
/**
|
|
27
36
|
* Признак того, что указанный продукт входит в список ранее заказанных клиентом продуктов.
|
|
28
37
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client-product.d.ts","sourceRoot":"","sources":["../../../../src/catalog/classes/client-product.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AACtD,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AACpE,OAAO,EAAE,cAAc,EAAE,MAAM,yCAAyC,CAAC;AACzE,OAAO,EAAE,kBAAkB,EAAE,MAAM,8CAA8C,CAAC;AAClF,OAAO,EAAE,cAAc,EAAE,MAAM,yCAAyC,CAAC;AAEzE;;GAEG;AACH,qBAAa,aAAc,SAAQ,OAAQ,YAAW,cAAc;IAChE;;OAEG;IACI,eAAe,EAAE,MAAM,CAAC;IAE/B;;OAEG;IACI,UAAU,EAAE,cAAc,CAAC;IAElC;;OAEG;IACI,QAAQ,CAAC,EAAE,kBAAkB,CAAC;IAErC;;OAEG;IACI,aAAa,CAAC,EAAE,cAAc,CAAC;IAEtC;;OAEG;IACI,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAErC;;OAEG;IACI,UAAU,CAAC,EAAE,OAAO,CAAC;IAE5B;;OAEG;IACI,UAAU,CAAC,EAAE,OAAO,CAAC;IAE5B;;;;OAIG;gBACgB,IAAI,CAAC,EAAE,cAAc;
|
|
1
|
+
{"version":3,"file":"client-product.d.ts","sourceRoot":"","sources":["../../../../src/catalog/classes/client-product.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AACtD,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AACpE,OAAO,EAAE,cAAc,EAAE,MAAM,yCAAyC,CAAC;AACzE,OAAO,EAAE,kBAAkB,EAAE,MAAM,8CAA8C,CAAC;AAClF,OAAO,EAAE,cAAc,EAAE,MAAM,yCAAyC,CAAC;AAEzE,OAAO,EAAE,iBAAiB,EAAE,MAAM,+CAA+C,CAAC;AAElF;;GAEG;AACH,qBAAa,aAAc,SAAQ,OAAQ,YAAW,cAAc;IAChE;;OAEG;IACI,eAAe,EAAE,MAAM,CAAC;IAE/B;;OAEG;IACI,UAAU,EAAE,cAAc,CAAC;IAElC;;OAEG;IACI,QAAQ,CAAC,EAAE,kBAAkB,CAAC;IAErC;;OAEG;IACI,aAAa,CAAC,EAAE,cAAc,CAAC;IAEtC;;OAEG;IACI,gBAAgB,CAAC,EAAE,iBAAiB,CAAC;IAE5C;;OAEG;IACI,eAAe,CAAC,EAAE,MAAM,CAAC;IAEhC;;OAEG;IACI,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAErC;;OAEG;IACI,UAAU,CAAC,EAAE,OAAO,CAAC;IAE5B;;OAEG;IACI,UAAU,CAAC,EAAE,OAAO,CAAC;IAE5B;;;;OAIG;gBACgB,IAAI,CAAC,EAAE,cAAc;CAa3C"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { IDiscountShortInfo } from '../interfaces/i-discount-short-info';
|
|
2
|
-
import {
|
|
2
|
+
import { DeletableNamedIdentity } from '../../system/classes/deletable-named-identity';
|
|
3
3
|
import { IUserShortInfo } from '../../user/interfaces/i-user-short-info';
|
|
4
4
|
/**
|
|
5
5
|
* Краткие данные скидки.
|
|
6
6
|
*/
|
|
7
|
-
export declare class DiscountShortInfo extends
|
|
7
|
+
export declare class DiscountShortInfo extends DeletableNamedIdentity implements IDiscountShortInfo {
|
|
8
8
|
/**
|
|
9
9
|
* Коэффициент стоимости продукта от розничной цены.
|
|
10
10
|
*/
|
|
@@ -29,10 +29,6 @@ export declare class DiscountShortInfo extends NamedIdentity implements IDiscoun
|
|
|
29
29
|
* Краткие данные о пользователе.
|
|
30
30
|
*/
|
|
31
31
|
owner: IUserShortInfo;
|
|
32
|
-
/**
|
|
33
|
-
* Дата и время удаления.
|
|
34
|
-
*/
|
|
35
|
-
deletedAt?: Date;
|
|
36
32
|
/**
|
|
37
33
|
* Инициализирует экземпляр класса {@link DiscountShortInfo}.
|
|
38
34
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"discount-short-info.d.ts","sourceRoot":"","sources":["../../../../src/catalog/classes/discount-short-info.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,8CAA8C,CAAC;AAClF,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"discount-short-info.d.ts","sourceRoot":"","sources":["../../../../src/catalog/classes/discount-short-info.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,8CAA8C,CAAC;AAClF,OAAO,EAAE,sBAAsB,EAAE,MAAM,6CAA6C,CAAC;AAErF,OAAO,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAIvE;;GAEG;AACH,qBAAa,iBAAkB,SAAQ,sBAAuB,YAAW,kBAAkB;IACvF;;OAEG;IACI,eAAe,EAAE,MAAM,CAAC;IAE/B;;OAEG;IACI,iBAAiB,EAAE,OAAO,CAAC;IAElC;;OAEG;IACI,WAAW,CAAC,EAAE,IAAI,CAAC;IAE1B;;OAEG;IACI,WAAW,CAAC,EAAE,MAAM,CAAC;IAE5B;;OAEG;IACI,OAAO,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACI,KAAK,EAAE,cAAc,CAAC;IAE7B;;;;OAIG;gBACgB,IAAI,CAAC,EAAE,kBAAkB;CAU/C"}
|
|
@@ -3,6 +3,7 @@ export * from './client-category';
|
|
|
3
3
|
export * from './discount-short-info';
|
|
4
4
|
export * from './product-price-coefficient';
|
|
5
5
|
export * from './price-template';
|
|
6
|
+
export * from './price-catalogable-item';
|
|
6
7
|
export * from './price-template-catalogable-item';
|
|
7
8
|
export * from './price-template-category';
|
|
8
9
|
export * from './price-template-client';
|
|
@@ -14,6 +15,9 @@ export * from './stock-count';
|
|
|
14
15
|
export * from './templates-list-filters';
|
|
15
16
|
export * from './product';
|
|
16
17
|
export * from './client-product';
|
|
18
|
+
export * from './client-price-catalogable-item';
|
|
19
|
+
export * from './client-price-product';
|
|
20
|
+
export * from './client-price-category';
|
|
17
21
|
export * from './pricing-role';
|
|
18
22
|
export * from './category-pricing-rule';
|
|
19
23
|
export * from './filter-settings';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/catalog/classes/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,kBAAkB,CAAC;AACjC,cAAc,mCAAmC,CAAC;AAClD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,0BAA0B,CAAC;AACzC,cAAc,WAAW,CAAC;AAC1B,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/catalog/classes/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,kBAAkB,CAAC;AACjC,cAAc,0BAA0B,CAAC;AACzC,cAAc,mCAAmC,CAAC;AAClD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,0BAA0B,CAAC;AACzC,cAAc,WAAW,CAAC;AAC1B,cAAc,kBAAkB,CAAC;AACjC,cAAc,iCAAiC,CAAC;AAChD,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { IPriceCatalogableItem } from '../interfaces/i-price-catalogable-item';
|
|
2
|
+
import { IPriceCoefficient } from '../../references/interfaces/i-price-coefficient';
|
|
3
|
+
/**
|
|
4
|
+
* Данные о цене элемента каталога, заданной коэффициентом цены и процентом надбавки.
|
|
5
|
+
*/
|
|
6
|
+
export declare class PriceCatalogableItem implements IPriceCatalogableItem {
|
|
7
|
+
/**
|
|
8
|
+
* Коэффициент цены, от значения которого производится расчёт.
|
|
9
|
+
*/
|
|
10
|
+
priceCoefficient?: IPriceCoefficient;
|
|
11
|
+
/**
|
|
12
|
+
* Процент, который прибавляется к значению выбранного коэффициента.
|
|
13
|
+
*/
|
|
14
|
+
increasePercent?: number;
|
|
15
|
+
/**
|
|
16
|
+
* Инициализирует экземпляр класса {@link PriceCatalogableItem}.
|
|
17
|
+
*
|
|
18
|
+
* @param data Данные для первоначальной инициализации.
|
|
19
|
+
*/
|
|
20
|
+
protected constructor(data?: IPriceCatalogableItem);
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=price-catalogable-item.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"price-catalogable-item.d.ts","sourceRoot":"","sources":["../../../../src/catalog/classes/price-catalogable-item.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,iDAAiD,CAAC;AAExF,OAAO,EAAE,iBAAiB,EAAE,MAAM,+CAA+C,CAAC;AAElF;;GAEG;AACH,qBAAa,oBAAqB,YAAW,qBAAqB;IAC9D;;OAEG;IACI,gBAAgB,CAAC,EAAE,iBAAiB,CAAC;IAE5C;;OAEG;IACI,eAAe,CAAC,EAAE,MAAM,CAAC;IAEhC;;;;OAIG;IACH,SAAS,aAAa,IAAI,CAAC,EAAE,qBAAqB;CAIrD"}
|
|
@@ -1,17 +1,9 @@
|
|
|
1
|
+
import { PriceCatalogableItem } from './price-catalogable-item';
|
|
1
2
|
import { IPriceTemplateICatalogableItem } from '../interfaces/i-price-template-catalogable-item';
|
|
2
|
-
import { IPriceCoefficient } from '../../references/interfaces/i-price-coefficient';
|
|
3
3
|
/**
|
|
4
4
|
* Данные о цене элемента каталога в шаблоне прайс-листа.
|
|
5
5
|
*/
|
|
6
|
-
export declare class PriceTemplateICatalogableItem implements IPriceTemplateICatalogableItem {
|
|
7
|
-
/**
|
|
8
|
-
* Коэффициент цены.
|
|
9
|
-
*/
|
|
10
|
-
priceCoefficient?: IPriceCoefficient;
|
|
11
|
-
/**
|
|
12
|
-
* Процент, который прибавляется к значению выбранного коэффициента.
|
|
13
|
-
*/
|
|
14
|
-
increasePercent?: number;
|
|
6
|
+
export declare class PriceTemplateICatalogableItem extends PriceCatalogableItem implements IPriceTemplateICatalogableItem {
|
|
15
7
|
/**
|
|
16
8
|
* Инициализирует экземпляр класса {@link PriceTemplateICatalogableItem}.
|
|
17
9
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"price-template-catalogable-item.d.ts","sourceRoot":"","sources":["../../../../src/catalog/classes/price-template-catalogable-item.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"price-template-catalogable-item.d.ts","sourceRoot":"","sources":["../../../../src/catalog/classes/price-template-catalogable-item.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,4CAA4C,CAAC;AAClF,OAAO,EAAE,8BAA8B,EAAE,MAAM,0DAA0D,CAAC;AAE1G;;GAEG;AACH,qBAAa,6BAA8B,SAAQ,oBAAqB,YAAW,8BAA8B;IAC7G;;;;OAIG;IACH,SAAS,aAAa,IAAI,CAAC,EAAE,8BAA8B;CAG9D"}
|
|
@@ -1,19 +1,11 @@
|
|
|
1
1
|
import { IPriceTemplate } from '../interfaces/i-price-template';
|
|
2
2
|
import { IPriceTemplateClient } from '../interfaces/i-price-template-client';
|
|
3
3
|
import { IClientShortInfo } from '../../clients/interfaces/i-client-short-info';
|
|
4
|
-
import {
|
|
4
|
+
import { DeletableIdentity } from '../../system/classes/deletable-identity';
|
|
5
5
|
/**
|
|
6
6
|
* Данные шаблона прайс-листа клиента.
|
|
7
7
|
*/
|
|
8
|
-
export declare class PriceTemplateClient extends
|
|
9
|
-
/**
|
|
10
|
-
* Дата и время начала действия шаблона.
|
|
11
|
-
*/
|
|
12
|
-
createdAt: Date;
|
|
13
|
-
/**
|
|
14
|
-
* Дата и время окончания действия шаблона.
|
|
15
|
-
*/
|
|
16
|
-
deletedAt?: Date;
|
|
8
|
+
export declare class PriceTemplateClient extends DeletableIdentity implements IPriceTemplateClient {
|
|
17
9
|
/**
|
|
18
10
|
* Данные о клиенте.
|
|
19
11
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"price-template-client.d.ts","sourceRoot":"","sources":["../../../../src/catalog/classes/price-template-client.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,yCAAyC,CAAC;AACzE,OAAO,EAAE,oBAAoB,EAAE,MAAM,gDAAgD,CAAC;AAEtF,OAAO,EAAE,gBAAgB,EAAE,MAAM,4CAA4C,CAAC;AAC9E,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"price-template-client.d.ts","sourceRoot":"","sources":["../../../../src/catalog/classes/price-template-client.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,yCAAyC,CAAC;AACzE,OAAO,EAAE,oBAAoB,EAAE,MAAM,gDAAgD,CAAC;AAEtF,OAAO,EAAE,gBAAgB,EAAE,MAAM,4CAA4C,CAAC;AAC9E,OAAO,EAAE,iBAAiB,EAAE,MAAM,uCAAuC,CAAC;AAE1E;;GAEG;AACH,qBAAa,mBAAoB,SAAQ,iBAAkB,YAAW,oBAAoB;IACtF;;OAEG;IACI,MAAM,EAAE,gBAAgB,CAAC;IAEhC;;OAEG;IACI,aAAa,EAAE,cAAc,CAAC;IAErC;;;;OAIG;gBACgB,IAAI,CAAC,EAAE,oBAAoB;CAMjD"}
|
|
@@ -9,10 +9,6 @@ export declare class PriceTemplate extends UpdatableNamedIdentity implements IPr
|
|
|
9
9
|
* Описание шаблона прайс-листа.
|
|
10
10
|
*/
|
|
11
11
|
description?: string;
|
|
12
|
-
/**
|
|
13
|
-
* Дата и время создания шаблона.
|
|
14
|
-
*/
|
|
15
|
-
createdAt: Date;
|
|
16
12
|
/**
|
|
17
13
|
* Данные о пользователе, создавшем шаблон прайс-листа.
|
|
18
14
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"price-template.d.ts","sourceRoot":"","sources":["../../../../src/catalog/classes/price-template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,yCAAyC,CAAC;AACzE,OAAO,EAAE,sBAAsB,EAAE,MAAM,6CAA6C,CAAC;AACrF,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;
|
|
1
|
+
{"version":3,"file":"price-template.d.ts","sourceRoot":"","sources":["../../../../src/catalog/classes/price-template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,yCAAyC,CAAC;AACzE,OAAO,EAAE,sBAAsB,EAAE,MAAM,6CAA6C,CAAC;AACrF,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAEjE;;GAEG;AACH,qBAAa,aAAc,SAAQ,sBAAuB,YAAW,cAAc;IAC/E;;OAEG;IACI,WAAW,CAAC,EAAE,MAAM,CAAC;IAE5B;;OAEG;IACI,KAAK,CAAC,EAAE,aAAa,CAAC;IAE7B;;;;OAIG;gBACgB,IAAI,CAAC,EAAE,cAAc;CAM3C"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { IPriceCatalogableItem } from './i-price-catalogable-item';
|
|
2
|
+
import { ICreatedAt } from '../../system/interfaces/i-created-at';
|
|
3
|
+
import { IUserShortInfo } from '../../user/interfaces/i-user-short-info';
|
|
4
|
+
/**
|
|
5
|
+
* Данные о цене элемента каталога в прайс-листе клиента.
|
|
6
|
+
*/
|
|
7
|
+
export interface IClientPriceCatalogableItem extends IPriceCatalogableItem, ICreatedAt {
|
|
8
|
+
/**
|
|
9
|
+
* Данные о пользователе, установившем цену.
|
|
10
|
+
*/
|
|
11
|
+
executor?: IUserShortInfo;
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=i-client-price-catalogable-item.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i-client-price-catalogable-item.d.ts","sourceRoot":"","sources":["../../../../src/catalog/interfaces/i-client-price-catalogable-item.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,iDAAiD,CAAC;AACxF,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAEvE;;GAEG;AACH,MAAM,WAAW,2BAA4B,SAAQ,qBAAqB,EAAE,UAAU;IAClF;;OAEG;IACH,QAAQ,CAAC,EAAE,cAAc,CAAC;CAC7B"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IClientPriceCatalogableItem } from './i-client-price-catalogable-item';
|
|
2
|
+
import { IBaseCategory } from './internal/base/i-base-category';
|
|
3
|
+
/**
|
|
4
|
+
* Данные о цене категории в прайс-листе клиента.
|
|
5
|
+
*/
|
|
6
|
+
export interface IClientPriceCategory extends IClientPriceCatalogableItem {
|
|
7
|
+
/**
|
|
8
|
+
* Базовые данные о категории.
|
|
9
|
+
*/
|
|
10
|
+
productCategory: IBaseCategory;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=i-client-price-category.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i-client-price-category.d.ts","sourceRoot":"","sources":["../../../../src/catalog/interfaces/i-client-price-category.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,wDAAwD,CAAC;AACrG,OAAO,EAAE,aAAa,EAAE,MAAM,sDAAsD,CAAC;AAErF;;GAEG;AACH,MAAM,WAAW,oBAAqB,SAAQ,2BAA2B;IACrE;;OAEG;IACH,eAAe,EAAE,aAAa,CAAC;CAClC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IClientPriceCatalogableItem } from './i-client-price-catalogable-item';
|
|
2
|
+
import { IProduct } from './i-product';
|
|
3
|
+
/**
|
|
4
|
+
* Данные о цене продукта в прайс-листе клиента.
|
|
5
|
+
*/
|
|
6
|
+
export interface IClientPriceProduct extends IClientPriceCatalogableItem {
|
|
7
|
+
/**
|
|
8
|
+
* Базовые данные о продукте.
|
|
9
|
+
*/
|
|
10
|
+
product: IProduct;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=i-client-price-product.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i-client-price-product.d.ts","sourceRoot":"","sources":["../../../../src/catalog/interfaces/i-client-price-product.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,wDAAwD,CAAC;AACrG,OAAO,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAE5D;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,2BAA2B;IACpE;;OAEG;IACH,OAAO,EAAE,QAAQ,CAAC;CACrB"}
|
|
@@ -2,6 +2,7 @@ import { CostSourceEnum } from '../enums/cost-source-enum';
|
|
|
2
2
|
import { IDiscountShortInfo } from './i-discount-short-info';
|
|
3
3
|
import { IPriceTemplate } from './i-price-template';
|
|
4
4
|
import { IProduct } from './i-product';
|
|
5
|
+
import { IPriceCoefficient } from '../../references/interfaces/i-price-coefficient';
|
|
5
6
|
/**
|
|
6
7
|
* Данные о продукте для клиента.
|
|
7
8
|
*/
|
|
@@ -22,6 +23,14 @@ export interface IClientProduct extends IProduct {
|
|
|
22
23
|
* Данные о шаблоне прайс-листа.
|
|
23
24
|
*/
|
|
24
25
|
priceTemplate?: IPriceTemplate;
|
|
26
|
+
/**
|
|
27
|
+
* Коэффициент цены, от значения которого рассчитана итоговая цена (для источников «клиентская цена» и «шаблон»).
|
|
28
|
+
*/
|
|
29
|
+
priceCoefficient?: IPriceCoefficient;
|
|
30
|
+
/**
|
|
31
|
+
* Процент, прибавленный к значению коэффициента цены при расчёте итоговой цены.
|
|
32
|
+
*/
|
|
33
|
+
increasePercent?: number;
|
|
25
34
|
/**
|
|
26
35
|
* Признак того, что указанный продукт входит в список ранее заказанных клиентом продуктов.
|
|
27
36
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i-client-product.d.ts","sourceRoot":"","sources":["../../../../src/catalog/interfaces/i-client-product.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AACpE,OAAO,EAAE,kBAAkB,EAAE,MAAM,8CAA8C,CAAC;AAClF,OAAO,EAAE,cAAc,EAAE,MAAM,yCAAyC,CAAC;AACzE,OAAO,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;
|
|
1
|
+
{"version":3,"file":"i-client-product.d.ts","sourceRoot":"","sources":["../../../../src/catalog/interfaces/i-client-product.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AACpE,OAAO,EAAE,kBAAkB,EAAE,MAAM,8CAA8C,CAAC;AAClF,OAAO,EAAE,cAAc,EAAE,MAAM,yCAAyC,CAAC;AACzE,OAAO,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAC5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,+CAA+C,CAAC;AAElF;;GAEG;AACH,MAAM,WAAW,cAAe,SAAQ,QAAQ;IAC5C;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,UAAU,EAAE,cAAc,CAAC;IAE3B;;OAEG;IACH,QAAQ,CAAC,EAAE,kBAAkB,CAAC;IAE9B;;OAEG;IACH,aAAa,CAAC,EAAE,cAAc,CAAC;IAE/B;;OAEG;IACH,gBAAgB,CAAC,EAAE,iBAAiB,CAAC;IAErC;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAE9B;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACxB"}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { INamedIdentity } from '../../system/interfaces/i-named-identity';
|
|
1
|
+
import { IDeletableNamedIdentity } from '../../system/interfaces/i-deletable-named-identity';
|
|
3
2
|
import { IUserShortInfo } from '../../user/interfaces/i-user-short-info';
|
|
4
3
|
/**
|
|
5
4
|
* Краткие данные скидки.
|
|
6
5
|
*/
|
|
7
|
-
export interface IDiscountShortInfo extends
|
|
6
|
+
export interface IDiscountShortInfo extends IDeletableNamedIdentity {
|
|
8
7
|
/**
|
|
9
8
|
* Коэффициент стоимости продукта от розничной цены.
|
|
10
9
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i-discount-short-info.d.ts","sourceRoot":"","sources":["../../../../src/catalog/interfaces/i-discount-short-info.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"i-discount-short-info.d.ts","sourceRoot":"","sources":["../../../../src/catalog/interfaces/i-discount-short-info.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,kDAAkD,CAAC;AAC3F,OAAO,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AACvE;;GAEG;AACH,MAAM,WAAW,kBAAmB,SAAQ,uBAAuB;IAC/D;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,iBAAiB,EAAE,OAAO,CAAC;IAE3B;;OAEG;IACH,WAAW,CAAC,EAAE,IAAI,CAAC;IAEnB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,KAAK,EAAE,cAAc,CAAC;CACzB"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { IPriceCoefficient } from '../../references/interfaces/i-price-coefficient';
|
|
2
|
+
/**
|
|
3
|
+
* Данные о цене элемента каталога, заданной коэффициентом цены и процентом надбавки.
|
|
4
|
+
*
|
|
5
|
+
* Используется как в шаблонах прайс-листа, так и в прайс-листе клиента.
|
|
6
|
+
*/
|
|
7
|
+
export interface IPriceCatalogableItem {
|
|
8
|
+
/**
|
|
9
|
+
* Коэффициент цены, от значения которого производится расчёт.
|
|
10
|
+
*/
|
|
11
|
+
priceCoefficient?: IPriceCoefficient;
|
|
12
|
+
/**
|
|
13
|
+
* Процент, который прибавляется к значению выбранного коэффициента.
|
|
14
|
+
*/
|
|
15
|
+
increasePercent?: number;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=i-price-catalogable-item.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i-price-catalogable-item.d.ts","sourceRoot":"","sources":["../../../../src/catalog/interfaces/i-price-catalogable-item.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,+CAA+C,CAAC;AAElF;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAClC;;OAEG;IACH,gBAAgB,CAAC,EAAE,iBAAiB,CAAC;IAErC;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;CAC5B"}
|
|
@@ -1,15 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IPriceCatalogableItem } from './i-price-catalogable-item';
|
|
2
2
|
/**
|
|
3
|
-
* Данные о цене
|
|
3
|
+
* Данные о цене элемента каталога в шаблоне прайс-листа.
|
|
4
4
|
*/
|
|
5
|
-
export
|
|
6
|
-
/**
|
|
7
|
-
* Коэффициент цены.
|
|
8
|
-
*/
|
|
9
|
-
priceCoefficient?: IPriceCoefficient;
|
|
10
|
-
/**
|
|
11
|
-
* Процент, который прибавляется к значению выбранного коэффициента.
|
|
12
|
-
*/
|
|
13
|
-
increasePercent?: number;
|
|
14
|
-
}
|
|
5
|
+
export type IPriceTemplateICatalogableItem = IPriceCatalogableItem;
|
|
15
6
|
//# sourceMappingURL=i-price-template-catalogable-item.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i-price-template-catalogable-item.d.ts","sourceRoot":"","sources":["../../../../src/catalog/interfaces/i-price-template-catalogable-item.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"i-price-template-catalogable-item.d.ts","sourceRoot":"","sources":["../../../../src/catalog/interfaces/i-price-template-catalogable-item.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,iDAAiD,CAAC;AAExF;;GAEG;AACH,MAAM,MAAM,8BAA8B,GAAG,qBAAqB,CAAC"}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { IPriceTemplate } from './i-price-template';
|
|
2
2
|
import { IClientShortInfo } from '../../clients/interfaces/i-client-short-info';
|
|
3
|
-
import {
|
|
4
|
-
import { IIdentity } from '../../system/interfaces/i-identity';
|
|
3
|
+
import { IDeletableIdentity } from '../../system/interfaces/i-deletable-identity';
|
|
5
4
|
/**
|
|
6
5
|
* Шаблон прайс-листа клиента.
|
|
7
6
|
*/
|
|
8
|
-
export interface IPriceTemplateClient extends
|
|
7
|
+
export interface IPriceTemplateClient extends IDeletableIdentity {
|
|
9
8
|
/**
|
|
10
9
|
* Дата и время начала действия шаблона.
|
|
11
10
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i-price-template-client.d.ts","sourceRoot":"","sources":["../../../../src/catalog/interfaces/i-price-template-client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,yCAAyC,CAAC;AACzE,OAAO,EAAE,gBAAgB,EAAE,MAAM,4CAA4C,CAAC;AAC9E,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"i-price-template-client.d.ts","sourceRoot":"","sources":["../../../../src/catalog/interfaces/i-price-template-client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,yCAAyC,CAAC;AACzE,OAAO,EAAE,gBAAgB,EAAE,MAAM,4CAA4C,CAAC;AAC9E,OAAO,EAAE,kBAAkB,EAAE,MAAM,4CAA4C,CAAC;AAEhF;;GAEG;AACH,MAAM,WAAW,oBAAqB,SAAQ,kBAAkB;IAC5D;;OAEG;IACH,SAAS,EAAE,IAAI,CAAC;IAEhB;;OAEG;IACH,MAAM,EAAE,gBAAgB,CAAC;IAEzB;;OAEG;IACH,aAAa,EAAE,cAAc,CAAC;CACjC"}
|
|
@@ -8,10 +8,6 @@ export interface IPriceTemplate extends IUpdatableNamedIdentity {
|
|
|
8
8
|
* Описание шаблона прайс-листа.
|
|
9
9
|
*/
|
|
10
10
|
description?: string;
|
|
11
|
-
/**
|
|
12
|
-
* Дата и время создания шаблона.
|
|
13
|
-
*/
|
|
14
|
-
createdAt: Date;
|
|
15
11
|
/**
|
|
16
12
|
* Данные о пользователе, создавшем шаблон прайс-листа.
|
|
17
13
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i-price-template.d.ts","sourceRoot":"","sources":["../../../../src/catalog/interfaces/i-price-template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,kDAAkD,CAAC;AAC3F,OAAO,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAEvE;;GAEG;AACH,MAAM,WAAW,cAAe,SAAQ,uBAAuB;IAC3D;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,
|
|
1
|
+
{"version":3,"file":"i-price-template.d.ts","sourceRoot":"","sources":["../../../../src/catalog/interfaces/i-price-template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,kDAAkD,CAAC;AAC3F,OAAO,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAEvE;;GAEG;AACH,MAAM,WAAW,cAAe,SAAQ,uBAAuB;IAC3D;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,KAAK,CAAC,EAAE,cAAc,CAAC;CAC1B"}
|
|
@@ -6,6 +6,7 @@ export * from './i-discount-short-info';
|
|
|
6
6
|
export * from './i-product-price-coefficient';
|
|
7
7
|
export * from './i-commercial-offer';
|
|
8
8
|
export * from './i-commercial-offer-params';
|
|
9
|
+
export * from './i-price-catalogable-item';
|
|
9
10
|
export * from './i-price-template-catalogable-item';
|
|
10
11
|
export * from './i-price-template-category';
|
|
11
12
|
export * from './i-price-template-client-update-data';
|
|
@@ -21,6 +22,9 @@ export * from './i-category-pricing-rule-update-data';
|
|
|
21
22
|
export * from './i-stock-count';
|
|
22
23
|
export * from './i-product';
|
|
23
24
|
export * from './i-client-product';
|
|
25
|
+
export * from './i-client-price-catalogable-item';
|
|
26
|
+
export * from './i-client-price-product';
|
|
27
|
+
export * from './i-client-price-category';
|
|
24
28
|
export * from './i-property-create-data';
|
|
25
29
|
export * from './i-property-type';
|
|
26
30
|
export * from './i-property';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/catalog/interfaces/index.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAC;AAC/C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,cAAc,CAAC;AAC7B,cAAc,qBAAqB,CAAC;AACpC,cAAc,yBAAyB,CAAC;AACxC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,sBAAsB,CAAC;AACrC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,qCAAqC,CAAC;AACpD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,uCAAuC,CAAC;AACtD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,kBAAkB,CAAC;AACjC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uCAAuC,CAAC;AACtD,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,qBAAqB,CAAC;AACpC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,yCAAyC,CAAC;AACxD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/catalog/interfaces/index.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAC;AAC/C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,cAAc,CAAC;AAC7B,cAAc,qBAAqB,CAAC;AACpC,cAAc,yBAAyB,CAAC;AACxC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,sBAAsB,CAAC;AACrC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,qCAAqC,CAAC;AACpD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,uCAAuC,CAAC;AACtD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,kBAAkB,CAAC;AACjC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uCAAuC,CAAC;AACtD,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,oBAAoB,CAAC;AACnC,cAAc,mCAAmC,CAAC;AAClD,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,qBAAqB,CAAC;AACpC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,yCAAyC,CAAC;AACxD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC"}
|