@itcase/types-am 1.1.32 → 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.
Files changed (266) hide show
  1. package/dist/enums/Bid/BidTypeEnum.d.ts +1 -1
  2. package/dist/enums/Email/EmailEnum.d.ts +2 -2
  3. package/dist/enums/Permissions/PermissionsTradesParticipantsEnum.d.ts +10 -0
  4. package/dist/enums/Permissions/index.d.ts +1 -0
  5. package/dist/enums/Push/PushEnum.d.ts +2 -2
  6. package/dist/enums/Settings/SettingsNotificationsChangeTypeEnum.d.ts +18 -18
  7. package/dist/enums/Status/Status8F7Enum.d.ts +2 -2
  8. package/dist/enums/Status/Status9DdEnum.d.ts +2 -2
  9. package/dist/enums/Status/StatusAeeEnum.d.ts +2 -2
  10. package/dist/enums/Types/TypesEnum.d.ts +2 -2
  11. package/dist/enums/Usertype/UsertypeEnum.d.ts +2 -2
  12. package/dist/enums/index.d.ts +1 -0
  13. package/dist/index.d.ts +2 -2
  14. package/dist/types/Additional/AdditionalProduct.d.ts +17 -23
  15. package/dist/types/Additional/AdditionalProductChange.d.ts +14 -22
  16. package/dist/types/Additional/AdditionalProductChangeRequest.d.ts +13 -21
  17. package/dist/types/Additional/index.d.ts +2 -0
  18. package/dist/types/Creator/_Creator.d.ts +6 -14
  19. package/dist/types/Current/_CurrentUserWinner.d.ts +0 -8
  20. package/dist/types/Document/Document.d.ts +22 -30
  21. package/dist/types/Document/DocumentRequest.d.ts +23 -31
  22. package/dist/types/Document/_DocumentField.d.ts +22 -30
  23. package/dist/types/External/External1CPayment.d.ts +0 -8
  24. package/dist/types/External/External1CPaymentRequest.d.ts +0 -8
  25. package/dist/types/External/External1CPrice.d.ts +1 -8
  26. package/dist/types/External/External1CPriceRequest.d.ts +1 -8
  27. package/dist/types/External/External1CShipment.d.ts +1 -8
  28. package/dist/types/External/External1CShipmentRequest.d.ts +1 -8
  29. package/dist/types/External/External1CSync.d.ts +0 -8
  30. package/dist/types/External/External1CSyncRequest.d.ts +0 -8
  31. package/dist/types/External/External1CTrade.d.ts +4 -11
  32. package/dist/types/External/ExternalBiTrade.d.ts +5 -12
  33. package/dist/types/External/ExternalBiTradeAdditionalProduct.d.ts +7 -15
  34. package/dist/types/External/ExternalBiTradeBid.d.ts +4 -12
  35. package/dist/types/External/ExternalBiTradeLot.d.ts +10 -18
  36. package/dist/types/External/ExternalBiTradeView.d.ts +4 -12
  37. package/dist/types/External/ExternalBiUser.d.ts +17 -25
  38. package/dist/types/External/ExternalBiUserDevice.d.ts +14 -22
  39. package/dist/types/External/_External1cPriceLot.d.ts +2 -10
  40. package/dist/types/External/_External1cPriceLotRequest.d.ts +5 -13
  41. package/dist/types/External/_External1cShipmentLot.d.ts +2 -10
  42. package/dist/types/External/_External1cShipmentLotRequest.d.ts +4 -12
  43. package/dist/types/External/_External1cTradeLot.d.ts +8 -16
  44. package/dist/types/External/index.d.ts +1 -0
  45. package/dist/types/Facility/Facility.d.ts +10 -18
  46. package/dist/types/Facility/FacilityChange.d.ts +12 -20
  47. package/dist/types/Facility/FacilityChangeRequest.d.ts +14 -22
  48. package/dist/types/Filters/_FiltersObj.d.ts +1 -9
  49. package/dist/types/Filters/_FiltersStatus.d.ts +0 -8
  50. package/dist/types/Frontend/FrontendLog.d.ts +2 -10
  51. package/dist/types/Frontend/FrontendLogRequest.d.ts +0 -8
  52. package/dist/types/Info/InfoBlock.d.ts +8 -16
  53. package/dist/types/Info/InfoBlockRequest.d.ts +8 -16
  54. package/dist/types/News/News.d.ts +10 -18
  55. package/dist/types/News/NewsDetail.d.ts +12 -19
  56. package/dist/types/News/NewsImage.d.ts +4 -12
  57. package/dist/types/News/NewsImageChange.d.ts +5 -13
  58. package/dist/types/News/NewsImageChangeRequest.d.ts +2 -10
  59. package/dist/types/News/NewsRequest.d.ts +8 -16
  60. package/dist/types/Null/NullEnum.d.ts +1 -0
  61. package/dist/types/Null/index.d.ts +1 -0
  62. package/dist/types/Onboarding/Onboarding.d.ts +9 -17
  63. package/dist/types/Onboarding/OnboardingChange.d.ts +9 -17
  64. package/dist/types/Onboarding/OnboardingChangeRequest.d.ts +9 -17
  65. package/dist/types/Paginated/PaginatedAdditionalProductList.d.ts +0 -8
  66. package/dist/types/Paginated/PaginatedDocumentList.d.ts +0 -8
  67. package/dist/types/Paginated/PaginatedExternal1CTradeList.d.ts +0 -8
  68. package/dist/types/Paginated/PaginatedExternalBiTradeAdditionalProductList.d.ts +0 -8
  69. package/dist/types/Paginated/PaginatedExternalBiTradeBidList.d.ts +0 -8
  70. package/dist/types/Paginated/PaginatedExternalBiTradeList.d.ts +0 -8
  71. package/dist/types/Paginated/PaginatedExternalBiTradeLotList.d.ts +0 -8
  72. package/dist/types/Paginated/PaginatedExternalBiTradeViewList.d.ts +0 -8
  73. package/dist/types/Paginated/PaginatedExternalBiUserDeviceList.d.ts +0 -8
  74. package/dist/types/Paginated/PaginatedExternalBiUserList.d.ts +0 -8
  75. package/dist/types/Paginated/PaginatedFacilityList.d.ts +0 -8
  76. package/dist/types/Paginated/PaginatedInfoBlockList.d.ts +0 -8
  77. package/dist/types/Paginated/PaginatedNewsImageList.d.ts +0 -8
  78. package/dist/types/Paginated/PaginatedNewsList.d.ts +0 -8
  79. package/dist/types/Paginated/PaginatedOnboardingList.d.ts +0 -8
  80. package/dist/types/Paginated/PaginatedProductImageList.d.ts +1 -8
  81. package/dist/types/Paginated/PaginatedProductList.d.ts +1 -8
  82. package/dist/types/Paginated/PaginatedProductTypeList.d.ts +1 -8
  83. package/dist/types/Paginated/PaginatedProductUnitList.d.ts +1 -8
  84. package/dist/types/Paginated/PaginatedProfileCompanyList.d.ts +1 -8
  85. package/dist/types/Paginated/PaginatedProfileNotificationsList.d.ts +1 -8
  86. package/dist/types/Paginated/PaginatedProfileNotificationsSettingsList.d.ts +1 -8
  87. package/dist/types/Paginated/PaginatedSettingsNotificationsList.d.ts +1 -8
  88. package/dist/types/Paginated/PaginatedSettingsNotificationsUserTypeList.d.ts +1 -8
  89. package/dist/types/Paginated/PaginatedStatisticDeviceList.d.ts +1 -8
  90. package/dist/types/Paginated/PaginatedTradeLotBidList.d.ts +1 -8
  91. package/dist/types/Paginated/PaginatedTradeLotCategoryList.d.ts +1 -8
  92. package/dist/types/Paginated/PaginatedTradeLotImageList.d.ts +1 -8
  93. package/dist/types/Paginated/PaginatedTradeLotList.d.ts +1 -8
  94. package/dist/types/Paginated/PaginatedTradeLotParticipantList.d.ts +1 -8
  95. package/dist/types/Paginated/PaginatedTradeLotRipeLevelList.d.ts +1 -8
  96. package/dist/types/Paginated/PaginatedTradeLotSizeList.d.ts +1 -8
  97. package/dist/types/Paginated/PaginatedTradeLotWinnerList.d.ts +1 -8
  98. package/dist/types/Paginated/PaginatedUserCompanyList.d.ts +1 -8
  99. package/dist/types/Paginated/PaginatedUserDocumentAcceptList.d.ts +1 -8
  100. package/dist/types/Paginated/PaginatedUserFCMTokensList.d.ts +1 -8
  101. package/dist/types/Paginated/PaginatedUserList.d.ts +1 -8
  102. package/dist/types/Paginated/PaginatedUserStatusList.d.ts +1 -8
  103. package/dist/types/Paginated/index.d.ts +38 -0
  104. package/dist/types/Participants/_ParticipantsBids.d.ts +1 -8
  105. package/dist/types/Participants/_ParticipantsBidsParticipant.d.ts +0 -8
  106. package/dist/types/Password/PasswordResetConfirmRequest.d.ts +1 -9
  107. package/dist/types/Password/PasswordResetRequest.d.ts +0 -8
  108. package/dist/types/Password/PasswordResetResendRequest.d.ts +1 -9
  109. package/dist/types/Patched/PatchedAdditionalProductChangeRequest.d.ts +13 -21
  110. package/dist/types/Patched/PatchedDocumentRequest.d.ts +23 -31
  111. package/dist/types/Patched/PatchedFacilityChangeRequest.d.ts +14 -22
  112. package/dist/types/Patched/PatchedInfoBlockRequest.d.ts +8 -16
  113. package/dist/types/Patched/PatchedNewsImageChangeRequest.d.ts +2 -10
  114. package/dist/types/Patched/PatchedNewsRequest.d.ts +8 -16
  115. package/dist/types/Patched/PatchedOnboardingChangeRequest.d.ts +9 -17
  116. package/dist/types/Patched/PatchedProductChangeRequest.d.ts +3 -11
  117. package/dist/types/Patched/PatchedProductImageChangeRequest.d.ts +2 -10
  118. package/dist/types/Patched/PatchedProductTypeRequest.d.ts +0 -8
  119. package/dist/types/Patched/PatchedProductUnitRequest.d.ts +6 -14
  120. package/dist/types/Patched/PatchedProfileChangeRequest.d.ts +11 -19
  121. package/dist/types/Patched/PatchedProfileCompanyRequest.d.ts +0 -8
  122. package/dist/types/Patched/PatchedProfileNotificationsRequest.d.ts +9 -17
  123. package/dist/types/Patched/PatchedProfileNotificationsSettingsRequest.d.ts +0 -8
  124. package/dist/types/Patched/PatchedSettingsNotificationsChangeRequest.d.ts +1 -8
  125. package/dist/types/Patched/PatchedSettingsNotificationsUserTypeRequest.d.ts +2 -10
  126. package/dist/types/Patched/PatchedSettingsRequest.d.ts +68 -76
  127. package/dist/types/Patched/PatchedTradeActionPublicRequest.d.ts +0 -8
  128. package/dist/types/Patched/PatchedTradeActionRequest.d.ts +0 -8
  129. package/dist/types/Patched/PatchedTradeLotCategoryRequest.d.ts +0 -8
  130. package/dist/types/Patched/PatchedTradeLotChangeRequest.d.ts +24 -32
  131. package/dist/types/Patched/PatchedTradeLotImageChangeRequest.d.ts +0 -8
  132. package/dist/types/Patched/PatchedTradeLotRipeLevelRequest.d.ts +0 -8
  133. package/dist/types/Patched/PatchedTradeLotSizeChangeRequest.d.ts +1 -9
  134. package/dist/types/Patched/PatchedTradeLotWinnerActionConfirmRequest.d.ts +0 -8
  135. package/dist/types/Patched/PatchedTradeLotWinnerRequest.d.ts +7 -15
  136. package/dist/types/Patched/PatchedTradeLotWinnerUpdateRequest.d.ts +7 -15
  137. package/dist/types/Patched/PatchedTradeUpdateRequest.d.ts +15 -22
  138. package/dist/types/Patched/PatchedUserActionRequest.d.ts +0 -8
  139. package/dist/types/Patched/PatchedUserCompanyChangeRequest.d.ts +16 -24
  140. package/dist/types/Patched/PatchedUserCompanyRequest.d.ts +17 -25
  141. package/dist/types/Patched/PatchedUserFCMTokensRequest.d.ts +0 -8
  142. package/dist/types/Patched/PatchedUserUpdateRequest.d.ts +25 -30
  143. package/dist/types/Patched/index.d.ts +3 -0
  144. package/dist/types/Product/Product.d.ts +4 -10
  145. package/dist/types/Product/ProductChangeRequest.d.ts +3 -11
  146. package/dist/types/Product/ProductDetail.d.ts +6 -11
  147. package/dist/types/Product/ProductImage.d.ts +4 -12
  148. package/dist/types/Product/ProductImageChange.d.ts +5 -13
  149. package/dist/types/Product/ProductImageChangeRequest.d.ts +2 -10
  150. package/dist/types/Product/ProductType.d.ts +0 -8
  151. package/dist/types/Product/ProductTypeRequest.d.ts +0 -8
  152. package/dist/types/Product/ProductUnit.d.ts +5 -13
  153. package/dist/types/Product/ProductUnitRequest.d.ts +6 -14
  154. package/dist/types/Product/index.d.ts +2 -0
  155. package/dist/types/Profile/ProfileChangeRequest.d.ts +11 -19
  156. package/dist/types/Profile/ProfileCompany.d.ts +1 -9
  157. package/dist/types/Profile/ProfileCompanyRequest.d.ts +0 -8
  158. package/dist/types/Profile/ProfileNotifications.d.ts +6 -14
  159. package/dist/types/Profile/ProfileNotificationsSettings.d.ts +3 -9
  160. package/dist/types/Profile/ProfileNotificationsSettingsRequest.d.ts +0 -8
  161. package/dist/types/Profile/_ProfileNotificationsSettingsDefaults.d.ts +0 -8
  162. package/dist/types/Profile/_ProfileNotificationsSettingsType.d.ts +0 -8
  163. package/dist/types/Report/ReportFilters.d.ts +3 -9
  164. package/dist/types/Report/ReportParticipant.d.ts +6 -14
  165. package/dist/types/Report/ReportParticipantFilters.d.ts +5 -10
  166. package/dist/types/Report/ReportParticipantPagination.d.ts +3 -10
  167. package/dist/types/Report/ReportSale.d.ts +5 -12
  168. package/dist/types/Report/ReportSaleFilters.d.ts +1 -8
  169. package/dist/types/Report/ReportSalePagination.d.ts +3 -10
  170. package/dist/types/Report/ReportStatParticipant.d.ts +7 -15
  171. package/dist/types/Report/ReportStatParticipantFilters.d.ts +1 -8
  172. package/dist/types/Report/ReportStatParticipantPagination.d.ts +3 -10
  173. package/dist/types/Report/ReportSummaries.d.ts +3 -8
  174. package/dist/types/Report/ReportSummary.d.ts +31 -38
  175. package/dist/types/Report/ReportSummaryPagination.d.ts +2 -10
  176. package/dist/types/Report/_ReportFiltersCreator.d.ts +7 -15
  177. package/dist/types/Report/index.d.ts +6 -0
  178. package/dist/types/Ripe/_RipeLevel.d.ts +1 -9
  179. package/dist/types/Settings/Settings.d.ts +68 -76
  180. package/dist/types/Settings/SettingsNotifications.d.ts +1 -8
  181. package/dist/types/Settings/SettingsNotificationsChange.d.ts +1 -8
  182. package/dist/types/Settings/SettingsNotificationsChangeRequest.d.ts +1 -8
  183. package/dist/types/Settings/SettingsNotificationsUserType.d.ts +2 -10
  184. package/dist/types/Settings/SettingsNotificationsUserTypeRequest.d.ts +2 -10
  185. package/dist/types/Settings/SettingsRequest.d.ts +68 -76
  186. package/dist/types/Sign/SignInFromTelegramRequest.d.ts +2 -10
  187. package/dist/types/Sign/SignInRequest.d.ts +4 -12
  188. package/dist/types/Sign/SignInResponse.d.ts +0 -8
  189. package/dist/types/Sign/SignUp.d.ts +38 -39
  190. package/dist/types/Sign/SignUpConfirmRequest.d.ts +0 -8
  191. package/dist/types/Sign/SignUpRequest.d.ts +27 -32
  192. package/dist/types/Sign/SignUpResendRequest.d.ts +1 -9
  193. package/dist/types/Sign/index.d.ts +6 -0
  194. package/dist/types/Simple/SimpleResponse.d.ts +0 -8
  195. package/dist/types/Size/_Size.d.ts +1 -9
  196. package/dist/types/Statistic/StatisticDevice.d.ts +12 -20
  197. package/dist/types/Statistic/StatisticDeviceRequest.d.ts +10 -18
  198. package/dist/types/Status/_StatusCreator.d.ts +1 -9
  199. package/dist/types/Summaries/_SummariesCost.d.ts +0 -8
  200. package/dist/types/Summaries/_SummariesTrades.d.ts +4 -12
  201. package/dist/types/Summaries/_SummariesVolume.d.ts +0 -8
  202. package/dist/types/Trade/Trade.d.ts +32 -37
  203. package/dist/types/Trade/TradeCreateRequest.d.ts +16 -22
  204. package/dist/types/Trade/TradeDetail.d.ts +36 -39
  205. package/dist/types/Trade/TradeFilters.d.ts +3 -8
  206. package/dist/types/Trade/TradeLot.d.ts +51 -52
  207. package/dist/types/Trade/TradeLotActionBidRequest.d.ts +0 -8
  208. package/dist/types/Trade/TradeLotActionBidResponse.d.ts +8 -15
  209. package/dist/types/Trade/TradeLotBid.d.ts +7 -14
  210. package/dist/types/Trade/TradeLotCategory.d.ts +1 -9
  211. package/dist/types/Trade/TradeLotCategoryRequest.d.ts +0 -8
  212. package/dist/types/Trade/TradeLotChangeRequest.d.ts +24 -32
  213. package/dist/types/Trade/TradeLotDetail.d.ts +53 -54
  214. package/dist/types/Trade/TradeLotImage.d.ts +1 -9
  215. package/dist/types/Trade/TradeLotImageChange.d.ts +1 -9
  216. package/dist/types/Trade/TradeLotImageChangeRequest.d.ts +0 -8
  217. package/dist/types/Trade/TradeLotParticipant.d.ts +1 -8
  218. package/dist/types/Trade/TradeLotRipeLevel.d.ts +0 -8
  219. package/dist/types/Trade/TradeLotRipeLevelRequest.d.ts +0 -8
  220. package/dist/types/Trade/TradeLotSize.d.ts +2 -9
  221. package/dist/types/Trade/TradeLotSizeChangeRequest.d.ts +1 -9
  222. package/dist/types/Trade/TradeLotWinner.d.ts +17 -22
  223. package/dist/types/Trade/TradeLotWinnerCreateBulkRequest.d.ts +5 -13
  224. package/dist/types/Trade/TradeLotWinnerCreateRequest.d.ts +5 -13
  225. package/dist/types/Trade/TradeLotWinnerUpdateRequest.d.ts +7 -15
  226. package/dist/types/Trade/TradePagination.d.ts +1 -9
  227. package/dist/types/Trade/TradeUpdateRequest.d.ts +15 -22
  228. package/dist/types/Trade/_TradeAdditionalProduct.d.ts +10 -18
  229. package/dist/types/Trade/_TradeCreator.d.ts +8 -15
  230. package/dist/types/Trade/_TradeCreatorRequest.d.ts +5 -13
  231. package/dist/types/Trade/_TradeFacility.d.ts +1 -9
  232. package/dist/types/Trade/_TradeFiltersFacilities.d.ts +1 -9
  233. package/dist/types/Trade/_TradeFiltersProductTypes.d.ts +1 -9
  234. package/dist/types/Trade/_TradeFiltersProducts.d.ts +5 -13
  235. package/dist/types/Trade/_TradeLotCategory.d.ts +1 -9
  236. package/dist/types/Trade/_TradeProduct.d.ts +2 -9
  237. package/dist/types/Trade/_TradeStatus.d.ts +3 -10
  238. package/dist/types/Trade/_TradeUser.d.ts +10 -18
  239. package/dist/types/Trade/_TradeUserRequest.d.ts +9 -17
  240. package/dist/types/Trade/index.d.ts +8 -0
  241. package/dist/types/Type/_Type.d.ts +1 -9
  242. package/dist/types/Unit/_Unit.d.ts +1 -9
  243. package/dist/types/User/User.d.ts +36 -35
  244. package/dist/types/User/UserActionDocumentAcceptRequest.d.ts +1 -9
  245. package/dist/types/User/UserCompany.d.ts +22 -30
  246. package/dist/types/User/UserCompanyChange.d.ts +19 -27
  247. package/dist/types/User/UserCompanyChangeRequest.d.ts +16 -24
  248. package/dist/types/User/UserCreate.d.ts +37 -38
  249. package/dist/types/User/UserCreateRequest.d.ts +25 -30
  250. package/dist/types/User/UserDocumentAccept.d.ts +3 -10
  251. package/dist/types/User/UserFCMTokens.d.ts +0 -8
  252. package/dist/types/User/UserFCMTokensRequest.d.ts +0 -8
  253. package/dist/types/User/UserStatus.d.ts +1 -8
  254. package/dist/types/User/UserUpdate.d.ts +35 -38
  255. package/dist/types/User/UserUpdateRequest.d.ts +25 -30
  256. package/dist/types/User/_UserChanges.d.ts +14 -21
  257. package/dist/types/User/_UserCompanyChanges.d.ts +22 -30
  258. package/dist/types/User/_UserFacility.d.ts +1 -9
  259. package/dist/types/User/_UserManager.d.ts +7 -15
  260. package/dist/types/User/index.d.ts +4 -0
  261. package/dist/types/Violation/ViolationChange.d.ts +14 -22
  262. package/dist/types/Violation/ViolationChangeRequest.d.ts +15 -23
  263. package/dist/types/Winner/_WinnerAdditionalProduct.d.ts +20 -0
  264. package/dist/types/Winner/index.d.ts +3 -0
  265. package/dist/types/index.d.ts +13 -15
  266. package/package.json +3 -3
