@itcase/types-am 1.1.30 → 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/enums/Bid/BidTypeEnum.d.ts +3 -6
- package/dist/enums/Blank/BlankEnum.d.ts +1 -6
- package/dist/enums/Channel/ChannelEnum.d.ts +3 -6
- package/dist/enums/Email/EmailEnum.d.ts +2 -6
- package/dist/enums/Price/PriceTypeEnum.d.ts +2 -6
- package/dist/enums/Process/ProcessTypeEnum.d.ts +3 -6
- package/dist/enums/Push/PushEnum.d.ts +2 -6
- package/dist/enums/Settings/SettingsNotificationsChangeTypeEnum.d.ts +39 -6
- package/dist/enums/Status/Status0CcEnum.d.ts +8 -6
- package/dist/enums/Status/Status8F7Enum.d.ts +4 -6
- package/dist/enums/Status/Status9DdEnum.d.ts +4 -6
- package/dist/enums/Status/StatusAeeEnum.d.ts +6 -6
- package/dist/enums/Step/StepTypeEnum.d.ts +2 -6
- package/dist/enums/Type/Type744Enum.d.ts +2 -6
- package/dist/enums/Types/TypesEnum.d.ts +6 -6
- package/dist/enums/Usertype/UsertypeEnum.d.ts +6 -6
- package/dist/enums/index.d.ts +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/types/Additional/AdditionalProduct.d.ts +0 -2
- package/dist/types/Additional/index.d.ts +1 -1
- 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/Password/PasswordResetResendRequest.d.ts +1 -2
- package/dist/types/Password/index.d.ts +2 -2
- package/dist/types/Patched/PatchedProfileNotificationsRequest.d.ts +7 -0
- package/dist/types/Patched/PatchedProfileNotificationsSettingsRequest.d.ts +1 -2
- package/dist/types/Patched/PatchedSettingsNotificationsChangeRequest.d.ts +0 -1
- package/dist/types/Patched/PatchedTradeLotChangeRequest.d.ts +1 -2
- package/dist/types/Patched/PatchedTradeUpdateRequest.d.ts +1 -5
- package/dist/types/Patched/PatchedUserUpdateRequest.d.ts +1 -3
- package/dist/types/Patched/index.d.ts +15 -15
- package/dist/types/Product/Product.d.ts +2 -4
- package/dist/types/Product/ProductDetail.d.ts +2 -5
- package/dist/types/Profile/ProfileNotifications.d.ts +7 -0
- package/dist/types/Profile/ProfileNotificationsSettings.d.ts +3 -6
- package/dist/types/Profile/ProfileNotificationsSettingsRequest.d.ts +1 -2
- 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 +5 -5
- 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/Settings/index.d.ts +2 -2
- package/dist/types/Sign/SignUp.d.ts +4 -9
- package/dist/types/Sign/SignUpRequest.d.ts +2 -3
- package/dist/types/Sign/SignUpResendRequest.d.ts +1 -2
- package/dist/types/Sign/index.d.ts +3 -3
- 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 +5 -10
- package/dist/types/Trade/TradeCreateRequest.d.ts +1 -6
- package/dist/types/Trade/TradeDetail.d.ts +6 -13
- package/dist/types/Trade/TradeFilters.d.ts +3 -6
- package/dist/types/Trade/TradeLot.d.ts +7 -15
- 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/TradeLotChangeRequest.d.ts +1 -2
- package/dist/types/Trade/TradeLotDetail.d.ts +7 -15
- 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/TradeUpdateRequest.d.ts +1 -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} +2 -2
- 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 +20 -19
- 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 +4 -9
- package/dist/types/User/UserCreateRequest.d.ts +1 -3
- 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 +4 -7
- package/dist/types/User/UserUpdateRequest.d.ts +1 -3
- 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 +8 -8
- package/dist/types/index.d.ts +26 -26
- package/package.json +13 -10
- package/dist/types/Participants/ParticipantsBids.d.ts +0 -13
|
@@ -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` - Торги: Актуализируйте ставку
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
export { type SettingsNotificationsChangeTypeEnum } from '../../enums';
|
|
2
|
+
export { type UsertypeEnum } from '../../enums';
|
|
1
3
|
export type { Settings } from './Settings';
|
|
2
4
|
export type { SettingsNotifications } from './SettingsNotifications';
|
|
3
5
|
export type { SettingsNotificationsChange } from './SettingsNotificationsChange';
|
|
@@ -5,5 +7,3 @@ export type { SettingsNotificationsChangeRequest } from './SettingsNotifications
|
|
|
5
7
|
export type { SettingsNotificationsUserType } from './SettingsNotificationsUserType';
|
|
6
8
|
export type { SettingsNotificationsUserTypeRequest } from './SettingsNotificationsUserTypeRequest';
|
|
7
9
|
export type { SettingsRequest } from './SettingsRequest';
|
|
8
|
-
export { type SettingsNotificationsChangeTypeEnum } from '../../enums';
|
|
9
|
-
export { type UsertypeEnum } from '../../enums';
|
|
@@ -6,12 +6,7 @@
|
|
|
6
6
|
* * `security` - Служба безопасности
|
|
7
7
|
* * `director` - Руководитель
|
|
8
8
|
*/
|
|
9
|
-
import type { BlankEnum } from '../../enums';
|
|
10
|
-
import type { Status8F7Enum } from '../../enums';
|
|
11
|
-
import type { UserChanges } from '../User/UserChanges';
|
|
12
|
-
import type { UserCompanyChanges } from '../User/UserCompanyChanges';
|
|
13
|
-
import type { UserDocumentAccept } from '../User/UserDocumentAccept';
|
|
14
|
-
import type { UserFCMTokens } from '../User/UserFCMTokens';
|
|
9
|
+
import type { BlankEnum, Status8F7Enum } from '../../enums';
|
|
15
10
|
export interface SignUp {
|
|
16
11
|
/** Можно делать скриншоты */
|
|
17
12
|
app_screenshots_enabled?: boolean;
|
|
@@ -50,7 +45,7 @@ export interface SignUp {
|
|
|
50
45
|
* @maxLength 255
|
|
51
46
|
*/
|
|
52
47
|
contact_person: string;
|
|
53
|
-
default_company:
|
|
48
|
+
default_company: _UserCompanyChanges;
|
|
54
49
|
/**
|
|
55
50
|
* ИНН
|
|
56
51
|
* @maxLength 255
|
|
@@ -68,8 +63,8 @@ export interface SignUp {
|
|
|
68
63
|
is_type_security: boolean;
|
|
69
64
|
/** @format uri */
|
|
70
65
|
avatar?: string | null;
|
|
71
|
-
changes:
|
|
72
|
-
changes_company:
|
|
66
|
+
changes: _UserChanges;
|
|
67
|
+
changes_company: _UserCompanyChanges;
|
|
73
68
|
document_accepts: UserDocumentAccept[];
|
|
74
69
|
facilities?: (number | null)[];
|
|
75
70
|
fcm_tokens: UserFCMTokens[];
|
|
@@ -6,10 +6,9 @@
|
|
|
6
6
|
* * `security` - Служба безопасности
|
|
7
7
|
* * `director` - Руководитель
|
|
8
8
|
*/
|
|
9
|
-
import type { BlankEnum } from '../../enums';
|
|
10
|
-
import type { Status8F7Enum } from '../../enums';
|
|
9
|
+
import type { BlankEnum, Status8F7Enum } from '../../enums';
|
|
11
10
|
export interface SignUpRequest {
|
|
12
|
-
/**
|
|
11
|
+
/** Можно делать скриншоты */
|
|
13
12
|
app_screenshots_enabled?: boolean;
|
|
14
13
|
/**
|
|
15
14
|
* Почта
|
|
@@ -6,8 +6,7 @@
|
|
|
6
6
|
* * `security` - Служба безопасности
|
|
7
7
|
* * `director` - Руководитель
|
|
8
8
|
*/
|
|
9
|
-
import type { BlankEnum } from '../../enums';
|
|
10
|
-
import type { ChannelEnum } from '../../enums';
|
|
9
|
+
import type { BlankEnum, ChannelEnum } from '../../enums';
|
|
11
10
|
export interface SignUpResendRequest {
|
|
12
11
|
channel?: ChannelEnum | BlankEnum;
|
|
13
12
|
}
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
export { type BlankEnum } from '../../enums';
|
|
2
|
+
export { type ChannelEnum } from '../../enums';
|
|
3
|
+
export { type Status8F7Enum } from '../../enums';
|
|
1
4
|
export type { SignInFromTelegramRequest } from './SignInFromTelegramRequest';
|
|
2
5
|
export type { SignInRequest } from './SignInRequest';
|
|
3
6
|
export type { SignInResponse } from './SignInResponse';
|
|
@@ -5,6 +8,3 @@ export type { SignUp } from './SignUp';
|
|
|
5
8
|
export type { SignUpConfirmRequest } from './SignUpConfirmRequest';
|
|
6
9
|
export type { SignUpRequest } from './SignUpRequest';
|
|
7
10
|
export type { SignUpResendRequest } from './SignUpResendRequest';
|
|
8
|
-
export { type BlankEnum } from '../../enums';
|
|
9
|
-
export { type ChannelEnum } from '../../enums';
|
|
10
|
-
export { type Status8F7Enum } from '../../enums';
|
|
@@ -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';
|
|
@@ -6,12 +6,7 @@
|
|
|
6
6
|
* * `security` - Служба безопасности
|
|
7
7
|
* * `director` - Руководитель
|
|
8
8
|
*/
|
|
9
|
-
import type { BidTypeEnum } from '../../enums';
|
|
10
|
-
import type { ProcessTypeEnum } from '../../enums';
|
|
11
|
-
import type { Type744Enum } from '../../enums';
|
|
12
|
-
import type { TradeCreator } from './TradeCreator';
|
|
13
|
-
import type { TradeFacility } from './TradeFacility';
|
|
14
|
-
import type { TradeUser } from './TradeUser';
|
|
9
|
+
import type { BidTypeEnum, ProcessTypeEnum, Type744Enum } from '../../enums';
|
|
15
10
|
export interface Trade {
|
|
16
11
|
id: number;
|
|
17
12
|
/** @format date-time */
|
|
@@ -22,10 +17,10 @@ export interface Trade {
|
|
|
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
|
/**
|
|
31
26
|
* Дата/время создания
|
|
@@ -6,12 +6,7 @@
|
|
|
6
6
|
* * `security` - Служба безопасности
|
|
7
7
|
* * `director` - Руководитель
|
|
8
8
|
*/
|
|
9
|
-
import type { BidTypeEnum } from '../../enums';
|
|
10
|
-
import type { BlankEnum } from '../../enums';
|
|
11
|
-
import type { ProcessTypeEnum } from '../../enums';
|
|
12
|
-
import type { Status0CcEnum } from '../../enums';
|
|
13
|
-
import type { Type744Enum } from '../../enums';
|
|
14
|
-
import type { TradeLotChangeRequest } from './TradeLotChangeRequest';
|
|
9
|
+
import type { BidTypeEnum, BlankEnum, ProcessTypeEnum, Status0CcEnum, Type744Enum } from '../../enums';
|
|
15
10
|
export interface TradeCreateRequest {
|
|
16
11
|
/** @format date-time */
|
|
17
12
|
dt_begin: string;
|
|
@@ -6,14 +6,7 @@
|
|
|
6
6
|
* * `security` - Служба безопасности
|
|
7
7
|
* * `director` - Руководитель
|
|
8
8
|
*/
|
|
9
|
-
import type { BidTypeEnum } from '../../enums';
|
|
10
|
-
import type { ProcessTypeEnum } from '../../enums';
|
|
11
|
-
import type { Type744Enum } from '../../enums';
|
|
12
|
-
import type { TradeCreator } from './TradeCreator';
|
|
13
|
-
import type { TradeFacility } from './TradeFacility';
|
|
14
|
-
import type { TradeLotDetail } from './TradeLotDetail';
|
|
15
|
-
import type { TradeStatus } from './TradeStatus';
|
|
16
|
-
import type { TradeUser } from './TradeUser';
|
|
9
|
+
import type { BidTypeEnum, ProcessTypeEnum, Type744Enum } from '../../enums';
|
|
17
10
|
export interface TradeDetail {
|
|
18
11
|
id: number;
|
|
19
12
|
/** @format date-time */
|
|
@@ -24,13 +17,13 @@ export interface TradeDetail {
|
|
|
24
17
|
dt_end_actual: string;
|
|
25
18
|
stat: number;
|
|
26
19
|
status: string;
|
|
27
|
-
creator:
|
|
28
|
-
facility:
|
|
29
|
-
participants_allowed:
|
|
30
|
-
participants_denied:
|
|
20
|
+
creator: _TradeCreator;
|
|
21
|
+
facility: _TradeFacility;
|
|
22
|
+
participants_allowed: _TradeUser[];
|
|
23
|
+
participants_denied: _TradeUser[];
|
|
31
24
|
winner_status_waiting_time?: number;
|
|
32
25
|
lots: TradeLotDetail[];
|
|
33
|
-
statuses:
|
|
26
|
+
statuses: _TradeStatus[];
|
|
34
27
|
/**
|
|
35
28
|
* Дата/время создания
|
|
36
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 { TradeFiltersProductTypes } from './TradeFiltersProductTypes';
|
|
11
|
-
import type { TradeFiltersProducts } from './TradeFiltersProducts';
|
|
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
|
/** список значений поля */
|
|
@@ -6,25 +6,17 @@
|
|
|
6
6
|
* * `security` - Служба безопасности
|
|
7
7
|
* * `director` - Руководитель
|
|
8
8
|
*/
|
|
9
|
-
import type { BlankEnum } from '../../enums';
|
|
10
|
-
import type { StepTypeEnum } from '../../enums';
|
|
11
|
-
import type { TradeAdditionalProduct } from './TradeAdditionalProduct';
|
|
12
|
-
import type { TradeLotCategory } from './TradeLotCategory';
|
|
13
|
-
import type { TradeLotWinner } from './TradeLotWinner';
|
|
14
|
-
import type { TradeProduct } from './TradeProduct';
|
|
15
|
-
import type { CurrentUserWinner } from '../Current/CurrentUserWinner';
|
|
16
|
-
import type { RipeLevel } from '../Ripe/RipeLevel';
|
|
17
|
-
import type { Size } from '../Size/Size';
|
|
9
|
+
import type { BlankEnum, StepTypeEnum } from '../../enums';
|
|
18
10
|
export interface TradeLot {
|
|
19
11
|
id: number;
|
|
20
|
-
additional_products:
|
|
21
|
-
category:
|
|
22
|
-
product:
|
|
23
|
-
ripe_level:
|
|
24
|
-
size:
|
|
12
|
+
additional_products: _TradeAdditionalProduct[];
|
|
13
|
+
category: _TradeLotCategory;
|
|
14
|
+
product: _TradeProduct;
|
|
15
|
+
ripe_level: _RipeLevel;
|
|
16
|
+
size: _Size;
|
|
25
17
|
/** Лимит следующей ставки */
|
|
26
18
|
bid_limit: string;
|
|
27
|
-
current_user_as_winner:
|
|
19
|
+
current_user_as_winner: _CurrentUserWinner;
|
|
28
20
|
/** @format date-time */
|
|
29
21
|
dt_shipment: string;
|
|
30
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
|
}
|
|
@@ -6,8 +6,7 @@
|
|
|
6
6
|
* * `security` - Служба безопасности
|
|
7
7
|
* * `director` - Руководитель
|
|
8
8
|
*/
|
|
9
|
-
import type { BlankEnum } from '../../enums';
|
|
10
|
-
import type { StepTypeEnum } from '../../enums';
|
|
9
|
+
import type { BlankEnum, StepTypeEnum } from '../../enums';
|
|
11
10
|
export interface TradeLotChangeRequest {
|
|
12
11
|
additional_products?: number[];
|
|
13
12
|
category: number;
|
|
@@ -6,27 +6,19 @@
|
|
|
6
6
|
* * `security` - Служба безопасности
|
|
7
7
|
* * `director` - Руководитель
|
|
8
8
|
*/
|
|
9
|
-
import type { BlankEnum } from '../../enums';
|
|
10
|
-
import type { StepTypeEnum } from '../../enums';
|
|
11
|
-
import type { TradeAdditionalProduct } from './TradeAdditionalProduct';
|
|
12
|
-
import type { TradeLotBid } from './TradeLotBid';
|
|
13
|
-
import type { TradeLotCategory } from './TradeLotCategory';
|
|
14
|
-
import type { TradeLotImage } from './TradeLotImage';
|
|
15
|
-
import type { TradeLotWinner } from './TradeLotWinner';
|
|
16
|
-
import type { CurrentUserWinner } from '../Current/CurrentUserWinner';
|
|
9
|
+
import type { BlankEnum, StepTypeEnum } from '../../enums';
|
|
17
10
|
import type { ProductDetail } from '../Product/ProductDetail';
|
|
18
|
-
import type {
|
|
19
|
-
import type { Size } from '../Size/Size';
|
|
11
|
+
import type { TradeLotBid } from './TradeLotBid';
|
|
20
12
|
export interface TradeLotDetail {
|
|
21
13
|
id: number;
|
|
22
|
-
additional_products:
|
|
23
|
-
category:
|
|
14
|
+
additional_products: _TradeAdditionalProduct[];
|
|
15
|
+
category: _TradeLotCategory;
|
|
24
16
|
product: ProductDetail;
|
|
25
|
-
ripe_level:
|
|
26
|
-
size:
|
|
17
|
+
ripe_level: _RipeLevel;
|
|
18
|
+
size: _Size;
|
|
27
19
|
/** Лимит следующей ставки */
|
|
28
20
|
bid_limit: string;
|
|
29
|
-
current_user_as_winner:
|
|
21
|
+
current_user_as_winner: _CurrentUserWinner;
|
|
30
22
|
/** @format date-time */
|
|
31
23
|
dt_shipment: string;
|
|
32
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,11 +6,7 @@
|
|
|
6
6
|
* * `security` - Служба безопасности
|
|
7
7
|
* * `director` - Руководитель
|
|
8
8
|
*/
|
|
9
|
-
import type { BidTypeEnum } from '../../enums';
|
|
10
|
-
import type { BlankEnum } from '../../enums';
|
|
11
|
-
import type { ProcessTypeEnum } from '../../enums';
|
|
12
|
-
import type { Status0CcEnum } from '../../enums';
|
|
13
|
-
import type { Type744Enum } from '../../enums';
|
|
9
|
+
import type { BidTypeEnum, BlankEnum, ProcessTypeEnum, Status0CcEnum, Type744Enum } from '../../enums';
|
|
14
10
|
export interface TradeUpdateRequest {
|
|
15
11
|
/** @format date-time */
|
|
16
12
|
dt_begin: string;
|
|
@@ -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
|
}
|
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
* * `security` - Служба безопасности
|
|
7
7
|
* * `director` - Руководитель
|
|
8
8
|
*/
|
|
9
|
-
export interface
|
|
9
|
+
export interface _TradeFacility {
|
|
10
10
|
/**
|
|
11
11
|
* Показывать
|
|
12
|
-
* Если отключёно, элемент не
|
|
12
|
+
* Если отключёно, элемент не будет отображаться на сайте
|
|
13
13
|
*/
|
|
14
14
|
active?: boolean;
|
|
15
15
|
/**
|
|
@@ -6,8 +6,7 @@
|
|
|
6
6
|
* * `security` - Служба безопасности
|
|
7
7
|
* * `director` - Руководитель
|
|
8
8
|
*/
|
|
9
|
-
|
|
10
|
-
export interface TradeProduct {
|
|
9
|
+
export interface _TradeLotCategory {
|
|
11
10
|
/**
|
|
12
11
|
* Показывать
|
|
13
12
|
* Если отключёно, элемент не будет отображаться на сайте
|
|
@@ -19,5 +18,4 @@ export interface TradeProduct {
|
|
|
19
18
|
* @maxLength 255
|
|
20
19
|
*/
|
|
21
20
|
name: string;
|
|
22
|
-
type: Type;
|
|
23
21
|
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* * `admin` - Администратор
|
|
3
|
+
* * `manager` - Менеджер
|
|
4
|
+
* * `moderator` - Модератор
|
|
5
|
+
* * `participant` - Участник
|
|
6
|
+
* * `security` - Служба безопасности
|
|
7
|
+
* * `director` - Руководитель
|
|
8
|
+
*/
|
|
9
|
+
export interface _TradeProduct {
|
|
10
|
+
/**
|
|
11
|
+
* Показывать
|
|
12
|
+
* Если отключёно, элемент не будет отображаться на сайте
|
|
13
|
+
*/
|
|
14
|
+
active?: boolean;
|
|
15
|
+
id: number;
|
|
16
|
+
/**
|
|
17
|
+
* Название
|
|
18
|
+
* @maxLength 255
|
|
19
|
+
*/
|
|
20
|
+
name: string;
|
|
21
|
+
type: _Type;
|
|
22
|
+
}
|
|
@@ -7,10 +7,9 @@
|
|
|
7
7
|
* * `director` - Руководитель
|
|
8
8
|
*/
|
|
9
9
|
import type { Status0CcEnum } from '../../enums';
|
|
10
|
-
|
|
11
|
-
export interface TradeStatus {
|
|
10
|
+
export interface _TradeStatus {
|
|
12
11
|
id: number;
|
|
13
|
-
creator:
|
|
12
|
+
creator: _TradeUser;
|
|
14
13
|
/**
|
|
15
14
|
* Дата/время создания
|
|
16
15
|
* @format date-time
|