@itcase/types-am 1.1.31 → 1.1.33
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 +1 -1
- package/dist/enums/Email/EmailEnum.d.ts +2 -2
- package/dist/enums/Permissions/PermissionsTradesParticipantsEnum.d.ts +10 -0
- package/dist/enums/Permissions/index.d.ts +1 -0
- package/dist/enums/Push/PushEnum.d.ts +2 -2
- package/dist/enums/Settings/SettingsNotificationsChangeTypeEnum.d.ts +18 -18
- package/dist/enums/Status/Status8F7Enum.d.ts +2 -2
- package/dist/enums/Status/Status9DdEnum.d.ts +2 -2
- package/dist/enums/Status/StatusAeeEnum.d.ts +2 -2
- package/dist/enums/Types/TypesEnum.d.ts +2 -2
- package/dist/enums/Usertype/UsertypeEnum.d.ts +2 -2
- package/dist/enums/index.d.ts +1 -0
- package/dist/index.d.ts +2 -2
- package/dist/types/Additional/AdditionalProduct.d.ts +15 -23
- package/dist/types/Additional/AdditionalProductChange.d.ts +14 -22
- package/dist/types/Additional/AdditionalProductChangeRequest.d.ts +13 -21
- package/dist/types/Additional/index.d.ts +2 -0
- package/dist/types/Creator/{Creator.d.ts → _Creator.d.ts} +7 -15
- package/dist/types/Creator/index.d.ts +1 -1
- package/dist/types/Current/_CurrentUserWinner.d.ts +4 -0
- package/dist/types/Current/index.d.ts +1 -1
- package/dist/types/Document/Document.d.ts +22 -30
- package/dist/types/Document/DocumentRequest.d.ts +23 -31
- package/dist/types/Document/{DocumentField.d.ts → _DocumentField.d.ts} +23 -31
- package/dist/types/Document/index.d.ts +1 -1
- package/dist/types/External/External1CPayment.d.ts +0 -8
- package/dist/types/External/External1CPaymentRequest.d.ts +0 -8
- package/dist/types/External/External1CPrice.d.ts +2 -10
- package/dist/types/External/External1CPriceRequest.d.ts +2 -10
- package/dist/types/External/External1CShipment.d.ts +2 -10
- package/dist/types/External/External1CShipmentRequest.d.ts +2 -10
- package/dist/types/External/External1CSync.d.ts +0 -8
- package/dist/types/External/External1CSyncRequest.d.ts +0 -8
- package/dist/types/External/External1CTrade.d.ts +5 -13
- package/dist/types/External/ExternalBiTrade.d.ts +5 -13
- package/dist/types/External/ExternalBiTradeAdditionalProduct.d.ts +7 -15
- package/dist/types/External/ExternalBiTradeBid.d.ts +4 -12
- package/dist/types/External/ExternalBiTradeLot.d.ts +10 -18
- package/dist/types/External/ExternalBiTradeView.d.ts +4 -12
- package/dist/types/External/ExternalBiUser.d.ts +17 -25
- package/dist/types/External/ExternalBiUserDevice.d.ts +14 -22
- package/dist/types/External/_External1cPriceLot.d.ts +9 -0
- package/dist/types/External/_External1cPriceLotRequest.d.ts +12 -0
- package/dist/types/External/_External1cShipmentLot.d.ts +6 -0
- package/dist/types/External/_External1cShipmentLotRequest.d.ts +12 -0
- package/dist/types/External/{External1CTradeLot.d.ts → _External1cTradeLot.d.ts} +9 -17
- package/dist/types/External/index.d.ts +6 -5
- package/dist/types/Facility/Facility.d.ts +10 -18
- package/dist/types/Facility/FacilityChange.d.ts +12 -20
- package/dist/types/Facility/FacilityChangeRequest.d.ts +14 -22
- package/dist/types/Filters/_FiltersObj.d.ts +6 -0
- package/dist/types/Filters/_FiltersStatus.d.ts +5 -0
- package/dist/types/Filters/index.d.ts +2 -2
- package/dist/types/Frontend/FrontendLog.d.ts +2 -10
- package/dist/types/Frontend/FrontendLogRequest.d.ts +0 -8
- package/dist/types/Info/InfoBlock.d.ts +8 -16
- package/dist/types/Info/InfoBlockRequest.d.ts +8 -16
- package/dist/types/News/News.d.ts +10 -18
- package/dist/types/News/NewsDetail.d.ts +11 -19
- package/dist/types/News/NewsImage.d.ts +4 -12
- package/dist/types/News/NewsImageChange.d.ts +5 -13
- package/dist/types/News/NewsImageChangeRequest.d.ts +2 -10
- package/dist/types/News/NewsRequest.d.ts +8 -16
- package/dist/types/Null/NullEnum.d.ts +1 -0
- package/dist/types/Null/index.d.ts +1 -0
- package/dist/types/Onboarding/Onboarding.d.ts +9 -17
- package/dist/types/Onboarding/OnboardingChange.d.ts +9 -17
- package/dist/types/Onboarding/OnboardingChangeRequest.d.ts +9 -17
- package/dist/types/Paginated/PaginatedAdditionalProductList.d.ts +0 -8
- package/dist/types/Paginated/PaginatedDocumentList.d.ts +0 -8
- package/dist/types/Paginated/PaginatedExternal1CTradeList.d.ts +0 -8
- package/dist/types/Paginated/PaginatedExternalBiTradeAdditionalProductList.d.ts +0 -8
- package/dist/types/Paginated/PaginatedExternalBiTradeBidList.d.ts +0 -8
- package/dist/types/Paginated/PaginatedExternalBiTradeList.d.ts +0 -8
- package/dist/types/Paginated/PaginatedExternalBiTradeLotList.d.ts +0 -8
- package/dist/types/Paginated/PaginatedExternalBiTradeViewList.d.ts +0 -8
- package/dist/types/Paginated/PaginatedExternalBiUserDeviceList.d.ts +0 -8
- package/dist/types/Paginated/PaginatedExternalBiUserList.d.ts +0 -8
- package/dist/types/Paginated/PaginatedFacilityList.d.ts +0 -8
- package/dist/types/Paginated/PaginatedInfoBlockList.d.ts +0 -8
- package/dist/types/Paginated/PaginatedNewsImageList.d.ts +0 -8
- package/dist/types/Paginated/PaginatedNewsList.d.ts +0 -8
- package/dist/types/Paginated/PaginatedOnboardingList.d.ts +0 -8
- package/dist/types/Paginated/PaginatedProductImageList.d.ts +0 -8
- package/dist/types/Paginated/PaginatedProductList.d.ts +0 -8
- package/dist/types/Paginated/PaginatedProductTypeList.d.ts +0 -8
- package/dist/types/Paginated/PaginatedProductUnitList.d.ts +0 -8
- package/dist/types/Paginated/PaginatedProfileCompanyList.d.ts +0 -8
- package/dist/types/Paginated/PaginatedProfileNotificationsList.d.ts +0 -8
- package/dist/types/Paginated/PaginatedProfileNotificationsSettingsList.d.ts +0 -8
- package/dist/types/Paginated/PaginatedSettingsNotificationsList.d.ts +0 -8
- package/dist/types/Paginated/PaginatedSettingsNotificationsUserTypeList.d.ts +0 -8
- package/dist/types/Paginated/PaginatedStatisticDeviceList.d.ts +0 -8
- package/dist/types/Paginated/PaginatedTradeLotBidList.d.ts +0 -8
- package/dist/types/Paginated/PaginatedTradeLotCategoryList.d.ts +0 -8
- package/dist/types/Paginated/PaginatedTradeLotImageList.d.ts +0 -8
- package/dist/types/Paginated/PaginatedTradeLotList.d.ts +0 -8
- package/dist/types/Paginated/PaginatedTradeLotParticipantList.d.ts +0 -8
- package/dist/types/Paginated/PaginatedTradeLotRipeLevelList.d.ts +0 -8
- package/dist/types/Paginated/PaginatedTradeLotSizeList.d.ts +0 -8
- package/dist/types/Paginated/PaginatedTradeLotWinnerList.d.ts +0 -8
- package/dist/types/Paginated/PaginatedUserCompanyList.d.ts +0 -8
- package/dist/types/Paginated/PaginatedUserDocumentAcceptList.d.ts +0 -8
- package/dist/types/Paginated/PaginatedUserFCMTokensList.d.ts +0 -8
- package/dist/types/Paginated/PaginatedUserList.d.ts +0 -8
- package/dist/types/Paginated/PaginatedUserStatusList.d.ts +0 -8
- package/dist/types/Paginated/index.d.ts +38 -0
- package/dist/types/Participants/_ParticipantsBids.d.ts +5 -0
- package/dist/types/Participants/_ParticipantsBidsParticipant.d.ts +8 -0
- package/dist/types/Participants/index.d.ts +2 -2
- package/dist/types/Password/PasswordResetConfirmRequest.d.ts +1 -9
- package/dist/types/Password/PasswordResetRequest.d.ts +0 -8
- package/dist/types/Password/PasswordResetResendRequest.d.ts +1 -9
- package/dist/types/Patched/PatchedAdditionalProductChangeRequest.d.ts +13 -21
- package/dist/types/Patched/PatchedDocumentRequest.d.ts +23 -31
- package/dist/types/Patched/PatchedFacilityChangeRequest.d.ts +14 -22
- package/dist/types/Patched/PatchedInfoBlockRequest.d.ts +8 -16
- package/dist/types/Patched/PatchedNewsImageChangeRequest.d.ts +2 -10
- package/dist/types/Patched/PatchedNewsRequest.d.ts +8 -16
- package/dist/types/Patched/PatchedOnboardingChangeRequest.d.ts +9 -17
- package/dist/types/Patched/PatchedProductChangeRequest.d.ts +3 -11
- package/dist/types/Patched/PatchedProductImageChangeRequest.d.ts +2 -10
- package/dist/types/Patched/PatchedProductTypeRequest.d.ts +0 -8
- package/dist/types/Patched/PatchedProductUnitRequest.d.ts +6 -14
- package/dist/types/Patched/PatchedProfileChangeRequest.d.ts +11 -19
- package/dist/types/Patched/PatchedProfileCompanyRequest.d.ts +0 -8
- package/dist/types/Patched/PatchedProfileNotificationsRequest.d.ts +9 -17
- package/dist/types/Patched/PatchedProfileNotificationsSettingsRequest.d.ts +0 -8
- package/dist/types/Patched/PatchedSettingsNotificationsChangeRequest.d.ts +0 -8
- package/dist/types/Patched/PatchedSettingsNotificationsUserTypeRequest.d.ts +2 -10
- package/dist/types/Patched/PatchedSettingsRequest.d.ts +68 -76
- package/dist/types/Patched/PatchedTradeActionPublicRequest.d.ts +0 -8
- package/dist/types/Patched/PatchedTradeActionRequest.d.ts +0 -8
- package/dist/types/Patched/PatchedTradeLotCategoryRequest.d.ts +0 -8
- package/dist/types/Patched/PatchedTradeLotChangeRequest.d.ts +24 -32
- package/dist/types/Patched/PatchedTradeLotImageChangeRequest.d.ts +0 -8
- package/dist/types/Patched/PatchedTradeLotRipeLevelRequest.d.ts +0 -8
- package/dist/types/Patched/PatchedTradeLotSizeChangeRequest.d.ts +1 -9
- package/dist/types/Patched/PatchedTradeLotWinnerActionConfirmRequest.d.ts +0 -8
- package/dist/types/Patched/PatchedTradeLotWinnerRequest.d.ts +7 -15
- package/dist/types/Patched/PatchedTradeLotWinnerUpdateRequest.d.ts +7 -15
- package/dist/types/Patched/PatchedTradeUpdateRequest.d.ts +15 -22
- package/dist/types/Patched/PatchedUserActionRequest.d.ts +0 -8
- package/dist/types/Patched/PatchedUserCompanyChangeRequest.d.ts +16 -24
- package/dist/types/Patched/PatchedUserCompanyRequest.d.ts +17 -25
- package/dist/types/Patched/PatchedUserFCMTokensRequest.d.ts +0 -8
- package/dist/types/Patched/PatchedUserUpdateRequest.d.ts +25 -30
- package/dist/types/Patched/index.d.ts +3 -0
- package/dist/types/Product/Product.d.ts +4 -12
- package/dist/types/Product/ProductChangeRequest.d.ts +3 -11
- package/dist/types/Product/ProductDetail.d.ts +5 -13
- package/dist/types/Product/ProductImage.d.ts +4 -12
- package/dist/types/Product/ProductImageChange.d.ts +5 -13
- package/dist/types/Product/ProductImageChangeRequest.d.ts +2 -10
- package/dist/types/Product/ProductType.d.ts +0 -8
- package/dist/types/Product/ProductTypeRequest.d.ts +0 -8
- package/dist/types/Product/ProductUnit.d.ts +5 -13
- package/dist/types/Product/ProductUnitRequest.d.ts +6 -14
- package/dist/types/Product/index.d.ts +2 -0
- package/dist/types/Profile/ProfileChangeRequest.d.ts +11 -19
- package/dist/types/Profile/ProfileCompany.d.ts +1 -9
- package/dist/types/Profile/ProfileCompanyRequest.d.ts +0 -8
- package/dist/types/Profile/ProfileNotifications.d.ts +6 -14
- package/dist/types/Profile/ProfileNotificationsSettings.d.ts +4 -12
- package/dist/types/Profile/ProfileNotificationsSettingsRequest.d.ts +0 -8
- package/dist/types/Profile/_ProfileNotificationsSettingsDefaults.d.ts +4 -0
- package/dist/types/Profile/_ProfileNotificationsSettingsType.d.ts +5 -0
- package/dist/types/Profile/index.d.ts +2 -2
- package/dist/types/Report/ReportFilters.d.ts +9 -17
- package/dist/types/Report/ReportParticipant.d.ts +6 -14
- package/dist/types/Report/ReportParticipantFilters.d.ts +11 -19
- package/dist/types/Report/ReportParticipantPagination.d.ts +2 -10
- package/dist/types/Report/ReportSale.d.ts +5 -13
- package/dist/types/Report/ReportSaleFilters.d.ts +2 -10
- package/dist/types/Report/ReportSalePagination.d.ts +2 -10
- package/dist/types/Report/ReportStatParticipant.d.ts +7 -15
- package/dist/types/Report/ReportStatParticipantFilters.d.ts +3 -11
- package/dist/types/Report/ReportStatParticipantPagination.d.ts +2 -10
- package/dist/types/Report/ReportSummaries.d.ts +6 -14
- package/dist/types/Report/ReportSummary.d.ts +31 -39
- package/dist/types/Report/ReportSummaryPagination.d.ts +2 -10
- package/dist/types/Report/{ReportFiltersCreator.d.ts → _ReportFiltersCreator.d.ts} +8 -16
- package/dist/types/Report/index.d.ts +7 -1
- package/dist/types/Ripe/_RipeLevel.d.ts +13 -0
- package/dist/types/Ripe/index.d.ts +1 -1
- package/dist/types/Settings/Settings.d.ts +68 -76
- package/dist/types/Settings/SettingsNotifications.d.ts +0 -8
- package/dist/types/Settings/SettingsNotificationsChange.d.ts +0 -8
- package/dist/types/Settings/SettingsNotificationsChangeRequest.d.ts +0 -8
- package/dist/types/Settings/SettingsNotificationsUserType.d.ts +2 -10
- package/dist/types/Settings/SettingsNotificationsUserTypeRequest.d.ts +2 -10
- package/dist/types/Settings/SettingsRequest.d.ts +68 -76
- package/dist/types/Sign/SignInFromTelegramRequest.d.ts +2 -10
- package/dist/types/Sign/SignInRequest.d.ts +4 -12
- package/dist/types/Sign/SignInResponse.d.ts +0 -8
- package/dist/types/Sign/SignUp.d.ts +36 -41
- package/dist/types/Sign/SignUpConfirmRequest.d.ts +0 -8
- package/dist/types/Sign/SignUpRequest.d.ts +27 -32
- package/dist/types/Sign/SignUpResendRequest.d.ts +1 -9
- package/dist/types/Sign/index.d.ts +6 -0
- package/dist/types/Simple/SimpleResponse.d.ts +0 -8
- package/dist/types/Size/_Size.d.ts +13 -0
- package/dist/types/Size/index.d.ts +1 -1
- package/dist/types/Statistic/StatisticDevice.d.ts +12 -20
- package/dist/types/Statistic/StatisticDeviceRequest.d.ts +10 -18
- package/dist/types/Status/{StatusCreator.d.ts → _StatusCreator.d.ts} +2 -10
- package/dist/types/Status/index.d.ts +1 -1
- package/dist/types/Summaries/_SummariesCost.d.ts +14 -0
- package/dist/types/Summaries/{SummariesTrades.d.ts → _SummariesTrades.d.ts} +5 -13
- package/dist/types/Summaries/{SummariesVolume.d.ts → _SummariesVolume.d.ts} +1 -9
- package/dist/types/Summaries/index.d.ts +3 -3
- package/dist/types/Trade/Trade.d.ts +32 -40
- package/dist/types/Trade/TradeCreateRequest.d.ts +15 -22
- package/dist/types/Trade/TradeDetail.d.ts +35 -43
- package/dist/types/Trade/TradeFilters.d.ts +6 -14
- package/dist/types/Trade/TradeLot.d.ts +52 -60
- package/dist/types/Trade/TradeLotActionBidRequest.d.ts +0 -8
- package/dist/types/Trade/TradeLotActionBidResponse.d.ts +8 -16
- package/dist/types/Trade/TradeLotBid.d.ts +7 -15
- package/dist/types/Trade/TradeLotCategory.d.ts +14 -10
- package/dist/types/Trade/TradeLotCategoryRequest.d.ts +0 -8
- package/dist/types/Trade/TradeLotChangeRequest.d.ts +24 -32
- package/dist/types/Trade/TradeLotDetail.d.ts +53 -61
- package/dist/types/Trade/TradeLotImage.d.ts +1 -9
- package/dist/types/Trade/TradeLotImageChange.d.ts +1 -9
- package/dist/types/Trade/TradeLotImageChangeRequest.d.ts +0 -8
- package/dist/types/Trade/TradeLotParticipant.d.ts +2 -10
- package/dist/types/Trade/TradeLotRipeLevel.d.ts +0 -8
- package/dist/types/Trade/TradeLotRipeLevelRequest.d.ts +0 -8
- package/dist/types/Trade/TradeLotSize.d.ts +2 -10
- package/dist/types/Trade/TradeLotSizeChangeRequest.d.ts +1 -9
- package/dist/types/Trade/TradeLotWinner.d.ts +18 -25
- package/dist/types/Trade/TradeLotWinnerCreateBulkRequest.d.ts +5 -13
- package/dist/types/Trade/TradeLotWinnerCreateRequest.d.ts +5 -13
- package/dist/types/Trade/TradeLotWinnerUpdateRequest.d.ts +7 -15
- package/dist/types/Trade/TradePagination.d.ts +1 -9
- package/dist/types/Trade/TradeUpdateRequest.d.ts +15 -22
- package/dist/types/Trade/{TradeAdditionalProduct.d.ts → _TradeAdditionalProduct.d.ts} +11 -19
- package/dist/types/Trade/{TradeCreator.d.ts → _TradeCreator.d.ts} +9 -17
- package/dist/types/Trade/{TradeCreatorRequest.d.ts → _TradeCreatorRequest.d.ts} +6 -14
- package/dist/types/Trade/{TradeFacility.d.ts → _TradeFacility.d.ts} +2 -10
- package/dist/types/Trade/{TradeFiltersFacilities.d.ts → _TradeFiltersFacilities.d.ts} +2 -10
- package/dist/types/Trade/{TradeFiltersProductTypes.d.ts → _TradeFiltersProductTypes.d.ts} +2 -10
- package/dist/types/Trade/{TradeFiltersProducts.d.ts → _TradeFiltersProducts.d.ts} +6 -14
- package/dist/types/Trade/_TradeLotCategory.d.ts +13 -0
- package/dist/types/Trade/_TradeProduct.d.ts +15 -0
- package/dist/types/Trade/_TradeStatus.d.ts +15 -0
- package/dist/types/Trade/{TradeUser.d.ts → _TradeUser.d.ts} +11 -19
- package/dist/types/Trade/{TradeUserRequest.d.ts → _TradeUserRequest.d.ts} +10 -18
- package/dist/types/Trade/index.d.ts +20 -11
- package/dist/types/Type/_Type.d.ts +13 -0
- package/dist/types/Type/index.d.ts +1 -1
- package/dist/types/Unit/{Unit.d.ts → _Unit.d.ts} +2 -10
- package/dist/types/Unit/index.d.ts +1 -1
- package/dist/types/User/User.d.ts +34 -39
- package/dist/types/User/UserActionDocumentAcceptRequest.d.ts +1 -9
- package/dist/types/User/UserCompany.d.ts +22 -30
- package/dist/types/User/UserCompanyChange.d.ts +19 -27
- package/dist/types/User/UserCompanyChangeRequest.d.ts +16 -24
- package/dist/types/User/UserCreate.d.ts +35 -40
- package/dist/types/User/UserCreateRequest.d.ts +25 -30
- package/dist/types/User/UserDocumentAccept.d.ts +4 -12
- package/dist/types/User/UserFCMTokens.d.ts +0 -8
- package/dist/types/User/UserFCMTokensRequest.d.ts +0 -8
- package/dist/types/User/UserStatus.d.ts +2 -10
- package/dist/types/User/UserUpdate.d.ts +35 -40
- package/dist/types/User/UserUpdateRequest.d.ts +25 -30
- package/dist/types/User/{UserChanges.d.ts → _UserChanges.d.ts} +15 -23
- package/dist/types/User/{UserCompanyChanges.d.ts → _UserCompanyChanges.d.ts} +23 -31
- package/dist/types/User/{UserFacility.d.ts → _UserFacility.d.ts} +2 -10
- package/dist/types/User/{UserManager.d.ts → _UserManager.d.ts} +9 -17
- package/dist/types/User/index.d.ts +8 -4
- package/dist/types/Violation/ViolationChange.d.ts +14 -22
- package/dist/types/Violation/ViolationChangeRequest.d.ts +15 -23
- package/dist/types/Winner/_WinnerAdditionalProduct.d.ts +20 -0
- package/dist/types/Winner/index.d.ts +3 -0
- package/dist/types/index.d.ts +22 -24
- package/package.json +3 -3
- package/dist/types/Current/CurrentUserWinner.d.ts +0 -12
- package/dist/types/External/External1CPriceLot.d.ts +0 -17
- package/dist/types/External/External1CPriceLotRequest.d.ts +0 -20
- package/dist/types/External/External1CShipmentLot.d.ts +0 -14
- package/dist/types/External/External1CShipmentLotRequest.d.ts +0 -20
- package/dist/types/Filters/FiltersObj.d.ts +0 -14
- package/dist/types/Filters/FiltersStatus.d.ts +0 -13
- package/dist/types/Participants/ParticipantsBids.d.ts +0 -13
- package/dist/types/Participants/ParticipantsBidsParticipant.d.ts +0 -16
- package/dist/types/Profile/ProfileNotificationsSettingsDefaults.d.ts +0 -12
- package/dist/types/Profile/ProfileNotificationsSettingsType.d.ts +0 -13
- package/dist/types/Ripe/RipeLevel.d.ts +0 -21
- package/dist/types/Size/Size.d.ts +0 -21
- package/dist/types/Summaries/SummariesCost.d.ts +0 -22
- package/dist/types/Trade/TradeProduct.d.ts +0 -23
- package/dist/types/Trade/TradeStatus.d.ts +0 -23
- package/dist/types/Type/Type.d.ts +0 -21
|
@@ -1,40 +1,32 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* * `admin` - Администратор
|
|
3
|
-
* * `manager` - Менеджер
|
|
4
|
-
* * `moderator` - Модератор
|
|
5
|
-
* * `participant` - Участник
|
|
6
|
-
* * `security` - Служба безопасности
|
|
7
|
-
* * `director` - Руководитель
|
|
8
|
-
*/
|
|
9
1
|
export interface StatisticDeviceRequest {
|
|
10
2
|
/**
|
|
11
|
-
*
|
|
3
|
+
* Версия приложения
|
|
12
4
|
* @minLength 1
|
|
13
5
|
* @maxLength 255
|
|
14
6
|
*/
|
|
15
|
-
|
|
7
|
+
app_version: string;
|
|
16
8
|
/**
|
|
17
|
-
*
|
|
9
|
+
* Устройство
|
|
18
10
|
* @minLength 1
|
|
19
11
|
* @maxLength 255
|
|
20
12
|
*/
|
|
21
|
-
|
|
13
|
+
device: string;
|
|
22
14
|
/**
|
|
23
|
-
*
|
|
15
|
+
* IP адрес
|
|
24
16
|
* @minLength 1
|
|
25
17
|
* @maxLength 255
|
|
26
18
|
*/
|
|
27
|
-
|
|
19
|
+
ip_address: string;
|
|
28
20
|
/**
|
|
29
|
-
*
|
|
21
|
+
* Опереационная система
|
|
30
22
|
* @minLength 1
|
|
31
23
|
* @maxLength 255
|
|
32
24
|
*/
|
|
33
|
-
|
|
25
|
+
operating_system: string;
|
|
34
26
|
/**
|
|
35
|
-
*
|
|
27
|
+
* Регион
|
|
36
28
|
* @minLength 1
|
|
37
29
|
* @maxLength 255
|
|
38
30
|
*/
|
|
39
|
-
|
|
31
|
+
region: string;
|
|
40
32
|
}
|
|
@@ -1,18 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
* * `manager` - Менеджер
|
|
4
|
-
* * `moderator` - Модератор
|
|
5
|
-
* * `participant` - Участник
|
|
6
|
-
* * `security` - Служба безопасности
|
|
7
|
-
* * `director` - Руководитель
|
|
8
|
-
*/
|
|
9
|
-
export interface StatusCreator {
|
|
1
|
+
export interface _StatusCreator {
|
|
2
|
+
id: number;
|
|
10
3
|
/**
|
|
11
4
|
* Имя
|
|
12
5
|
* @maxLength 255
|
|
13
6
|
*/
|
|
14
7
|
first_name?: string;
|
|
15
|
-
id: number;
|
|
16
8
|
/**
|
|
17
9
|
* Фамилия
|
|
18
10
|
* @maxLength 255
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type {
|
|
1
|
+
export type { _StatusCreator } from './_StatusCreator';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface _SummariesCost {
|
|
2
|
+
/**
|
|
3
|
+
* Стоимость за единицу
|
|
4
|
+
* @format decimal
|
|
5
|
+
* @pattern ^-?\d{0,18}(?:\.\d{0,2})?$
|
|
6
|
+
*/
|
|
7
|
+
price: string;
|
|
8
|
+
/**
|
|
9
|
+
* Общая стоимость
|
|
10
|
+
* @format decimal
|
|
11
|
+
* @pattern ^-?\d{0,18}(?:\.\d{0,2})?$
|
|
12
|
+
*/
|
|
13
|
+
total: string;
|
|
14
|
+
}
|
|
@@ -1,12 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* * `admin` - Администратор
|
|
3
|
-
* * `manager` - Менеджер
|
|
4
|
-
* * `moderator` - Модератор
|
|
5
|
-
* * `participant` - Участник
|
|
6
|
-
* * `security` - Служба безопасности
|
|
7
|
-
* * `director` - Руководитель
|
|
8
|
-
*/
|
|
9
|
-
export interface SummariesTrades {
|
|
1
|
+
export interface _SummariesTrades {
|
|
10
2
|
/** Идут */
|
|
11
3
|
active: number;
|
|
12
4
|
/** Отменены */
|
|
@@ -15,12 +7,12 @@ export interface SummariesTrades {
|
|
|
15
7
|
completed: number;
|
|
16
8
|
/** Не состоялись */
|
|
17
9
|
failed: number;
|
|
18
|
-
/**
|
|
19
|
-
|
|
10
|
+
/** Нарушений */
|
|
11
|
+
fails: number;
|
|
20
12
|
/** Участников */
|
|
21
13
|
participants: number;
|
|
22
14
|
/** Предложений */
|
|
23
15
|
proposals: number;
|
|
24
|
-
/**
|
|
25
|
-
|
|
16
|
+
/** Торгов */
|
|
17
|
+
total: number;
|
|
26
18
|
}
|
|
@@ -1,12 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* * `admin` - Администратор
|
|
3
|
-
* * `manager` - Менеджер
|
|
4
|
-
* * `moderator` - Модератор
|
|
5
|
-
* * `participant` - Участник
|
|
6
|
-
* * `security` - Служба безопасности
|
|
7
|
-
* * `director` - Руководитель
|
|
8
|
-
*/
|
|
9
|
-
export interface SummariesVolume {
|
|
1
|
+
export interface _SummariesVolume {
|
|
10
2
|
/**
|
|
11
3
|
* Объём проданый
|
|
12
4
|
* @format decimal
|
|
@@ -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';
|
|
@@ -1,61 +1,39 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* * `admin` - Администратор
|
|
3
|
-
* * `manager` - Менеджер
|
|
4
|
-
* * `moderator` - Модератор
|
|
5
|
-
* * `participant` - Участник
|
|
6
|
-
* * `security` - Служба безопасности
|
|
7
|
-
* * `director` - Руководитель
|
|
8
|
-
*/
|
|
9
1
|
import type { BidTypeEnum, ProcessTypeEnum, Type744Enum } from '../../enums';
|
|
10
|
-
import type {
|
|
11
|
-
import type {
|
|
12
|
-
import type {
|
|
2
|
+
import type { _TradeCreator } from './_TradeCreator';
|
|
3
|
+
import type { _TradeFacility } from './_TradeFacility';
|
|
4
|
+
import type { _TradeUser } from './_TradeUser';
|
|
13
5
|
export interface Trade {
|
|
14
6
|
id: number;
|
|
7
|
+
/** Демо для магазинов приложений */
|
|
8
|
+
app_store_test?: boolean;
|
|
9
|
+
/** Формат торгов */
|
|
10
|
+
bid_type?: BidTypeEnum;
|
|
11
|
+
creator: _TradeCreator;
|
|
15
12
|
/** @format date-time */
|
|
16
13
|
dt_begin: string;
|
|
17
|
-
/** @format date-time */
|
|
18
|
-
dt_end_initial: string;
|
|
19
|
-
/** @format date-time */
|
|
20
|
-
dt_end_actual: string;
|
|
21
|
-
stat: number;
|
|
22
|
-
status: string;
|
|
23
|
-
creator: TradeCreator;
|
|
24
|
-
facility: TradeFacility;
|
|
25
|
-
participants_allowed: TradeUser[];
|
|
26
|
-
participants_denied: TradeUser[];
|
|
27
|
-
winner_status_waiting_time?: number;
|
|
28
14
|
/**
|
|
29
15
|
* Дата/время создания
|
|
30
16
|
* @format date-time
|
|
31
17
|
*/
|
|
32
18
|
dt_create: string;
|
|
33
|
-
/**
|
|
34
|
-
|
|
19
|
+
/** @format date-time */
|
|
20
|
+
dt_end_actual: string;
|
|
21
|
+
/** @format date-time */
|
|
22
|
+
dt_end_initial: string;
|
|
23
|
+
facility: _TradeFacility;
|
|
35
24
|
/**
|
|
36
|
-
*
|
|
37
|
-
* @format
|
|
25
|
+
* GUID для 1С
|
|
26
|
+
* @format uuid
|
|
38
27
|
*/
|
|
39
|
-
|
|
28
|
+
guid_1c: string;
|
|
40
29
|
/**
|
|
41
30
|
* Название
|
|
42
31
|
* Если пустое, будет создан автоматически: ПОРЯДКОВЫЙ-НОМЕР/ДД-ММ-ГГГГ-СОЗДАНИЯ
|
|
43
32
|
* @maxLength 255
|
|
44
33
|
*/
|
|
45
34
|
name?: string | null;
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
/** Тип торгов */
|
|
49
|
-
process_type: ProcessTypeEnum;
|
|
50
|
-
/** Демо для магазинов приложений */
|
|
51
|
-
app_store_test?: boolean;
|
|
52
|
-
/** Формат торгов */
|
|
53
|
-
bid_type?: BidTypeEnum;
|
|
54
|
-
/**
|
|
55
|
-
* GUID для 1С
|
|
56
|
-
* @format uuid
|
|
57
|
-
*/
|
|
58
|
-
guid_1c: string;
|
|
35
|
+
participants_allowed: _TradeUser[];
|
|
36
|
+
participants_denied: _TradeUser[];
|
|
59
37
|
/** Статус оплаты из 1С */
|
|
60
38
|
payment_1c: string;
|
|
61
39
|
/**
|
|
@@ -63,4 +41,18 @@ export interface Trade {
|
|
|
63
41
|
* @format date-time
|
|
64
42
|
*/
|
|
65
43
|
payment_1c_dt_change: string | null;
|
|
44
|
+
/** Тип торгов */
|
|
45
|
+
process_type: ProcessTypeEnum;
|
|
46
|
+
stat: number;
|
|
47
|
+
status: string;
|
|
48
|
+
/** Синхронизировано c 1C */
|
|
49
|
+
synced_1c?: boolean;
|
|
50
|
+
/**
|
|
51
|
+
* Дата/время синхронизации с 1С
|
|
52
|
+
* @format date-time
|
|
53
|
+
*/
|
|
54
|
+
synced_1c_dt: string | null;
|
|
55
|
+
/** Тип */
|
|
56
|
+
type: Type744Enum;
|
|
57
|
+
winner_status_waiting_time?: number;
|
|
66
58
|
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* * `admin` - Администратор
|
|
3
|
-
* * `manager` - Менеджер
|
|
4
|
-
* * `moderator` - Модератор
|
|
5
|
-
* * `participant` - Участник
|
|
6
|
-
* * `security` - Служба безопасности
|
|
7
|
-
* * `director` - Руководитель
|
|
8
|
-
*/
|
|
9
1
|
import type { BidTypeEnum, BlankEnum, ProcessTypeEnum, Status0CcEnum, Type744Enum } from '../../enums';
|
|
2
|
+
import type { NullEnum } from '../Null/NullEnum';
|
|
10
3
|
import type { TradeLotChangeRequest } from './TradeLotChangeRequest';
|
|
11
4
|
export interface TradeCreateRequest {
|
|
5
|
+
/** Демо для магазинов приложений */
|
|
6
|
+
app_store_test?: boolean;
|
|
7
|
+
/** Формат торгов */
|
|
8
|
+
bid_type?: BidTypeEnum;
|
|
12
9
|
/** @format date-time */
|
|
13
10
|
dt_begin: string;
|
|
14
|
-
status?: Status0CcEnum | BlankEnum | NullEnum | null;
|
|
15
|
-
facility: number;
|
|
16
|
-
participants_allowed?: number[];
|
|
17
|
-
participants_denied?: number[];
|
|
18
|
-
winner_status_waiting_time?: number;
|
|
19
11
|
/** @format date-time */
|
|
20
12
|
dt_end: string;
|
|
21
|
-
|
|
13
|
+
facility: number;
|
|
22
14
|
lots?: TradeLotChangeRequest[];
|
|
23
|
-
/** Синхронизировано c 1C */
|
|
24
|
-
synced_1c?: boolean;
|
|
25
15
|
/**
|
|
26
16
|
* Название
|
|
27
17
|
* Если пустое, будет создан автоматически: ПОРЯДКОВЫЙ-НОМЕР/ДД-ММ-ГГГГ-СОЗДАНИЯ
|
|
28
18
|
* @maxLength 255
|
|
29
19
|
*/
|
|
30
20
|
name?: string | null;
|
|
31
|
-
|
|
32
|
-
|
|
21
|
+
participants_allowed?: number[];
|
|
22
|
+
participants_denied?: number[];
|
|
33
23
|
/** Тип торгов */
|
|
34
24
|
process_type: ProcessTypeEnum;
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
|
|
25
|
+
status?: BlankEnum | NullEnum | Status0CcEnum | null;
|
|
26
|
+
status_comment?: string | null;
|
|
27
|
+
/** Синхронизировано c 1C */
|
|
28
|
+
synced_1c?: boolean;
|
|
29
|
+
/** Тип */
|
|
30
|
+
type: Type744Enum;
|
|
31
|
+
winner_status_waiting_time?: number;
|
|
39
32
|
}
|
|
@@ -1,65 +1,42 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* * `admin` - Администратор
|
|
3
|
-
* * `manager` - Менеджер
|
|
4
|
-
* * `moderator` - Модератор
|
|
5
|
-
* * `participant` - Участник
|
|
6
|
-
* * `security` - Служба безопасности
|
|
7
|
-
* * `director` - Руководитель
|
|
8
|
-
*/
|
|
9
1
|
import type { BidTypeEnum, ProcessTypeEnum, Type744Enum } from '../../enums';
|
|
10
|
-
import type {
|
|
11
|
-
import type {
|
|
2
|
+
import type { _TradeCreator } from './_TradeCreator';
|
|
3
|
+
import type { _TradeFacility } from './_TradeFacility';
|
|
4
|
+
import type { _TradeStatus } from './_TradeStatus';
|
|
5
|
+
import type { _TradeUser } from './_TradeUser';
|
|
12
6
|
import type { TradeLotDetail } from './TradeLotDetail';
|
|
13
|
-
import type { TradeStatus } from './TradeStatus';
|
|
14
|
-
import type { TradeUser } from './TradeUser';
|
|
15
7
|
export interface TradeDetail {
|
|
16
8
|
id: number;
|
|
9
|
+
/** Демо для магазинов приложений */
|
|
10
|
+
app_store_test?: boolean;
|
|
11
|
+
/** Формат торгов */
|
|
12
|
+
bid_type?: BidTypeEnum;
|
|
13
|
+
creator: _TradeCreator;
|
|
17
14
|
/** @format date-time */
|
|
18
15
|
dt_begin: string;
|
|
19
|
-
/** @format date-time */
|
|
20
|
-
dt_end_initial: string;
|
|
21
|
-
/** @format date-time */
|
|
22
|
-
dt_end_actual: string;
|
|
23
|
-
stat: number;
|
|
24
|
-
status: string;
|
|
25
|
-
creator: TradeCreator;
|
|
26
|
-
facility: TradeFacility;
|
|
27
|
-
participants_allowed: TradeUser[];
|
|
28
|
-
participants_denied: TradeUser[];
|
|
29
|
-
winner_status_waiting_time?: number;
|
|
30
|
-
lots: TradeLotDetail[];
|
|
31
|
-
statuses: TradeStatus[];
|
|
32
16
|
/**
|
|
33
17
|
* Дата/время создания
|
|
34
18
|
* @format date-time
|
|
35
19
|
*/
|
|
36
20
|
dt_create: string;
|
|
37
|
-
/**
|
|
38
|
-
|
|
21
|
+
/** @format date-time */
|
|
22
|
+
dt_end_actual: string;
|
|
23
|
+
/** @format date-time */
|
|
24
|
+
dt_end_initial: string;
|
|
25
|
+
facility: _TradeFacility;
|
|
39
26
|
/**
|
|
40
|
-
*
|
|
41
|
-
* @format
|
|
27
|
+
* GUID для 1С
|
|
28
|
+
* @format uuid
|
|
42
29
|
*/
|
|
43
|
-
|
|
30
|
+
guid_1c: string;
|
|
31
|
+
lots: TradeLotDetail[];
|
|
44
32
|
/**
|
|
45
33
|
* Название
|
|
46
34
|
* Если пустое, будет создан автоматически: ПОРЯДКОВЫЙ-НОМЕР/ДД-ММ-ГГГГ-СОЗДАНИЯ
|
|
47
35
|
* @maxLength 255
|
|
48
36
|
*/
|
|
49
37
|
name?: string | null;
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
/** Тип торгов */
|
|
53
|
-
process_type: ProcessTypeEnum;
|
|
54
|
-
/** Демо для магазинов приложений */
|
|
55
|
-
app_store_test?: boolean;
|
|
56
|
-
/** Формат торгов */
|
|
57
|
-
bid_type?: BidTypeEnum;
|
|
58
|
-
/**
|
|
59
|
-
* GUID для 1С
|
|
60
|
-
* @format uuid
|
|
61
|
-
*/
|
|
62
|
-
guid_1c: string;
|
|
38
|
+
participants_allowed: _TradeUser[];
|
|
39
|
+
participants_denied: _TradeUser[];
|
|
63
40
|
/** Статус оплаты из 1С */
|
|
64
41
|
payment_1c: string;
|
|
65
42
|
/**
|
|
@@ -67,4 +44,19 @@ export interface TradeDetail {
|
|
|
67
44
|
* @format date-time
|
|
68
45
|
*/
|
|
69
46
|
payment_1c_dt_change: string | null;
|
|
47
|
+
/** Тип торгов */
|
|
48
|
+
process_type: ProcessTypeEnum;
|
|
49
|
+
stat: number;
|
|
50
|
+
status: string;
|
|
51
|
+
statuses: _TradeStatus[];
|
|
52
|
+
/** Синхронизировано c 1C */
|
|
53
|
+
synced_1c?: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* Дата/время синхронизации с 1С
|
|
56
|
+
* @format date-time
|
|
57
|
+
*/
|
|
58
|
+
synced_1c_dt: string | null;
|
|
59
|
+
/** Тип */
|
|
60
|
+
type: Type744Enum;
|
|
61
|
+
winner_status_waiting_time?: number;
|
|
70
62
|
}
|
|
@@ -1,14 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
* * `moderator` - Модератор
|
|
5
|
-
* * `participant` - Участник
|
|
6
|
-
* * `security` - Служба безопасности
|
|
7
|
-
* * `director` - Руководитель
|
|
8
|
-
*/
|
|
9
|
-
import type { TradeFiltersFacilities } from './TradeFiltersFacilities';
|
|
10
|
-
import type { TradeFiltersProducts } from './TradeFiltersProducts';
|
|
11
|
-
import type { TradeFiltersProductTypes } from './TradeFiltersProductTypes';
|
|
1
|
+
import type { _TradeFiltersFacilities } from './_TradeFiltersFacilities';
|
|
2
|
+
import type { _TradeFiltersProducts } from './_TradeFiltersProducts';
|
|
3
|
+
import type { _TradeFiltersProductTypes } from './_TradeFiltersProductTypes';
|
|
12
4
|
export interface TradeFilters {
|
|
13
5
|
/**
|
|
14
6
|
* Дата/время начала торгов до
|
|
@@ -30,11 +22,11 @@ export interface TradeFilters {
|
|
|
30
22
|
* @format date-time
|
|
31
23
|
*/
|
|
32
24
|
dt_end_min: string;
|
|
33
|
-
facilities:
|
|
25
|
+
facilities: _TradeFiltersFacilities[];
|
|
34
26
|
/** список значений поля */
|
|
35
27
|
process_types: string[];
|
|
36
|
-
products:
|
|
37
|
-
producttypes:
|
|
28
|
+
products: _TradeFiltersProducts[];
|
|
29
|
+
producttypes: _TradeFiltersProductTypes[];
|
|
38
30
|
/** список значений поля */
|
|
39
31
|
statuses: string[];
|
|
40
32
|
/** список значений поля */
|
|
@@ -1,54 +1,27 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* * `admin` - Администратор
|
|
3
|
-
* * `manager` - Менеджер
|
|
4
|
-
* * `moderator` - Модератор
|
|
5
|
-
* * `participant` - Участник
|
|
6
|
-
* * `security` - Служба безопасности
|
|
7
|
-
* * `director` - Руководитель
|
|
8
|
-
*/
|
|
9
1
|
import type { BlankEnum, StepTypeEnum } from '../../enums';
|
|
10
|
-
import type {
|
|
11
|
-
import type {
|
|
12
|
-
import type {
|
|
13
|
-
import type {
|
|
14
|
-
import type {
|
|
2
|
+
import type { _CurrentUserWinner } from '../Current/_CurrentUserWinner';
|
|
3
|
+
import type { _RipeLevel } from '../Ripe/_RipeLevel';
|
|
4
|
+
import type { _Size } from '../Size/_Size';
|
|
5
|
+
import type { _TradeAdditionalProduct } from './_TradeAdditionalProduct';
|
|
6
|
+
import type { _TradeLotCategory } from './_TradeLotCategory';
|
|
7
|
+
import type { _TradeProduct } from './_TradeProduct';
|
|
15
8
|
import type { TradeLotWinner } from './TradeLotWinner';
|
|
16
|
-
import type { TradeProduct } from './TradeProduct';
|
|
17
9
|
export interface TradeLot {
|
|
18
10
|
id: number;
|
|
19
|
-
additional_products:
|
|
20
|
-
category: TradeLotCategory;
|
|
21
|
-
product: TradeProduct;
|
|
22
|
-
ripe_level: RipeLevel;
|
|
23
|
-
size: Size;
|
|
11
|
+
additional_products: _TradeAdditionalProduct[];
|
|
24
12
|
/** Лимит следующей ставки */
|
|
25
13
|
bid_limit: string;
|
|
26
|
-
|
|
14
|
+
category: _TradeLotCategory;
|
|
15
|
+
/** Комментарий */
|
|
16
|
+
comment?: string;
|
|
17
|
+
current_user_as_winner: _CurrentUserWinner;
|
|
27
18
|
/** @format date-time */
|
|
28
19
|
dt_shipment: string;
|
|
29
|
-
winner: TradeLotWinner;
|
|
30
|
-
/** Предложения стать победителем */
|
|
31
|
-
winner_proposals: TradeLotWinner[];
|
|
32
|
-
/**
|
|
33
|
-
* Сортировка
|
|
34
|
-
* Чем меньше значение, тем выше отображается в списке
|
|
35
|
-
* @min -32768
|
|
36
|
-
* @max 32767
|
|
37
|
-
*/
|
|
38
|
-
sort?: number;
|
|
39
|
-
/** Синхронизировано c 1C */
|
|
40
|
-
synced_1c?: boolean;
|
|
41
|
-
/**
|
|
42
|
-
* Дата/время синхронизации с 1С
|
|
43
|
-
* @format date-time
|
|
44
|
-
*/
|
|
45
|
-
synced_1c_dt: string | null;
|
|
46
20
|
/**
|
|
47
|
-
*
|
|
48
|
-
* @format
|
|
49
|
-
* @pattern ^-?\d{0,8}(?:\.\d{0,2})?$
|
|
21
|
+
* GUID для 1С
|
|
22
|
+
* @format uuid
|
|
50
23
|
*/
|
|
51
|
-
|
|
24
|
+
guid_1c: string;
|
|
52
25
|
/**
|
|
53
26
|
* Стоимость за единицу
|
|
54
27
|
* @format decimal
|
|
@@ -56,33 +29,30 @@ export interface TradeLot {
|
|
|
56
29
|
*/
|
|
57
30
|
price: string;
|
|
58
31
|
/**
|
|
59
|
-
*
|
|
60
|
-
* Используется для типа торгов "Закрытый"
|
|
32
|
+
* Цена из 1С
|
|
61
33
|
* @format decimal
|
|
62
34
|
* @pattern ^-?\d{0,8}(?:\.\d{0,2})?$
|
|
63
35
|
*/
|
|
64
|
-
|
|
36
|
+
price_1c: string | null;
|
|
37
|
+
/**
|
|
38
|
+
* Дата/время изменения цены из 1С
|
|
39
|
+
* @format date-time
|
|
40
|
+
*/
|
|
41
|
+
price_1c_dt_change: string | null;
|
|
65
42
|
/**
|
|
66
43
|
* Фиксированная цена
|
|
67
44
|
* Если включено, то ставки на эту позицию будут нулевыми
|
|
68
45
|
*/
|
|
69
46
|
price_fixed?: boolean;
|
|
70
|
-
/** Тип шага */
|
|
71
|
-
step_type?: StepTypeEnum | BlankEnum;
|
|
72
47
|
/**
|
|
73
|
-
*
|
|
74
|
-
*
|
|
48
|
+
* Стоимость за единицу, минимальная
|
|
49
|
+
* Используется для типа торгов "Закрытый"
|
|
75
50
|
* @format decimal
|
|
76
51
|
* @pattern ^-?\d{0,8}(?:\.\d{0,2})?$
|
|
77
52
|
*/
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
/**
|
|
82
|
-
* GUID для 1С
|
|
83
|
-
* @format uuid
|
|
84
|
-
*/
|
|
85
|
-
guid_1c: string;
|
|
53
|
+
price_min?: string | null;
|
|
54
|
+
product: _TradeProduct;
|
|
55
|
+
ripe_level: _RipeLevel;
|
|
86
56
|
/** Статус отгрузки из 1С */
|
|
87
57
|
shipment_1c: string;
|
|
88
58
|
/**
|
|
@@ -90,15 +60,37 @@ export interface TradeLot {
|
|
|
90
60
|
* @format date-time
|
|
91
61
|
*/
|
|
92
62
|
shipment_1c_dt_change: string | null;
|
|
63
|
+
size: _Size;
|
|
93
64
|
/**
|
|
94
|
-
*
|
|
65
|
+
* Сортировка
|
|
66
|
+
* Чем меньше значение, тем выше отображается в списке
|
|
67
|
+
* @min -32768
|
|
68
|
+
* @max 32767
|
|
69
|
+
*/
|
|
70
|
+
sort?: number;
|
|
71
|
+
/** Тип шага */
|
|
72
|
+
step_type?: BlankEnum | StepTypeEnum;
|
|
73
|
+
/**
|
|
74
|
+
* Значение шага
|
|
75
|
+
* Если пустое, то без ограничений
|
|
95
76
|
* @format decimal
|
|
96
77
|
* @pattern ^-?\d{0,8}(?:\.\d{0,2})?$
|
|
97
78
|
*/
|
|
98
|
-
|
|
79
|
+
step_value?: string | null;
|
|
80
|
+
/** Синхронизировано c 1C */
|
|
81
|
+
synced_1c?: boolean;
|
|
99
82
|
/**
|
|
100
|
-
* Дата/время
|
|
83
|
+
* Дата/время синхронизации с 1С
|
|
101
84
|
* @format date-time
|
|
102
85
|
*/
|
|
103
|
-
|
|
86
|
+
synced_1c_dt: string | null;
|
|
87
|
+
/**
|
|
88
|
+
* Объём
|
|
89
|
+
* @format decimal
|
|
90
|
+
* @pattern ^-?\d{0,8}(?:\.\d{0,2})?$
|
|
91
|
+
*/
|
|
92
|
+
volume: string;
|
|
93
|
+
winner: TradeLotWinner;
|
|
94
|
+
/** Предложения стать победителем */
|
|
95
|
+
winner_proposals: TradeLotWinner[];
|
|
104
96
|
}
|
|
@@ -1,11 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* * `admin` - Администратор
|
|
3
|
-
* * `manager` - Менеджер
|
|
4
|
-
* * `moderator` - Модератор
|
|
5
|
-
* * `participant` - Участник
|
|
6
|
-
* * `security` - Служба безопасности
|
|
7
|
-
* * `director` - Руководитель
|
|
8
|
-
*/
|
|
9
1
|
export interface TradeLotActionBidRequest {
|
|
10
2
|
/**
|
|
11
3
|
* Ставка
|
|
@@ -1,28 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
* * `admin` - Администратор
|
|
3
|
-
* * `manager` - Менеджер
|
|
4
|
-
* * `moderator` - Модератор
|
|
5
|
-
* * `participant` - Участник
|
|
6
|
-
* * `security` - Служба безопасности
|
|
7
|
-
* * `director` - Руководитель
|
|
8
|
-
*/
|
|
9
|
-
import type { TradeUser } from './TradeUser';
|
|
1
|
+
import type { _TradeUser } from './_TradeUser';
|
|
10
2
|
export interface TradeLotActionBidResponse {
|
|
11
3
|
id: number;
|
|
12
|
-
|
|
4
|
+
/**
|
|
5
|
+
* Ставка
|
|
6
|
+
* @format decimal
|
|
7
|
+
* @pattern ^-?\d{0,8}(?:\.\d{0,2})?$
|
|
8
|
+
*/
|
|
9
|
+
bid: string;
|
|
13
10
|
/** Лимит следующей ставки */
|
|
14
11
|
bid_limit: string;
|
|
12
|
+
creator: _TradeUser;
|
|
15
13
|
/**
|
|
16
14
|
* Дата/время создания
|
|
17
15
|
* @format date-time
|
|
18
16
|
*/
|
|
19
17
|
dt_create: string;
|
|
20
|
-
/**
|
|
21
|
-
* Ставка
|
|
22
|
-
* @format decimal
|
|
23
|
-
* @pattern ^-?\d{0,8}(?:\.\d{0,2})?$
|
|
24
|
-
*/
|
|
25
|
-
bid: string;
|
|
26
18
|
/**
|
|
27
19
|
* Своя
|
|
28
20
|
* Без учёта ограничений
|