@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,37 +1,30 @@
|
|
|
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
|
export interface TradeUpdateRequest {
|
|
4
|
+
/** Демо для магазинов приложений */
|
|
5
|
+
app_store_test?: boolean;
|
|
6
|
+
/** Формат торгов */
|
|
7
|
+
bid_type?: BidTypeEnum;
|
|
11
8
|
/** @format date-time */
|
|
12
9
|
dt_begin: string;
|
|
13
|
-
status?: Status0CcEnum | BlankEnum | NullEnum | null;
|
|
14
|
-
facility: number;
|
|
15
|
-
participants_allowed?: number[];
|
|
16
|
-
participants_denied?: number[];
|
|
17
|
-
winner_status_waiting_time?: number;
|
|
18
10
|
/** @format date-time */
|
|
19
11
|
dt_end: string;
|
|
20
|
-
|
|
21
|
-
/** Синхронизировано c 1C */
|
|
22
|
-
synced_1c?: boolean;
|
|
12
|
+
facility: number;
|
|
23
13
|
/**
|
|
24
14
|
* Название
|
|
25
15
|
* Если пустое, будет создан автоматически: ПОРЯДКОВЫЙ-НОМЕР/ДД-ММ-ГГГГ-СОЗДАНИЯ
|
|
26
16
|
* @maxLength 255
|
|
27
17
|
*/
|
|
28
18
|
name?: string | null;
|
|
29
|
-
|
|
30
|
-
|
|
19
|
+
participants_allowed?: number[];
|
|
20
|
+
participants_denied?: number[];
|
|
31
21
|
/** Тип торгов */
|
|
32
22
|
process_type: ProcessTypeEnum;
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
|
|
23
|
+
status?: BlankEnum | NullEnum | Status0CcEnum | null;
|
|
24
|
+
status_comment?: string | null;
|
|
25
|
+
/** Синхронизировано c 1C */
|
|
26
|
+
synced_1c?: boolean;
|
|
27
|
+
/** Тип */
|
|
28
|
+
type: Type744Enum;
|
|
29
|
+
winner_status_waiting_time?: number;
|
|
37
30
|
}
|
|
@@ -1,32 +1,17 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* * `admin` - Администратор
|
|
3
|
-
* * `manager` - Менеджер
|
|
4
|
-
* * `moderator` - Модератор
|
|
5
|
-
* * `participant` - Участник
|
|
6
|
-
* * `security` - Служба безопасности
|
|
7
|
-
* * `director` - Руководитель
|
|
8
|
-
*/
|
|
9
1
|
import type { PriceTypeEnum } from '../../enums';
|
|
10
|
-
export interface
|
|
2
|
+
export interface _TradeAdditionalProduct {
|
|
11
3
|
id: number;
|
|
4
|
+
/** Описание */
|
|
5
|
+
description?: string;
|
|
12
6
|
image: string;
|
|
13
|
-
image_list_version: string;
|
|
14
7
|
image_detail_version: string;
|
|
15
8
|
image_gallery_version: string;
|
|
16
|
-
|
|
17
|
-
* Сортировка
|
|
18
|
-
* Чем меньше значение, тем выше отображается в списке
|
|
19
|
-
* @min -32768
|
|
20
|
-
* @max 32767
|
|
21
|
-
*/
|
|
22
|
-
sort?: number;
|
|
9
|
+
image_list_version: string;
|
|
23
10
|
/**
|
|
24
11
|
* Название
|
|
25
12
|
* @maxLength 255
|
|
26
13
|
*/
|
|
27
14
|
name: string;
|
|
28
|
-
/** Описание */
|
|
29
|
-
description?: string;
|
|
30
15
|
/**
|
|
31
16
|
* Стоимость
|
|
32
17
|
* @format decimal
|
|
@@ -35,4 +20,11 @@ export interface TradeAdditionalProduct {
|
|
|
35
20
|
price: string;
|
|
36
21
|
/** Тип стоимости */
|
|
37
22
|
price_type: PriceTypeEnum;
|
|
23
|
+
/**
|
|
24
|
+
* Сортировка
|
|
25
|
+
* Чем меньше значение, тем выше отображается в списке
|
|
26
|
+
* @min -32768
|
|
27
|
+
* @max 32767
|
|
28
|
+
*/
|
|
29
|
+
sort?: number;
|
|
38
30
|
}
|
|
@@ -1,25 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
import type { UserFacility } from '../User/UserFacility';
|
|
10
|
-
export interface TradeCreator {
|
|
1
|
+
import type { _UserFacility } from '../User/_UserFacility';
|
|
2
|
+
export interface _TradeCreator {
|
|
3
|
+
id: number;
|
|
4
|
+
/**
|
|
5
|
+
* Контактное лицо
|
|
6
|
+
* @maxLength 255
|
|
7
|
+
*/
|
|
8
|
+
contact_person?: string;
|
|
11
9
|
/**
|
|
12
10
|
* Почта
|
|
13
11
|
* @format email
|
|
14
12
|
* @maxLength 255
|
|
15
13
|
*/
|
|
16
14
|
email?: string | null;
|
|
15
|
+
facilities: _UserFacility[];
|
|
17
16
|
/**
|
|
18
17
|
* Имя
|
|
19
18
|
* @maxLength 255
|
|
20
19
|
*/
|
|
21
20
|
first_name?: string;
|
|
22
|
-
id: number;
|
|
23
21
|
/**
|
|
24
22
|
* Фамилия
|
|
25
23
|
* @maxLength 255
|
|
@@ -30,11 +28,6 @@ export interface TradeCreator {
|
|
|
30
28
|
* @maxLength 255
|
|
31
29
|
*/
|
|
32
30
|
phone?: string | null;
|
|
33
|
-
/**
|
|
34
|
-
* Контактное лицо
|
|
35
|
-
* @maxLength 255
|
|
36
|
-
*/
|
|
37
|
-
contact_person?: string;
|
|
38
31
|
/**
|
|
39
32
|
* Должность
|
|
40
33
|
* @maxLength 255
|
|
@@ -45,5 +38,4 @@ export interface TradeCreator {
|
|
|
45
38
|
is_type_moderator: boolean;
|
|
46
39
|
is_type_participant: boolean;
|
|
47
40
|
is_type_security: boolean;
|
|
48
|
-
facilities: UserFacility[];
|
|
49
41
|
}
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
* * `director` - Руководитель
|
|
8
|
-
*/
|
|
9
|
-
export interface TradeCreatorRequest {
|
|
1
|
+
export interface _TradeCreatorRequest {
|
|
2
|
+
/**
|
|
3
|
+
* Контактное лицо
|
|
4
|
+
* @maxLength 255
|
|
5
|
+
*/
|
|
6
|
+
contact_person?: string;
|
|
10
7
|
/**
|
|
11
8
|
* Почта
|
|
12
9
|
* @format email
|
|
@@ -28,11 +25,6 @@ export interface TradeCreatorRequest {
|
|
|
28
25
|
* @maxLength 255
|
|
29
26
|
*/
|
|
30
27
|
phone?: string | null;
|
|
31
|
-
/**
|
|
32
|
-
* Контактное лицо
|
|
33
|
-
* @maxLength 255
|
|
34
|
-
*/
|
|
35
|
-
contact_person?: string;
|
|
36
28
|
/**
|
|
37
29
|
* Должность
|
|
38
30
|
* @maxLength 255
|
|
@@ -1,12 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
* * `manager` - Менеджер
|
|
4
|
-
* * `moderator` - Модератор
|
|
5
|
-
* * `participant` - Участник
|
|
6
|
-
* * `security` - Служба безопасности
|
|
7
|
-
* * `director` - Руководитель
|
|
8
|
-
*/
|
|
9
|
-
export interface TradeFacility {
|
|
1
|
+
export interface _TradeFacility {
|
|
2
|
+
id: number;
|
|
10
3
|
/**
|
|
11
4
|
* Показывать
|
|
12
5
|
* Если отключёно, элемент не будет отображаться на сайте
|
|
@@ -17,7 +10,6 @@ export interface TradeFacility {
|
|
|
17
10
|
* @maxLength 50
|
|
18
11
|
*/
|
|
19
12
|
color?: string;
|
|
20
|
-
id: number;
|
|
21
13
|
/**
|
|
22
14
|
* Название
|
|
23
15
|
* @maxLength 255
|
|
@@ -1,12 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
* * `manager` - Менеджер
|
|
4
|
-
* * `moderator` - Модератор
|
|
5
|
-
* * `participant` - Участник
|
|
6
|
-
* * `security` - Служба безопасности
|
|
7
|
-
* * `director` - Руководитель
|
|
8
|
-
*/
|
|
9
|
-
export interface TradeFiltersFacilities {
|
|
1
|
+
export interface _TradeFiltersFacilities {
|
|
2
|
+
id: number;
|
|
10
3
|
/**
|
|
11
4
|
* Показывать
|
|
12
5
|
* Если отключёно, элемент не будет отображаться на сайте
|
|
@@ -17,7 +10,6 @@ export interface TradeFiltersFacilities {
|
|
|
17
10
|
* @maxLength 50
|
|
18
11
|
*/
|
|
19
12
|
color?: string;
|
|
20
|
-
id: number;
|
|
21
13
|
/**
|
|
22
14
|
* Название
|
|
23
15
|
* @maxLength 255
|
|
@@ -1,18 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
* * `manager` - Менеджер
|
|
4
|
-
* * `moderator` - Модератор
|
|
5
|
-
* * `participant` - Участник
|
|
6
|
-
* * `security` - Служба безопасности
|
|
7
|
-
* * `director` - Руководитель
|
|
8
|
-
*/
|
|
9
|
-
export interface TradeFiltersProductTypes {
|
|
1
|
+
export interface _TradeFiltersProductTypes {
|
|
2
|
+
id: number;
|
|
10
3
|
/**
|
|
11
4
|
* Показывать
|
|
12
5
|
* Если отключёно, элемент не будет отображаться на сайте
|
|
13
6
|
*/
|
|
14
7
|
active?: boolean;
|
|
15
|
-
id: number;
|
|
16
8
|
/**
|
|
17
9
|
* Название
|
|
18
10
|
* @maxLength 255
|
|
@@ -1,18 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
* * `manager` - Менеджер
|
|
4
|
-
* * `moderator` - Модератор
|
|
5
|
-
* * `participant` - Участник
|
|
6
|
-
* * `security` - Служба безопасности
|
|
7
|
-
* * `director` - Руководитель
|
|
8
|
-
*/
|
|
9
|
-
export interface TradeFiltersProducts {
|
|
1
|
+
export interface _TradeFiltersProducts {
|
|
2
|
+
id: number;
|
|
10
3
|
/**
|
|
11
4
|
* Показывать
|
|
12
5
|
* Если отключёно, элемент не будет отображаться на сайте
|
|
13
6
|
*/
|
|
14
7
|
active?: boolean;
|
|
15
|
-
|
|
8
|
+
image: string;
|
|
9
|
+
image_detail_version: string;
|
|
10
|
+
image_gallery_version: string;
|
|
11
|
+
image_list_version: string;
|
|
16
12
|
/**
|
|
17
13
|
* Название
|
|
18
14
|
* @maxLength 255
|
|
@@ -26,8 +22,4 @@ export interface TradeFiltersProducts {
|
|
|
26
22
|
*/
|
|
27
23
|
sort?: number;
|
|
28
24
|
type: number;
|
|
29
|
-
image: string;
|
|
30
|
-
image_detail_version: string;
|
|
31
|
-
image_gallery_version: string;
|
|
32
|
-
image_list_version: string;
|
|
33
25
|
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { _Type } from '../Type/_Type';
|
|
2
|
+
export interface _TradeProduct {
|
|
3
|
+
id: number;
|
|
4
|
+
/**
|
|
5
|
+
* Показывать
|
|
6
|
+
* Если отключёно, элемент не будет отображаться на сайте
|
|
7
|
+
*/
|
|
8
|
+
active?: boolean;
|
|
9
|
+
/**
|
|
10
|
+
* Название
|
|
11
|
+
* @maxLength 255
|
|
12
|
+
*/
|
|
13
|
+
name: string;
|
|
14
|
+
type: _Type;
|
|
15
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { Status0CcEnum } from '../../enums';
|
|
2
|
+
import type { _TradeUser } from './_TradeUser';
|
|
3
|
+
export interface _TradeStatus {
|
|
4
|
+
id: number;
|
|
5
|
+
/** Комментарий */
|
|
6
|
+
comment?: string;
|
|
7
|
+
creator: _TradeUser;
|
|
8
|
+
/**
|
|
9
|
+
* Дата/время создания
|
|
10
|
+
* @format date-time
|
|
11
|
+
*/
|
|
12
|
+
dt_create: string;
|
|
13
|
+
/** Статус */
|
|
14
|
+
status: Status0CcEnum;
|
|
15
|
+
}
|
|
@@ -1,39 +1,31 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
* * `manager` - Менеджер
|
|
4
|
-
* * `moderator` - Модератор
|
|
5
|
-
* * `participant` - Участник
|
|
6
|
-
* * `security` - Служба безопасности
|
|
7
|
-
* * `director` - Руководитель
|
|
8
|
-
*/
|
|
9
|
-
export interface TradeUser {
|
|
1
|
+
export interface _TradeUser {
|
|
2
|
+
id: number;
|
|
10
3
|
/**
|
|
11
|
-
*
|
|
12
|
-
* @format email
|
|
4
|
+
* Наименование организации
|
|
13
5
|
* @maxLength 255
|
|
14
6
|
*/
|
|
15
|
-
|
|
16
|
-
id: number;
|
|
7
|
+
company?: string;
|
|
17
8
|
/**
|
|
18
|
-
*
|
|
9
|
+
* Контактное лицо
|
|
19
10
|
* @maxLength 255
|
|
20
11
|
*/
|
|
21
|
-
|
|
12
|
+
contact_person?: string;
|
|
22
13
|
/**
|
|
23
|
-
*
|
|
14
|
+
* Почта
|
|
15
|
+
* @format email
|
|
24
16
|
* @maxLength 255
|
|
25
17
|
*/
|
|
26
|
-
|
|
18
|
+
email?: string | null;
|
|
27
19
|
/**
|
|
28
20
|
* ИНН
|
|
29
21
|
* @maxLength 255
|
|
30
22
|
*/
|
|
31
23
|
inn?: string;
|
|
32
24
|
/**
|
|
33
|
-
*
|
|
25
|
+
* Телефон
|
|
34
26
|
* @maxLength 255
|
|
35
27
|
*/
|
|
36
|
-
|
|
28
|
+
phone?: string | null;
|
|
37
29
|
/**
|
|
38
30
|
* Должность
|
|
39
31
|
* @maxLength 255
|
|
@@ -1,38 +1,30 @@
|
|
|
1
|
-
|
|
2
|
-
* * `admin` - Администратор
|
|
3
|
-
* * `manager` - Менеджер
|
|
4
|
-
* * `moderator` - Модератор
|
|
5
|
-
* * `participant` - Участник
|
|
6
|
-
* * `security` - Служба безопасности
|
|
7
|
-
* * `director` - Руководитель
|
|
8
|
-
*/
|
|
9
|
-
export interface TradeUserRequest {
|
|
1
|
+
export interface _TradeUserRequest {
|
|
10
2
|
/**
|
|
11
|
-
*
|
|
12
|
-
* @format email
|
|
3
|
+
* Наименование организации
|
|
13
4
|
* @maxLength 255
|
|
14
5
|
*/
|
|
15
|
-
|
|
6
|
+
company?: string;
|
|
16
7
|
/**
|
|
17
|
-
*
|
|
8
|
+
* Контактное лицо
|
|
18
9
|
* @maxLength 255
|
|
19
10
|
*/
|
|
20
|
-
|
|
11
|
+
contact_person?: string;
|
|
21
12
|
/**
|
|
22
|
-
*
|
|
13
|
+
* Почта
|
|
14
|
+
* @format email
|
|
23
15
|
* @maxLength 255
|
|
24
16
|
*/
|
|
25
|
-
|
|
17
|
+
email?: string | null;
|
|
26
18
|
/**
|
|
27
19
|
* ИНН
|
|
28
20
|
* @maxLength 255
|
|
29
21
|
*/
|
|
30
22
|
inn?: string;
|
|
31
23
|
/**
|
|
32
|
-
*
|
|
24
|
+
* Телефон
|
|
33
25
|
* @maxLength 255
|
|
34
26
|
*/
|
|
35
|
-
|
|
27
|
+
phone?: string | null;
|
|
36
28
|
/**
|
|
37
29
|
* Должность
|
|
38
30
|
* @maxLength 255
|
|
@@ -6,17 +6,30 @@ export { type Status0CcEnum } from '../../enums';
|
|
|
6
6
|
export { type StatusAeeEnum } from '../../enums';
|
|
7
7
|
export { type StepTypeEnum } from '../../enums';
|
|
8
8
|
export { type Type744Enum } from '../../enums';
|
|
9
|
+
export type { _CurrentUserWinner } from '../Current';
|
|
10
|
+
export type { NullEnum } from '../Null';
|
|
11
|
+
export type { ProductDetail } from '../Product';
|
|
12
|
+
export type { _RipeLevel } from '../Ripe';
|
|
13
|
+
export type { _Size } from '../Size';
|
|
14
|
+
export type { _Type } from '../Type';
|
|
15
|
+
export type { _UserFacility } from '../User';
|
|
16
|
+
export type { _WinnerAdditionalProduct } from '../Winner';
|
|
17
|
+
export type { _TradeAdditionalProduct } from './_TradeAdditionalProduct';
|
|
18
|
+
export type { _TradeCreator } from './_TradeCreator';
|
|
19
|
+
export type { _TradeCreatorRequest } from './_TradeCreatorRequest';
|
|
20
|
+
export type { _TradeFacility } from './_TradeFacility';
|
|
21
|
+
export type { _TradeFiltersFacilities } from './_TradeFiltersFacilities';
|
|
22
|
+
export type { _TradeFiltersProducts } from './_TradeFiltersProducts';
|
|
23
|
+
export type { _TradeFiltersProductTypes } from './_TradeFiltersProductTypes';
|
|
24
|
+
export type { _TradeLotCategory } from './_TradeLotCategory';
|
|
25
|
+
export type { _TradeProduct } from './_TradeProduct';
|
|
26
|
+
export type { _TradeStatus } from './_TradeStatus';
|
|
27
|
+
export type { _TradeUser } from './_TradeUser';
|
|
28
|
+
export type { _TradeUserRequest } from './_TradeUserRequest';
|
|
9
29
|
export type { Trade } from './Trade';
|
|
10
|
-
export type { TradeAdditionalProduct } from './TradeAdditionalProduct';
|
|
11
30
|
export type { TradeCreateRequest } from './TradeCreateRequest';
|
|
12
|
-
export type { TradeCreator } from './TradeCreator';
|
|
13
|
-
export type { TradeCreatorRequest } from './TradeCreatorRequest';
|
|
14
31
|
export type { TradeDetail } from './TradeDetail';
|
|
15
|
-
export type { TradeFacility } from './TradeFacility';
|
|
16
32
|
export type { TradeFilters } from './TradeFilters';
|
|
17
|
-
export type { TradeFiltersFacilities } from './TradeFiltersFacilities';
|
|
18
|
-
export type { TradeFiltersProducts } from './TradeFiltersProducts';
|
|
19
|
-
export type { TradeFiltersProductTypes } from './TradeFiltersProductTypes';
|
|
20
33
|
export type { TradeLot } from './TradeLot';
|
|
21
34
|
export type { TradeLotActionBidRequest } from './TradeLotActionBidRequest';
|
|
22
35
|
export type { TradeLotActionBidResponse } from './TradeLotActionBidResponse';
|
|
@@ -38,8 +51,4 @@ export type { TradeLotWinnerCreateBulkRequest } from './TradeLotWinnerCreateBulk
|
|
|
38
51
|
export type { TradeLotWinnerCreateRequest } from './TradeLotWinnerCreateRequest';
|
|
39
52
|
export type { TradeLotWinnerUpdateRequest } from './TradeLotWinnerUpdateRequest';
|
|
40
53
|
export type { TradePagination } from './TradePagination';
|
|
41
|
-
export type { TradeProduct } from './TradeProduct';
|
|
42
|
-
export type { TradeStatus } from './TradeStatus';
|
|
43
54
|
export type { TradeUpdateRequest } from './TradeUpdateRequest';
|
|
44
|
-
export type { TradeUser } from './TradeUser';
|
|
45
|
-
export type { TradeUserRequest } from './TradeUserRequest';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type {
|
|
1
|
+
export type { _Type } from './_Type';
|
|
@@ -1,18 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
* * `manager` - Менеджер
|
|
4
|
-
* * `moderator` - Модератор
|
|
5
|
-
* * `participant` - Участник
|
|
6
|
-
* * `security` - Служба безопасности
|
|
7
|
-
* * `director` - Руководитель
|
|
8
|
-
*/
|
|
9
|
-
export interface Unit {
|
|
1
|
+
export interface _Unit {
|
|
2
|
+
id: number;
|
|
10
3
|
/**
|
|
11
4
|
* Показывать
|
|
12
5
|
* Если отключёно, элемент не будет отображаться на сайте
|
|
13
6
|
*/
|
|
14
7
|
active?: boolean;
|
|
15
|
-
id: number;
|
|
16
8
|
/**
|
|
17
9
|
* Название
|
|
18
10
|
* @maxLength 255
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type {
|
|
1
|
+
export type { _Unit } from './_Unit';
|
|
@@ -1,37 +1,55 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
* * `security` - Служба безопасности
|
|
7
|
-
* * `director` - Руководитель
|
|
8
|
-
*/
|
|
9
|
-
import type { UserChanges } from './UserChanges';
|
|
10
|
-
import type { UserCompanyChanges } from './UserCompanyChanges';
|
|
1
|
+
import type { BlankEnum, PermissionsTradesParticipantsEnum } from '../../enums';
|
|
2
|
+
import type { _UserChanges } from './_UserChanges';
|
|
3
|
+
import type { _UserCompanyChanges } from './_UserCompanyChanges';
|
|
4
|
+
import type { _UserFacility } from './_UserFacility';
|
|
5
|
+
import type { _UserManager } from './_UserManager';
|
|
11
6
|
import type { UserDocumentAccept } from './UserDocumentAccept';
|
|
12
|
-
import type { UserFacility } from './UserFacility';
|
|
13
7
|
import type { UserFCMTokens } from './UserFCMTokens';
|
|
14
|
-
import type { UserManager } from './UserManager';
|
|
15
8
|
export interface User {
|
|
9
|
+
id: number;
|
|
16
10
|
/** Можно делать скриншоты */
|
|
17
11
|
app_screenshots_enabled?: boolean;
|
|
12
|
+
avatar: string;
|
|
13
|
+
changes: _UserChanges;
|
|
14
|
+
changes_company: _UserCompanyChanges;
|
|
15
|
+
/**
|
|
16
|
+
* Наименование организации
|
|
17
|
+
* @maxLength 255
|
|
18
|
+
*/
|
|
19
|
+
company?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Контактное лицо
|
|
22
|
+
* @maxLength 255
|
|
23
|
+
*/
|
|
24
|
+
contact_person?: string;
|
|
25
|
+
default_company: _UserCompanyChanges;
|
|
26
|
+
document_accepts: UserDocumentAccept[];
|
|
18
27
|
/**
|
|
19
28
|
* Почта
|
|
20
29
|
* @format email
|
|
21
30
|
* @maxLength 255
|
|
22
31
|
*/
|
|
23
32
|
email?: string | null;
|
|
33
|
+
facilities: _UserFacility[];
|
|
34
|
+
fcm_tokens: UserFCMTokens[];
|
|
24
35
|
/**
|
|
25
36
|
* Имя
|
|
26
37
|
* @maxLength 255
|
|
27
38
|
*/
|
|
28
39
|
first_name?: string;
|
|
29
|
-
|
|
40
|
+
/**
|
|
41
|
+
* ИНН
|
|
42
|
+
* @maxLength 255
|
|
43
|
+
*/
|
|
44
|
+
inn?: string;
|
|
30
45
|
/**
|
|
31
46
|
* Фамилия
|
|
32
47
|
* @maxLength 255
|
|
33
48
|
*/
|
|
34
49
|
last_name?: string;
|
|
50
|
+
managers: _UserManager[];
|
|
51
|
+
/** Права на установку доступности торгов для Участников */
|
|
52
|
+
permissions_trades_participants?: BlankEnum | PermissionsTradesParticipantsEnum;
|
|
35
53
|
/**
|
|
36
54
|
* Телефон
|
|
37
55
|
* @maxLength 255
|
|
@@ -42,40 +60,17 @@ export interface User {
|
|
|
42
60
|
* @maxLength 255
|
|
43
61
|
*/
|
|
44
62
|
pin_code?: string;
|
|
45
|
-
/** Регистрация подтверждена */
|
|
46
|
-
signup_confirmed?: boolean;
|
|
47
|
-
/**
|
|
48
|
-
* Наименование организации
|
|
49
|
-
* @maxLength 255
|
|
50
|
-
*/
|
|
51
|
-
company?: string;
|
|
52
|
-
/**
|
|
53
|
-
* Контактное лицо
|
|
54
|
-
* @maxLength 255
|
|
55
|
-
*/
|
|
56
|
-
contact_person?: string;
|
|
57
|
-
default_company: UserCompanyChanges;
|
|
58
|
-
/**
|
|
59
|
-
* ИНН
|
|
60
|
-
* @maxLength 255
|
|
61
|
-
*/
|
|
62
|
-
inn?: string;
|
|
63
63
|
/**
|
|
64
64
|
* Должность
|
|
65
65
|
* @maxLength 255
|
|
66
66
|
*/
|
|
67
67
|
position?: string;
|
|
68
|
+
/** Регистрация подтверждена */
|
|
69
|
+
signup_confirmed?: boolean;
|
|
70
|
+
status: string;
|
|
68
71
|
is_type_admin: boolean;
|
|
69
72
|
is_type_manager: boolean;
|
|
70
73
|
is_type_moderator: boolean;
|
|
71
74
|
is_type_participant: boolean;
|
|
72
75
|
is_type_security: boolean;
|
|
73
|
-
avatar: string;
|
|
74
|
-
changes: UserChanges;
|
|
75
|
-
changes_company: UserCompanyChanges;
|
|
76
|
-
document_accepts: UserDocumentAccept[];
|
|
77
|
-
facilities: UserFacility[];
|
|
78
|
-
fcm_tokens: UserFCMTokens[];
|
|
79
|
-
managers: UserManager[];
|
|
80
|
-
status: string;
|
|
81
76
|
}
|
|
@@ -1,12 +1,4 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* * `admin` - Администратор
|
|
3
|
-
* * `manager` - Менеджер
|
|
4
|
-
* * `moderator` - Модератор
|
|
5
|
-
* * `participant` - Участник
|
|
6
|
-
* * `security` - Служба безопасности
|
|
7
|
-
* * `director` - Руководитель
|
|
8
|
-
*/
|
|
9
1
|
export interface UserActionDocumentAcceptRequest {
|
|
10
|
-
document: number;
|
|
11
2
|
accepted: boolean;
|
|
3
|
+
document: number;
|
|
12
4
|
}
|