@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,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 PatchedUserUpdateRequest {
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,6 +1,7 @@
1
1
  export { type BidTypeEnum } from '../../enums';
2
2
  export { type BlankEnum } from '../../enums';
3
3
  export { type EmailEnum } from '../../enums';
4
+ export { type PermissionsTradesParticipantsEnum } from '../../enums';
4
5
  export { type PriceTypeEnum } from '../../enums';
5
6
  export { type ProcessTypeEnum } from '../../enums';
6
7
  export { type PushEnum } from '../../enums';
@@ -13,6 +14,8 @@ export { type StepTypeEnum } from '../../enums';
13
14
  export { type Type744Enum } from '../../enums';
14
15
  export { type TypesEnum } from '../../enums';
15
16
  export { type UsertypeEnum } from '../../enums';
17
+ export type { NullEnum } from '../Null';
18
+ export type { SettingsNotificationsUserTypeRequest } from '../Settings';
16
19
  export type { PatchedAdditionalProductChangeRequest } from './PatchedAdditionalProductChangeRequest';
17
20
  export type { PatchedDocumentRequest } from './PatchedDocumentRequest';
18
21
  export type { PatchedFacilityChangeRequest } from './PatchedFacilityChangeRequest';
@@ -1,15 +1,7 @@
1
- /**
2
- * * `admin` - Администратор
3
- * * `manager` - Менеджер
4
- * * `moderator` - Модератор
5
- * * `participant` - Участник
6
- * * `security` - Служба безопасности
7
- * * `director` - Руководитель
8
- */
1
+ import type { _Type } from '../Type/_Type';
2
+ import type { _Unit } from '../Unit/_Unit';
9
3
  export interface Product {
10
4
  id: number;
11
- type: _Type;
12
- unit: _Unit;
13
5
  /**
14
6
  * Показывать
15
7
  * Если отключёно, элемент не будет отображаться на сайте
@@ -32,6 +24,8 @@ export interface Product {
32
24
  * @max 32767
33
25
  */
34
26
  sort?: number;
27
+ type: _Type;
28
+ unit: _Unit;
35
29
  /**
36
30
  * Вес единицы измерения
37
31
  * @format decimal
@@ -1,22 +1,12 @@
1
- /**
2
- * * `admin` - Администратор
3
- * * `manager` - Менеджер
4
- * * `moderator` - Модератор
5
- * * `participant` - Участник
6
- * * `security` - Служба безопасности
7
- * * `director` - Руководитель
8
- */
9
1
  export interface ProductChangeRequest {
10
- type: number;
11
- unit: number;
12
2
  /** @default true */
13
3
  active?: boolean;
14
- images?: File[] | null;
15
4
  /**
16
5
  * GUID из 1С
17
6
  * @maxLength 40
18
7
  */
19
8
  guid_1c?: string | null;
9
+ images?: File[] | null;
20
10
  /**
21
11
  * Название
22
12
  * @minLength 1
@@ -30,6 +20,8 @@ export interface ProductChangeRequest {
30
20
  * @max 32767
31
21
  */
32
22
  sort?: number;
23
+ type: number;
24
+ unit: number;
33
25
  /**
34
26
  * Вес единицы измерения
35
27
  * @format decimal
@@ -1,16 +1,8 @@
1
- /**
2
- * * `admin` - Администратор
3
- * * `manager` - Менеджер
4
- * * `moderator` - Модератор
5
- * * `participant` - Участник
6
- * * `security` - Служба безопасности
7
- * * `director` - Руководитель
8
- */
1
+ import type { _Type } from '../Type/_Type';
2
+ import type { _Unit } from '../Unit/_Unit';
3
+ import type { ProductImage } from './ProductImage';
9
4
  export interface ProductDetail {
10
5
  id: number;
11
- type: _Type;
12
- unit: _Unit;
13
- images: ProductImage[];
14
6
  /**
15
7
  * Показывать
16
8
  * Если отключёно, элемент не будет отображаться на сайте
@@ -21,6 +13,7 @@ export interface ProductDetail {
21
13
  * @maxLength 40
22
14
  */
23
15
  guid_1c?: string | null;
16
+ images: ProductImage[];
24
17
  /**
25
18
  * Название
26
19
  * @maxLength 255
@@ -33,6 +26,8 @@ export interface ProductDetail {
33
26
  * @max 32767
34
27
  */
35
28
  sort?: number;
29
+ type: _Type;
30
+ unit: _Unit;
36
31
  /**
37
32
  * Вес единицы измерения
38
33
  * @format decimal
@@ -1,22 +1,14 @@
1
- /**
2
- * * `admin` - Администратор
3
- * * `manager` - Менеджер
4
- * * `moderator` - Модератор
5
- * * `participant` - Участник
6
- * * `security` - Служба безопасности
7
- * * `director` - Руководитель
8
- */
9
1
  export interface ProductImage {
10
2
  id: number;
11
- image: string;
12
- image_list_version: string;
13
- image_detail_version: string;
14
- image_gallery_version: string;
15
3
  /**
16
4
  * Показывать
17
5
  * Если отключёно, элемент не будет отображаться на сайте
18
6
  */
19
7
  active?: boolean;
8
+ image: string;
9
+ image_detail_version: string;
10
+ image_gallery_version: string;
11
+ image_list_version: string;
20
12
  /**
21
13
  * Сортировка
22
14
  * Чем меньше значение, тем выше отображается в списке
@@ -1,23 +1,15 @@
1
- /**
2
- * * `admin` - Администратор
3
- * * `manager` - Менеджер
4
- * * `moderator` - Модератор
5
- * * `participant` - Участник
6
- * * `security` - Служба безопасности
7
- * * `director` - Руководитель
8
- */
9
1
  export interface ProductImageChange {
10
2
  id: number;
11
- /** @format uri */
12
- image: string;
13
- image_list_version: string;
14
- image_detail_version: string;
15
- image_gallery_version: string;
16
3
  /**
17
4
  * Показывать
18
5
  * Если отключёно, элемент не будет отображаться на сайте
19
6
  */
20
7
  active?: boolean;
8
+ /** @format uri */
9
+ image: string;
10
+ image_detail_version: string;
11
+ image_gallery_version: string;
12
+ image_list_version: string;
21
13
  /**
22
14
  * Сортировка
23
15
  * Чем меньше значение, тем выше отображается в списке
@@ -1,19 +1,11 @@
1
- /**
2
- * * `admin` - Администратор
3
- * * `manager` - Менеджер
4
- * * `moderator` - Модератор
5
- * * `participant` - Участник
6
- * * `security` - Служба безопасности
7
- * * `director` - Руководитель
8
- */
9
1
  export interface ProductImageChangeRequest {
10
- /** @format binary */
11
- image: File;
12
2
  /**
13
3
  * Показывать
14
4
  * Если отключёно, элемент не будет отображаться на сайте
15
5
  */
16
6
  active?: boolean;
7
+ /** @format binary */
8
+ image: File;
17
9
  /**
18
10
  * Сортировка
19
11
  * Чем меньше значение, тем выше отображается в списке
@@ -1,11 +1,3 @@
1
- /**
2
- * * `admin` - Администратор
3
- * * `manager` - Менеджер
4
- * * `moderator` - Модератор
5
- * * `participant` - Участник
6
- * * `security` - Служба безопасности
7
- * * `director` - Руководитель
8
- */
9
1
  export interface ProductType {
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 ProductTypeRequest {
10
2
  /**
11
3
  * Показывать
@@ -1,11 +1,3 @@
1
- /**
2
- * * `admin` - Администратор
3
- * * `manager` - Менеджер
4
- * * `moderator` - Модератор
5
- * * `participant` - Участник
6
- * * `security` - Служба безопасности
7
- * * `director` - Руководитель
8
- */
9
1
  export interface ProductUnit {
10
2
  id: number;
11
3
  /**
@@ -23,6 +15,11 @@ export interface ProductUnit {
23
15
  * @maxLength 255
24
16
  */
25
17
  name: string;
18
+ /**
19
+ * Сокращённое название
20
+ * @maxLength 255
21
+ */
22
+ name_short: string;
26
23
  /**
27
24
  * Сортировка
28
25
  * Чем меньше значение, тем выше отображается в списке
@@ -30,9 +27,4 @@ export interface ProductUnit {
30
27
  * @max 32767
31
28
  */
32
29
  sort?: number;
33
- /**
34
- * Сокращённое название
35
- * @maxLength 255
36
- */
37
- name_short: string;
38
30
  }
@@ -1,11 +1,3 @@
1
- /**
2
- * * `admin` - Администратор
3
- * * `manager` - Менеджер
4
- * * `moderator` - Модератор
5
- * * `participant` - Участник
6
- * * `security` - Служба безопасности
7
- * * `director` - Руководитель
8
- */
9
1
  export interface ProductUnitRequest {
10
2
  /**
11
3
  * Показывать
@@ -23,6 +15,12 @@ export interface ProductUnitRequest {
23
15
  * @maxLength 255
24
16
  */
25
17
  name: string;
18
+ /**
19
+ * Сокращённое название
20
+ * @minLength 1
21
+ * @maxLength 255
22
+ */
23
+ name_short: string;
26
24
  /**
27
25
  * Сортировка
28
26
  * Чем меньше значение, тем выше отображается в списке
@@ -30,10 +28,4 @@ export interface ProductUnitRequest {
30
28
  * @max 32767
31
29
  */
32
30
  sort?: number;
33
- /**
34
- * Сокращённое название
35
- * @minLength 1
36
- * @maxLength 255
37
- */
38
- name_short: string;
39
31
  }
@@ -1,3 +1,5 @@
1
+ export type { _Type } from '../Type';
2
+ export type { _Unit } from '../Unit';
1
3
  export type { Product } from './Product';
2
4
  export type { ProductChangeRequest } from './ProductChangeRequest';
3
5
  export type { ProductDetail } from './ProductDetail';
@@ -1,31 +1,23 @@
1
- /**
2
- * * `admin` - Администратор
3
- * * `manager` - Менеджер
4
- * * `moderator` - Модератор
5
- * * `participant` - Участник
6
- * * `security` - Служба безопасности
7
- * * `director` - Руководитель
8
- */
9
1
  export interface ProfileChangeRequest {
10
2
  /** @format binary */
11
3
  avatar?: File | null;
12
- /**
13
- * ПИН-код
14
- * @maxLength 255
15
- */
16
- pin_code?: string;
4
+ /** @minLength 1 */
5
+ company: string;
6
+ /** @minLength 1 */
7
+ contact_person: string;
17
8
  /**
18
9
  * @format email
19
10
  * @minLength 1
20
11
  */
21
12
  email: string;
22
- /** @minLength 1 */
23
- phone: string;
24
- /** @minLength 1 */
25
- company: string;
13
+ facilities?: (number | null)[];
26
14
  /** @minLength 1 */
27
15
  inn: string;
28
16
  /** @minLength 1 */
29
- contact_person: string;
30
- facilities?: (number | null)[];
17
+ phone: string;
18
+ /**
19
+ * ПИН-код
20
+ * @maxLength 255
21
+ */
22
+ pin_code?: string;
31
23
  }
@@ -1,13 +1,6 @@
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 ProfileCompany {
3
+ id: number;
11
4
  /**
12
5
  * Показывать
13
6
  * Если отключёно, элемент не будет отображаться на сайте
@@ -29,7 +22,6 @@ export interface ProfileCompany {
29
22
  * @maxLength 255
30
23
  */
31
24
  email?: string | null;
32
- id: number;
33
25
  inn: string;
34
26
  /** Родитель */
35
27
  parent: number | null;
@@ -1,11 +1,3 @@
1
- /**
2
- * * `admin` - Администратор
3
- * * `manager` - Менеджер
4
- * * `moderator` - Модератор
5
- * * `participant` - Участник
6
- * * `security` - Служба безопасности
7
- * * `director` - Руководитель
8
- */
9
1
  export interface ProfileCompanyRequest {
10
2
  /**
11
3
  * Наименование организации
@@ -1,34 +1,26 @@
1
- /**
2
- * * `admin` - Администратор
3
- * * `manager` - Менеджер
4
- * * `moderator` - Модератор
5
- * * `participant` - Участник
6
- * * `security` - Служба безопасности
7
- * * `director` - Руководитель
8
- */
9
1
  export interface ProfileNotifications {
10
2
  id: number;
3
+ /** Данные */
4
+ data?: any;
11
5
  /**
12
6
  * Дата/время создания
13
7
  * @format date-time
14
8
  */
15
9
  dt_create?: string;
16
- /** Сообщение */
17
- message: string;
18
10
  /**
19
11
  * Дата/время прочитано
20
12
  * @format date-time
21
13
  */
22
14
  dt_readed?: string | null;
23
- /** Прочитано */
24
- readed?: boolean;
25
15
  /**
26
16
  * Дата/время получено
27
17
  * @format date-time
28
18
  */
29
19
  dt_received?: string | null;
20
+ /** Сообщение */
21
+ message: string;
22
+ /** Прочитано */
23
+ readed?: boolean;
30
24
  /** Получено */
31
25
  received?: boolean;
32
- /** Данные */
33
- data?: any;
34
26
  }
@@ -1,14 +1,9 @@
1
- /**
2
- * * `admin` - Администратор
3
- * * `manager` - Менеджер
4
- * * `moderator` - Модератор
5
- * * `participant` - Участник
6
- * * `security` - Служба безопасности
7
- * * `director` - Руководитель
8
- */
9
1
  import type { EmailEnum, PushEnum } from '../../enums';
2
+ import type { _ProfileNotificationsSettingsDefaults } from './_ProfileNotificationsSettingsDefaults';
3
+ import type { _ProfileNotificationsSettingsType } from './_ProfileNotificationsSettingsType';
10
4
  export interface ProfileNotificationsSettings {
11
5
  id: number;
6
+ defaults: _ProfileNotificationsSettingsDefaults;
12
7
  /**
13
8
  * На почту
14
9
  * @min -32768
@@ -21,6 +16,5 @@ export interface ProfileNotificationsSettings {
21
16
  * @max 32767
22
17
  */
23
18
  push?: PushEnum;
24
- defaults: _ProfileNotificationsSettingsDefaults;
25
19
  type: _ProfileNotificationsSettingsType;
26
20
  }
@@ -1,11 +1,3 @@
1
- /**
2
- * * `admin` - Администратор
3
- * * `manager` - Менеджер
4
- * * `moderator` - Модератор
5
- * * `participant` - Участник
6
- * * `security` - Служба безопасности
7
- * * `director` - Руководитель
8
- */
9
1
  import type { EmailEnum, PushEnum } from '../../enums';
10
2
  export interface ProfileNotificationsSettingsRequest {
11
3
  /**
@@ -1,11 +1,3 @@
1
- /**
2
- * * `admin` - Администратор
3
- * * `manager` - Менеджер
4
- * * `moderator` - Модератор
5
- * * `participant` - Участник
6
- * * `security` - Служба безопасности
7
- * * `director` - Руководитель
8
- */
9
1
  export interface _ProfileNotificationsSettingsDefaults {
10
2
  email: number;
11
3
  push: number;
@@ -1,11 +1,3 @@
1
- /**
2
- * * `admin` - Администратор
3
- * * `manager` - Менеджер
4
- * * `moderator` - Модератор
5
- * * `participant` - Участник
6
- * * `security` - Служба безопасности
7
- * * `director` - Руководитель
8
- */
9
1
  export interface _ProfileNotificationsSettingsType {
10
2
  group: string;
11
3
  label: string;
@@ -1,17 +1,11 @@
1
- /**
2
- * * `admin` - Администратор
3
- * * `manager` - Менеджер
4
- * * `moderator` - Модератор
5
- * * `participant` - Участник
6
- * * `security` - Служба безопасности
7
- * * `director` - Руководитель
8
- */
1
+ import type { _FiltersObj } from '../Filters/_FiltersObj';
2
+ import type { _FiltersStatus } from '../Filters/_FiltersStatus';
9
3
  export interface ReportFilters {
10
4
  categories: _FiltersObj[];
11
5
  facilities: _FiltersObj[];
12
6
  products: _FiltersObj[];
13
7
  producttypes: _FiltersObj[];
14
- sizes: _FiltersObj[];
15
8
  ripe_levels: _FiltersObj[];
9
+ sizes: _FiltersObj[];
16
10
  trade_statuses: _FiltersStatus[];
17
11
  }
@@ -1,19 +1,17 @@
1
- /**
2
- * * `admin` - Администратор
3
- * * `manager` - Менеджер
4
- * * `moderator` - Модератор
5
- * * `participant` - Участник
6
- * * `security` - Служба безопасности
7
- * * `director` - Руководитель
8
- */
9
1
  export interface ReportParticipant {
10
2
  /** @maxLength 255 */
11
3
  id: string;
4
+ /**
5
+ * @format decimal
6
+ * @pattern ^-?\d{0,8}(?:\.\d{0,2})?$
7
+ */
8
+ bid: string;
12
9
  category: Record<string, any>;
13
10
  creator: Record<string, any>;
14
11
  creator_name: string;
15
12
  dt_begin: string;
16
13
  dt_end: string;
14
+ failed: boolean;
17
15
  price: string;
18
16
  product: Record<string, any>;
19
17
  ripe_level: Record<string, any>;
@@ -24,11 +22,5 @@ export interface ReportParticipant {
24
22
  trade_status: string;
25
23
  trade_status_label: string;
26
24
  volume: string;
27
- /**
28
- * @format decimal
29
- * @pattern ^-?\d{0,8}(?:\.\d{0,2})?$
30
- */
31
- bid: string;
32
- failed: boolean;
33
25
  winned: boolean;
34
26
  }
@@ -1,18 +1,13 @@
1
- /**
2
- * * `admin` - Администратор
3
- * * `manager` - Менеджер
4
- * * `moderator` - Модератор
5
- * * `participant` - Участник
6
- * * `security` - Служба безопасности
7
- * * `director` - Руководитель
8
- */
1
+ import type { _FiltersObj } from '../Filters/_FiltersObj';
2
+ import type { _FiltersStatus } from '../Filters/_FiltersStatus';
3
+ import type { _ReportFiltersCreator } from './_ReportFiltersCreator';
9
4
  export interface ReportParticipantFilters {
10
5
  categories: _FiltersObj[];
6
+ creators: _ReportFiltersCreator[];
11
7
  facilities: _FiltersObj[];
12
8
  products: _FiltersObj[];
13
9
  producttypes: _FiltersObj[];
14
- sizes: _FiltersObj[];
15
10
  ripe_levels: _FiltersObj[];
11
+ sizes: _FiltersObj[];
16
12
  trade_statuses: _FiltersStatus[];
17
- creators: _ReportFiltersCreator[];
18
13
  }