@itcase/types-am 1.1.25 → 1.1.27
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 +13 -0
- package/dist/enums/Bid/index.d.ts +1 -0
- package/dist/enums/Blank/BlankEnum.d.ts +11 -0
- package/dist/enums/Blank/index.d.ts +1 -0
- package/dist/enums/Channel/ChannelEnum.d.ts +13 -0
- package/dist/enums/Channel/index.d.ts +1 -0
- package/dist/enums/Email/EmailEnum.d.ts +12 -0
- package/dist/enums/Email/index.d.ts +1 -0
- package/dist/enums/Price/PriceTypeEnum.d.ts +12 -0
- package/dist/enums/Price/index.d.ts +1 -0
- package/dist/enums/Process/ProcessTypeEnum.d.ts +13 -0
- package/dist/enums/Process/index.d.ts +1 -0
- package/dist/enums/Push/PushEnum.d.ts +12 -0
- package/dist/enums/Push/index.d.ts +1 -0
- package/dist/enums/Settings/SettingsNotificationsChangeTypeEnum.d.ts +49 -0
- package/dist/enums/Settings/index.d.ts +1 -0
- package/dist/enums/Status/Status0CcEnum.d.ts +18 -0
- package/dist/enums/Status/Status8F7Enum.d.ts +14 -0
- package/dist/enums/Status/Status9DdEnum.d.ts +14 -0
- package/dist/enums/Status/StatusAeeEnum.d.ts +16 -0
- package/dist/enums/Status/index.d.ts +4 -0
- package/dist/enums/Step/StepTypeEnum.d.ts +12 -0
- package/dist/enums/Step/index.d.ts +1 -0
- package/dist/enums/Type/Type744Enum.d.ts +12 -0
- package/dist/enums/Type/index.d.ts +1 -0
- package/dist/enums/Types/TypesEnum.d.ts +16 -0
- package/dist/enums/Types/index.d.ts +1 -0
- package/dist/enums/Usertype/UsertypeEnum.d.ts +16 -0
- package/dist/enums/Usertype/index.d.ts +1 -0
- package/dist/enums/index.d.ts +16 -0
- package/dist/index.d.ts +17 -0
- package/dist/types/Additional/AdditionalProduct.d.ts +47 -0
- package/dist/types/Additional/AdditionalProductChange.d.ts +44 -0
- package/dist/types/Additional/AdditionalProductChangeRequest.d.ts +43 -0
- package/dist/types/Additional/index.d.ts +4 -0
- package/dist/types/Creator/Creator.d.ts +42 -0
- package/dist/types/Creator/index.d.ts +1 -0
- package/dist/types/Current/CurrentUserWinner.d.ts +12 -0
- package/dist/types/Current/index.d.ts +1 -0
- package/dist/types/Document/Document.d.ts +56 -0
- package/dist/types/Document/DocumentField.d.ts +56 -0
- package/dist/types/Document/DocumentRequest.d.ts +57 -0
- package/dist/types/Document/index.d.ts +3 -0
- package/dist/types/External/External1CPayment.d.ts +14 -0
- package/dist/types/External/External1CPaymentRequest.d.ts +20 -0
- package/dist/types/External/External1CPrice.d.ts +14 -0
- package/dist/types/External/External1CPriceLot.d.ts +17 -0
- package/dist/types/External/External1CPriceLotRequest.d.ts +20 -0
- package/dist/types/External/External1CPriceRequest.d.ts +17 -0
- package/dist/types/External/External1CShipment.d.ts +14 -0
- package/dist/types/External/External1CShipmentLot.d.ts +14 -0
- package/dist/types/External/External1CShipmentLotRequest.d.ts +20 -0
- package/dist/types/External/External1CShipmentRequest.d.ts +17 -0
- package/dist/types/External/External1CSync.d.ts +12 -0
- package/dist/types/External/External1CSyncRequest.d.ts +15 -0
- package/dist/types/External/External1CTrade.d.ts +17 -0
- package/dist/types/External/External1CTradeLot.d.ts +24 -0
- package/dist/types/External/ExternalBiTrade.d.ts +23 -0
- package/dist/types/External/ExternalBiTradeAdditionalProduct.d.ts +27 -0
- package/dist/types/External/ExternalBiTradeBid.d.ts +23 -0
- package/dist/types/External/ExternalBiTradeLot.d.ts +28 -0
- package/dist/types/External/ExternalBiTradeView.d.ts +17 -0
- package/dist/types/External/ExternalBiUser.d.ts +47 -0
- package/dist/types/External/ExternalBiUserDevice.d.ts +42 -0
- package/dist/types/External/index.d.ts +21 -0
- package/dist/types/Facility/Facility.d.ts +48 -0
- package/dist/types/Facility/FacilityChange.d.ts +50 -0
- package/dist/types/Facility/FacilityChangeRequest.d.ts +53 -0
- package/dist/types/Facility/index.d.ts +3 -0
- package/dist/types/Filters/FiltersObj.d.ts +14 -0
- package/dist/types/Filters/FiltersStatus.d.ts +13 -0
- package/dist/types/Filters/index.d.ts +2 -0
- package/dist/types/Frontend/FrontendLog.d.ts +20 -0
- package/dist/types/Frontend/FrontendLogRequest.d.ts +12 -0
- package/dist/types/Frontend/index.d.ts +2 -0
- package/dist/types/Info/InfoBlock.d.ts +30 -0
- package/dist/types/Info/InfoBlockRequest.d.ts +31 -0
- package/dist/types/Info/index.d.ts +2 -0
- package/dist/types/News/News.d.ts +38 -0
- package/dist/types/News/NewsDetail.d.ts +40 -0
- package/dist/types/News/NewsImage.d.ts +27 -0
- package/dist/types/News/NewsImageChange.d.ts +28 -0
- package/dist/types/News/NewsImageChangeRequest.d.ts +24 -0
- package/dist/types/News/NewsRequest.d.ts +40 -0
- package/dist/types/News/index.d.ts +6 -0
- package/dist/types/Null/NullEnum.d.ts +9 -0
- package/dist/types/Null/index.d.ts +1 -0
- package/dist/types/Onboarding/Onboarding.d.ts +40 -0
- package/dist/types/Onboarding/OnboardingChange.d.ts +41 -0
- package/dist/types/Onboarding/OnboardingChangeRequest.d.ts +39 -0
- package/dist/types/Onboarding/index.d.ts +3 -0
- package/dist/types/Paginated/PaginatedAdditionalProductList.d.ts +24 -0
- package/dist/types/Paginated/PaginatedDocumentList.d.ts +24 -0
- package/dist/types/Paginated/PaginatedExternal1CTradeList.d.ts +24 -0
- package/dist/types/Paginated/PaginatedExternalBiTradeAdditionalProductList.d.ts +24 -0
- package/dist/types/Paginated/PaginatedExternalBiTradeBidList.d.ts +24 -0
- package/dist/types/Paginated/PaginatedExternalBiTradeList.d.ts +24 -0
- package/dist/types/Paginated/PaginatedExternalBiTradeLotList.d.ts +24 -0
- package/dist/types/Paginated/PaginatedExternalBiTradeViewList.d.ts +24 -0
- package/dist/types/Paginated/PaginatedExternalBiUserDeviceList.d.ts +24 -0
- package/dist/types/Paginated/PaginatedExternalBiUserList.d.ts +24 -0
- package/dist/types/Paginated/PaginatedFacilityList.d.ts +24 -0
- package/dist/types/Paginated/PaginatedInfoBlockList.d.ts +24 -0
- package/dist/types/Paginated/PaginatedNewsImageList.d.ts +24 -0
- package/dist/types/Paginated/PaginatedNewsList.d.ts +24 -0
- package/dist/types/Paginated/PaginatedOnboardingList.d.ts +24 -0
- package/dist/types/Paginated/PaginatedProductImageList.d.ts +24 -0
- package/dist/types/Paginated/PaginatedProductList.d.ts +24 -0
- package/dist/types/Paginated/PaginatedProductTypeList.d.ts +24 -0
- package/dist/types/Paginated/PaginatedProductUnitList.d.ts +24 -0
- package/dist/types/Paginated/PaginatedProfileCompanyList.d.ts +24 -0
- package/dist/types/Paginated/PaginatedProfileNotificationsList.d.ts +24 -0
- package/dist/types/Paginated/PaginatedProfileNotificationsSettingsList.d.ts +24 -0
- package/dist/types/Paginated/PaginatedSettingsNotificationsList.d.ts +24 -0
- package/dist/types/Paginated/PaginatedSettingsNotificationsUserTypeList.d.ts +24 -0
- package/dist/types/Paginated/PaginatedStatisticDeviceList.d.ts +24 -0
- package/dist/types/Paginated/PaginatedTradeLotBidList.d.ts +24 -0
- package/dist/types/Paginated/PaginatedTradeLotCategoryList.d.ts +24 -0
- package/dist/types/Paginated/PaginatedTradeLotImageList.d.ts +24 -0
- package/dist/types/Paginated/PaginatedTradeLotList.d.ts +24 -0
- package/dist/types/Paginated/PaginatedTradeLotParticipantList.d.ts +24 -0
- package/dist/types/Paginated/PaginatedTradeLotRipeLevelList.d.ts +24 -0
- package/dist/types/Paginated/PaginatedTradeLotSizeList.d.ts +24 -0
- package/dist/types/Paginated/PaginatedTradeLotWinnerList.d.ts +24 -0
- package/dist/types/Paginated/PaginatedUserCompanyList.d.ts +24 -0
- package/dist/types/Paginated/PaginatedUserDocumentAcceptList.d.ts +24 -0
- package/dist/types/Paginated/PaginatedUserFCMTokensList.d.ts +24 -0
- package/dist/types/Paginated/PaginatedUserList.d.ts +24 -0
- package/dist/types/Paginated/PaginatedUserStatusList.d.ts +24 -0
- package/dist/types/Paginated/index.d.ts +38 -0
- package/dist/types/Participants/ParticipantsBids.d.ts +13 -0
- package/dist/types/Participants/ParticipantsBidsParticipant.d.ts +16 -0
- package/dist/types/Participants/index.d.ts +2 -0
- package/dist/types/Password/PasswordResetConfirmRequest.d.ts +17 -0
- package/dist/types/Password/PasswordResetRequest.d.ts +12 -0
- package/dist/types/Password/PasswordResetResendRequest.d.ts +15 -0
- package/dist/types/Password/index.d.ts +5 -0
- package/dist/types/Patched/PatchedAdditionalProductChangeRequest.d.ts +43 -0
- package/dist/types/Patched/PatchedDocumentRequest.d.ts +57 -0
- package/dist/types/Patched/PatchedFacilityChangeRequest.d.ts +53 -0
- package/dist/types/Patched/PatchedInfoBlockRequest.d.ts +31 -0
- package/dist/types/Patched/PatchedNewsImageChangeRequest.d.ts +24 -0
- package/dist/types/Patched/PatchedNewsRequest.d.ts +40 -0
- package/dist/types/Patched/PatchedOnboardingChangeRequest.d.ts +39 -0
- package/dist/types/Patched/PatchedProductChangeRequest.d.ts +39 -0
- package/dist/types/Patched/PatchedProductImageChangeRequest.d.ts +24 -0
- package/dist/types/Patched/PatchedProductTypeRequest.d.ts +28 -0
- package/dist/types/Patched/PatchedProductUnitRequest.d.ts +39 -0
- package/dist/types/Patched/PatchedProfileChangeRequest.d.ts +31 -0
- package/dist/types/Patched/PatchedProfileCompanyRequest.d.ts +38 -0
- package/dist/types/Patched/PatchedProfileNotificationsRequest.d.ts +29 -0
- package/dist/types/Patched/PatchedProfileNotificationsSettingsRequest.d.ts +24 -0
- package/dist/types/Patched/PatchedSettingsNotificationsChangeRequest.d.ts +55 -0
- package/dist/types/Patched/PatchedSettingsNotificationsUserTypeRequest.d.ts +34 -0
- package/dist/types/Patched/PatchedSettingsRequest.d.ts +138 -0
- package/dist/types/Patched/PatchedTradeActionPublicRequest.d.ts +11 -0
- package/dist/types/Patched/PatchedTradeActionRequest.d.ts +11 -0
- package/dist/types/Patched/PatchedTradeLotCategoryRequest.d.ts +33 -0
- package/dist/types/Patched/PatchedTradeLotChangeRequest.d.ts +64 -0
- package/dist/types/Patched/PatchedTradeLotImageChangeRequest.d.ts +19 -0
- package/dist/types/Patched/PatchedTradeLotRipeLevelRequest.d.ts +28 -0
- package/dist/types/Patched/PatchedTradeLotSizeChangeRequest.d.ts +29 -0
- package/dist/types/Patched/PatchedTradeLotWinnerActionConfirmRequest.d.ts +12 -0
- package/dist/types/Patched/PatchedTradeLotWinnerRequest.d.ts +31 -0
- package/dist/types/Patched/PatchedTradeLotWinnerUpdateRequest.d.ts +32 -0
- package/dist/types/Patched/PatchedTradeUpdateRequest.d.ts +41 -0
- package/dist/types/Patched/PatchedUserActionRequest.d.ts +11 -0
- package/dist/types/Patched/PatchedUserCompanyChangeRequest.d.ts +54 -0
- package/dist/types/Patched/PatchedUserCompanyRequest.d.ts +67 -0
- package/dist/types/Patched/PatchedUserFCMTokensRequest.d.ts +16 -0
- package/dist/types/Patched/PatchedUserUpdateRequest.d.ts +64 -0
- package/dist/types/Patched/index.d.ts +49 -0
- package/dist/types/Product/Product.d.ts +43 -0
- package/dist/types/Product/ProductChangeRequest.d.ts +39 -0
- package/dist/types/Product/ProductDetail.d.ts +45 -0
- package/dist/types/Product/ProductImage.d.ts +27 -0
- package/dist/types/Product/ProductImageChange.d.ts +28 -0
- package/dist/types/Product/ProductImageChangeRequest.d.ts +24 -0
- package/dist/types/Product/ProductType.d.ts +28 -0
- package/dist/types/Product/ProductTypeRequest.d.ts +28 -0
- package/dist/types/Product/ProductUnit.d.ts +38 -0
- package/dist/types/Product/ProductUnitRequest.d.ts +39 -0
- package/dist/types/Product/index.d.ts +10 -0
- package/dist/types/Profile/ProfileChangeRequest.d.ts +31 -0
- package/dist/types/Profile/ProfileCompany.d.ts +48 -0
- package/dist/types/Profile/ProfileCompanyRequest.d.ts +38 -0
- package/dist/types/Profile/ProfileNotifications.d.ts +27 -0
- package/dist/types/Profile/ProfileNotificationsSettings.d.ts +29 -0
- package/dist/types/Profile/ProfileNotificationsSettingsDefaults.d.ts +12 -0
- package/dist/types/Profile/ProfileNotificationsSettingsRequest.d.ts +24 -0
- package/dist/types/Profile/ProfileNotificationsSettingsType.d.ts +13 -0
- package/dist/types/Profile/index.d.ts +11 -0
- package/dist/types/Report/ReportFilters.d.ts +19 -0
- package/dist/types/Report/ReportFiltersCreator.d.ts +28 -0
- package/dist/types/Report/ReportParticipant.d.ts +34 -0
- package/dist/types/Report/ReportParticipantFilters.d.ts +21 -0
- package/dist/types/Report/ReportParticipantPagination.d.ts +27 -0
- package/dist/types/Report/ReportSale.d.ts +24 -0
- package/dist/types/Report/ReportSaleFilters.d.ts +12 -0
- package/dist/types/Report/ReportSalePagination.d.ts +27 -0
- package/dist/types/Report/ReportStatParticipant.d.ts +32 -0
- package/dist/types/Report/ReportStatParticipantFilters.d.ts +13 -0
- package/dist/types/Report/ReportStatParticipantPagination.d.ts +27 -0
- package/dist/types/Report/ReportSummaries.d.ts +16 -0
- package/dist/types/Report/ReportSummary.d.ts +81 -0
- package/dist/types/Report/ReportSummaryPagination.d.ts +27 -0
- package/dist/types/Report/index.d.ts +14 -0
- package/dist/types/Ripe/RipeLevel.d.ts +21 -0
- package/dist/types/Ripe/index.d.ts +1 -0
- package/dist/types/Settings/Settings.d.ts +142 -0
- package/dist/types/Settings/SettingsNotifications.d.ts +14 -0
- package/dist/types/Settings/SettingsNotificationsChange.d.ts +56 -0
- package/dist/types/Settings/SettingsNotificationsChangeRequest.d.ts +55 -0
- package/dist/types/Settings/SettingsNotificationsUserType.d.ts +35 -0
- package/dist/types/Settings/SettingsNotificationsUserTypeRequest.d.ts +34 -0
- package/dist/types/Settings/SettingsRequest.d.ts +138 -0
- package/dist/types/Settings/index.d.ts +9 -0
- package/dist/types/Sign/SignInFromTelegramRequest.d.ts +14 -0
- package/dist/types/Sign/SignInRequest.d.ts +20 -0
- package/dist/types/Sign/SignInResponse.d.ts +11 -0
- package/dist/types/Sign/SignUp.d.ts +80 -0
- package/dist/types/Sign/SignUpConfirmRequest.d.ts +12 -0
- package/dist/types/Sign/SignUpRequest.d.ts +64 -0
- package/dist/types/Sign/SignUpResendRequest.d.ts +13 -0
- package/dist/types/Sign/index.d.ts +10 -0
- package/dist/types/Simple/SimpleResponse.d.ts +12 -0
- package/dist/types/Simple/index.d.ts +1 -0
- package/dist/types/Size/Size.d.ts +21 -0
- package/dist/types/Size/index.d.ts +1 -0
- package/dist/types/Statistic/StatisticDevice.d.ts +41 -0
- package/dist/types/Statistic/StatisticDeviceRequest.d.ts +40 -0
- package/dist/types/Statistic/index.d.ts +2 -0
- package/dist/types/Status/StatusCreator.d.ts +26 -0
- package/dist/types/Status/index.d.ts +1 -0
- package/dist/types/Summaries/SummariesCost.d.ts +22 -0
- package/dist/types/Summaries/SummariesTrades.d.ts +26 -0
- package/dist/types/Summaries/SummariesVolume.d.ts +28 -0
- package/dist/types/Summaries/index.d.ts +3 -0
- package/dist/types/Trade/Trade.d.ts +68 -0
- package/dist/types/Trade/TradeAdditionalProduct.d.ts +38 -0
- package/dist/types/Trade/TradeCreateRequest.d.ts +43 -0
- package/dist/types/Trade/TradeCreator.d.ts +49 -0
- package/dist/types/Trade/TradeCreatorRequest.d.ts +41 -0
- package/dist/types/Trade/TradeDetail.d.ts +72 -0
- package/dist/types/Trade/TradeFacility.d.ts +32 -0
- package/dist/types/Trade/TradeFilters.d.ts +54 -0
- package/dist/types/Trade/TradeFiltersFacilities.d.ts +33 -0
- package/dist/types/Trade/TradeFiltersProductTypes.d.ts +28 -0
- package/dist/types/Trade/TradeFiltersProducts.d.ts +33 -0
- package/dist/types/Trade/TradeLot.d.ts +105 -0
- package/dist/types/Trade/TradeLotActionBidRequest.d.ts +21 -0
- package/dist/types/Trade/TradeLotActionBidResponse.d.ts +31 -0
- package/dist/types/Trade/TradeLotBid.d.ts +29 -0
- package/dist/types/Trade/TradeLotCategory.d.ts +21 -0
- package/dist/types/Trade/TradeLotCategoryRequest.d.ts +33 -0
- package/dist/types/Trade/TradeLotChangeRequest.d.ts +64 -0
- package/dist/types/Trade/TradeLotDetail.d.ts +109 -0
- package/dist/types/Trade/TradeLotImage.d.ts +22 -0
- package/dist/types/Trade/TradeLotImageChange.d.ts +23 -0
- package/dist/types/Trade/TradeLotImageChangeRequest.d.ts +19 -0
- package/dist/types/Trade/TradeLotParticipant.d.ts +19 -0
- package/dist/types/Trade/TradeLotRipeLevel.d.ts +28 -0
- package/dist/types/Trade/TradeLotRipeLevelRequest.d.ts +28 -0
- package/dist/types/Trade/TradeLotSize.d.ts +30 -0
- package/dist/types/Trade/TradeLotSizeChangeRequest.d.ts +29 -0
- package/dist/types/Trade/TradeLotWinner.d.ts +47 -0
- package/dist/types/Trade/TradeLotWinnerCreateBulkRequest.d.ts +30 -0
- package/dist/types/Trade/TradeLotWinnerCreateRequest.d.ts +30 -0
- package/dist/types/Trade/TradeLotWinnerUpdateRequest.d.ts +32 -0
- package/dist/types/Trade/TradePagination.d.ts +25 -0
- package/dist/types/Trade/TradeProduct.d.ts +23 -0
- package/dist/types/Trade/TradeStatus.d.ts +23 -0
- package/dist/types/Trade/TradeUpdateRequest.d.ts +41 -0
- package/dist/types/Trade/TradeUser.d.ts +42 -0
- package/dist/types/Trade/TradeUserRequest.d.ts +41 -0
- package/dist/types/Trade/index.d.ts +45 -0
- package/dist/types/Type/Type.d.ts +21 -0
- package/dist/types/Type/index.d.ts +1 -0
- package/dist/types/Unit/Unit.d.ts +26 -0
- package/dist/types/Unit/index.d.ts +1 -0
- package/dist/types/User/User.d.ts +81 -0
- package/dist/types/User/UserActionDocumentAcceptRequest.d.ts +12 -0
- package/dist/types/User/UserChanges.d.ts +43 -0
- package/dist/types/User/UserCompany.d.ts +75 -0
- package/dist/types/User/UserCompanyChange.d.ts +58 -0
- package/dist/types/User/UserCompanyChangeRequest.d.ts +54 -0
- package/dist/types/User/UserCompanyChanges.d.ts +73 -0
- package/dist/types/User/UserCreate.d.ts +79 -0
- package/dist/types/User/UserCreateRequest.d.ts +64 -0
- package/dist/types/User/UserDocumentAccept.d.ts +22 -0
- package/dist/types/User/UserFCMTokens.d.ts +21 -0
- package/dist/types/User/UserFCMTokensRequest.d.ts +16 -0
- package/dist/types/User/UserFacility.d.ts +39 -0
- package/dist/types/User/UserManager.d.ts +44 -0
- package/dist/types/User/UserStatus.d.ts +22 -0
- package/dist/types/User/UserUpdate.d.ts +79 -0
- package/dist/types/User/UserUpdateRequest.d.ts +64 -0
- package/dist/types/User/index.d.ts +21 -0
- package/dist/types/Violation/ViolationChange.d.ts +41 -0
- package/dist/types/Violation/ViolationChangeRequest.d.ts +43 -0
- package/dist/types/Violation/index.d.ts +2 -0
- package/dist/types/index.d.ts +17 -0
- package/package.json +3 -3
- package/dist/swagger/data-contracts.d.ts +0 -6117
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* * `admin` - Администратор
|
|
3
|
+
* * `manager` - Менеджер
|
|
4
|
+
* * `moderator` - Модератор
|
|
5
|
+
* * `participant` - Участник
|
|
6
|
+
* * `security` - Служба безопасности
|
|
7
|
+
* * `director` - Руководитель
|
|
8
|
+
*/
|
|
9
|
+
import type { UserChanges } from './UserChanges';
|
|
10
|
+
import type { UserCompanyChanges } from './UserCompanyChanges';
|
|
11
|
+
import type { UserDocumentAccept } from './UserDocumentAccept';
|
|
12
|
+
import type { UserFCMTokens } from './UserFCMTokens';
|
|
13
|
+
import type { UserFacility } from './UserFacility';
|
|
14
|
+
import type { UserManager } from './UserManager';
|
|
15
|
+
export interface User {
|
|
16
|
+
/** Можно делать скриншоты */
|
|
17
|
+
app_screenshots_enabled?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Почта
|
|
20
|
+
* @format email
|
|
21
|
+
* @maxLength 255
|
|
22
|
+
*/
|
|
23
|
+
email?: string | null;
|
|
24
|
+
/**
|
|
25
|
+
* Имя
|
|
26
|
+
* @maxLength 255
|
|
27
|
+
*/
|
|
28
|
+
first_name?: string;
|
|
29
|
+
id: number;
|
|
30
|
+
/**
|
|
31
|
+
* Фамилия
|
|
32
|
+
* @maxLength 255
|
|
33
|
+
*/
|
|
34
|
+
last_name?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Телефон
|
|
37
|
+
* @maxLength 255
|
|
38
|
+
*/
|
|
39
|
+
phone?: string | null;
|
|
40
|
+
/**
|
|
41
|
+
* ПИН-код
|
|
42
|
+
* @maxLength 255
|
|
43
|
+
*/
|
|
44
|
+
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
|
+
/**
|
|
64
|
+
* Должность
|
|
65
|
+
* @maxLength 255
|
|
66
|
+
*/
|
|
67
|
+
position?: string;
|
|
68
|
+
is_type_admin: boolean;
|
|
69
|
+
is_type_manager: boolean;
|
|
70
|
+
is_type_moderator: boolean;
|
|
71
|
+
is_type_participant: boolean;
|
|
72
|
+
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
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* * `admin` - Администратор
|
|
3
|
+
* * `manager` - Менеджер
|
|
4
|
+
* * `moderator` - Модератор
|
|
5
|
+
* * `participant` - Участник
|
|
6
|
+
* * `security` - Служба безопасности
|
|
7
|
+
* * `director` - Руководитель
|
|
8
|
+
*/
|
|
9
|
+
export interface UserActionDocumentAcceptRequest {
|
|
10
|
+
document: number;
|
|
11
|
+
accepted: boolean;
|
|
12
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* * `admin` - Администратор
|
|
3
|
+
* * `manager` - Менеджер
|
|
4
|
+
* * `moderator` - Модератор
|
|
5
|
+
* * `participant` - Участник
|
|
6
|
+
* * `security` - Служба безопасности
|
|
7
|
+
* * `director` - Руководитель
|
|
8
|
+
*/
|
|
9
|
+
import type { UserFacility } from './UserFacility';
|
|
10
|
+
export interface UserChanges {
|
|
11
|
+
facilities: UserFacility[];
|
|
12
|
+
/**
|
|
13
|
+
* Дата/время создания
|
|
14
|
+
* @format date-time
|
|
15
|
+
*/
|
|
16
|
+
dt_create: string;
|
|
17
|
+
/**
|
|
18
|
+
* Почта
|
|
19
|
+
* @format email
|
|
20
|
+
* @maxLength 255
|
|
21
|
+
*/
|
|
22
|
+
email: string;
|
|
23
|
+
/**
|
|
24
|
+
* Телефон
|
|
25
|
+
* @maxLength 255
|
|
26
|
+
*/
|
|
27
|
+
phone: string;
|
|
28
|
+
/**
|
|
29
|
+
* Наименование организации
|
|
30
|
+
* @maxLength 255
|
|
31
|
+
*/
|
|
32
|
+
company: string;
|
|
33
|
+
/**
|
|
34
|
+
* ИНН
|
|
35
|
+
* @maxLength 255
|
|
36
|
+
*/
|
|
37
|
+
inn: string;
|
|
38
|
+
/**
|
|
39
|
+
* Контактное лицо
|
|
40
|
+
* @maxLength 255
|
|
41
|
+
*/
|
|
42
|
+
contact_person: string;
|
|
43
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* * `admin` - Администратор
|
|
3
|
+
* * `manager` - Менеджер
|
|
4
|
+
* * `moderator` - Модератор
|
|
5
|
+
* * `participant` - Участник
|
|
6
|
+
* * `security` - Служба безопасности
|
|
7
|
+
* * `director` - Руководитель
|
|
8
|
+
*/
|
|
9
|
+
import type { Status9DdEnum } from '../../enums';
|
|
10
|
+
export interface UserCompany {
|
|
11
|
+
id: number;
|
|
12
|
+
/**
|
|
13
|
+
* Показывать
|
|
14
|
+
* Если отключёно, элемент не будет отображаться на сайте
|
|
15
|
+
*/
|
|
16
|
+
active?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Дата/время создания
|
|
19
|
+
* @format date-time
|
|
20
|
+
*/
|
|
21
|
+
dt_create: string;
|
|
22
|
+
/**
|
|
23
|
+
* Сортировка
|
|
24
|
+
* Чем меньше значение, тем выше отображается в списке
|
|
25
|
+
* @min -32768
|
|
26
|
+
* @max 32767
|
|
27
|
+
*/
|
|
28
|
+
sort?: number;
|
|
29
|
+
/** По умолчанию */
|
|
30
|
+
default?: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Дата/время редактирования
|
|
33
|
+
* @format date-time
|
|
34
|
+
*/
|
|
35
|
+
dt_moderated?: string | null;
|
|
36
|
+
/**
|
|
37
|
+
* Почта
|
|
38
|
+
* @format email
|
|
39
|
+
* @maxLength 255
|
|
40
|
+
*/
|
|
41
|
+
email?: string | null;
|
|
42
|
+
/**
|
|
43
|
+
* Наименование организации
|
|
44
|
+
* @maxLength 255
|
|
45
|
+
*/
|
|
46
|
+
company?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Контактное лицо
|
|
49
|
+
* @maxLength 255
|
|
50
|
+
*/
|
|
51
|
+
contact_person?: string;
|
|
52
|
+
/**
|
|
53
|
+
* ИНН
|
|
54
|
+
* @maxLength 255
|
|
55
|
+
*/
|
|
56
|
+
inn?: string;
|
|
57
|
+
/**
|
|
58
|
+
* Телефон
|
|
59
|
+
* @maxLength 255
|
|
60
|
+
*/
|
|
61
|
+
phone?: string | null;
|
|
62
|
+
/**
|
|
63
|
+
* Должность
|
|
64
|
+
* @maxLength 255
|
|
65
|
+
*/
|
|
66
|
+
position?: string;
|
|
67
|
+
/** Статус */
|
|
68
|
+
status?: Status9DdEnum;
|
|
69
|
+
/** Пользователь */
|
|
70
|
+
user: number;
|
|
71
|
+
/** Модератор */
|
|
72
|
+
moderator?: number | null;
|
|
73
|
+
/** Родитель */
|
|
74
|
+
parent: number | null;
|
|
75
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* * `admin` - Администратор
|
|
3
|
+
* * `manager` - Менеджер
|
|
4
|
+
* * `moderator` - Модератор
|
|
5
|
+
* * `participant` - Участник
|
|
6
|
+
* * `security` - Служба безопасности
|
|
7
|
+
* * `director` - Руководитель
|
|
8
|
+
*/
|
|
9
|
+
import type { Status9DdEnum } from '../../enums';
|
|
10
|
+
export interface UserCompanyChange {
|
|
11
|
+
id: number;
|
|
12
|
+
/** @format email */
|
|
13
|
+
email: string;
|
|
14
|
+
inn: string;
|
|
15
|
+
/**
|
|
16
|
+
* Показывать
|
|
17
|
+
* Если отключёно, элемент не будет отображаться на сайте
|
|
18
|
+
*/
|
|
19
|
+
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
|
+
/**
|
|
35
|
+
* Наименование организации
|
|
36
|
+
* @maxLength 255
|
|
37
|
+
*/
|
|
38
|
+
company?: string;
|
|
39
|
+
/**
|
|
40
|
+
* Контактное лицо
|
|
41
|
+
* @maxLength 255
|
|
42
|
+
*/
|
|
43
|
+
contact_person?: string;
|
|
44
|
+
/**
|
|
45
|
+
* Телефон
|
|
46
|
+
* @maxLength 255
|
|
47
|
+
*/
|
|
48
|
+
phone?: string | null;
|
|
49
|
+
/**
|
|
50
|
+
* Должность
|
|
51
|
+
* @maxLength 255
|
|
52
|
+
*/
|
|
53
|
+
position?: string;
|
|
54
|
+
/** Статус */
|
|
55
|
+
status?: Status9DdEnum;
|
|
56
|
+
/** Родитель */
|
|
57
|
+
parent: number | null;
|
|
58
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* * `admin` - Администратор
|
|
3
|
+
* * `manager` - Менеджер
|
|
4
|
+
* * `moderator` - Модератор
|
|
5
|
+
* * `participant` - Участник
|
|
6
|
+
* * `security` - Служба безопасности
|
|
7
|
+
* * `director` - Руководитель
|
|
8
|
+
*/
|
|
9
|
+
import type { Status9DdEnum } from '../../enums';
|
|
10
|
+
export interface UserCompanyChangeRequest {
|
|
11
|
+
/**
|
|
12
|
+
* @format email
|
|
13
|
+
* @minLength 1
|
|
14
|
+
*/
|
|
15
|
+
email: string;
|
|
16
|
+
/** @minLength 1 */
|
|
17
|
+
inn: string;
|
|
18
|
+
/**
|
|
19
|
+
* Показывать
|
|
20
|
+
* Если отключёно, элемент не будет отображаться на сайте
|
|
21
|
+
*/
|
|
22
|
+
active?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Сортировка
|
|
25
|
+
* Чем меньше значение, тем выше отображается в списке
|
|
26
|
+
* @min -32768
|
|
27
|
+
* @max 32767
|
|
28
|
+
*/
|
|
29
|
+
sort?: number;
|
|
30
|
+
/** По умолчанию */
|
|
31
|
+
default?: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Наименование организации
|
|
34
|
+
* @maxLength 255
|
|
35
|
+
*/
|
|
36
|
+
company?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Контактное лицо
|
|
39
|
+
* @maxLength 255
|
|
40
|
+
*/
|
|
41
|
+
contact_person?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Телефон
|
|
44
|
+
* @maxLength 255
|
|
45
|
+
*/
|
|
46
|
+
phone?: string | null;
|
|
47
|
+
/**
|
|
48
|
+
* Должность
|
|
49
|
+
* @maxLength 255
|
|
50
|
+
*/
|
|
51
|
+
position?: string;
|
|
52
|
+
/** Статус */
|
|
53
|
+
status?: Status9DdEnum;
|
|
54
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* * `admin` - Администратор
|
|
3
|
+
* * `manager` - Менеджер
|
|
4
|
+
* * `moderator` - Модератор
|
|
5
|
+
* * `participant` - Участник
|
|
6
|
+
* * `security` - Служба безопасности
|
|
7
|
+
* * `director` - Руководитель
|
|
8
|
+
*/
|
|
9
|
+
import type { Status9DdEnum } from '../../enums';
|
|
10
|
+
export interface UserCompanyChanges {
|
|
11
|
+
id: number;
|
|
12
|
+
/**
|
|
13
|
+
* Показывать
|
|
14
|
+
* Если отключёно, элемент не будет отображаться на сайте
|
|
15
|
+
*/
|
|
16
|
+
active?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Дата/время создания
|
|
19
|
+
* @format date-time
|
|
20
|
+
*/
|
|
21
|
+
dt_create: string;
|
|
22
|
+
/**
|
|
23
|
+
* Сортировка
|
|
24
|
+
* Чем меньше значение, тем выше отображается в списке
|
|
25
|
+
* @min -32768
|
|
26
|
+
* @max 32767
|
|
27
|
+
*/
|
|
28
|
+
sort?: number;
|
|
29
|
+
/** По умолчанию */
|
|
30
|
+
default?: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Дата/время редактирования
|
|
33
|
+
* @format date-time
|
|
34
|
+
*/
|
|
35
|
+
dt_moderated?: string | null;
|
|
36
|
+
/**
|
|
37
|
+
* Почта
|
|
38
|
+
* @format email
|
|
39
|
+
* @maxLength 255
|
|
40
|
+
*/
|
|
41
|
+
email?: string | null;
|
|
42
|
+
/**
|
|
43
|
+
* Наименование организации
|
|
44
|
+
* @maxLength 255
|
|
45
|
+
*/
|
|
46
|
+
company?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Контактное лицо
|
|
49
|
+
* @maxLength 255
|
|
50
|
+
*/
|
|
51
|
+
contact_person?: string;
|
|
52
|
+
/**
|
|
53
|
+
* ИНН
|
|
54
|
+
* @maxLength 255
|
|
55
|
+
*/
|
|
56
|
+
inn?: string;
|
|
57
|
+
/**
|
|
58
|
+
* Телефон
|
|
59
|
+
* @maxLength 255
|
|
60
|
+
*/
|
|
61
|
+
phone?: string | null;
|
|
62
|
+
/**
|
|
63
|
+
* Должность
|
|
64
|
+
* @maxLength 255
|
|
65
|
+
*/
|
|
66
|
+
position?: string;
|
|
67
|
+
/** Статус */
|
|
68
|
+
status?: Status9DdEnum;
|
|
69
|
+
/** Модератор */
|
|
70
|
+
moderator?: number | null;
|
|
71
|
+
/** Родитель */
|
|
72
|
+
parent: number | null;
|
|
73
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* * `admin` - Администратор
|
|
3
|
+
* * `manager` - Менеджер
|
|
4
|
+
* * `moderator` - Модератор
|
|
5
|
+
* * `participant` - Участник
|
|
6
|
+
* * `security` - Служба безопасности
|
|
7
|
+
* * `director` - Руководитель
|
|
8
|
+
*/
|
|
9
|
+
import type { BlankEnum } from '../../enums';
|
|
10
|
+
import type { Status8F7Enum } from '../../enums';
|
|
11
|
+
import type { UserChanges } from './UserChanges';
|
|
12
|
+
import type { UserCompanyChanges } from './UserCompanyChanges';
|
|
13
|
+
import type { UserDocumentAccept } from './UserDocumentAccept';
|
|
14
|
+
import type { UserFCMTokens } from './UserFCMTokens';
|
|
15
|
+
export interface UserCreate {
|
|
16
|
+
/** Можно делать скриншоты */
|
|
17
|
+
app_screenshots_enabled: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Почта
|
|
20
|
+
* @format email
|
|
21
|
+
* @maxLength 255
|
|
22
|
+
*/
|
|
23
|
+
email?: string | null;
|
|
24
|
+
/**
|
|
25
|
+
* Имя
|
|
26
|
+
* @maxLength 255
|
|
27
|
+
*/
|
|
28
|
+
first_name?: string;
|
|
29
|
+
id: number;
|
|
30
|
+
/**
|
|
31
|
+
* Фамилия
|
|
32
|
+
* @maxLength 255
|
|
33
|
+
*/
|
|
34
|
+
last_name?: string;
|
|
35
|
+
phone?: string | null;
|
|
36
|
+
/**
|
|
37
|
+
* ПИН-код
|
|
38
|
+
* @maxLength 255
|
|
39
|
+
*/
|
|
40
|
+
pin_code?: string;
|
|
41
|
+
/** Регистрация подтверждена */
|
|
42
|
+
signup_confirmed: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Наименование организации
|
|
45
|
+
* @maxLength 255
|
|
46
|
+
*/
|
|
47
|
+
company: string;
|
|
48
|
+
/**
|
|
49
|
+
* Контактное лицо
|
|
50
|
+
* @maxLength 255
|
|
51
|
+
*/
|
|
52
|
+
contact_person: string;
|
|
53
|
+
default_company: UserCompanyChanges;
|
|
54
|
+
/**
|
|
55
|
+
* ИНН
|
|
56
|
+
* @maxLength 255
|
|
57
|
+
*/
|
|
58
|
+
inn: string;
|
|
59
|
+
/**
|
|
60
|
+
* Должность
|
|
61
|
+
* @maxLength 255
|
|
62
|
+
*/
|
|
63
|
+
position?: string;
|
|
64
|
+
is_type_admin: boolean;
|
|
65
|
+
is_type_manager: boolean;
|
|
66
|
+
is_type_moderator: boolean;
|
|
67
|
+
is_type_participant: boolean;
|
|
68
|
+
is_type_security: boolean;
|
|
69
|
+
/** @format uri */
|
|
70
|
+
avatar?: string | null;
|
|
71
|
+
changes: UserChanges;
|
|
72
|
+
changes_company: UserCompanyChanges;
|
|
73
|
+
document_accepts: UserDocumentAccept[];
|
|
74
|
+
facilities?: (number | null)[];
|
|
75
|
+
fcm_tokens: UserFCMTokens[];
|
|
76
|
+
managers?: (number | null)[];
|
|
77
|
+
status?: Status8F7Enum | BlankEnum | NullEnum | null;
|
|
78
|
+
password?: string | null;
|
|
79
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* * `admin` - Администратор
|
|
3
|
+
* * `manager` - Менеджер
|
|
4
|
+
* * `moderator` - Модератор
|
|
5
|
+
* * `participant` - Участник
|
|
6
|
+
* * `security` - Служба безопасности
|
|
7
|
+
* * `director` - Руководитель
|
|
8
|
+
*/
|
|
9
|
+
import type { BlankEnum } from '../../enums';
|
|
10
|
+
import type { Status8F7Enum } from '../../enums';
|
|
11
|
+
import type { TypesEnum } from '../../enums';
|
|
12
|
+
export interface UserCreateRequest {
|
|
13
|
+
/**
|
|
14
|
+
* Почта
|
|
15
|
+
* @format email
|
|
16
|
+
* @maxLength 255
|
|
17
|
+
*/
|
|
18
|
+
email?: string | null;
|
|
19
|
+
/**
|
|
20
|
+
* Имя
|
|
21
|
+
* @maxLength 255
|
|
22
|
+
*/
|
|
23
|
+
first_name?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Фамилия
|
|
26
|
+
* @maxLength 255
|
|
27
|
+
*/
|
|
28
|
+
last_name?: string;
|
|
29
|
+
phone?: string | null;
|
|
30
|
+
/**
|
|
31
|
+
* ПИН-код
|
|
32
|
+
* @maxLength 255
|
|
33
|
+
*/
|
|
34
|
+
pin_code?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Наименование организации
|
|
37
|
+
* @maxLength 255
|
|
38
|
+
*/
|
|
39
|
+
company: string;
|
|
40
|
+
/**
|
|
41
|
+
* Контактное лицо
|
|
42
|
+
* @maxLength 255
|
|
43
|
+
*/
|
|
44
|
+
contact_person: string;
|
|
45
|
+
/**
|
|
46
|
+
* ИНН
|
|
47
|
+
* @maxLength 255
|
|
48
|
+
*/
|
|
49
|
+
inn: string;
|
|
50
|
+
/**
|
|
51
|
+
* Должность
|
|
52
|
+
* @maxLength 255
|
|
53
|
+
*/
|
|
54
|
+
position?: string;
|
|
55
|
+
/** @format binary */
|
|
56
|
+
avatar?: File | null;
|
|
57
|
+
facilities?: (number | null)[];
|
|
58
|
+
managers?: (number | null)[];
|
|
59
|
+
status?: Status8F7Enum | BlankEnum | NullEnum | null;
|
|
60
|
+
password?: string | null;
|
|
61
|
+
status_comment?: string | null;
|
|
62
|
+
/** @maxItems 6 */
|
|
63
|
+
types?: TypesEnum[] | null;
|
|
64
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* * `admin` - Администратор
|
|
3
|
+
* * `manager` - Менеджер
|
|
4
|
+
* * `moderator` - Модератор
|
|
5
|
+
* * `participant` - Участник
|
|
6
|
+
* * `security` - Служба безопасности
|
|
7
|
+
* * `director` - Руководитель
|
|
8
|
+
*/
|
|
9
|
+
import type { DocumentField } from '../Document/DocumentField';
|
|
10
|
+
export interface UserDocumentAccept {
|
|
11
|
+
id: number;
|
|
12
|
+
document: DocumentField;
|
|
13
|
+
/**
|
|
14
|
+
* Дата/время изменения
|
|
15
|
+
* @format date-time
|
|
16
|
+
*/
|
|
17
|
+
dt_change: string;
|
|
18
|
+
/** Принял */
|
|
19
|
+
accepted: boolean;
|
|
20
|
+
/** Версия */
|
|
21
|
+
version: string;
|
|
22
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* * `admin` - Администратор
|
|
3
|
+
* * `manager` - Менеджер
|
|
4
|
+
* * `moderator` - Модератор
|
|
5
|
+
* * `participant` - Участник
|
|
6
|
+
* * `security` - Служба безопасности
|
|
7
|
+
* * `director` - Руководитель
|
|
8
|
+
*/
|
|
9
|
+
export interface UserFCMTokens {
|
|
10
|
+
id: number;
|
|
11
|
+
/**
|
|
12
|
+
* Дата/время изменения
|
|
13
|
+
* @format date-time
|
|
14
|
+
*/
|
|
15
|
+
dt_change: string;
|
|
16
|
+
/**
|
|
17
|
+
* Токен
|
|
18
|
+
* @maxLength 255
|
|
19
|
+
*/
|
|
20
|
+
token: string;
|
|
21
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* * `admin` - Администратор
|
|
3
|
+
* * `manager` - Менеджер
|
|
4
|
+
* * `moderator` - Модератор
|
|
5
|
+
* * `participant` - Участник
|
|
6
|
+
* * `security` - Служба безопасности
|
|
7
|
+
* * `director` - Руководитель
|
|
8
|
+
*/
|
|
9
|
+
export interface UserFCMTokensRequest {
|
|
10
|
+
/**
|
|
11
|
+
* Токен
|
|
12
|
+
* @minLength 1
|
|
13
|
+
* @maxLength 255
|
|
14
|
+
*/
|
|
15
|
+
token: string;
|
|
16
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* * `admin` - Администратор
|
|
3
|
+
* * `manager` - Менеджер
|
|
4
|
+
* * `moderator` - Модератор
|
|
5
|
+
* * `participant` - Участник
|
|
6
|
+
* * `security` - Служба безопасности
|
|
7
|
+
* * `director` - Руководитель
|
|
8
|
+
*/
|
|
9
|
+
export interface UserFacility {
|
|
10
|
+
/**
|
|
11
|
+
* Показывать
|
|
12
|
+
* Если отключёно, элемент не будет отображаться на сайте
|
|
13
|
+
*/
|
|
14
|
+
active?: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Цвет
|
|
17
|
+
* @maxLength 50
|
|
18
|
+
*/
|
|
19
|
+
color?: string;
|
|
20
|
+
id: number;
|
|
21
|
+
/**
|
|
22
|
+
* Название
|
|
23
|
+
* @maxLength 255
|
|
24
|
+
*/
|
|
25
|
+
name: string;
|
|
26
|
+
/**
|
|
27
|
+
* Сортировка
|
|
28
|
+
* Чем меньше значение, тем выше отображается в списке
|
|
29
|
+
* @min -32768
|
|
30
|
+
* @max 32767
|
|
31
|
+
*/
|
|
32
|
+
sort?: number;
|
|
33
|
+
/**
|
|
34
|
+
* Часовой пояс
|
|
35
|
+
* @maxLength 50
|
|
36
|
+
*/
|
|
37
|
+
time_zone: string;
|
|
38
|
+
time_zone_offset: string;
|
|
39
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* * `admin` - Администратор
|
|
3
|
+
* * `manager` - Менеджер
|
|
4
|
+
* * `moderator` - Модератор
|
|
5
|
+
* * `participant` - Участник
|
|
6
|
+
* * `security` - Служба безопасности
|
|
7
|
+
* * `director` - Руководитель
|
|
8
|
+
*/
|
|
9
|
+
import type { UserFacility } from './UserFacility';
|
|
10
|
+
export interface UserManager {
|
|
11
|
+
/**
|
|
12
|
+
* Почта
|
|
13
|
+
* @format email
|
|
14
|
+
* @maxLength 255
|
|
15
|
+
*/
|
|
16
|
+
email?: string | null;
|
|
17
|
+
/**
|
|
18
|
+
* Имя
|
|
19
|
+
* @maxLength 255
|
|
20
|
+
*/
|
|
21
|
+
first_name?: string;
|
|
22
|
+
id: number;
|
|
23
|
+
/**
|
|
24
|
+
* Фамилия
|
|
25
|
+
* @maxLength 255
|
|
26
|
+
*/
|
|
27
|
+
last_name?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Телефон
|
|
30
|
+
* @maxLength 255
|
|
31
|
+
*/
|
|
32
|
+
phone?: string | null;
|
|
33
|
+
/**
|
|
34
|
+
* Контактное лицо
|
|
35
|
+
* @maxLength 255
|
|
36
|
+
*/
|
|
37
|
+
contact_person?: string;
|
|
38
|
+
/**
|
|
39
|
+
* Должность
|
|
40
|
+
* @maxLength 255
|
|
41
|
+
*/
|
|
42
|
+
position?: string;
|
|
43
|
+
facilities: UserFacility[];
|
|
44
|
+
}
|