@@ -1,74 +1,73 @@
1
- /**
2
- * * `admin` - Администратор
3
- * * `manager` - Менеджер
4
- * * `moderator` - Модератор
5
- * * `participant` - Участник
6
- * * `security` - Служба безопасности
7
- * * `director` - Руководитель
8
- */
9
- import type { BlankEnum, Status8F7Enum } from '../../enums';
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';
5
+ import type { UserDocumentAccept } from './UserDocumentAccept';
6
+ import type { UserFCMTokens } from './UserFCMTokens';
10
7
  export interface UserCreate {
8
+ id: number;
11
9
  /** Можно делать скриншоты */
12
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[];
13
27
  /**
14
28
  * Почта
15
29
  * @format email
16
30
  * @maxLength 255
17
31
  */
18
32
  email?: string | null;
33
+ facilities?: (number | null)[];
34
+ fcm_tokens: UserFCMTokens[];
19
35
  /**
20
36
  * Имя
21
37
  * @maxLength 255
22
38
  */
23
39
  first_name?: string;
24
- id: number;
40
+ /**
41
+ * ИНН
42
+ * @maxLength 255
43
+ */
44
+ inn: string;
25
45
  /**
26
46
  * Фамилия
27
47
  * @maxLength 255
28
48
  */
29
49
  last_name?: string;
50
+ managers?: (number | null)[];
51
+ password?: string | null;
52
+ /** Права на установку доступности торгов для Участников */
53
+ permissions_trades_participants?: BlankEnum | PermissionsTradesParticipantsEnum;
30
54
  phone?: string | null;
31
55
  /**
32
56
  * ПИН-код
33
57
  * @maxLength 255
34
58
  */
35
59
  pin_code?: string;
36
- /** Регистрация подтверждена */
37
- signup_confirmed: boolean;
38
- /**
39
- * Наименование организации
40
- * @maxLength 255
41
- */
42
- company: string;
43
- /**
44
- * Контактное лицо
45
- * @maxLength 255
46
- */
47
- contact_person: string;
48
- default_company: _UserCompanyChanges;
49
- /**
50
- * ИНН
51
- * @maxLength 255
52
- */
53
- inn: string;
54
60
  /**
55
61
  * Должность
56
62
  * @maxLength 255
57
63
  */
58
64
  position?: string;
65
+ /** Регистрация подтверждена */
66
+ signup_confirmed: boolean;
67
+ status?: BlankEnum | NullEnum | Status8F7Enum | null;
59
68
  is_type_admin: boolean;
60
69
  is_type_manager: boolean;
61
70
  is_type_moderator: boolean;
62
71
  is_type_participant: boolean;
63
72
  is_type_security: boolean;
64
- /** @format uri */
65
- avatar?: string | null;
66
- changes: _UserChanges;
67
- changes_company: _UserCompanyChanges;
68
- document_accepts: UserDocumentAccept[];
69
- facilities?: (number | null)[];
70
- fcm_tokens: UserFCMTokens[];
71
- managers?: (number | null)[];
72
- status?: Status8F7Enum | BlankEnum | NullEnum | null;
73
- password?: string | null;
74
73
  }
