@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,51 +1,31 @@
1
- /**
2
- * * `admin` - Администратор
3
- * * `manager` - Менеджер
4
- * * `moderator` - Модератор
5
- * * `participant` - Участник
6
- * * `security` - Служба безопасности
7
- * * `director` - Руководитель
8
- */
9
1
  import type { BlankEnum, StepTypeEnum } from '../../enums';
2
+ import type { _CurrentUserWinner } from '../Current/_CurrentUserWinner';
10
3
  import type { ProductDetail } from '../Product/ProductDetail';
4
+ import type { _RipeLevel } from '../Ripe/_RipeLevel';
5
+ import type { _Size } from '../Size/_Size';
6
+ import type { _TradeAdditionalProduct } from './_TradeAdditionalProduct';
7
+ import type { _TradeLotCategory } from './_TradeLotCategory';
11
8
  import type { TradeLotBid } from './TradeLotBid';
9
+ import type { TradeLotImage } from './TradeLotImage';
10
+ import type { TradeLotWinner } from './TradeLotWinner';
12
11
  export interface TradeLotDetail {
13
12
  id: number;
14
13
  additional_products: _TradeAdditionalProduct[];
15
- category: _TradeLotCategory;
16
- product: ProductDetail;
17
- ripe_level: _RipeLevel;
18
- size: _Size;
19
14
  /** Лимит следующей ставки */
20
15
  bid_limit: string;
16
+ bids: TradeLotBid[];
17
+ category: _TradeLotCategory;
18
+ /** Комментарий */
19
+ comment?: string;
21
20
  current_user_as_winner: _CurrentUserWinner;
22
21
  /** @format date-time */
23
22
  dt_shipment: string;
24
- winner: TradeLotWinner;
25
- /** Предложения стать победителем */
26
- winner_proposals: TradeLotWinner[];
27
- bids: TradeLotBid[];
28
- images: TradeLotImage[];
29
23
  /**
30
- * Сортировка
31
- * Чем меньше значение, тем выше отображается в списке
32
- * @min -32768
33
- * @max 32767
34
- */
35
- sort?: number;
36
- /** Синхронизировано c 1C */
37
- synced_1c?: boolean;
38
- /**
39
- * Дата/время синхронизации с 1С
40
- * @format date-time
41
- */
42
- synced_1c_dt: string | null;
43
- /**
44
- * Объём
45
- * @format decimal
46
- * @pattern ^-?\d{0,8}(?:\.\d{0,2})?$
24
+ * GUID для 1С
25
+ * @format uuid
47
26
  */
48
- volume: string;
27
+ guid_1c: string;
28
+ images: TradeLotImage[];
49
29
  /**
50
30
  * Стоимость за единицу
51
31
  * @format decimal
@@ -53,33 +33,30 @@ export interface TradeLotDetail {
53
33
  */
54
34
  price: string;
55
35
  /**
56
- * Стоимость за единицу, минимальная
57
- * Используется для типа торгов "Закрытый"
36
+ * Цена из
58
37
  * @format decimal
59
38
  * @pattern ^-?\d{0,8}(?:\.\d{0,2})?$
60
39
  */
61
- price_min?: string | null;
40
+ price_1c: string | null;
41
+ /**
42
+ * Дата/время изменения цены из 1С
43
+ * @format date-time
44
+ */
45
+ price_1c_dt_change: string | null;
62
46
  /**
63
47
  * Фиксированная цена
64
48
  * Если включено, то ставки на эту позицию будут нулевыми
65
49
  */
66
50
  price_fixed?: boolean;
67
- /** Тип шага */
68
- step_type?: StepTypeEnum | BlankEnum;
69
51
  /**
70
- * Значение шага
71
- * Если пустое, то без ограничений
52
+ * Стоимость за единицу, минимальная
53
+ * Используется для типа торгов "Закрытый"
72
54
  * @format decimal
73
55
  * @pattern ^-?\d{0,8}(?:\.\d{0,2})?$
74
56
  */
75
- step_value?: string | null;
76
- /** Комментарий */
77
- comment?: string;
78
- /**
79
- * GUID для 1С
80
- * @format uuid
81
- */
82
- guid_1c: string;
57
+ price_min?: string | null;
58
+ product: ProductDetail;
59
+ ripe_level: _RipeLevel;
83
60
  /** Статус отгрузки из 1С */
84
61
  shipment_1c: string;
85
62
  /**
@@ -87,15 +64,37 @@ export interface TradeLotDetail {
87
64
  * @format date-time
88
65
  */
89
66
  shipment_1c_dt_change: string | null;
67
+ size: _Size;
90
68
  /**
91
- * Цена из 1С
69
+ * Сортировка
70
+ * Чем меньше значение, тем выше отображается в списке
71
+ * @min -32768
72
+ * @max 32767
73
+ */
74
+ sort?: number;
75
+ /** Тип шага */
76
+ step_type?: BlankEnum | StepTypeEnum;
77
+ /**
78
+ * Значение шага
79
+ * Если пустое, то без ограничений
92
80
  * @format decimal
93
81
  * @pattern ^-?\d{0,8}(?:\.\d{0,2})?$
94
82
  */
95
- price_1c: string | null;
83
+ step_value?: string | null;
84
+ /** Синхронизировано c 1C */
85
+ synced_1c?: boolean;
96
86
  /**
97
- * Дата/время изменения цены из
87
+ * Дата/время синхронизации с
98
88
  * @format date-time
99
89
  */
100
- price_1c_dt_change: string | null;
90
+ synced_1c_dt: string | null;
91
+ /**
92
+ * Объём
93
+ * @format decimal
94
+ * @pattern ^-?\d{0,8}(?:\.\d{0,2})?$
95
+ */
96
+ volume: string;
97
+ winner: TradeLotWinner;
98
+ /** Предложения стать победителем */
99
+ winner_proposals: TradeLotWinner[];
101
100
  }
