@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,11 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* * `admin` - Администратор
|
|
3
|
-
* * `manager` - Менеджер
|
|
4
|
-
* * `moderator` - Модератор
|
|
5
|
-
* * `participant` - Участник
|
|
6
|
-
* * `security` - Служба безопасности
|
|
7
|
-
* * `director` - Руководитель
|
|
8
|
-
*/
|
|
9
1
|
import type { Status9DdEnum } from '../../enums';
|
|
10
2
|
export interface UserCompany {
|
|
11
3
|
id: number;
|
|
@@ -15,19 +7,22 @@ export interface UserCompany {
|
|
|
15
7
|
*/
|
|
16
8
|
active?: boolean;
|
|
17
9
|
/**
|
|
18
|
-
*
|
|
19
|
-
* @
|
|
10
|
+
* Наименование организации
|
|
11
|
+
* @maxLength 255
|
|
20
12
|
*/
|
|
21
|
-
|
|
13
|
+
company?: string;
|
|
22
14
|
/**
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
* @min -32768
|
|
26
|
-
* @max 32767
|
|
15
|
+
* Контактное лицо
|
|
16
|
+
* @maxLength 255
|
|
27
17
|
*/
|
|
28
|
-
|
|
18
|
+
contact_person?: string;
|
|
29
19
|
/** По умолчанию */
|
|
30
20
|
default?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Дата/время создания
|
|
23
|
+
* @format date-time
|
|
24
|
+
*/
|
|
25
|
+
dt_create: string;
|
|
31
26
|
/**
|
|
32
27
|
* Дата/время редактирования
|
|
33
28
|
* @format date-time
|
|
@@ -39,21 +34,15 @@ export interface UserCompany {
|
|
|
39
34
|
* @maxLength 255
|
|
40
35
|
*/
|
|
41
36
|
email?: string | null;
|
|
42
|
-
/**
|
|
43
|
-
* Наименование организации
|
|
44
|
-
* @maxLength 255
|
|
45
|
-
*/
|
|
46
|
-
company?: string;
|
|
47
|
-
/**
|
|
48
|
-
* Контактное лицо
|
|
49
|
-
* @maxLength 255
|
|
50
|
-
*/
|
|
51
|
-
contact_person?: string;
|
|
52
37
|
/**
|
|
53
38
|
* ИНН
|
|
54
39
|
* @maxLength 255
|
|
55
40
|
*/
|
|
56
41
|
inn?: string;
|
|
42
|
+
/** Модератор */
|
|
43
|
+
moderator?: number | null;
|
|
44
|
+
/** Родитель */
|
|
45
|
+
parent: number | null;
|
|
57
46
|
/**
|
|
58
47
|
* Телефон
|
|
59
48
|
* @maxLength 255
|
|
@@ -64,12 +53,15 @@ export interface UserCompany {
|
|
|
64
53
|
* @maxLength 255
|
|
65
54
|
*/
|
|
66
55
|
position?: string;
|
|
56
|
+
/**
|
|
57
|
+
* Сортировка
|
|
58
|
+
* Чем меньше значение, тем выше отображается в списке
|
|
59
|
+
* @min -32768
|
|
60
|
+
* @max 32767
|
|
61
|
+
*/
|
|
62
|
+
sort?: number;
|
|
67
63
|
/** Статус */
|
|
68
64
|
status?: Status9DdEnum;
|
|
69
65
|
/** Пользователь */
|
|
70
66
|
user: number;
|
|
71
|
-
/** Модератор */
|
|
72
|
-
moderator?: number | null;
|
|
73
|
-
/** Родитель */
|
|
74
|
-
parent: number | null;
|
|
75
67
|
}
|
|
@@ -1,36 +1,11 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* * `admin` - Администратор
|
|
3
|
-
* * `manager` - Менеджер
|
|
4
|
-
* * `moderator` - Модератор
|
|
5
|
-
* * `participant` - Участник
|
|
6
|
-
* * `security` - Служба безопасности
|
|
7
|
-
* * `director` - Руководитель
|
|
8
|
-
*/
|
|
9
1
|
import type { Status9DdEnum } from '../../enums';
|
|
10
2
|
export interface UserCompanyChange {
|
|
11
3
|
id: number;
|
|
12
|
-
/** @format email */
|
|
13
|
-
email: string;
|
|
14
|
-
inn: string;
|
|
15
4
|
/**
|
|
16
5
|
* Показывать
|
|
17
6
|
* Если отключёно, элемент не будет отображаться на сайте
|
|
18
7
|
*/
|
|
19
8
|
active?: boolean;
|
|
20
|
-
/**
|
|
21
|
-
* Дата/время создания
|
|
22
|
-
* @format date-time
|
|
23
|
-
*/
|
|
24
|
-
dt_create: string;
|
|
25
|
-
/**
|
|
26
|
-
* Сортировка
|
|
27
|
-
* Чем меньше значение, тем выше отображается в списке
|
|
28
|
-
* @min -32768
|
|
29
|
-
* @max 32767
|
|
30
|
-
*/
|
|
31
|
-
sort?: number;
|
|
32
|
-
/** По умолчанию */
|
|
33
|
-
default?: boolean;
|
|
34
9
|
/**
|
|
35
10
|
* Наименование организации
|
|
36
11
|
* @maxLength 255
|
|
@@ -41,6 +16,18 @@ export interface UserCompanyChange {
|
|
|
41
16
|
* @maxLength 255
|
|
42
17
|
*/
|
|
43
18
|
contact_person?: string;
|
|
19
|
+
/** По умолчанию */
|
|
20
|
+
default?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Дата/время создания
|
|
23
|
+
* @format date-time
|
|
24
|
+
*/
|
|
25
|
+
dt_create: string;
|
|
26
|
+
/** @format email */
|
|
27
|
+
email: string;
|
|
28
|
+
inn: string;
|
|
29
|
+
/** Родитель */
|
|
30
|
+
parent: number | null;
|
|
44
31
|
/**
|
|
45
32
|
* Телефон
|
|
46
33
|
* @maxLength 255
|
|
@@ -51,8 +38,13 @@ export interface UserCompanyChange {
|
|
|
51
38
|
* @maxLength 255
|
|
52
39
|
*/
|
|
53
40
|
position?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Сортировка
|
|
43
|
+
* Чем меньше значение, тем выше отображается в списке
|
|
44
|
+
* @min -32768
|
|
45
|
+
* @max 32767
|
|
46
|
+
*/
|
|
47
|
+
sort?: number;
|
|
54
48
|
/** Статус */
|
|
55
49
|
status?: Status9DdEnum;
|
|
56
|
-
/** Родитель */
|
|
57
|
-
parent: number | null;
|
|
58
50
|
}
|
|
@@ -1,34 +1,10 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* * `admin` - Администратор
|
|
3
|
-
* * `manager` - Менеджер
|
|
4
|
-
* * `moderator` - Модератор
|
|
5
|
-
* * `participant` - Участник
|
|
6
|
-
* * `security` - Служба безопасности
|
|
7
|
-
* * `director` - Руководитель
|
|
8
|
-
*/
|
|
9
1
|
import type { Status9DdEnum } from '../../enums';
|
|
10
2
|
export interface UserCompanyChangeRequest {
|
|
11
|
-
/**
|
|
12
|
-
* @format email
|
|
13
|
-
* @minLength 1
|
|
14
|
-
*/
|
|
15
|
-
email: string;
|
|
16
|
-
/** @minLength 1 */
|
|
17
|
-
inn: string;
|
|
18
3
|
/**
|
|
19
4
|
* Показывать
|
|
20
5
|
* Если отключёно, элемент не будет отображаться на сайте
|
|
21
6
|
*/
|
|
22
7
|
active?: boolean;
|
|
23
|
-
/**
|
|
24
|
-
* Сортировка
|
|
25
|
-
* Чем меньше значение, тем выше отображается в списке
|
|
26
|
-
* @min -32768
|
|
27
|
-
* @max 32767
|
|
28
|
-
*/
|
|
29
|
-
sort?: number;
|
|
30
|
-
/** По умолчанию */
|
|
31
|
-
default?: boolean;
|
|
32
8
|
/**
|
|
33
9
|
* Наименование организации
|
|
34
10
|
* @maxLength 255
|
|
@@ -39,6 +15,15 @@ export interface UserCompanyChangeRequest {
|
|
|
39
15
|
* @maxLength 255
|
|
40
16
|
*/
|
|
41
17
|
contact_person?: string;
|
|
18
|
+
/** По умолчанию */
|
|
19
|
+
default?: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* @format email
|
|
22
|
+
* @minLength 1
|
|
23
|
+
*/
|
|
24
|
+
email: string;
|
|
25
|
+
/** @minLength 1 */
|
|
26
|
+
inn: string;
|
|
42
27
|
/**
|
|
43
28
|
* Телефон
|
|
44
29
|
* @maxLength 255
|
|
@@ -49,6 +34,13 @@ export interface UserCompanyChangeRequest {
|
|
|
49
34
|
* @maxLength 255
|
|
50
35
|
*/
|
|
51
36
|
position?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Сортировка
|
|
39
|
+
* Чем меньше значение, тем выше отображается в списке
|
|
40
|
+
* @min -32768
|
|
41
|
+
* @max 32767
|
|
42
|
+
*/
|
|
43
|
+
sort?: number;
|
|
52
44
|
/** Статус */
|
|
53
45
|
status?: Status9DdEnum;
|
|
54
46
|
}
|
|
@@ -1,78 +1,73 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
* * `participant` - Участник
|
|
6
|
-
* * `security` - Служба безопасности
|
|
7
|
-
* * `director` - Руководитель
|
|
8
|
-
*/
|
|
9
|
-
import type { BlankEnum, Status8F7Enum } from '../../enums';
|
|
10
|
-
import type { UserChanges } from './UserChanges';
|
|
11
|
-
import type { UserCompanyChanges } from './UserCompanyChanges';
|
|
1
|
+
import type { BlankEnum, PermissionsTradesParticipantsEnum, Status8F7Enum } from '../../enums';
|
|
2
|
+
import type { NullEnum } from '../Null/NullEnum';
|
|
3
|
+
import type { _UserChanges } from './_UserChanges';
|
|
4
|
+
import type { _UserCompanyChanges } from './_UserCompanyChanges';
|
|
12
5
|
import type { UserDocumentAccept } from './UserDocumentAccept';
|
|
13
6
|
import type { UserFCMTokens } from './UserFCMTokens';
|
|
14
7
|
export interface UserCreate {
|
|
8
|
+
id: number;
|
|
15
9
|
/** Можно делать скриншоты */
|
|
16
10
|
app_screenshots_enabled: boolean;
|
|
11
|
+
/** @format uri */
|
|
12
|
+
avatar?: string | null;
|
|
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[];
|
|
17
27
|
/**
|
|
18
28
|
* Почта
|
|
19
29
|
* @format email
|
|
20
30
|
* @maxLength 255
|
|
21
31
|
*/
|
|
22
32
|
email?: string | null;
|
|
33
|
+
facilities?: (number | null)[];
|
|
34
|
+
fcm_tokens: UserFCMTokens[];
|
|
23
35
|
/**
|
|
24
36
|
* Имя
|
|
25
37
|
* @maxLength 255
|
|
26
38
|
*/
|
|
27
39
|
first_name?: string;
|
|
28
|
-
|
|
40
|
+
/**
|
|
41
|
+
* ИНН
|
|
42
|
+
* @maxLength 255
|
|
43
|
+
*/
|
|
44
|
+
inn: string;
|
|
29
45
|
/**
|
|
30
46
|
* Фамилия
|
|
31
47
|
* @maxLength 255
|
|
32
48
|
*/
|
|
33
49
|
last_name?: string;
|
|
50
|
+
managers?: (number | null)[];
|
|
51
|
+
password?: string | null;
|
|
52
|
+
/** Права на установку доступности торгов для Участников */
|
|
53
|
+
permissions_trades_participants?: BlankEnum | PermissionsTradesParticipantsEnum;
|
|
34
54
|
phone?: string | null;
|
|
35
55
|
/**
|
|
36
56
|
* ПИН-код
|
|
37
57
|
* @maxLength 255
|
|
38
58
|
*/
|
|
39
59
|
pin_code?: string;
|
|
40
|
-
/** Регистрация подтверждена */
|
|
41
|
-
signup_confirmed: boolean;
|
|
42
|
-
/**
|
|
43
|
-
* Наименование организации
|
|
44
|
-
* @maxLength 255
|
|
45
|
-
*/
|
|
46
|
-
company: string;
|
|
47
|
-
/**
|
|
48
|
-
* Контактное лицо
|
|
49
|
-
* @maxLength 255
|
|
50
|
-
*/
|
|
51
|
-
contact_person: string;
|
|
52
|
-
default_company: UserCompanyChanges;
|
|
53
|
-
/**
|
|
54
|
-
* ИНН
|
|
55
|
-
* @maxLength 255
|
|
56
|
-
*/
|
|
57
|
-
inn: string;
|
|
58
60
|
/**
|
|
59
61
|
* Должность
|
|
60
62
|
* @maxLength 255
|
|
61
63
|
*/
|
|
62
64
|
position?: string;
|
|
65
|
+
/** Регистрация подтверждена */
|
|
66
|
+
signup_confirmed: boolean;
|
|
67
|
+
status?: BlankEnum | NullEnum | Status8F7Enum | null;
|
|
63
68
|
is_type_admin: boolean;
|
|
64
69
|
is_type_manager: boolean;
|
|
65
70
|
is_type_moderator: boolean;
|
|
66
71
|
is_type_participant: boolean;
|
|
67
72
|
is_type_security: boolean;
|
|
68
|
-
/** @format uri */
|
|
69
|
-
avatar?: string | null;
|
|
70
|
-
changes: UserChanges;
|
|
71
|
-
changes_company: UserCompanyChanges;
|
|
72
|
-
document_accepts: UserDocumentAccept[];
|
|
73
|
-
facilities?: (number | null)[];
|
|
74
|
-
fcm_tokens: UserFCMTokens[];
|
|
75
|
-
managers?: (number | null)[];
|
|
76
|
-
status?: Status8F7Enum | BlankEnum | NullEnum | null;
|
|
77
|
-
password?: string | null;
|
|
78
73
|
}
|
|
@@ -1,61 +1,56 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
* * `manager` - Менеджер
|
|
4
|
-
* * `moderator` - Модератор
|
|
5
|
-
* * `participant` - Участник
|
|
6
|
-
* * `security` - Служба безопасности
|
|
7
|
-
* * `director` - Руководитель
|
|
8
|
-
*/
|
|
9
|
-
import type { BlankEnum, Status8F7Enum, TypesEnum } from '../../enums';
|
|
1
|
+
import type { BlankEnum, PermissionsTradesParticipantsEnum, Status8F7Enum, TypesEnum } from '../../enums';
|
|
2
|
+
import type { NullEnum } from '../Null/NullEnum';
|
|
10
3
|
export interface UserCreateRequest {
|
|
4
|
+
/** @format binary */
|
|
5
|
+
avatar?: File | null;
|
|
6
|
+
/**
|
|
7
|
+
* Наименование организации
|
|
8
|
+
* @maxLength 255
|
|
9
|
+
*/
|
|
10
|
+
company: string;
|
|
11
|
+
/**
|
|
12
|
+
* Контактное лицо
|
|
13
|
+
* @maxLength 255
|
|
14
|
+
*/
|
|
15
|
+
contact_person: string;
|
|
11
16
|
/**
|
|
12
17
|
* Почта
|
|
13
18
|
* @format email
|
|
14
19
|
* @maxLength 255
|
|
15
20
|
*/
|
|
16
21
|
email?: string | null;
|
|
22
|
+
facilities?: (number | null)[];
|
|
17
23
|
/**
|
|
18
24
|
* Имя
|
|
19
25
|
* @maxLength 255
|
|
20
26
|
*/
|
|
21
27
|
first_name?: string;
|
|
28
|
+
/**
|
|
29
|
+
* ИНН
|
|
30
|
+
* @maxLength 255
|
|
31
|
+
*/
|
|
32
|
+
inn: string;
|
|
22
33
|
/**
|
|
23
34
|
* Фамилия
|
|
24
35
|
* @maxLength 255
|
|
25
36
|
*/
|
|
26
37
|
last_name?: string;
|
|
38
|
+
managers?: (number | null)[];
|
|
39
|
+
password?: string | null;
|
|
40
|
+
/** Права на установку доступности торгов для Участников */
|
|
41
|
+
permissions_trades_participants?: BlankEnum | PermissionsTradesParticipantsEnum;
|
|
27
42
|
phone?: string | null;
|
|
28
43
|
/**
|
|
29
44
|
* ПИН-код
|
|
30
45
|
* @maxLength 255
|
|
31
46
|
*/
|
|
32
47
|
pin_code?: string;
|
|
33
|
-
/**
|
|
34
|
-
* Наименование организации
|
|
35
|
-
* @maxLength 255
|
|
36
|
-
*/
|
|
37
|
-
company: string;
|
|
38
|
-
/**
|
|
39
|
-
* Контактное лицо
|
|
40
|
-
* @maxLength 255
|
|
41
|
-
*/
|
|
42
|
-
contact_person: string;
|
|
43
|
-
/**
|
|
44
|
-
* ИНН
|
|
45
|
-
* @maxLength 255
|
|
46
|
-
*/
|
|
47
|
-
inn: string;
|
|
48
48
|
/**
|
|
49
49
|
* Должность
|
|
50
50
|
* @maxLength 255
|
|
51
51
|
*/
|
|
52
52
|
position?: string;
|
|
53
|
-
|
|
54
|
-
avatar?: File | null;
|
|
55
|
-
facilities?: (number | null)[];
|
|
56
|
-
managers?: (number | null)[];
|
|
57
|
-
status?: Status8F7Enum | BlankEnum | NullEnum | null;
|
|
58
|
-
password?: string | null;
|
|
53
|
+
status?: BlankEnum | NullEnum | Status8F7Enum | null;
|
|
59
54
|
status_comment?: string | null;
|
|
60
55
|
/** @maxItems 6 */
|
|
61
56
|
types?: TypesEnum[] | null;
|
|
@@ -1,22 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
* * `admin` - Администратор
|
|
3
|
-
* * `manager` - Менеджер
|
|
4
|
-
* * `moderator` - Модератор
|
|
5
|
-
* * `participant` - Участник
|
|
6
|
-
* * `security` - Служба безопасности
|
|
7
|
-
* * `director` - Руководитель
|
|
8
|
-
*/
|
|
9
|
-
import type { DocumentField } from '../Document/DocumentField';
|
|
1
|
+
import type { _DocumentField } from '../Document/_DocumentField';
|
|
10
2
|
export interface UserDocumentAccept {
|
|
11
3
|
id: number;
|
|
12
|
-
|
|
4
|
+
/** Принял */
|
|
5
|
+
accepted: boolean;
|
|
6
|
+
document: _DocumentField;
|
|
13
7
|
/**
|
|
14
8
|
* Дата/время изменения
|
|
15
9
|
* @format date-time
|
|
16
10
|
*/
|
|
17
11
|
dt_change: string;
|
|
18
|
-
/** Принял */
|
|
19
|
-
accepted: boolean;
|
|
20
12
|
/** Версия */
|
|
21
13
|
version: string;
|
|
22
14
|
}
|
|
@@ -1,17 +1,9 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* * `admin` - Администратор
|
|
3
|
-
* * `manager` - Менеджер
|
|
4
|
-
* * `moderator` - Модератор
|
|
5
|
-
* * `participant` - Участник
|
|
6
|
-
* * `security` - Служба безопасности
|
|
7
|
-
* * `director` - Руководитель
|
|
8
|
-
*/
|
|
9
1
|
import type { Status8F7Enum } from '../../enums';
|
|
10
|
-
import type {
|
|
2
|
+
import type { _StatusCreator } from '../Status/_StatusCreator';
|
|
11
3
|
export interface UserStatus {
|
|
12
4
|
/** Комментарий */
|
|
13
5
|
comment?: string;
|
|
14
|
-
creator:
|
|
6
|
+
creator: _StatusCreator;
|
|
15
7
|
/**
|
|
16
8
|
* Дата/время создания
|
|
17
9
|
* @format date-time
|
|
@@ -1,78 +1,73 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
* * `participant` - Участник
|
|
6
|
-
* * `security` - Служба безопасности
|
|
7
|
-
* * `director` - Руководитель
|
|
8
|
-
*/
|
|
9
|
-
import type { BlankEnum, Status8F7Enum } from '../../enums';
|
|
10
|
-
import type { UserChanges } from './UserChanges';
|
|
11
|
-
import type { UserCompanyChanges } from './UserCompanyChanges';
|
|
1
|
+
import type { BlankEnum, PermissionsTradesParticipantsEnum, Status8F7Enum } from '../../enums';
|
|
2
|
+
import type { NullEnum } from '../Null/NullEnum';
|
|
3
|
+
import type { _UserChanges } from './_UserChanges';
|
|
4
|
+
import type { _UserCompanyChanges } from './_UserCompanyChanges';
|
|
12
5
|
import type { UserDocumentAccept } from './UserDocumentAccept';
|
|
13
6
|
import type { UserFCMTokens } from './UserFCMTokens';
|
|
14
7
|
export interface UserUpdate {
|
|
8
|
+
id: number;
|
|
15
9
|
/** Можно делать скриншоты */
|
|
16
10
|
app_screenshots_enabled: boolean;
|
|
11
|
+
/** @format uri */
|
|
12
|
+
avatar?: string | null;
|
|
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[];
|
|
17
27
|
/**
|
|
18
28
|
* Почта
|
|
19
29
|
* @format email
|
|
20
30
|
* @maxLength 255
|
|
21
31
|
*/
|
|
22
32
|
email?: string | null;
|
|
33
|
+
facilities?: (number | null)[];
|
|
34
|
+
fcm_tokens: UserFCMTokens[];
|
|
23
35
|
/**
|
|
24
36
|
* Имя
|
|
25
37
|
* @maxLength 255
|
|
26
38
|
*/
|
|
27
39
|
first_name?: string;
|
|
28
|
-
|
|
40
|
+
/**
|
|
41
|
+
* ИНН
|
|
42
|
+
* @maxLength 255
|
|
43
|
+
*/
|
|
44
|
+
inn: string;
|
|
29
45
|
/**
|
|
30
46
|
* Фамилия
|
|
31
47
|
* @maxLength 255
|
|
32
48
|
*/
|
|
33
49
|
last_name?: string;
|
|
50
|
+
managers?: (number | null)[];
|
|
51
|
+
password?: string | null;
|
|
52
|
+
/** Права на установку доступности торгов для Участников */
|
|
53
|
+
permissions_trades_participants?: BlankEnum | PermissionsTradesParticipantsEnum;
|
|
34
54
|
phone?: string | null;
|
|
35
55
|
/**
|
|
36
56
|
* ПИН-код
|
|
37
57
|
* @maxLength 255
|
|
38
58
|
*/
|
|
39
59
|
pin_code?: string;
|
|
40
|
-
/** Регистрация подтверждена */
|
|
41
|
-
signup_confirmed: boolean;
|
|
42
|
-
/**
|
|
43
|
-
* Наименование организации
|
|
44
|
-
* @maxLength 255
|
|
45
|
-
*/
|
|
46
|
-
company: string;
|
|
47
|
-
/**
|
|
48
|
-
* Контактное лицо
|
|
49
|
-
* @maxLength 255
|
|
50
|
-
*/
|
|
51
|
-
contact_person: string;
|
|
52
|
-
default_company: UserCompanyChanges;
|
|
53
|
-
/**
|
|
54
|
-
* ИНН
|
|
55
|
-
* @maxLength 255
|
|
56
|
-
*/
|
|
57
|
-
inn: string;
|
|
58
60
|
/**
|
|
59
61
|
* Должность
|
|
60
62
|
* @maxLength 255
|
|
61
63
|
*/
|
|
62
64
|
position?: string;
|
|
65
|
+
/** Регистрация подтверждена */
|
|
66
|
+
signup_confirmed: boolean;
|
|
67
|
+
status?: BlankEnum | NullEnum | Status8F7Enum | null;
|
|
63
68
|
is_type_admin: boolean;
|
|
64
69
|
is_type_manager: boolean;
|
|
65
70
|
is_type_moderator: boolean;
|
|
66
71
|
is_type_participant: boolean;
|
|
67
72
|
is_type_security: boolean;
|
|
68
|
-
/** @format uri */
|
|
69
|
-
avatar?: string | null;
|
|
70
|
-
changes: UserChanges;
|
|
71
|
-
changes_company: UserCompanyChanges;
|
|
72
|
-
document_accepts: UserDocumentAccept[];
|
|
73
|
-
facilities?: (number | null)[];
|
|
74
|
-
fcm_tokens: UserFCMTokens[];
|
|
75
|
-
managers?: (number | null)[];
|
|
76
|
-
status?: Status8F7Enum | BlankEnum | NullEnum | null;
|
|
77
|
-
password?: string | null;
|
|
78
73
|
}
|
|
@@ -1,61 +1,56 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
* * `manager` - Менеджер
|
|
4
|
-
* * `moderator` - Модератор
|
|
5
|
-
* * `participant` - Участник
|
|
6
|
-
* * `security` - Служба безопасности
|
|
7
|
-
* * `director` - Руководитель
|
|
8
|
-
*/
|
|
9
|
-
import type { BlankEnum, Status8F7Enum, TypesEnum } from '../../enums';
|
|
1
|
+
import type { BlankEnum, PermissionsTradesParticipantsEnum, Status8F7Enum, TypesEnum } from '../../enums';
|
|
2
|
+
import type { NullEnum } from '../Null/NullEnum';
|
|
10
3
|
export interface UserUpdateRequest {
|
|
4
|
+
/** @format binary */
|
|
5
|
+
avatar?: File | null;
|
|
6
|
+
/**
|
|
7
|
+
* Наименование организации
|
|
8
|
+
* @maxLength 255
|
|
9
|
+
*/
|
|
10
|
+
company: string;
|
|
11
|
+
/**
|
|
12
|
+
* Контактное лицо
|
|
13
|
+
* @maxLength 255
|
|
14
|
+
*/
|
|
15
|
+
contact_person: string;
|
|
11
16
|
/**
|
|
12
17
|
* Почта
|
|
13
18
|
* @format email
|
|
14
19
|
* @maxLength 255
|
|
15
20
|
*/
|
|
16
21
|
email?: string | null;
|
|
22
|
+
facilities?: (number | null)[];
|
|
17
23
|
/**
|
|
18
24
|
* Имя
|
|
19
25
|
* @maxLength 255
|
|
20
26
|
*/
|
|
21
27
|
first_name?: string;
|
|
28
|
+
/**
|
|
29
|
+
* ИНН
|
|
30
|
+
* @maxLength 255
|
|
31
|
+
*/
|
|
32
|
+
inn: string;
|
|
22
33
|
/**
|
|
23
34
|
* Фамилия
|
|
24
35
|
* @maxLength 255
|
|
25
36
|
*/
|
|
26
37
|
last_name?: string;
|
|
38
|
+
managers?: (number | null)[];
|
|
39
|
+
password?: string | null;
|
|
40
|
+
/** Права на установку доступности торгов для Участников */
|
|
41
|
+
permissions_trades_participants?: BlankEnum | PermissionsTradesParticipantsEnum;
|
|
27
42
|
phone?: string | null;
|
|
28
43
|
/**
|
|
29
44
|
* ПИН-код
|
|
30
45
|
* @maxLength 255
|
|
31
46
|
*/
|
|
32
47
|
pin_code?: string;
|
|
33
|
-
/**
|
|
34
|
-
* Наименование организации
|
|
35
|
-
* @maxLength 255
|
|
36
|
-
*/
|
|
37
|
-
company: string;
|
|
38
|
-
/**
|
|
39
|
-
* Контактное лицо
|
|
40
|
-
* @maxLength 255
|
|
41
|
-
*/
|
|
42
|
-
contact_person: string;
|
|
43
|
-
/**
|
|
44
|
-
* ИНН
|
|
45
|
-
* @maxLength 255
|
|
46
|
-
*/
|
|
47
|
-
inn: string;
|
|
48
48
|
/**
|
|
49
49
|
* Должность
|
|
50
50
|
* @maxLength 255
|
|
51
51
|
*/
|
|
52
52
|
position?: string;
|
|
53
|
-
|
|
54
|
-
avatar?: File | null;
|
|
55
|
-
facilities?: (number | null)[];
|
|
56
|
-
managers?: (number | null)[];
|
|
57
|
-
status?: Status8F7Enum | BlankEnum | NullEnum | null;
|
|
58
|
-
password?: string | null;
|
|
53
|
+
status?: BlankEnum | NullEnum | Status8F7Enum | null;
|
|
59
54
|
status_comment?: string | null;
|
|
60
55
|
/** @maxItems 6 */
|
|
61
56
|
types?: TypesEnum[] | null;
|