@@ -1,61 +1,56 @@
1
- /**
2
- * * `admin` - Администратор
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
- /** @format binary */
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,21 +1,14 @@
1
- /**
2
- * * `admin` - Администратор
3
- * * `manager` - Менеджер
4
- * * `moderator` - Модератор
5
- * * `participant` - Участник
6
- * * `security` - Служба безопасности
7
- * * `director` - Руководитель
8
- */
1
+ import type { _DocumentField } from '../Document/_DocumentField';
9
2
  export interface UserDocumentAccept {
10
3
  id: number;
4
+ /** Принял */
5
+ accepted: boolean;
11
6
  document: _DocumentField;
12
7
  /**
13
8
  * Дата/время изменения
14
9
  * @format date-time
15
10
  */
16
11
  dt_change: string;
17
- /** Принял */
18
- accepted: boolean;
19
12
  /** Версия */
20
13
  version: string;
21
14
  }
@@ -1,11 +1,3 @@
1
- /**
2
- * * `admin` - Администратор
3
- * * `manager` - Менеджер
4
- * * `moderator` - Модератор
5
- * * `participant` - Участник
6
- * * `security` - Служба безопасности
7
- * * `director` - Руководитель
8
- */
9
1
  export interface UserFCMTokens {
10
2
  id: number;
11
3
  /**
@@ -1,11 +1,3 @@
1
- /**
2
- * * `admin` - Администратор
3
- * * `manager` - Менеджер
4
- * * `moderator` - Модератор
5
- * * `participant` - Участник
6
- * * `security` - Служба безопасности
7
- * * `director` - Руководитель
8
- */
9
1
  export interface UserFCMTokensRequest {
10
2
  /**
11
3
  * Токен
@@ -1,12 +1,5 @@
1
- /**
2
- * * `admin` - Администратор
3
- * * `manager` - Менеджер
4
- * * `moderator` - Модератор
5
- * * `participant` - Участник
6
- * * `security` - Служба безопасности
7
- * * `director` - Руководитель
8
- */
9
1
  import type { Status8F7Enum } from '../../enums';
2
+ import type { _StatusCreator } from '../Status/_StatusCreator';
10
3
  export interface UserStatus {
11
4
  /** Комментарий */
12
5
  comment?: string;
@@ -1,76 +1,73 @@
1
- /**
2
- * * `admin` - Администратор
3
- * * `manager` - Менеджер
4
- * * `moderator` - Модератор
5
- * * `participant` - Участник
6
- * * `security` - Служба безопасности
7
- * * `director` - Руководитель
8
- */
9
- import type { BlankEnum, Status8F7Enum } from '../../enums';
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';
10
5
  import type { UserDocumentAccept } from './UserDocumentAccept';
11
6
  import type { UserFCMTokens } from './UserFCMTokens';
12
7
  export interface UserUpdate {
8
+ id: number;
13
9
  /** Можно делать скриншоты */
14
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[];
15
27
  /**
16
28
  * Почта
17
29
  * @format email
18
30
  * @maxLength 255
19
31
  */
20
32
  email?: string | null;
33
+ facilities?: (number | null)[];
34
+ fcm_tokens: UserFCMTokens[];
21
35
  /**
22
36
  * Имя
23
37
  * @maxLength 255
24
38
  */
25
39
  first_name?: string;
26
- id: number;
40
+ /**
41
+ * ИНН
42
+ * @maxLength 255
43
+ */
44
+ inn: string;
27
45
  /**
28
46
  * Фамилия
29
47
  * @maxLength 255
30
48
  */
31
49
  last_name?: string;
50
+ managers?: (number | null)[];
51
+ password?: string | null;
52
+ /** Права на установку доступности торгов для Участников */
53
+ permissions_trades_participants?: BlankEnum | PermissionsTradesParticipantsEnum;
32
54
  phone?: string | null;
33
55
  /**
34
56
  * ПИН-код
35
57
  * @maxLength 255
36
58
  */
37
59
  pin_code?: string;
38
- /** Регистрация подтверждена */
39
- signup_confirmed: boolean;
40
- /**
41
- * Наименование организации
42
- * @maxLength 255
43
- */
44
- company: string;
45
- /**
46
- * Контактное лицо
47
- * @maxLength 255
48
- */
49
- contact_person: string;
50
- default_company: _UserCompanyChanges;
51
- /**
52
- * ИНН
53
- * @maxLength 255
54
- */
55
- inn: string;
56
60
  /**
57
61
  * Должность
58
62
  * @maxLength 255
59
63
  */
60
64
  position?: string;
65
+ /** Регистрация подтверждена */
66
+ signup_confirmed: boolean;
67
+ status?: BlankEnum | NullEnum | Status8F7Enum | null;
61
68
  is_type_admin: boolean;
62
69
  is_type_manager: boolean;
63
70
  is_type_moderator: boolean;
64
71
  is_type_participant: boolean;
65
72
  is_type_security: boolean;
66
- /** @format uri */
67
- avatar?: string | null;
68
- changes: _UserChanges;
69
- changes_company: _UserCompanyChanges;
70
- document_accepts: UserDocumentAccept[];
71
- facilities?: (number | null)[];
72
- fcm_tokens: UserFCMTokens[];
73
- managers?: (number | null)[];
74
- status?: Status8F7Enum | BlankEnum | NullEnum | null;
75
- password?: string | null;
76
73
  }
@@ -1,61 +1,56 @@
1
- /**
2
- * * `admin` - Администратор
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
- /** @format binary */
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,13 +1,15 @@
1
- /**
2
- * * `admin` - Администратор
3
- * * `manager` - Менеджер
4
- * * `moderator` - Модератор
5
- * * `participant` - Участник
6
- * * `security` - Служба безопасности
7
- * * `director` - Руководитель
8
- */
1
+ import type { _UserFacility } from './_UserFacility';
9
2
  export interface _UserChanges {
10
- facilities: _UserFacility[];
3
+ /**
4
+ * Наименование организации
5
+ * @maxLength 255
6
+ */
7
+ company: string;
8
+ /**
9
+ * Контактное лицо
10
+ * @maxLength 255
11
+ */
12
+ contact_person: string;
11
13
  /**
12
14
  * Дата/время создания
13
15
  * @format date-time
@@ -19,24 +21,15 @@ export interface _UserChanges {
19
21
  * @maxLength 255
20
22
  */
21
23
  email: string;
22
- /**
23
- * Телефон
24
- * @maxLength 255
25
- */
26
- phone: string;
27
- /**
28
- * Наименование организации
29
- * @maxLength 255
30
- */
31
- company: string;
24
+ facilities: _UserFacility[];
32
25
  /**
33
26
  * ИНН
34
27
  * @maxLength 255
35
28
  */
36
29
  inn: string;
37
30
  /**
38
- * Контактное лицо
31
+ * Телефон
39
32
  * @maxLength 255
40
33
  */
41
- contact_person: string;
34
+ phone: string;
42
35
  }
@@ -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 _UserCompanyChanges {
11
3
  id: number;
@@ -15,19 +7,22 @@ export interface _UserCompanyChanges {
15
7
  */
16
8
  active?: boolean;
17
9
  /**
18
- * Дата/время создания
19
- * @format date-time
10
+ * Наименование организации
11
+ * @maxLength 255
20
12
  */
21
- dt_create: string;
13
+ company?: string;
22
14
  /**
23
- * Сортировка
24
- * Чем меньше значение, тем выше отображается в списке
25
- * @min -32768
26
- * @max 32767
15
+ * Контактное лицо
16
+ * @maxLength 255
27
17
  */
28
- sort?: number;
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 _UserCompanyChanges {
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,10 +53,13 @@ export interface _UserCompanyChanges {
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
- /** Модератор */
70
- moderator?: number | null;
71
- /** Родитель */
72
- parent: number | null;
73
65
  }
@@ -1,12 +1,5 @@
1
- /**
2
- * * `admin` - Администратор
3
- * * `manager` - Менеджер
4
- * * `moderator` - Модератор
5
- * * `participant` - Участник
6
- * * `security` - Служба безопасности
7
- * * `director` - Руководитель
8
- */
9
1
  export interface _UserFacility {
2
+ id: number;
10
3
  /**
11
4
  * Показывать
12
5
  * Если отключёно, элемент не будет отображаться на сайте
@@ -17,7 +10,6 @@ export interface _UserFacility {
17
10
  * @maxLength 50
18
11
  */
19
12
  color?: string;
20
- id: number;
21
13
  /**
22
14
  * Название
23
15
  * @maxLength 255
@@ -1,25 +1,23 @@
1
- /**
2
- * * `admin` - Администратор
3
- * * `manager` - Менеджер
4
- * * `moderator` - Модератор
5
- * * `participant` - Участник
6
- * * `security` - Служба безопасности
7
- * * `director` - Руководитель
8
- */
9
1
  import type { _UserFacility } from './_UserFacility';
10
2
  export interface _UserManager {
3
+ id: number;
4
+ /**
5
+ * Контактное лицо
6
+ * @maxLength 255
7
+ */
8
+ contact_person?: string;
11
9
  /**
12
10
  * Почта
13
11
  * @format email
14
12
  * @maxLength 255
15
13
  */
16
14
  email?: string | null;
15
+ facilities: _UserFacility[];
17
16
  /**
18
17
  * Имя
19
18
  * @maxLength 255
20
19
  */
21
20
  first_name?: string;
22
- id: number;
23
21
  /**
24
22
  * Фамилия
25
23
  * @maxLength 255
@@ -30,15 +28,9 @@ export interface _UserManager {
30
28
  * @maxLength 255
31
29
  */
32
30
  phone?: string | null;
33
- /**
34
- * Контактное лицо
35
- * @maxLength 255
36
- */
37
- contact_person?: string;
38
31
  /**
39
32
  * Должность
40
33
  * @maxLength 255
41
34
  */
42
35
  position?: string;
43
- facilities: _UserFacility[];
44
36
  }
@@ -1,7 +1,11 @@
1
1
  export { type BlankEnum } from '../../enums';
2
+ export { type PermissionsTradesParticipantsEnum } from '../../enums';
2
3
  export { type Status8F7Enum } from '../../enums';
3
4
  export { type Status9DdEnum } from '../../enums';
4
5
  export { type TypesEnum } from '../../enums';
6
+ export type { _DocumentField } from '../Document';
7
+ export type { NullEnum } from '../Null';
8
+ export type { _StatusCreator } from '../Status';
5
9
  export type { _UserChanges } from './_UserChanges';
6
10
  export type { _UserCompanyChanges } from './_UserCompanyChanges';
7
11
  export type { _UserFacility } from './_UserFacility';