@@ -1,17 +1,9 @@
1
- /**
2
- * * `admin` - Администратор
3
- * * `manager` - Менеджер
4
- * * `moderator` - Модератор
5
- * * `participant` - Участник
6
- * * `security` - Служба безопасности
7
- * * `director` - Руководитель
8
- */
9
1
  export interface TradeLotImage {
10
2
  id: number;
11
3
  image: string;
12
- image_list_version: string;
13
4
  image_detail_version: string;
14
5
  image_gallery_version: string;
6
+ image_list_version: string;
15
7
  /**
16
8
  * Сортировка
17
9
  * Чем меньше значение, тем выше отображается в списке
@@ -1,18 +1,10 @@
1
- /**
2
- * * `admin` - Администратор
3
- * * `manager` - Менеджер
4
- * * `moderator` - Модератор
5
- * * `participant` - Участник
6
- * * `security` - Служба безопасности
7
- * * `director` - Руководитель
8
- */
9
1
  export interface TradeLotImageChange {
10
2
  id: number;
11
3
  /** @format uri */
12
4
  image: string;
13
- image_list_version: string;
14
5
  image_detail_version: string;
15
6
  image_gallery_version: string;
7
+ image_list_version: string;
16
8
  /**
17
9
  * Сортировка
18
10
  * Чем меньше значение, тем выше отображается в списке
@@ -1,11 +1,3 @@
1
- /**
2
- * * `admin` - Администратор
3
- * * `manager` - Менеджер
4
- * * `moderator` - Модератор
5
- * * `participant` - Участник
6
- * * `security` - Служба безопасности
7
- * * `director` - Руководитель
8
- */
9
1
  export interface TradeLotImageChangeRequest {
10
2
  /** @format binary */
11
3
  image: File;
@@ -1,11 +1,4 @@
1
- /**
2
- * * `admin` - Администратор
3
- * * `manager` - Менеджер
4
- * * `moderator` - Модератор
5
- * * `participant` - Участник
6
- * * `security` - Служба безопасности
7
- * * `director` - Руководитель
8
- */
1
+ import type { _TradeUser } from './_TradeUser';
9
2
  export interface TradeLotParticipant {
10
3
  /**
11
4
  * Ставка
@@ -1,11 +1,3 @@
1
- /**
2
- * * `admin` - Администратор
3
- * * `manager` - Менеджер
4
- * * `moderator` - Модератор
5
- * * `participant` - Участник
6
- * * `security` - Служба безопасности
7
- * * `director` - Руководитель
8
- */
9
1
  export interface TradeLotRipeLevel {
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 TradeLotRipeLevelRequest {
10
2
  /**
11
3
  * Показывать
@@ -1,14 +1,6 @@
1
- /**
2
- * * `admin` - Администратор
3
- * * `manager` - Менеджер
4
- * * `moderator` - Модератор
5
- * * `participant` - Участник
6
- * * `security` - Служба безопасности
7
- * * `director` - Руководитель
8
- */
1
+ import type { _TradeProduct } from './_TradeProduct';
9
2
  export interface TradeLotSize {
10
3
  id: number;
11
- products: _TradeProduct[];
12
4
  /**
13
5
  * Показывать
14
6
  * Если отключёно, элемент не будет отображаться на сайте
@@ -19,6 +11,7 @@ export interface TradeLotSize {
19
11
  * @maxLength 255
20
12
  */
21
13
  name: string;
14
+ products: _TradeProduct[];
22
15
  /**
23
16
  * Сортировка
24
17
  * Чем меньше значение, тем выше отображается в списке
@@ -1,13 +1,4 @@
1
- /**
2
- * * `admin` - Администратор
3
- * * `manager` - Менеджер
4
- * * `moderator` - Модератор
5
- * * `participant` - Участник
6
- * * `security` - Служба безопасности
7
- * * `director` - Руководитель
8
- */
9
1
  export interface TradeLotSizeChangeRequest {
10
- products: number[];
11
2
  /**
12
3
  * Показывать
13
4
  * Если отключёно, элемент не будет отображаться на сайте
@@ -19,6 +10,7 @@ export interface TradeLotSizeChangeRequest {
19
10
  * @maxLength 255
20
11
  */
21
12
  name: string;
13
+ products: number[];
22
14
  /**
23
15
  * Сортировка
24
16
  * Чем меньше значение, тем выше отображается в списке
@@ -1,45 +1,40 @@
1
- /**
2
- * * `admin` - Администратор
3
- * * `manager` - Менеджер
4
- * * `moderator` - Модератор
5
- * * `participant` - Участник
6
- * * `security` - Служба безопасности
7
- * * `director` - Руководитель
8
- */
9
1
  import type { StatusAeeEnum } from '../../enums';
2
+ import type { _WinnerAdditionalProduct } from '../Winner/_WinnerAdditionalProduct';
3
+ import type { _TradeCreator } from './_TradeCreator';
4
+ import type { _TradeUser } from './_TradeUser';
10
5
  export interface TradeLotWinner {
11
6
  id: number;
12
- status_waiting_time?: number;
13
- creator: _TradeCreator;
14
- winner: _TradeUser;
15
7
  additional_products: _WinnerAdditionalProduct[];
16
- /**
17
- * Дата/время создания
18
- * @format date-time
19
- */
20
- dt_create: string;
21
- /** Статус победителя */
22
- status?: StatusAeeEnum;
23
- /** Комментарий */
24
- comment?: string;
25
- /** Не выполнил обязательства */
26
- failed?: boolean;
27
8
  /**
28
9
  * Предложенная цена
29
10
  * @format decimal
30
11
  * @pattern ^-?\d{0,8}(?:\.\d{0,2})?$
31
12
  */
32
13
  bid: string;
14
+ /** Комментарий */
15
+ comment?: string;
16
+ creator: _TradeCreator;
17
+ /**
18
+ * Дата/время создания
19
+ * @format date-time
20
+ */
21
+ dt_create: string;
33
22
  /**
34
23
  * Дата / время отправки уведомления
35
24
  * @format date-time
36
25
  */
37
26
  dt_send: string;
27
+ /** Не выполнил обязательства */
28
+ failed?: boolean;
38
29
  /**
39
30
  * Слать ли уведомления
40
31
  * Используется для типов торгов "all" и "mix"
41
32
  */
42
33
  notify?: boolean;
34
+ /** Статус победителя */
35
+ status?: StatusAeeEnum;
36
+ status_waiting_time?: number;
37
+ winner: _TradeUser;
43
38
  /** Организация победителя */
44
39
  winner_company?: number | null;
45
40
  }
@@ -1,30 +1,22 @@
1
- /**
2
- * * `admin` - Администратор
3
- * * `manager` - Менеджер
4
- * * `moderator` - Модератор
5
- * * `participant` - Участник
6
- * * `security` - Служба безопасности
7
- * * `director` - Руководитель
8
- */
9
1
  import type { StatusAeeEnum } from '../../enums';
10
2
  export interface TradeLotWinnerCreateBulkRequest {
11
- comment?: string | null;
12
- status_waiting_time?: number;
13
3
  additional_products?: number[];
14
- winners: number[];
15
- /** Статус победителя */
16
- status?: StatusAeeEnum;
17
4
  /**
18
5
  * Предложенная цена
19
6
  * @format decimal
20
7
  * @pattern ^-?\d{0,8}(?:\.\d{0,2})?$
21
8
  */
22
9
  bid: string;
10
+ comment?: string | null;
23
11
  /**
24
12
  * Слать ли уведомления
25
13
  * Используется для типов торгов "all" и "mix"
26
14
  */
27
15
  notify?: boolean;
16
+ /** Статус победителя */
17
+ status?: StatusAeeEnum;
18
+ status_waiting_time?: number;
28
19
  /** Организация победителя */
29
20
  winner_company?: number | null;
21
+ winners: number[];
30
22
  }
@@ -1,30 +1,22 @@
1
- /**
2
- * * `admin` - Администратор
3
- * * `manager` - Менеджер
4
- * * `moderator` - Модератор
5
- * * `participant` - Участник
6
- * * `security` - Служба безопасности
7
- * * `director` - Руководитель
8
- */
9
1
  import type { StatusAeeEnum } from '../../enums';
10
2
  export interface TradeLotWinnerCreateRequest {
11
- comment?: string | null;
12
- status_waiting_time?: number;
13
- winner: number;
14
3
  additional_products?: number[];
15
- /** Статус победителя */
16
- status?: StatusAeeEnum;
17
4
  /**
18
5
  * Предложенная цена
19
6
  * @format decimal
20
7
  * @pattern ^-?\d{0,8}(?:\.\d{0,2})?$
21
8
  */
22
9
  bid: string;
10
+ comment?: string | null;
23
11
  /**
24
12
  * Слать ли уведомления
25
13
  * Используется для типов торгов "all" и "mix"
26
14
  */
27
15
  notify?: boolean;
16
+ /** Статус победителя */
17
+ status?: StatusAeeEnum;
18
+ status_waiting_time?: number;
19
+ winner: number;
28
20
  /** Организация победителя */
29
21
  winner_company?: number | null;
30
22
  }
@@ -1,32 +1,24 @@
1
- /**
2
- * * `admin` - Администратор
3
- * * `manager` - Менеджер
4
- * * `moderator` - Модератор
5
- * * `participant` - Участник
6
- * * `security` - Служба безопасности
7
- * * `director` - Руководитель
8
- */
9
1
  import type { StatusAeeEnum } from '../../enums';
10
2
  export interface TradeLotWinnerUpdateRequest {
11
- comment?: string | null;
12
- status_waiting_time?: number;
13
- winner: number;
14
3
  additional_products?: number[];
15
- /** Статус победителя */
16
- status?: StatusAeeEnum;
17
- /** Не выполнил обязательства */
18
- failed?: boolean;
19
4
  /**
20
5
  * Предложенная цена
21
6
  * @format decimal
22
7
  * @pattern ^-?\d{0,8}(?:\.\d{0,2})?$
23
8
  */
24
9
  bid: string;
10
+ comment?: string | null;
11
+ /** Не выполнил обязательства */
12
+ failed?: boolean;
25
13
  /**
26
14
  * Слать ли уведомления
27
15
  * Используется для типов торгов "all" и "mix"
28
16
  */
29
17
  notify?: boolean;
18
+ /** Статус победителя */
19
+ status?: StatusAeeEnum;
20
+ status_waiting_time?: number;
21
+ winner: number;
30
22
  /** Организация победителя */
31
23
  winner_company?: number | null;
32
24
  }
@@ -1,15 +1,8 @@
1
- /**
2
- * * `admin` - Администратор
3
- * * `manager` - Менеджер
4
- * * `moderator` - Модератор
5
- * * `participant` - Участник
6
- * * `security` - Служба безопасности
7
- * * `director` - Руководитель
8
- */
9
1
  import type { Trade } from './Trade';
10
2
  import type { TradeFilters } from './TradeFilters';
11
3
  export interface TradePagination {
12
4
  count: number;
5
+ filters: TradeFilters;
13
6
  /**
14
7
  * @format uri
15
8
  * @default "http://api.example.org/accounts/?offset=400&limit=100"
@@ -21,5 +14,4 @@ export interface TradePagination {
21
14
  */
22
15
  previous?: string;
23
16
  results: Trade[];
24
- filters: TradeFilters;
25
17
  }
@@ -1,37 +1,30 @@
1
- /**
2
- * * `admin` - Администратор
3
- * * `manager` - Менеджер
4
- * * `moderator` - Модератор
5
- * * `participant` - Участник
6
- * * `security` - Служба безопасности
7
- * * `director` - Руководитель
8
- */
9
1
  import type { BidTypeEnum, BlankEnum, ProcessTypeEnum, Status0CcEnum, Type744Enum } from '../../enums';
2
+ import type { NullEnum } from '../Null/NullEnum';
10
3
  export interface TradeUpdateRequest {
4
+ /** Демо для магазинов приложений */
5
+ app_store_test?: boolean;
6
+ /** Формат торгов */
7
+ bid_type?: BidTypeEnum;
11
8
  /** @format date-time */
12
9
  dt_begin: string;
13
- status?: Status0CcEnum | BlankEnum | NullEnum | null;
14
- facility: number;
15
- participants_allowed?: number[];
16
- participants_denied?: number[];
17
- winner_status_waiting_time?: number;
18
10
  /** @format date-time */
19
11
  dt_end: string;
20
- status_comment?: string | null;
21
- /** Синхронизировано c 1C */
22
- synced_1c?: boolean;
12
+ facility: number;
23
13
  /**
24
14
  * Название
25
15
  * Если пустое, будет создан автоматически: ПОРЯДКОВЫЙ-НОМЕР/ДД-ММ-ГГГГ-СОЗДАНИЯ
26
16
  * @maxLength 255
27
17
  */
28
18
  name?: string | null;
29
- /** Тип */
30
- type: Type744Enum;
19
+ participants_allowed?: number[];
20
+ participants_denied?: number[];
31
21
  /** Тип торгов */
32
22
  process_type: ProcessTypeEnum;
33
- /** Демо для магазинов приложений */
34
- app_store_test?: boolean;
35
- /** Формат торгов */
36
- bid_type?: BidTypeEnum;
23
+ status?: BlankEnum | NullEnum | Status0CcEnum | null;
24
+ status_comment?: string | null;
25
+ /** Синхронизировано c 1C */
26
+ synced_1c?: boolean;
27
+ /** Тип */
28
+ type: Type744Enum;
29
+ winner_status_waiting_time?: number;
37
30
  }
@@ -1,32 +1,17 @@
1
- /**
2
- * * `admin` - Администратор
3
- * * `manager` - Менеджер
4
- * * `moderator` - Модератор
5
- * * `participant` - Участник
6
- * * `security` - Служба безопасности
7
- * * `director` - Руководитель
8
- */
9
1
  import type { PriceTypeEnum } from '../../enums';
10
2
  export interface _TradeAdditionalProduct {
11
3
  id: number;
4
+ /** Описание */
5
+ description?: string;
12
6
  image: string;
13
- image_list_version: string;
14
7
  image_detail_version: string;
15
8
  image_gallery_version: string;
16
- /**
17
- * Сортировка
18
- * Чем меньше значение, тем выше отображается в списке
19
- * @min -32768
20
- * @max 32767
21
- */
22
- sort?: number;
9
+ image_list_version: string;
23
10
  /**
24
11
  * Название
25
12
  * @maxLength 255
26
13
  */
27
14
  name: string;
28
- /** Описание */
29
- description?: string;
30
15
  /**
31
16
  * Стоимость
32
17
  * @format decimal
@@ -35,4 +20,11 @@ export interface _TradeAdditionalProduct {
35
20
  price: string;
36
21
  /** Тип стоимости */
37
22
  price_type: PriceTypeEnum;
23
+ /**
24
+ * Сортировка
25
+ * Чем меньше значение, тем выше отображается в списке
26
+ * @min -32768
27
+ * @max 32767
28
+ */
29
+ sort?: number;
38
30
  }
@@ -1,24 +1,23 @@
1
- /**
2
- * * `admin` - Администратор
3
- * * `manager` - Менеджер
4
- * * `moderator` - Модератор
5
- * * `participant` - Участник
6
- * * `security` - Служба безопасности
7
- * * `director` - Руководитель
8
- */
1
+ import type { _UserFacility } from '../User/_UserFacility';
9
2
  export interface _TradeCreator {
3
+ id: number;
4
+ /**
5
+ * Контактное лицо
6
+ * @maxLength 255
7
+ */
8
+ contact_person?: string;
10
9
  /**
11
10
  * Почта
12
11
  * @format email
13
12
  * @maxLength 255
14
13
  */
15
14
  email?: string | null;
15
+ facilities: _UserFacility[];
16
16
  /**
17
17
  * Имя
18
18
  * @maxLength 255
19
19
  */
20
20
  first_name?: string;
21
- id: number;
22
21
  /**
23
22
  * Фамилия
24
23
  * @maxLength 255
@@ -29,11 +28,6 @@ export interface _TradeCreator {
29
28
  * @maxLength 255
30
29
  */
31
30
  phone?: string | null;
32
- /**
33
- * Контактное лицо
34
- * @maxLength 255
35
- */
36
- contact_person?: string;
37
31
  /**
38
32
  * Должность
39
33
  * @maxLength 255
@@ -44,5 +38,4 @@ export interface _TradeCreator {
44
38
  is_type_moderator: boolean;
45
39
  is_type_participant: boolean;
46
40
  is_type_security: boolean;
47
- facilities: _UserFacility[];
48
41
  }
@@ -1,12 +1,9 @@
1
- /**
2
- * * `admin` - Администратор
3
- * * `manager` - Менеджер
4
- * * `moderator` - Модератор
5
- * * `participant` - Участник
6
- * * `security` - Служба безопасности
7
- * * `director` - Руководитель
8
- */
9
1
  export interface _TradeCreatorRequest {
2
+ /**
3
+ * Контактное лицо
4
+ * @maxLength 255
5
+ */
6
+ contact_person?: string;
10
7
  /**
11
8
  * Почта
12
9
  * @format email
@@ -28,11 +25,6 @@ export interface _TradeCreatorRequest {
28
25
  * @maxLength 255
29
26
  */
30
27
  phone?: string | null;
31
- /**
32
- * Контактное лицо
33
- * @maxLength 255
34
- */
35
- contact_person?: string;
36
28
  /**
37
29
  * Должность
38
30
  * @maxLength 255