@itcase/types-am 1.1.31 → 1.1.32
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/index.d.ts +1 -1
- package/dist/types/Additional/AdditionalProduct.d.ts +0 -2
- package/dist/types/Creator/{Creator.d.ts → _Creator.d.ts} +1 -1
- package/dist/types/Creator/index.d.ts +1 -1
- package/dist/types/Current/{CurrentUserWinner.d.ts → _CurrentUserWinner.d.ts} +1 -1
- package/dist/types/Current/index.d.ts +1 -1
- package/dist/types/Document/{DocumentField.d.ts → _DocumentField.d.ts} +1 -1
- package/dist/types/Document/index.d.ts +1 -1
- package/dist/types/External/External1CPrice.d.ts +1 -2
- package/dist/types/External/External1CPriceRequest.d.ts +1 -2
- package/dist/types/External/External1CShipment.d.ts +1 -2
- package/dist/types/External/External1CShipmentRequest.d.ts +1 -2
- package/dist/types/External/External1CTrade.d.ts +1 -2
- package/dist/types/External/ExternalBiTrade.d.ts +1 -2
- package/dist/types/External/{External1CPriceLot.d.ts → _External1cPriceLot.d.ts} +1 -1
- package/dist/types/External/{External1CPriceLotRequest.d.ts → _External1cPriceLotRequest.d.ts} +1 -1
- package/dist/types/External/{External1CShipmentLot.d.ts → _External1cShipmentLot.d.ts} +1 -1
- package/dist/types/External/{External1CShipmentLotRequest.d.ts → _External1cShipmentLotRequest.d.ts} +1 -1
- package/dist/types/External/{External1CTradeLot.d.ts → _External1cTradeLot.d.ts} +1 -1
- package/dist/types/External/index.d.ts +5 -5
- package/dist/types/Filters/{FiltersObj.d.ts → _FiltersObj.d.ts} +1 -1
- package/dist/types/Filters/{FiltersStatus.d.ts → _FiltersStatus.d.ts} +1 -1
- package/dist/types/Filters/index.d.ts +2 -2
- package/dist/types/News/NewsDetail.d.ts +0 -1
- package/dist/types/Paginated/PaginatedProductImageList.d.ts +0 -1
- package/dist/types/Paginated/PaginatedProductList.d.ts +0 -1
- package/dist/types/Paginated/PaginatedProductTypeList.d.ts +0 -1
- package/dist/types/Paginated/PaginatedProductUnitList.d.ts +0 -1
- package/dist/types/Paginated/PaginatedProfileCompanyList.d.ts +0 -1
- package/dist/types/Paginated/PaginatedProfileNotificationsList.d.ts +0 -1
- package/dist/types/Paginated/PaginatedProfileNotificationsSettingsList.d.ts +0 -1
- package/dist/types/Paginated/PaginatedSettingsNotificationsList.d.ts +0 -1
- package/dist/types/Paginated/PaginatedSettingsNotificationsUserTypeList.d.ts +0 -1
- package/dist/types/Paginated/PaginatedStatisticDeviceList.d.ts +0 -1
- package/dist/types/Paginated/PaginatedTradeLotBidList.d.ts +0 -1
- package/dist/types/Paginated/PaginatedTradeLotCategoryList.d.ts +0 -1
- package/dist/types/Paginated/PaginatedTradeLotImageList.d.ts +0 -1
- package/dist/types/Paginated/PaginatedTradeLotList.d.ts +0 -1
- package/dist/types/Paginated/PaginatedTradeLotParticipantList.d.ts +0 -1
- package/dist/types/Paginated/PaginatedTradeLotRipeLevelList.d.ts +0 -1
- package/dist/types/Paginated/PaginatedTradeLotSizeList.d.ts +0 -1
- package/dist/types/Paginated/PaginatedTradeLotWinnerList.d.ts +0 -1
- package/dist/types/Paginated/PaginatedUserCompanyList.d.ts +0 -1
- package/dist/types/Paginated/PaginatedUserDocumentAcceptList.d.ts +0 -1
- package/dist/types/Paginated/PaginatedUserFCMTokensList.d.ts +0 -1
- package/dist/types/Paginated/PaginatedUserList.d.ts +0 -1
- package/dist/types/Paginated/PaginatedUserStatusList.d.ts +0 -1
- package/dist/types/Participants/_ParticipantsBids.d.ts +12 -0
- package/dist/types/Participants/{ParticipantsBidsParticipant.d.ts → _ParticipantsBidsParticipant.d.ts} +1 -1
- package/dist/types/Participants/index.d.ts +2 -2
- package/dist/types/Patched/PatchedSettingsNotificationsChangeRequest.d.ts +0 -1
- package/dist/types/Product/Product.d.ts +2 -4
- package/dist/types/Product/ProductDetail.d.ts +2 -5
- package/dist/types/Profile/ProfileNotificationsSettings.d.ts +2 -4
- package/dist/types/Profile/{ProfileNotificationsSettingsDefaults.d.ts → _ProfileNotificationsSettingsDefaults.d.ts} +1 -1
- package/dist/types/Profile/{ProfileNotificationsSettingsType.d.ts → _ProfileNotificationsSettingsType.d.ts} +1 -1
- package/dist/types/Profile/index.d.ts +2 -2
- package/dist/types/Report/ReportFilters.d.ts +7 -9
- package/dist/types/Report/ReportParticipantFilters.d.ts +8 -11
- package/dist/types/Report/ReportParticipantPagination.d.ts +0 -1
- package/dist/types/Report/ReportSale.d.ts +1 -2
- package/dist/types/Report/ReportSaleFilters.d.ts +1 -2
- package/dist/types/Report/ReportSalePagination.d.ts +0 -1
- package/dist/types/Report/ReportStatParticipantFilters.d.ts +2 -3
- package/dist/types/Report/ReportStatParticipantPagination.d.ts +0 -1
- package/dist/types/Report/ReportSummaries.d.ts +3 -6
- package/dist/types/Report/ReportSummary.d.ts +1 -2
- package/dist/types/Report/{ReportFiltersCreator.d.ts → _ReportFiltersCreator.d.ts} +1 -1
- package/dist/types/Report/index.d.ts +1 -1
- package/dist/types/Ripe/{RipeLevel.d.ts → _RipeLevel.d.ts} +1 -1
- package/dist/types/Ripe/index.d.ts +1 -1
- package/dist/types/Settings/SettingsNotifications.d.ts +0 -1
- package/dist/types/Settings/SettingsNotificationsChange.d.ts +0 -1
- package/dist/types/Settings/SettingsNotificationsChangeRequest.d.ts +0 -1
- package/dist/types/Sign/SignUp.d.ts +3 -7
- package/dist/types/Size/{Size.d.ts → _Size.d.ts} +1 -1
- package/dist/types/Size/index.d.ts +1 -1
- package/dist/types/Status/{StatusCreator.d.ts → _StatusCreator.d.ts} +1 -1
- package/dist/types/Status/index.d.ts +1 -1
- package/dist/types/Summaries/{SummariesCost.d.ts → _SummariesCost.d.ts} +1 -1
- package/dist/types/Summaries/{SummariesTrades.d.ts → _SummariesTrades.d.ts} +1 -1
- package/dist/types/Summaries/{SummariesVolume.d.ts → _SummariesVolume.d.ts} +1 -1
- package/dist/types/Summaries/index.d.ts +3 -3
- package/dist/types/Trade/Trade.d.ts +4 -7
- package/dist/types/Trade/TradeCreateRequest.d.ts +0 -1
- package/dist/types/Trade/TradeDetail.d.ts +5 -10
- package/dist/types/Trade/TradeFilters.d.ts +3 -6
- package/dist/types/Trade/TradeLot.d.ts +6 -13
- package/dist/types/Trade/TradeLotActionBidResponse.d.ts +1 -2
- package/dist/types/Trade/TradeLotBid.d.ts +1 -2
- package/dist/types/Trade/TradeLotCategory.d.ts +13 -1
- package/dist/types/Trade/TradeLotDetail.d.ts +5 -12
- package/dist/types/Trade/TradeLotParticipant.d.ts +1 -2
- package/dist/types/Trade/TradeLotSize.d.ts +1 -2
- package/dist/types/Trade/TradeLotWinner.d.ts +3 -5
- package/dist/types/Trade/{TradeAdditionalProduct.d.ts → _TradeAdditionalProduct.d.ts} +1 -1
- package/dist/types/Trade/{TradeCreator.d.ts → _TradeCreator.d.ts} +2 -3
- package/dist/types/Trade/{TradeCreatorRequest.d.ts → _TradeCreatorRequest.d.ts} +1 -1
- package/dist/types/Trade/{TradeFacility.d.ts → _TradeFacility.d.ts} +1 -1
- package/dist/types/Trade/{TradeFiltersFacilities.d.ts → _TradeFiltersFacilities.d.ts} +1 -1
- package/dist/types/Trade/{TradeFiltersProductTypes.d.ts → _TradeFiltersProductTypes.d.ts} +1 -1
- package/dist/types/Trade/{TradeFiltersProducts.d.ts → _TradeFiltersProducts.d.ts} +1 -1
- package/dist/types/Trade/{TradeProduct.d.ts → _TradeLotCategory.d.ts} +1 -3
- package/dist/types/Trade/_TradeProduct.d.ts +22 -0
- package/dist/types/Trade/{TradeStatus.d.ts → _TradeStatus.d.ts} +2 -3
- package/dist/types/Trade/{TradeUser.d.ts → _TradeUser.d.ts} +1 -1
- package/dist/types/Trade/{TradeUserRequest.d.ts → _TradeUserRequest.d.ts} +1 -1
- package/dist/types/Trade/index.d.ts +12 -11
- package/dist/types/Type/{Type.d.ts → _Type.d.ts} +1 -1
- package/dist/types/Type/index.d.ts +1 -1
- package/dist/types/Unit/{Unit.d.ts → _Unit.d.ts} +1 -1
- package/dist/types/Unit/index.d.ts +1 -1
- package/dist/types/User/User.d.ts +5 -11
- package/dist/types/User/UserCreate.d.ts +3 -7
- package/dist/types/User/UserDocumentAccept.d.ts +1 -2
- package/dist/types/User/UserStatus.d.ts +1 -2
- package/dist/types/User/UserUpdate.d.ts +3 -5
- package/dist/types/User/{UserChanges.d.ts → _UserChanges.d.ts} +2 -3
- package/dist/types/User/{UserCompanyChanges.d.ts → _UserCompanyChanges.d.ts} +1 -1
- package/dist/types/User/{UserFacility.d.ts → _UserFacility.d.ts} +1 -1
- package/dist/types/User/{UserManager.d.ts → _UserManager.d.ts} +3 -3
- package/dist/types/User/index.d.ts +4 -4
- package/dist/types/index.d.ts +16 -16
- package/package.json +3 -3
- package/dist/types/Participants/ParticipantsBids.d.ts +0 -13
|
@@ -6,14 +6,12 @@
|
|
|
6
6
|
* * `security` - Служба безопасности
|
|
7
7
|
* * `director` - Руководитель
|
|
8
8
|
*/
|
|
9
|
-
import type { FiltersObj } from '../Filters/FiltersObj';
|
|
10
|
-
import type { FiltersStatus } from '../Filters/FiltersStatus';
|
|
11
9
|
export interface ReportFilters {
|
|
12
|
-
categories:
|
|
13
|
-
facilities:
|
|
14
|
-
products:
|
|
15
|
-
producttypes:
|
|
16
|
-
sizes:
|
|
17
|
-
ripe_levels:
|
|
18
|
-
trade_statuses:
|
|
10
|
+
categories: _FiltersObj[];
|
|
11
|
+
facilities: _FiltersObj[];
|
|
12
|
+
products: _FiltersObj[];
|
|
13
|
+
producttypes: _FiltersObj[];
|
|
14
|
+
sizes: _FiltersObj[];
|
|
15
|
+
ripe_levels: _FiltersObj[];
|
|
16
|
+
trade_statuses: _FiltersStatus[];
|
|
19
17
|
}
|
|
@@ -6,16 +6,13 @@
|
|
|
6
6
|
* * `security` - Служба безопасности
|
|
7
7
|
* * `director` - Руководитель
|
|
8
8
|
*/
|
|
9
|
-
import type { FiltersObj } from '../Filters/FiltersObj';
|
|
10
|
-
import type { FiltersStatus } from '../Filters/FiltersStatus';
|
|
11
|
-
import type { ReportFiltersCreator } from './ReportFiltersCreator';
|
|
12
9
|
export interface ReportParticipantFilters {
|
|
13
|
-
categories:
|
|
14
|
-
facilities:
|
|
15
|
-
products:
|
|
16
|
-
producttypes:
|
|
17
|
-
sizes:
|
|
18
|
-
ripe_levels:
|
|
19
|
-
trade_statuses:
|
|
20
|
-
creators:
|
|
10
|
+
categories: _FiltersObj[];
|
|
11
|
+
facilities: _FiltersObj[];
|
|
12
|
+
products: _FiltersObj[];
|
|
13
|
+
producttypes: _FiltersObj[];
|
|
14
|
+
sizes: _FiltersObj[];
|
|
15
|
+
ripe_levels: _FiltersObj[];
|
|
16
|
+
trade_statuses: _FiltersStatus[];
|
|
17
|
+
creators: _ReportFiltersCreator[];
|
|
21
18
|
}
|
|
@@ -8,7 +8,6 @@
|
|
|
8
8
|
*/
|
|
9
9
|
import type { ReportParticipant } from './ReportParticipant';
|
|
10
10
|
import type { ReportParticipantFilters } from './ReportParticipantFilters';
|
|
11
|
-
import type { ReportSummaries } from './ReportSummaries';
|
|
12
11
|
export interface ReportParticipantPagination {
|
|
13
12
|
count: number;
|
|
14
13
|
/**
|
|
@@ -6,12 +6,11 @@
|
|
|
6
6
|
* * `security` - Служба безопасности
|
|
7
7
|
* * `director` - Руководитель
|
|
8
8
|
*/
|
|
9
|
-
import type { ParticipantsBids } from '../Participants/ParticipantsBids';
|
|
10
9
|
export interface ReportSale {
|
|
11
10
|
id: number;
|
|
12
11
|
bids_count: number;
|
|
13
12
|
participants_count: number;
|
|
14
|
-
participants_bids:
|
|
13
|
+
participants_bids: _ParticipantsBids[];
|
|
15
14
|
sales_price: string;
|
|
16
15
|
sales_price_sold: string;
|
|
17
16
|
sales_total: string;
|
|
@@ -6,8 +6,7 @@
|
|
|
6
6
|
* * `security` - Служба безопасности
|
|
7
7
|
* * `director` - Руководитель
|
|
8
8
|
*/
|
|
9
|
-
import type { FiltersObj } from '../Filters/FiltersObj';
|
|
10
9
|
export interface ReportStatParticipantFilters {
|
|
11
|
-
companies:
|
|
12
|
-
inns:
|
|
10
|
+
companies: _FiltersObj[];
|
|
11
|
+
inns: _FiltersObj[];
|
|
13
12
|
}
|
|
@@ -8,7 +8,6 @@
|
|
|
8
8
|
*/
|
|
9
9
|
import type { ReportSale } from './ReportSale';
|
|
10
10
|
import type { ReportStatParticipantFilters } from './ReportStatParticipantFilters';
|
|
11
|
-
import type { ReportSummaries } from './ReportSummaries';
|
|
12
11
|
export interface ReportStatParticipantPagination {
|
|
13
12
|
count: number;
|
|
14
13
|
/**
|
|
@@ -6,11 +6,8 @@
|
|
|
6
6
|
* * `security` - Служба безопасности
|
|
7
7
|
* * `director` - Руководитель
|
|
8
8
|
*/
|
|
9
|
-
import type { SummariesCost } from '../Summaries/SummariesCost';
|
|
10
|
-
import type { SummariesTrades } from '../Summaries/SummariesTrades';
|
|
11
|
-
import type { SummariesVolume } from '../Summaries/SummariesVolume';
|
|
12
9
|
export interface ReportSummaries {
|
|
13
|
-
cost:
|
|
14
|
-
trades:
|
|
15
|
-
volume:
|
|
10
|
+
cost: _SummariesCost;
|
|
11
|
+
trades: _SummariesTrades;
|
|
12
|
+
volume: _SummariesVolume;
|
|
16
13
|
}
|
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
* * `security` - Служба безопасности
|
|
7
7
|
* * `director` - Руководитель
|
|
8
8
|
*/
|
|
9
|
-
import type { ParticipantsBids } from '../Participants/ParticipantsBids';
|
|
10
9
|
export interface ReportSummary {
|
|
11
10
|
/**
|
|
12
11
|
* @format int64
|
|
@@ -15,7 +14,7 @@ export interface ReportSummary {
|
|
|
15
14
|
*/
|
|
16
15
|
id: number;
|
|
17
16
|
participants_count: number;
|
|
18
|
-
participants_bids:
|
|
17
|
+
participants_bids: _ParticipantsBids[];
|
|
19
18
|
trade_creator_name: string;
|
|
20
19
|
trade_id: string;
|
|
21
20
|
trade_name: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
export type { _ReportFiltersCreator } from './_ReportFiltersCreator';
|
|
1
2
|
export type { ReportFilters } from './ReportFilters';
|
|
2
|
-
export type { ReportFiltersCreator } from './ReportFiltersCreator';
|
|
3
3
|
export type { ReportParticipant } from './ReportParticipant';
|
|
4
4
|
export type { ReportParticipantFilters } from './ReportParticipantFilters';
|
|
5
5
|
export type { ReportParticipantPagination } from './ReportParticipantPagination';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type {
|
|
1
|
+
export type { _RipeLevel } from './_RipeLevel';
|
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
* * `director` - Руководитель
|
|
8
8
|
*/
|
|
9
9
|
import type { SettingsNotificationsChangeTypeEnum } from '../../enums';
|
|
10
|
-
import type { SettingsNotificationsUserType } from './SettingsNotificationsUserType';
|
|
11
10
|
export interface SettingsNotificationsChange {
|
|
12
11
|
id: number;
|
|
13
12
|
/**
|
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
* * `director` - Руководитель
|
|
8
8
|
*/
|
|
9
9
|
import type { SettingsNotificationsChangeTypeEnum } from '../../enums';
|
|
10
|
-
import type { SettingsNotificationsUserTypeRequest } from './SettingsNotificationsUserTypeRequest';
|
|
11
10
|
export interface SettingsNotificationsChangeRequest {
|
|
12
11
|
/**
|
|
13
12
|
* * `trade_bid` - Торги: Актуализируйте ставку
|
|
@@ -7,10 +7,6 @@
|
|
|
7
7
|
* * `director` - Руководитель
|
|
8
8
|
*/
|
|
9
9
|
import type { BlankEnum, Status8F7Enum } from '../../enums';
|
|
10
|
-
import type { UserChanges } from '../User/UserChanges';
|
|
11
|
-
import type { UserCompanyChanges } from '../User/UserCompanyChanges';
|
|
12
|
-
import type { UserDocumentAccept } from '../User/UserDocumentAccept';
|
|
13
|
-
import type { UserFCMTokens } from '../User/UserFCMTokens';
|
|
14
10
|
export interface SignUp {
|
|
15
11
|
/** Можно делать скриншоты */
|
|
16
12
|
app_screenshots_enabled?: boolean;
|
|
@@ -49,7 +45,7 @@ export interface SignUp {
|
|
|
49
45
|
* @maxLength 255
|
|
50
46
|
*/
|
|
51
47
|
contact_person: string;
|
|
52
|
-
default_company:
|
|
48
|
+
default_company: _UserCompanyChanges;
|
|
53
49
|
/**
|
|
54
50
|
* ИНН
|
|
55
51
|
* @maxLength 255
|
|
@@ -67,8 +63,8 @@ export interface SignUp {
|
|
|
67
63
|
is_type_security: boolean;
|
|
68
64
|
/** @format uri */
|
|
69
65
|
avatar?: string | null;
|
|
70
|
-
changes:
|
|
71
|
-
changes_company:
|
|
66
|
+
changes: _UserChanges;
|
|
67
|
+
changes_company: _UserCompanyChanges;
|
|
72
68
|
document_accepts: UserDocumentAccept[];
|
|
73
69
|
facilities?: (number | null)[];
|
|
74
70
|
fcm_tokens: UserFCMTokens[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type {
|
|
1
|
+
export type { _Size } from './_Size';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type {
|
|
1
|
+
export type { _StatusCreator } from './_StatusCreator';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export type {
|
|
2
|
-
export type {
|
|
3
|
-
export type {
|
|
1
|
+
export type { _SummariesCost } from './_SummariesCost';
|
|
2
|
+
export type { _SummariesTrades } from './_SummariesTrades';
|
|
3
|
+
export type { _SummariesVolume } from './_SummariesVolume';
|
|
@@ -7,9 +7,6 @@
|
|
|
7
7
|
* * `director` - Руководитель
|
|
8
8
|
*/
|
|
9
9
|
import type { BidTypeEnum, ProcessTypeEnum, Type744Enum } from '../../enums';
|
|
10
|
-
import type { TradeCreator } from './TradeCreator';
|
|
11
|
-
import type { TradeFacility } from './TradeFacility';
|
|
12
|
-
import type { TradeUser } from './TradeUser';
|
|
13
10
|
export interface Trade {
|
|
14
11
|
id: number;
|
|
15
12
|
/** @format date-time */
|
|
@@ -20,10 +17,10 @@ export interface Trade {
|
|
|
20
17
|
dt_end_actual: string;
|
|
21
18
|
stat: number;
|
|
22
19
|
status: string;
|
|
23
|
-
creator:
|
|
24
|
-
facility:
|
|
25
|
-
participants_allowed:
|
|
26
|
-
participants_denied:
|
|
20
|
+
creator: _TradeCreator;
|
|
21
|
+
facility: _TradeFacility;
|
|
22
|
+
participants_allowed: _TradeUser[];
|
|
23
|
+
participants_denied: _TradeUser[];
|
|
27
24
|
winner_status_waiting_time?: number;
|
|
28
25
|
/**
|
|
29
26
|
* Дата/время создания
|
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
* * `director` - Руководитель
|
|
8
8
|
*/
|
|
9
9
|
import type { BidTypeEnum, BlankEnum, ProcessTypeEnum, Status0CcEnum, Type744Enum } from '../../enums';
|
|
10
|
-
import type { TradeLotChangeRequest } from './TradeLotChangeRequest';
|
|
11
10
|
export interface TradeCreateRequest {
|
|
12
11
|
/** @format date-time */
|
|
13
12
|
dt_begin: string;
|
|
@@ -7,11 +7,6 @@
|
|
|
7
7
|
* * `director` - Руководитель
|
|
8
8
|
*/
|
|
9
9
|
import type { BidTypeEnum, ProcessTypeEnum, Type744Enum } from '../../enums';
|
|
10
|
-
import type { TradeCreator } from './TradeCreator';
|
|
11
|
-
import type { TradeFacility } from './TradeFacility';
|
|
12
|
-
import type { TradeLotDetail } from './TradeLotDetail';
|
|
13
|
-
import type { TradeStatus } from './TradeStatus';
|
|
14
|
-
import type { TradeUser } from './TradeUser';
|
|
15
10
|
export interface TradeDetail {
|
|
16
11
|
id: number;
|
|
17
12
|
/** @format date-time */
|
|
@@ -22,13 +17,13 @@ export interface TradeDetail {
|
|
|
22
17
|
dt_end_actual: string;
|
|
23
18
|
stat: number;
|
|
24
19
|
status: string;
|
|
25
|
-
creator:
|
|
26
|
-
facility:
|
|
27
|
-
participants_allowed:
|
|
28
|
-
participants_denied:
|
|
20
|
+
creator: _TradeCreator;
|
|
21
|
+
facility: _TradeFacility;
|
|
22
|
+
participants_allowed: _TradeUser[];
|
|
23
|
+
participants_denied: _TradeUser[];
|
|
29
24
|
winner_status_waiting_time?: number;
|
|
30
25
|
lots: TradeLotDetail[];
|
|
31
|
-
statuses:
|
|
26
|
+
statuses: _TradeStatus[];
|
|
32
27
|
/**
|
|
33
28
|
* Дата/время создания
|
|
34
29
|
* @format date-time
|
|
@@ -6,9 +6,6 @@
|
|
|
6
6
|
* * `security` - Служба безопасности
|
|
7
7
|
* * `director` - Руководитель
|
|
8
8
|
*/
|
|
9
|
-
import type { TradeFiltersFacilities } from './TradeFiltersFacilities';
|
|
10
|
-
import type { TradeFiltersProducts } from './TradeFiltersProducts';
|
|
11
|
-
import type { TradeFiltersProductTypes } from './TradeFiltersProductTypes';
|
|
12
9
|
export interface TradeFilters {
|
|
13
10
|
/**
|
|
14
11
|
* Дата/время начала торгов до
|
|
@@ -30,11 +27,11 @@ export interface TradeFilters {
|
|
|
30
27
|
* @format date-time
|
|
31
28
|
*/
|
|
32
29
|
dt_end_min: string;
|
|
33
|
-
facilities:
|
|
30
|
+
facilities: _TradeFiltersFacilities[];
|
|
34
31
|
/** список значений поля */
|
|
35
32
|
process_types: string[];
|
|
36
|
-
products:
|
|
37
|
-
producttypes:
|
|
33
|
+
products: _TradeFiltersProducts[];
|
|
34
|
+
producttypes: _TradeFiltersProductTypes[];
|
|
38
35
|
/** список значений поля */
|
|
39
36
|
statuses: string[];
|
|
40
37
|
/** список значений поля */
|
|
@@ -7,23 +7,16 @@
|
|
|
7
7
|
* * `director` - Руководитель
|
|
8
8
|
*/
|
|
9
9
|
import type { BlankEnum, StepTypeEnum } from '../../enums';
|
|
10
|
-
import type { CurrentUserWinner } from '../Current/CurrentUserWinner';
|
|
11
|
-
import type { RipeLevel } from '../Ripe/RipeLevel';
|
|
12
|
-
import type { Size } from '../Size/Size';
|
|
13
|
-
import type { TradeAdditionalProduct } from './TradeAdditionalProduct';
|
|
14
|
-
import type { TradeLotCategory } from './TradeLotCategory';
|
|
15
|
-
import type { TradeLotWinner } from './TradeLotWinner';
|
|
16
|
-
import type { TradeProduct } from './TradeProduct';
|
|
17
10
|
export interface TradeLot {
|
|
18
11
|
id: number;
|
|
19
|
-
additional_products:
|
|
20
|
-
category:
|
|
21
|
-
product:
|
|
22
|
-
ripe_level:
|
|
23
|
-
size:
|
|
12
|
+
additional_products: _TradeAdditionalProduct[];
|
|
13
|
+
category: _TradeLotCategory;
|
|
14
|
+
product: _TradeProduct;
|
|
15
|
+
ripe_level: _RipeLevel;
|
|
16
|
+
size: _Size;
|
|
24
17
|
/** Лимит следующей ставки */
|
|
25
18
|
bid_limit: string;
|
|
26
|
-
current_user_as_winner:
|
|
19
|
+
current_user_as_winner: _CurrentUserWinner;
|
|
27
20
|
/** @format date-time */
|
|
28
21
|
dt_shipment: string;
|
|
29
22
|
winner: TradeLotWinner;
|
|
@@ -6,10 +6,9 @@
|
|
|
6
6
|
* * `security` - Служба безопасности
|
|
7
7
|
* * `director` - Руководитель
|
|
8
8
|
*/
|
|
9
|
-
import type { TradeUser } from './TradeUser';
|
|
10
9
|
export interface TradeLotActionBidResponse {
|
|
11
10
|
id: number;
|
|
12
|
-
creator:
|
|
11
|
+
creator: _TradeUser;
|
|
13
12
|
/** Лимит следующей ставки */
|
|
14
13
|
bid_limit: string;
|
|
15
14
|
/**
|
|
@@ -6,10 +6,9 @@
|
|
|
6
6
|
* * `security` - Служба безопасности
|
|
7
7
|
* * `director` - Руководитель
|
|
8
8
|
*/
|
|
9
|
-
import type { TradeUser } from './TradeUser';
|
|
10
9
|
export interface TradeLotBid {
|
|
11
10
|
id: number;
|
|
12
|
-
creator:
|
|
11
|
+
creator: _TradeUser;
|
|
13
12
|
/**
|
|
14
13
|
* Дата/время создания
|
|
15
14
|
* @format date-time
|
|
@@ -7,15 +7,27 @@
|
|
|
7
7
|
* * `director` - Руководитель
|
|
8
8
|
*/
|
|
9
9
|
export interface TradeLotCategory {
|
|
10
|
+
id: number;
|
|
10
11
|
/**
|
|
11
12
|
* Показывать
|
|
12
13
|
* Если отключёно, элемент не будет отображаться на сайте
|
|
13
14
|
*/
|
|
14
15
|
active?: boolean;
|
|
15
|
-
|
|
16
|
+
/**
|
|
17
|
+
* GUID из 1С
|
|
18
|
+
* @maxLength 40
|
|
19
|
+
*/
|
|
20
|
+
guid_1c?: string | null;
|
|
16
21
|
/**
|
|
17
22
|
* Название
|
|
18
23
|
* @maxLength 255
|
|
19
24
|
*/
|
|
20
25
|
name: string;
|
|
26
|
+
/**
|
|
27
|
+
* Сортировка
|
|
28
|
+
* Чем меньше значение, тем выше отображается в списке
|
|
29
|
+
* @min -32768
|
|
30
|
+
* @max 32767
|
|
31
|
+
*/
|
|
32
|
+
sort?: number;
|
|
21
33
|
}
|
|
@@ -7,25 +7,18 @@
|
|
|
7
7
|
* * `director` - Руководитель
|
|
8
8
|
*/
|
|
9
9
|
import type { BlankEnum, StepTypeEnum } from '../../enums';
|
|
10
|
-
import type { CurrentUserWinner } from '../Current/CurrentUserWinner';
|
|
11
10
|
import type { ProductDetail } from '../Product/ProductDetail';
|
|
12
|
-
import type { RipeLevel } from '../Ripe/RipeLevel';
|
|
13
|
-
import type { Size } from '../Size/Size';
|
|
14
|
-
import type { TradeAdditionalProduct } from './TradeAdditionalProduct';
|
|
15
11
|
import type { TradeLotBid } from './TradeLotBid';
|
|
16
|
-
import type { TradeLotCategory } from './TradeLotCategory';
|
|
17
|
-
import type { TradeLotImage } from './TradeLotImage';
|
|
18
|
-
import type { TradeLotWinner } from './TradeLotWinner';
|
|
19
12
|
export interface TradeLotDetail {
|
|
20
13
|
id: number;
|
|
21
|
-
additional_products:
|
|
22
|
-
category:
|
|
14
|
+
additional_products: _TradeAdditionalProduct[];
|
|
15
|
+
category: _TradeLotCategory;
|
|
23
16
|
product: ProductDetail;
|
|
24
|
-
ripe_level:
|
|
25
|
-
size:
|
|
17
|
+
ripe_level: _RipeLevel;
|
|
18
|
+
size: _Size;
|
|
26
19
|
/** Лимит следующей ставки */
|
|
27
20
|
bid_limit: string;
|
|
28
|
-
current_user_as_winner:
|
|
21
|
+
current_user_as_winner: _CurrentUserWinner;
|
|
29
22
|
/** @format date-time */
|
|
30
23
|
dt_shipment: string;
|
|
31
24
|
winner: TradeLotWinner;
|
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
* * `security` - Служба безопасности
|
|
7
7
|
* * `director` - Руководитель
|
|
8
8
|
*/
|
|
9
|
-
import type { TradeUser } from './TradeUser';
|
|
10
9
|
export interface TradeLotParticipant {
|
|
11
10
|
/**
|
|
12
11
|
* Ставка
|
|
@@ -14,6 +13,6 @@ export interface TradeLotParticipant {
|
|
|
14
13
|
* @pattern ^-?\d{0,8}(?:\.\d{0,2})?$
|
|
15
14
|
*/
|
|
16
15
|
bid: string;
|
|
17
|
-
creator:
|
|
16
|
+
creator: _TradeUser;
|
|
18
17
|
winner_status: string;
|
|
19
18
|
}
|
|
@@ -6,10 +6,9 @@
|
|
|
6
6
|
* * `security` - Служба безопасности
|
|
7
7
|
* * `director` - Руководитель
|
|
8
8
|
*/
|
|
9
|
-
import type { TradeProduct } from './TradeProduct';
|
|
10
9
|
export interface TradeLotSize {
|
|
11
10
|
id: number;
|
|
12
|
-
products:
|
|
11
|
+
products: _TradeProduct[];
|
|
13
12
|
/**
|
|
14
13
|
* Показывать
|
|
15
14
|
* Если отключёно, элемент не будет отображаться на сайте
|
|
@@ -7,14 +7,12 @@
|
|
|
7
7
|
* * `director` - Руководитель
|
|
8
8
|
*/
|
|
9
9
|
import type { StatusAeeEnum } from '../../enums';
|
|
10
|
-
import type { TradeCreator } from './TradeCreator';
|
|
11
|
-
import type { TradeUser } from './TradeUser';
|
|
12
10
|
export interface TradeLotWinner {
|
|
13
11
|
id: number;
|
|
14
12
|
status_waiting_time?: number;
|
|
15
|
-
creator:
|
|
16
|
-
winner:
|
|
17
|
-
additional_products:
|
|
13
|
+
creator: _TradeCreator;
|
|
14
|
+
winner: _TradeUser;
|
|
15
|
+
additional_products: _WinnerAdditionalProduct[];
|
|
18
16
|
/**
|
|
19
17
|
* Дата/время создания
|
|
20
18
|
* @format date-time
|
|
@@ -6,8 +6,7 @@
|
|
|
6
6
|
* * `security` - Служба безопасности
|
|
7
7
|
* * `director` - Руководитель
|
|
8
8
|
*/
|
|
9
|
-
|
|
10
|
-
export interface TradeCreator {
|
|
9
|
+
export interface _TradeCreator {
|
|
11
10
|
/**
|
|
12
11
|
* Почта
|
|
13
12
|
* @format email
|
|
@@ -45,5 +44,5 @@ export interface TradeCreator {
|
|
|
45
44
|
is_type_moderator: boolean;
|
|
46
45
|
is_type_participant: boolean;
|
|
47
46
|
is_type_security: boolean;
|
|
48
|
-
facilities:
|
|
47
|
+
facilities: _UserFacility[];
|
|
49
48
|
}
|