@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,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* * `admin` - Администратор
|
|
3
|
+
* * `manager` - Менеджер
|
|
4
|
+
* * `moderator` - Модератор
|
|
5
|
+
* * `participant` - Участник
|
|
6
|
+
* * `security` - Служба безопасности
|
|
7
|
+
* * `director` - Руководитель
|
|
8
|
+
*/
|
|
9
|
+
import type { Status8F7Enum } from '../../enums';
|
|
10
|
+
import type { StatusCreator } from '../Status/StatusCreator';
|
|
11
|
+
export interface UserStatus {
|
|
12
|
+
/** Комментарий */
|
|
13
|
+
comment?: string;
|
|
14
|
+
creator: StatusCreator;
|
|
15
|
+
/**
|
|
16
|
+
* Дата/время создания
|
|
17
|
+
* @format date-time
|
|
18
|
+
*/
|
|
19
|
+
dt_create: string;
|
|
20
|
+
/** Статус */
|
|
21
|
+
status: Status8F7Enum;
|
|
22
|
+
}
|
|
@@ -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 UserUpdate {
|
|
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 UserUpdateRequest {
|
|
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,21 @@
|
|
|
1
|
+
export type { User } from './User';
|
|
2
|
+
export type { UserActionDocumentAcceptRequest } from './UserActionDocumentAcceptRequest';
|
|
3
|
+
export type { UserChanges } from './UserChanges';
|
|
4
|
+
export type { UserCompany } from './UserCompany';
|
|
5
|
+
export type { UserCompanyChange } from './UserCompanyChange';
|
|
6
|
+
export type { UserCompanyChangeRequest } from './UserCompanyChangeRequest';
|
|
7
|
+
export type { UserCompanyChanges } from './UserCompanyChanges';
|
|
8
|
+
export type { UserCreate } from './UserCreate';
|
|
9
|
+
export type { UserCreateRequest } from './UserCreateRequest';
|
|
10
|
+
export type { UserDocumentAccept } from './UserDocumentAccept';
|
|
11
|
+
export type { UserFCMTokens } from './UserFCMTokens';
|
|
12
|
+
export type { UserFCMTokensRequest } from './UserFCMTokensRequest';
|
|
13
|
+
export type { UserFacility } from './UserFacility';
|
|
14
|
+
export type { UserManager } from './UserManager';
|
|
15
|
+
export type { UserStatus } from './UserStatus';
|
|
16
|
+
export type { UserUpdate } from './UserUpdate';
|
|
17
|
+
export type { UserUpdateRequest } from './UserUpdateRequest';
|
|
18
|
+
export { type BlankEnum } from '../../enums';
|
|
19
|
+
export { type Status8F7Enum } from '../../enums';
|
|
20
|
+
export { type Status9DdEnum } from '../../enums';
|
|
21
|
+
export { type TypesEnum } from '../../enums';
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* * `admin` - Администратор
|
|
3
|
+
* * `manager` - Менеджер
|
|
4
|
+
* * `moderator` - Модератор
|
|
5
|
+
* * `participant` - Участник
|
|
6
|
+
* * `security` - Служба безопасности
|
|
7
|
+
* * `director` - Руководитель
|
|
8
|
+
*/
|
|
9
|
+
export interface ViolationChange {
|
|
10
|
+
id: number;
|
|
11
|
+
/**
|
|
12
|
+
* Дата/время создания
|
|
13
|
+
* @format date-time
|
|
14
|
+
*/
|
|
15
|
+
dt_create: string;
|
|
16
|
+
/**
|
|
17
|
+
* ФИО
|
|
18
|
+
* @maxLength 255
|
|
19
|
+
*/
|
|
20
|
+
name: string;
|
|
21
|
+
/**
|
|
22
|
+
* Наименование юридического лица
|
|
23
|
+
* @maxLength 255
|
|
24
|
+
*/
|
|
25
|
+
company: string;
|
|
26
|
+
/**
|
|
27
|
+
* Контактный телефон
|
|
28
|
+
* @maxLength 255
|
|
29
|
+
*/
|
|
30
|
+
phone: string;
|
|
31
|
+
/**
|
|
32
|
+
* Электронный адрес
|
|
33
|
+
* @format email
|
|
34
|
+
* @maxLength 255
|
|
35
|
+
*/
|
|
36
|
+
email: string;
|
|
37
|
+
/** Сообщение */
|
|
38
|
+
message: string;
|
|
39
|
+
/** Согласие на обработку персональных данных */
|
|
40
|
+
agree_personal_data?: boolean;
|
|
41
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* * `admin` - Администратор
|
|
3
|
+
* * `manager` - Менеджер
|
|
4
|
+
* * `moderator` - Модератор
|
|
5
|
+
* * `participant` - Участник
|
|
6
|
+
* * `security` - Служба безопасности
|
|
7
|
+
* * `director` - Руководитель
|
|
8
|
+
*/
|
|
9
|
+
export interface ViolationChangeRequest {
|
|
10
|
+
facility: number;
|
|
11
|
+
/**
|
|
12
|
+
* ФИО
|
|
13
|
+
* @minLength 1
|
|
14
|
+
* @maxLength 255
|
|
15
|
+
*/
|
|
16
|
+
name: string;
|
|
17
|
+
/**
|
|
18
|
+
* Наименование юридического лица
|
|
19
|
+
* @minLength 1
|
|
20
|
+
* @maxLength 255
|
|
21
|
+
*/
|
|
22
|
+
company: string;
|
|
23
|
+
/**
|
|
24
|
+
* Контактный телефон
|
|
25
|
+
* @minLength 1
|
|
26
|
+
* @maxLength 255
|
|
27
|
+
*/
|
|
28
|
+
phone: string;
|
|
29
|
+
/**
|
|
30
|
+
* Электронный адрес
|
|
31
|
+
* @format email
|
|
32
|
+
* @minLength 1
|
|
33
|
+
* @maxLength 255
|
|
34
|
+
*/
|
|
35
|
+
email: string;
|
|
36
|
+
/**
|
|
37
|
+
* Сообщение
|
|
38
|
+
* @minLength 1
|
|
39
|
+
*/
|
|
40
|
+
message: string;
|
|
41
|
+
/** Согласие на обработку персональных данных */
|
|
42
|
+
agree_personal_data?: boolean;
|
|
43
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export type { BidTypeEnum } from '../enums';
|
|
2
|
+
export type { BlankEnum } from '../enums';
|
|
3
|
+
export type { ChannelEnum } from '../enums';
|
|
4
|
+
export type { EmailEnum } from '../enums';
|
|
5
|
+
export type { PriceTypeEnum } from '../enums';
|
|
6
|
+
export type { ProcessTypeEnum } from '../enums';
|
|
7
|
+
export type { PushEnum } from '../enums';
|
|
8
|
+
export type { SettingsNotificationsChangeTypeEnum } from '../enums';
|
|
9
|
+
export type { Status0CcEnum } from '../enums';
|
|
10
|
+
export type { Status8F7Enum } from '../enums';
|
|
11
|
+
export type { Status9DdEnum } from '../enums';
|
|
12
|
+
export type { StatusAeeEnum } from '../enums';
|
|
13
|
+
export type { StepTypeEnum } from '../enums';
|
|
14
|
+
export type { Type744Enum } from '../enums';
|
|
15
|
+
export type { TypesEnum } from '../enums';
|
|
16
|
+
export type { UsertypeEnum } from '../enums';
|
|
17
|
+
export type { NullEnum } from './Null';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itcase/types-am",
|
|
3
3
|
"description": "",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.27",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"private": false,
|
|
7
7
|
"repository": {
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"dev": "tsc --watch",
|
|
17
17
|
"lint": "eslint types/",
|
|
18
18
|
"typecheck": "tsc --noEmit",
|
|
19
|
-
"generate-types": "make get-schema && npx swagger-typescript-api generate -p ./swagger-schema.json -o ./src/swagger/ --modular --no-client && npm run build"
|
|
19
|
+
"generate-types": "make get-schema && npx swagger-typescript-api generate -p ./swagger-schema.json -o ./src/swagger/ --modular --no-client && node ../../utils/generateSeparated.js ./src/swagger/data-contracts.ts ./src && npm run build"
|
|
20
20
|
},
|
|
21
21
|
"exports": {
|
|
22
22
|
".": {
|
|
@@ -31,5 +31,5 @@
|
|
|
31
31
|
"access": "public",
|
|
32
32
|
"registry": "https://registry.npmjs.org/"
|
|
33
33
|
},
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "126a171430700cf057f22a0efd307dac077f1d66"
|
|
35
35
|
}
|