@itcase/types-am 1.1.30 → 1.1.32

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 (161) hide show
  1. package/dist/enums/Bid/BidTypeEnum.d.ts +3 -6
  2. package/dist/enums/Blank/BlankEnum.d.ts +1 -6
  3. package/dist/enums/Channel/ChannelEnum.d.ts +3 -6
  4. package/dist/enums/Email/EmailEnum.d.ts +2 -6
  5. package/dist/enums/Price/PriceTypeEnum.d.ts +2 -6
  6. package/dist/enums/Process/ProcessTypeEnum.d.ts +3 -6
  7. package/dist/enums/Push/PushEnum.d.ts +2 -6
  8. package/dist/enums/Settings/SettingsNotificationsChangeTypeEnum.d.ts +39 -6
  9. package/dist/enums/Status/Status0CcEnum.d.ts +8 -6
  10. package/dist/enums/Status/Status8F7Enum.d.ts +4 -6
  11. package/dist/enums/Status/Status9DdEnum.d.ts +4 -6
  12. package/dist/enums/Status/StatusAeeEnum.d.ts +6 -6
  13. package/dist/enums/Step/StepTypeEnum.d.ts +2 -6
  14. package/dist/enums/Type/Type744Enum.d.ts +2 -6
  15. package/dist/enums/Types/TypesEnum.d.ts +6 -6
  16. package/dist/enums/Usertype/UsertypeEnum.d.ts +6 -6
  17. package/dist/enums/index.d.ts +1 -1
  18. package/dist/index.d.ts +2 -2
  19. package/dist/types/Additional/AdditionalProduct.d.ts +0 -2
  20. package/dist/types/Additional/index.d.ts +1 -1
  21. package/dist/types/Creator/{Creator.d.ts → _Creator.d.ts} +1 -1
  22. package/dist/types/Creator/index.d.ts +1 -1
  23. package/dist/types/Current/{CurrentUserWinner.d.ts → _CurrentUserWinner.d.ts} +1 -1
  24. package/dist/types/Current/index.d.ts +1 -1
  25. package/dist/types/Document/{DocumentField.d.ts → _DocumentField.d.ts} +1 -1
  26. package/dist/types/Document/index.d.ts +1 -1
  27. package/dist/types/External/External1CPrice.d.ts +1 -2
  28. package/dist/types/External/External1CPriceRequest.d.ts +1 -2
  29. package/dist/types/External/External1CShipment.d.ts +1 -2
  30. package/dist/types/External/External1CShipmentRequest.d.ts +1 -2
  31. package/dist/types/External/External1CTrade.d.ts +1 -2
  32. package/dist/types/External/ExternalBiTrade.d.ts +1 -2
  33. package/dist/types/External/{External1CPriceLot.d.ts → _External1cPriceLot.d.ts} +1 -1
  34. package/dist/types/External/{External1CPriceLotRequest.d.ts → _External1cPriceLotRequest.d.ts} +1 -1
  35. package/dist/types/External/{External1CShipmentLot.d.ts → _External1cShipmentLot.d.ts} +1 -1
  36. package/dist/types/External/{External1CShipmentLotRequest.d.ts → _External1cShipmentLotRequest.d.ts} +1 -1
  37. package/dist/types/External/{External1CTradeLot.d.ts → _External1cTradeLot.d.ts} +1 -1
  38. package/dist/types/External/index.d.ts +5 -5
  39. package/dist/types/Filters/{FiltersObj.d.ts → _FiltersObj.d.ts} +1 -1
  40. package/dist/types/Filters/{FiltersStatus.d.ts → _FiltersStatus.d.ts} +1 -1
  41. package/dist/types/Filters/index.d.ts +2 -2
  42. package/dist/types/News/NewsDetail.d.ts +0 -1
  43. package/dist/types/Paginated/PaginatedProductImageList.d.ts +0 -1
  44. package/dist/types/Paginated/PaginatedProductList.d.ts +0 -1
  45. package/dist/types/Paginated/PaginatedProductTypeList.d.ts +0 -1
  46. package/dist/types/Paginated/PaginatedProductUnitList.d.ts +0 -1
  47. package/dist/types/Paginated/PaginatedProfileCompanyList.d.ts +0 -1
  48. package/dist/types/Paginated/PaginatedProfileNotificationsList.d.ts +0 -1
  49. package/dist/types/Paginated/PaginatedProfileNotificationsSettingsList.d.ts +0 -1
  50. package/dist/types/Paginated/PaginatedSettingsNotificationsList.d.ts +0 -1
  51. package/dist/types/Paginated/PaginatedSettingsNotificationsUserTypeList.d.ts +0 -1
  52. package/dist/types/Paginated/PaginatedStatisticDeviceList.d.ts +0 -1
  53. package/dist/types/Paginated/PaginatedTradeLotBidList.d.ts +0 -1
  54. package/dist/types/Paginated/PaginatedTradeLotCategoryList.d.ts +0 -1
  55. package/dist/types/Paginated/PaginatedTradeLotImageList.d.ts +0 -1
  56. package/dist/types/Paginated/PaginatedTradeLotList.d.ts +0 -1
  57. package/dist/types/Paginated/PaginatedTradeLotParticipantList.d.ts +0 -1
  58. package/dist/types/Paginated/PaginatedTradeLotRipeLevelList.d.ts +0 -1
  59. package/dist/types/Paginated/PaginatedTradeLotSizeList.d.ts +0 -1
  60. package/dist/types/Paginated/PaginatedTradeLotWinnerList.d.ts +0 -1
  61. package/dist/types/Paginated/PaginatedUserCompanyList.d.ts +0 -1
  62. package/dist/types/Paginated/PaginatedUserDocumentAcceptList.d.ts +0 -1
  63. package/dist/types/Paginated/PaginatedUserFCMTokensList.d.ts +0 -1
  64. package/dist/types/Paginated/PaginatedUserList.d.ts +0 -1
  65. package/dist/types/Paginated/PaginatedUserStatusList.d.ts +0 -1
  66. package/dist/types/Participants/_ParticipantsBids.d.ts +12 -0
  67. package/dist/types/Participants/{ParticipantsBidsParticipant.d.ts → _ParticipantsBidsParticipant.d.ts} +1 -1
  68. package/dist/types/Participants/index.d.ts +2 -2
  69. package/dist/types/Password/PasswordResetResendRequest.d.ts +1 -2
  70. package/dist/types/Password/index.d.ts +2 -2
  71. package/dist/types/Patched/PatchedProfileNotificationsRequest.d.ts +7 -0
  72. package/dist/types/Patched/PatchedProfileNotificationsSettingsRequest.d.ts +1 -2
  73. package/dist/types/Patched/PatchedSettingsNotificationsChangeRequest.d.ts +0 -1
  74. package/dist/types/Patched/PatchedTradeLotChangeRequest.d.ts +1 -2
  75. package/dist/types/Patched/PatchedTradeUpdateRequest.d.ts +1 -5
  76. package/dist/types/Patched/PatchedUserUpdateRequest.d.ts +1 -3
  77. package/dist/types/Patched/index.d.ts +15 -15
  78. package/dist/types/Product/Product.d.ts +2 -4
  79. package/dist/types/Product/ProductDetail.d.ts +2 -5
  80. package/dist/types/Profile/ProfileNotifications.d.ts +7 -0
  81. package/dist/types/Profile/ProfileNotificationsSettings.d.ts +3 -6
  82. package/dist/types/Profile/ProfileNotificationsSettingsRequest.d.ts +1 -2
  83. package/dist/types/Profile/{ProfileNotificationsSettingsDefaults.d.ts → _ProfileNotificationsSettingsDefaults.d.ts} +1 -1
  84. package/dist/types/Profile/{ProfileNotificationsSettingsType.d.ts → _ProfileNotificationsSettingsType.d.ts} +1 -1
  85. package/dist/types/Profile/index.d.ts +5 -5
  86. package/dist/types/Report/ReportFilters.d.ts +7 -9
  87. package/dist/types/Report/ReportParticipantFilters.d.ts +8 -11
  88. package/dist/types/Report/ReportParticipantPagination.d.ts +0 -1
  89. package/dist/types/Report/ReportSale.d.ts +1 -2
  90. package/dist/types/Report/ReportSaleFilters.d.ts +1 -2
  91. package/dist/types/Report/ReportSalePagination.d.ts +0 -1
  92. package/dist/types/Report/ReportStatParticipantFilters.d.ts +2 -3
  93. package/dist/types/Report/ReportStatParticipantPagination.d.ts +0 -1
  94. package/dist/types/Report/ReportSummaries.d.ts +3 -6
  95. package/dist/types/Report/ReportSummary.d.ts +1 -2
  96. package/dist/types/Report/{ReportFiltersCreator.d.ts → _ReportFiltersCreator.d.ts} +1 -1
  97. package/dist/types/Report/index.d.ts +1 -1
  98. package/dist/types/Ripe/{RipeLevel.d.ts → _RipeLevel.d.ts} +1 -1
  99. package/dist/types/Ripe/index.d.ts +1 -1
  100. package/dist/types/Settings/SettingsNotifications.d.ts +0 -1
  101. package/dist/types/Settings/SettingsNotificationsChange.d.ts +0 -1
  102. package/dist/types/Settings/SettingsNotificationsChangeRequest.d.ts +0 -1
  103. package/dist/types/Settings/index.d.ts +2 -2
  104. package/dist/types/Sign/SignUp.d.ts +4 -9
  105. package/dist/types/Sign/SignUpRequest.d.ts +2 -3
  106. package/dist/types/Sign/SignUpResendRequest.d.ts +1 -2
  107. package/dist/types/Sign/index.d.ts +3 -3
  108. package/dist/types/Size/{Size.d.ts → _Size.d.ts} +1 -1
  109. package/dist/types/Size/index.d.ts +1 -1
  110. package/dist/types/Status/{StatusCreator.d.ts → _StatusCreator.d.ts} +1 -1
  111. package/dist/types/Status/index.d.ts +1 -1
  112. package/dist/types/Summaries/{SummariesCost.d.ts → _SummariesCost.d.ts} +1 -1
  113. package/dist/types/Summaries/{SummariesTrades.d.ts → _SummariesTrades.d.ts} +1 -1
  114. package/dist/types/Summaries/{SummariesVolume.d.ts → _SummariesVolume.d.ts} +1 -1
  115. package/dist/types/Summaries/index.d.ts +3 -3
  116. package/dist/types/Trade/Trade.d.ts +5 -10
  117. package/dist/types/Trade/TradeCreateRequest.d.ts +1 -6
  118. package/dist/types/Trade/TradeDetail.d.ts +6 -13
  119. package/dist/types/Trade/TradeFilters.d.ts +3 -6
  120. package/dist/types/Trade/TradeLot.d.ts +7 -15
  121. package/dist/types/Trade/TradeLotActionBidResponse.d.ts +1 -2
  122. package/dist/types/Trade/TradeLotBid.d.ts +1 -2
  123. package/dist/types/Trade/TradeLotCategory.d.ts +13 -1
  124. package/dist/types/Trade/TradeLotChangeRequest.d.ts +1 -2
  125. package/dist/types/Trade/TradeLotDetail.d.ts +7 -15
  126. package/dist/types/Trade/TradeLotParticipant.d.ts +1 -2
  127. package/dist/types/Trade/TradeLotSize.d.ts +1 -2
  128. package/dist/types/Trade/TradeLotWinner.d.ts +3 -5
  129. package/dist/types/Trade/TradeUpdateRequest.d.ts +1 -5
  130. package/dist/types/Trade/{TradeAdditionalProduct.d.ts → _TradeAdditionalProduct.d.ts} +1 -1
  131. package/dist/types/Trade/{TradeCreator.d.ts → _TradeCreator.d.ts} +2 -3
  132. package/dist/types/Trade/{TradeCreatorRequest.d.ts → _TradeCreatorRequest.d.ts} +1 -1
  133. package/dist/types/Trade/{TradeFacility.d.ts → _TradeFacility.d.ts} +2 -2
  134. package/dist/types/Trade/{TradeFiltersFacilities.d.ts → _TradeFiltersFacilities.d.ts} +1 -1
  135. package/dist/types/Trade/{TradeFiltersProductTypes.d.ts → _TradeFiltersProductTypes.d.ts} +1 -1
  136. package/dist/types/Trade/{TradeFiltersProducts.d.ts → _TradeFiltersProducts.d.ts} +1 -1
  137. package/dist/types/Trade/{TradeProduct.d.ts → _TradeLotCategory.d.ts} +1 -3
  138. package/dist/types/Trade/_TradeProduct.d.ts +22 -0
  139. package/dist/types/Trade/{TradeStatus.d.ts → _TradeStatus.d.ts} +2 -3
  140. package/dist/types/Trade/{TradeUser.d.ts → _TradeUser.d.ts} +1 -1
  141. package/dist/types/Trade/{TradeUserRequest.d.ts → _TradeUserRequest.d.ts} +1 -1
  142. package/dist/types/Trade/index.d.ts +20 -19
  143. package/dist/types/Type/{Type.d.ts → _Type.d.ts} +1 -1
  144. package/dist/types/Type/index.d.ts +1 -1
  145. package/dist/types/Unit/{Unit.d.ts → _Unit.d.ts} +1 -1
  146. package/dist/types/Unit/index.d.ts +1 -1
  147. package/dist/types/User/User.d.ts +5 -11
  148. package/dist/types/User/UserCreate.d.ts +4 -9
  149. package/dist/types/User/UserCreateRequest.d.ts +1 -3
  150. package/dist/types/User/UserDocumentAccept.d.ts +1 -2
  151. package/dist/types/User/UserStatus.d.ts +1 -2
  152. package/dist/types/User/UserUpdate.d.ts +4 -7
  153. package/dist/types/User/UserUpdateRequest.d.ts +1 -3
  154. package/dist/types/User/{UserChanges.d.ts → _UserChanges.d.ts} +2 -3
  155. package/dist/types/User/{UserCompanyChanges.d.ts → _UserCompanyChanges.d.ts} +1 -1
  156. package/dist/types/User/{UserFacility.d.ts → _UserFacility.d.ts} +1 -1
  157. package/dist/types/User/{UserManager.d.ts → _UserManager.d.ts} +3 -3
  158. package/dist/types/User/index.d.ts +8 -8
  159. package/dist/types/index.d.ts +26 -26
  160. package/package.json +13 -10
  161. package/dist/types/Participants/ParticipantsBids.d.ts +0 -13
@@ -7,7 +7,6 @@
7
7
  * * `director` - Руководитель
8
8
  */
9
9
  import type { SettingsNotificationsChangeTypeEnum } from '../../enums';
10
- import type { SettingsNotificationsUserType } from './SettingsNotificationsUserType';
11
10
  export interface SettingsNotificationsChange {
12
11
  id: number;
13
12
  /**
@@ -7,7 +7,6 @@
7
7
  * * `director` - Руководитель
8
8
  */
9
9
  import type { SettingsNotificationsChangeTypeEnum } from '../../enums';
10
- import type { SettingsNotificationsUserTypeRequest } from './SettingsNotificationsUserTypeRequest';
11
10
  export interface SettingsNotificationsChangeRequest {
12
11
  /**
13
12
  * * `trade_bid` - Торги: Актуализируйте ставку
@@ -1,3 +1,5 @@
1
+ export { type SettingsNotificationsChangeTypeEnum } from '../../enums';
2
+ export { type UsertypeEnum } from '../../enums';
1
3
  export type { Settings } from './Settings';
2
4
  export type { SettingsNotifications } from './SettingsNotifications';
3
5
  export type { SettingsNotificationsChange } from './SettingsNotificationsChange';
@@ -5,5 +7,3 @@ export type { SettingsNotificationsChangeRequest } from './SettingsNotifications
5
7
  export type { SettingsNotificationsUserType } from './SettingsNotificationsUserType';
6
8
  export type { SettingsNotificationsUserTypeRequest } from './SettingsNotificationsUserTypeRequest';
7
9
  export type { SettingsRequest } from './SettingsRequest';
8
- export { type SettingsNotificationsChangeTypeEnum } from '../../enums';
9
- export { type UsertypeEnum } from '../../enums';
@@ -6,12 +6,7 @@
6
6
  * * `security` - Служба безопасности
7
7
  * * `director` - Руководитель
8
8
  */
9
- import type { BlankEnum } from '../../enums';
10
- import type { Status8F7Enum } from '../../enums';
11
- import type { UserChanges } from '../User/UserChanges';
12
- import type { UserCompanyChanges } from '../User/UserCompanyChanges';
13
- import type { UserDocumentAccept } from '../User/UserDocumentAccept';
14
- import type { UserFCMTokens } from '../User/UserFCMTokens';
9
+ import type { BlankEnum, Status8F7Enum } from '../../enums';
15
10
  export interface SignUp {
16
11
  /** Можно делать скриншоты */
17
12
  app_screenshots_enabled?: boolean;
@@ -50,7 +45,7 @@ export interface SignUp {
50
45
  * @maxLength 255
51
46
  */
52
47
  contact_person: string;
53
- default_company: UserCompanyChanges;
48
+ default_company: _UserCompanyChanges;
54
49
  /**
55
50
  * ИНН
56
51
  * @maxLength 255
@@ -68,8 +63,8 @@ export interface SignUp {
68
63
  is_type_security: boolean;
69
64
  /** @format uri */
70
65
  avatar?: string | null;
71
- changes: UserChanges;
72
- changes_company: UserCompanyChanges;
66
+ changes: _UserChanges;
67
+ changes_company: _UserCompanyChanges;
73
68
  document_accepts: UserDocumentAccept[];
74
69
  facilities?: (number | null)[];
75
70
  fcm_tokens: UserFCMTokens[];
@@ -6,10 +6,9 @@
6
6
  * * `security` - Служба безопасности
7
7
  * * `director` - Руководитель
8
8
  */
9
- import type { BlankEnum } from '../../enums';
10
- import type { Status8F7Enum } from '../../enums';
9
+ import type { BlankEnum, Status8F7Enum } from '../../enums';
11
10
  export interface SignUpRequest {
12
- /** М��жно делать скриншоты */
11
+ /** Можно делать скриншоты */
13
12
  app_screenshots_enabled?: boolean;
14
13
  /**
15
14
  * Почта
@@ -6,8 +6,7 @@
6
6
  * * `security` - Служба безопасности
7
7
  * * `director` - Руководитель
8
8
  */
9
- import type { BlankEnum } from '../../enums';
10
- import type { ChannelEnum } from '../../enums';
9
+ import type { BlankEnum, ChannelEnum } from '../../enums';
11
10
  export interface SignUpResendRequest {
12
11
  channel?: ChannelEnum | BlankEnum;
13
12
  }
@@ -1,3 +1,6 @@
1
+ export { type BlankEnum } from '../../enums';
2
+ export { type ChannelEnum } from '../../enums';
3
+ export { type Status8F7Enum } from '../../enums';
1
4
  export type { SignInFromTelegramRequest } from './SignInFromTelegramRequest';
2
5
  export type { SignInRequest } from './SignInRequest';
3
6
  export type { SignInResponse } from './SignInResponse';
@@ -5,6 +8,3 @@ export type { SignUp } from './SignUp';
5
8
  export type { SignUpConfirmRequest } from './SignUpConfirmRequest';
6
9
  export type { SignUpRequest } from './SignUpRequest';
7
10
  export type { SignUpResendRequest } from './SignUpResendRequest';
8
- export { type BlankEnum } from '../../enums';
9
- export { type ChannelEnum } from '../../enums';
10
- export { type Status8F7Enum } from '../../enums';
@@ -6,7 +6,7 @@
6
6
  * * `security` - Служба безопасности
7
7
  * * `director` - Руководитель
8
8
  */
9
- export interface Size {
9
+ export interface _Size {
10
10
  /**
11
11
  * Показывать
12
12
  * Если отключёно, элемент не будет отображаться на сайте
@@ -1 +1 @@
1
- export type { Size } from './Size';
1
+ export type { _Size } from './_Size';
@@ -6,7 +6,7 @@
6
6
  * * `security` - Служба безопасности
7
7
  * * `director` - Руководитель
8
8
  */
9
- export interface StatusCreator {
9
+ export interface _StatusCreator {
10
10
  /**
11
11
  * Имя
12
12
  * @maxLength 255
@@ -1 +1 @@
1
- export type { StatusCreator } from './StatusCreator';
1
+ export type { _StatusCreator } from './_StatusCreator';
@@ -6,7 +6,7 @@
6
6
  * * `security` - Служба безопасности
7
7
  * * `director` - Руководитель
8
8
  */
9
- export interface SummariesCost {
9
+ export interface _SummariesCost {
10
10
  /**
11
11
  * Стоимость за единицу
12
12
  * @format decimal
@@ -6,7 +6,7 @@
6
6
  * * `security` - Служба безопасности
7
7
  * * `director` - Руководитель
8
8
  */
9
- export interface SummariesTrades {
9
+ export interface _SummariesTrades {
10
10
  /** Идут */
11
11
  active: number;
12
12
  /** Отменены */
@@ -6,7 +6,7 @@
6
6
  * * `security` - Служба безопасности
7
7
  * * `director` - Руководитель
8
8
  */
9
- export interface SummariesVolume {
9
+ export interface _SummariesVolume {
10
10
  /**
11
11
  * Объём проданый
12
12
  * @format decimal
@@ -1,3 +1,3 @@
1
- export type { SummariesCost } from './SummariesCost';
2
- export type { SummariesTrades } from './SummariesTrades';
3
- export type { SummariesVolume } from './SummariesVolume';
1
+ export type { _SummariesCost } from './_SummariesCost';
2
+ export type { _SummariesTrades } from './_SummariesTrades';
3
+ export type { _SummariesVolume } from './_SummariesVolume';
@@ -6,12 +6,7 @@
6
6
  * * `security` - Служба безопасности
7
7
  * * `director` - Руководитель
8
8
  */
9
- import type { BidTypeEnum } from '../../enums';
10
- import type { ProcessTypeEnum } from '../../enums';
11
- import type { Type744Enum } from '../../enums';
12
- import type { TradeCreator } from './TradeCreator';
13
- import type { TradeFacility } from './TradeFacility';
14
- import type { TradeUser } from './TradeUser';
9
+ import type { BidTypeEnum, ProcessTypeEnum, Type744Enum } from '../../enums';
15
10
  export interface Trade {
16
11
  id: number;
17
12
  /** @format date-time */
@@ -22,10 +17,10 @@ export interface Trade {
22
17
  dt_end_actual: string;
23
18
  stat: number;
24
19
  status: string;
25
- creator: TradeCreator;
26
- facility: TradeFacility;
27
- participants_allowed: TradeUser[];
28
- participants_denied: TradeUser[];
20
+ creator: _TradeCreator;
21
+ facility: _TradeFacility;
22
+ participants_allowed: _TradeUser[];
23
+ participants_denied: _TradeUser[];
29
24
  winner_status_waiting_time?: number;
30
25
  /**
31
26
  * Дата/время создания
@@ -6,12 +6,7 @@
6
6
  * * `security` - Служба безопасности
7
7
  * * `director` - Руководитель
8
8
  */
9
- import type { BidTypeEnum } from '../../enums';
10
- import type { BlankEnum } from '../../enums';
11
- import type { ProcessTypeEnum } from '../../enums';
12
- import type { Status0CcEnum } from '../../enums';
13
- import type { Type744Enum } from '../../enums';
14
- import type { TradeLotChangeRequest } from './TradeLotChangeRequest';
9
+ import type { BidTypeEnum, BlankEnum, ProcessTypeEnum, Status0CcEnum, Type744Enum } from '../../enums';
15
10
  export interface TradeCreateRequest {
16
11
  /** @format date-time */
17
12
  dt_begin: string;
@@ -6,14 +6,7 @@
6
6
  * * `security` - Служба безопасности
7
7
  * * `director` - Руководитель
8
8
  */
9
- import type { BidTypeEnum } from '../../enums';
10
- import type { ProcessTypeEnum } from '../../enums';
11
- import type { Type744Enum } from '../../enums';
12
- import type { TradeCreator } from './TradeCreator';
13
- import type { TradeFacility } from './TradeFacility';
14
- import type { TradeLotDetail } from './TradeLotDetail';
15
- import type { TradeStatus } from './TradeStatus';
16
- import type { TradeUser } from './TradeUser';
9
+ import type { BidTypeEnum, ProcessTypeEnum, Type744Enum } from '../../enums';
17
10
  export interface TradeDetail {
18
11
  id: number;
19
12
  /** @format date-time */
@@ -24,13 +17,13 @@ export interface TradeDetail {
24
17
  dt_end_actual: string;
25
18
  stat: number;
26
19
  status: string;
27
- creator: TradeCreator;
28
- facility: TradeFacility;
29
- participants_allowed: TradeUser[];
30
- participants_denied: TradeUser[];
20
+ creator: _TradeCreator;
21
+ facility: _TradeFacility;
22
+ participants_allowed: _TradeUser[];
23
+ participants_denied: _TradeUser[];
31
24
  winner_status_waiting_time?: number;
32
25
  lots: TradeLotDetail[];
33
- statuses: TradeStatus[];
26
+ statuses: _TradeStatus[];
34
27
  /**
35
28
  * Дата/время создания
36
29
  * @format date-time
@@ -6,9 +6,6 @@
6
6
  * * `security` - Служба безопасности
7
7
  * * `director` - Руководитель
8
8
  */
9
- import type { TradeFiltersFacilities } from './TradeFiltersFacilities';
10
- import type { TradeFiltersProductTypes } from './TradeFiltersProductTypes';
11
- import type { TradeFiltersProducts } from './TradeFiltersProducts';
12
9
  export interface TradeFilters {
13
10
  /**
14
11
  * Дата/время начала торгов до
@@ -30,11 +27,11 @@ export interface TradeFilters {
30
27
  * @format date-time
31
28
  */
32
29
  dt_end_min: string;
33
- facilities: TradeFiltersFacilities[];
30
+ facilities: _TradeFiltersFacilities[];
34
31
  /** список значений поля */
35
32
  process_types: string[];
36
- products: TradeFiltersProducts[];
37
- producttypes: TradeFiltersProductTypes[];
33
+ products: _TradeFiltersProducts[];
34
+ producttypes: _TradeFiltersProductTypes[];
38
35
  /** список значений поля */
39
36
  statuses: string[];
40
37
  /** список значений поля */
@@ -6,25 +6,17 @@
6
6
  * * `security` - Служба безопасности
7
7
  * * `director` - Руководитель
8
8
  */
9
- import type { BlankEnum } from '../../enums';
10
- import type { StepTypeEnum } from '../../enums';
11
- import type { TradeAdditionalProduct } from './TradeAdditionalProduct';
12
- import type { TradeLotCategory } from './TradeLotCategory';
13
- import type { TradeLotWinner } from './TradeLotWinner';
14
- import type { TradeProduct } from './TradeProduct';
15
- import type { CurrentUserWinner } from '../Current/CurrentUserWinner';
16
- import type { RipeLevel } from '../Ripe/RipeLevel';
17
- import type { Size } from '../Size/Size';
9
+ import type { BlankEnum, StepTypeEnum } from '../../enums';
18
10
  export interface TradeLot {
19
11
  id: number;
20
- additional_products: TradeAdditionalProduct[];
21
- category: TradeLotCategory;
22
- product: TradeProduct;
23
- ripe_level: RipeLevel;
24
- size: Size;
12
+ additional_products: _TradeAdditionalProduct[];
13
+ category: _TradeLotCategory;
14
+ product: _TradeProduct;
15
+ ripe_level: _RipeLevel;
16
+ size: _Size;
25
17
  /** Лимит следующей ставки */
26
18
  bid_limit: string;
27
- current_user_as_winner: CurrentUserWinner;
19
+ current_user_as_winner: _CurrentUserWinner;
28
20
  /** @format date-time */
29
21
  dt_shipment: string;
30
22
  winner: TradeLotWinner;
@@ -6,10 +6,9 @@
6
6
  * * `security` - Служба безопасности
7
7
  * * `director` - Руководитель
8
8
  */
9
- import type { TradeUser } from './TradeUser';
10
9
  export interface TradeLotActionBidResponse {
11
10
  id: number;
12
- creator: TradeUser;
11
+ creator: _TradeUser;
13
12
  /** Лимит следующей ставки */
14
13
  bid_limit: string;
15
14
  /**
@@ -6,10 +6,9 @@
6
6
  * * `security` - Служба безопасности
7
7
  * * `director` - Руководитель
8
8
  */
9
- import type { TradeUser } from './TradeUser';
10
9
  export interface TradeLotBid {
11
10
  id: number;
12
- creator: TradeUser;
11
+ creator: _TradeUser;
13
12
  /**
14
13
  * Дата/время создания
15
14
  * @format date-time
@@ -7,15 +7,27 @@
7
7
  * * `director` - Руководитель
8
8
  */
9
9
  export interface TradeLotCategory {
10
+ id: number;
10
11
  /**
11
12
  * Показывать
12
13
  * Если отключёно, элемент не будет отображаться на сайте
13
14
  */
14
15
  active?: boolean;
15
- id: number;
16
+ /**
17
+ * GUID из 1С
18
+ * @maxLength 40
19
+ */
20
+ guid_1c?: string | null;
16
21
  /**
17
22
  * Название
18
23
  * @maxLength 255
19
24
  */
20
25
  name: string;
26
+ /**
27
+ * Сортировка
28
+ * Чем меньше значение, тем выше отображается в списке
29
+ * @min -32768
30
+ * @max 32767
31
+ */
32
+ sort?: number;
21
33
  }
@@ -6,8 +6,7 @@
6
6
  * * `security` - Служба безопасности
7
7
  * * `director` - Руководитель
8
8
  */
9
- import type { BlankEnum } from '../../enums';
10
- import type { StepTypeEnum } from '../../enums';
9
+ import type { BlankEnum, StepTypeEnum } from '../../enums';
11
10
  export interface TradeLotChangeRequest {
12
11
  additional_products?: number[];
13
12
  category: number;
@@ -6,27 +6,19 @@
6
6
  * * `security` - Служба безопасности
7
7
  * * `director` - Руководитель
8
8
  */
9
- import type { BlankEnum } from '../../enums';
10
- import type { StepTypeEnum } from '../../enums';
11
- import type { TradeAdditionalProduct } from './TradeAdditionalProduct';
12
- import type { TradeLotBid } from './TradeLotBid';
13
- import type { TradeLotCategory } from './TradeLotCategory';
14
- import type { TradeLotImage } from './TradeLotImage';
15
- import type { TradeLotWinner } from './TradeLotWinner';
16
- import type { CurrentUserWinner } from '../Current/CurrentUserWinner';
9
+ import type { BlankEnum, StepTypeEnum } from '../../enums';
17
10
  import type { ProductDetail } from '../Product/ProductDetail';
18
- import type { RipeLevel } from '../Ripe/RipeLevel';
19
- import type { Size } from '../Size/Size';
11
+ import type { TradeLotBid } from './TradeLotBid';
20
12
  export interface TradeLotDetail {
21
13
  id: number;
22
- additional_products: TradeAdditionalProduct[];
23
- category: TradeLotCategory;
14
+ additional_products: _TradeAdditionalProduct[];
15
+ category: _TradeLotCategory;
24
16
  product: ProductDetail;
25
- ripe_level: RipeLevel;
26
- size: Size;
17
+ ripe_level: _RipeLevel;
18
+ size: _Size;
27
19
  /** Лимит следующей ставки */
28
20
  bid_limit: string;
29
- current_user_as_winner: CurrentUserWinner;
21
+ current_user_as_winner: _CurrentUserWinner;
30
22
  /** @format date-time */
31
23
  dt_shipment: string;
32
24
  winner: TradeLotWinner;
@@ -6,7 +6,6 @@
6
6
  * * `security` - Служба безопасности
7
7
  * * `director` - Руководитель
8
8
  */
9
- import type { TradeUser } from './TradeUser';
10
9
  export interface TradeLotParticipant {
11
10
  /**
12
11
  * Ставка
@@ -14,6 +13,6 @@ export interface TradeLotParticipant {
14
13
  * @pattern ^-?\d{0,8}(?:\.\d{0,2})?$
15
14
  */
16
15
  bid: string;
17
- creator: TradeUser;
16
+ creator: _TradeUser;
18
17
  winner_status: string;
19
18
  }
@@ -6,10 +6,9 @@
6
6
  * * `security` - Служба безопасности
7
7
  * * `director` - Руководитель
8
8
  */
9
- import type { TradeProduct } from './TradeProduct';
10
9
  export interface TradeLotSize {
11
10
  id: number;
12
- products: TradeProduct[];
11
+ products: _TradeProduct[];
13
12
  /**
14
13
  * Показывать
15
14
  * Если отключёно, элемент не будет отображаться на сайте
@@ -7,14 +7,12 @@
7
7
  * * `director` - Руководитель
8
8
  */
9
9
  import type { StatusAeeEnum } from '../../enums';
10
- import type { TradeCreator } from './TradeCreator';
11
- import type { TradeUser } from './TradeUser';
12
10
  export interface TradeLotWinner {
13
11
  id: number;
14
12
  status_waiting_time?: number;
15
- creator: TradeCreator;
16
- winner: TradeUser;
17
- additional_products: WinnerAdditionalProduct[];
13
+ creator: _TradeCreator;
14
+ winner: _TradeUser;
15
+ additional_products: _WinnerAdditionalProduct[];
18
16
  /**
19
17
  * Дата/время создания
20
18
  * @format date-time
@@ -6,11 +6,7 @@
6
6
  * * `security` - Служба безопасности
7
7
  * * `director` - Руководитель
8
8
  */
9
- import type { BidTypeEnum } from '../../enums';
10
- import type { BlankEnum } from '../../enums';
11
- import type { ProcessTypeEnum } from '../../enums';
12
- import type { Status0CcEnum } from '../../enums';
13
- import type { Type744Enum } from '../../enums';
9
+ import type { BidTypeEnum, BlankEnum, ProcessTypeEnum, Status0CcEnum, Type744Enum } from '../../enums';
14
10
  export interface TradeUpdateRequest {
15
11
  /** @format date-time */
16
12
  dt_begin: string;
@@ -7,7 +7,7 @@
7
7
  * * `director` - Руководитель
8
8
  */
9
9
  import type { PriceTypeEnum } from '../../enums';
10
- export interface TradeAdditionalProduct {
10
+ export interface _TradeAdditionalProduct {
11
11
  id: number;
12
12
  image: string;
13
13
  image_list_version: string;
@@ -6,8 +6,7 @@
6
6
  * * `security` - Служба безопасности
7
7
  * * `director` - Руководитель
8
8
  */
9
- import type { UserFacility } from '../User/UserFacility';
10
- export interface TradeCreator {
9
+ export interface _TradeCreator {
11
10
  /**
12
11
  * Почта
13
12
  * @format email
@@ -45,5 +44,5 @@ export interface TradeCreator {
45
44
  is_type_moderator: boolean;
46
45
  is_type_participant: boolean;
47
46
  is_type_security: boolean;
48
- facilities: UserFacility[];
47
+ facilities: _UserFacility[];
49
48
  }
@@ -6,7 +6,7 @@
6
6
  * * `security` - Служба безопасности
7
7
  * * `director` - Руководитель
8
8
  */
9
- export interface TradeCreatorRequest {
9
+ export interface _TradeCreatorRequest {
10
10
  /**
11
11
  * Почта
12
12
  * @format email
@@ -6,10 +6,10 @@
6
6
  * * `security` - Служба безопасности
7
7
  * * `director` - Руководитель
8
8
  */
9
- export interface TradeFacility {
9
+ export interface _TradeFacility {
10
10
  /**
11
11
  * Показывать
12
- * Если отключёно, элемент не бу��ет отображаться на сайте
12
+ * Если отключёно, элемент не будет отображаться на сайте
13
13
  */
14
14
  active?: boolean;
15
15
  /**
@@ -6,7 +6,7 @@
6
6
  * * `security` - Служба безопасности
7
7
  * * `director` - Руководитель
8
8
  */
9
- export interface TradeFiltersFacilities {
9
+ export interface _TradeFiltersFacilities {
10
10
  /**
11
11
  * Показывать
12
12
  * Если отключёно, элемент не будет отображаться на сайте
@@ -6,7 +6,7 @@
6
6
  * * `security` - Служба безопасности
7
7
  * * `director` - Руководитель
8
8
  */
9
- export interface TradeFiltersProductTypes {
9
+ export interface _TradeFiltersProductTypes {
10
10
  /**
11
11
  * Показывать
12
12
  * Если отключёно, элемент не будет отображаться на сайте
@@ -6,7 +6,7 @@
6
6
  * * `security` - Служба безопасности
7
7
  * * `director` - Руководитель
8
8
  */
9
- export interface TradeFiltersProducts {
9
+ export interface _TradeFiltersProducts {
10
10
  /**
11
11
  * Показывать
12
12
  * Если отключёно, элемент не будет отображаться на сайте
@@ -6,8 +6,7 @@
6
6
  * * `security` - Служба безопасности
7
7
  * * `director` - Руководитель
8
8
  */
9
- import type { Type } from '../Type/Type';
10
- export interface TradeProduct {
9
+ export interface _TradeLotCategory {
11
10
  /**
12
11
  * Показывать
13
12
  * Если отключёно, элемент не будет отображаться на сайте
@@ -19,5 +18,4 @@ export interface TradeProduct {
19
18
  * @maxLength 255
20
19
  */
21
20
  name: string;
22
- type: Type;
23
21
  }
@@ -0,0 +1,22 @@
1
+ /**
2
+ * * `admin` - Администратор
3
+ * * `manager` - Менеджер
4
+ * * `moderator` - Модератор
5
+ * * `participant` - Участник
6
+ * * `security` - Служба безопасности
7
+ * * `director` - Руководитель
8
+ */
9
+ export interface _TradeProduct {
10
+ /**
11
+ * Показывать
12
+ * Если отключёно, элемент не будет отображаться на сайте
13
+ */
14
+ active?: boolean;
15
+ id: number;
16
+ /**
17
+ * Название
18
+ * @maxLength 255
19
+ */
20
+ name: string;
21
+ type: _Type;
22
+ }
@@ -7,10 +7,9 @@
7
7
  * * `director` - Руководитель
8
8
  */
9
9
  import type { Status0CcEnum } from '../../enums';
10
- import type { TradeUser } from './TradeUser';
11
- export interface TradeStatus {
10
+ export interface _TradeStatus {
12
11
  id: number;
13
- creator: TradeUser;
12
+ creator: _TradeUser;
14
13
  /**
15
14
  * Дата/время создания
16
15
  * @format date-time
@@ -6,7 +6,7 @@
6
6
  * * `security` - Служба безопасности
7
7
  * * `director` - Руководитель
8
8
  */
9
- export interface TradeUser {
9
+ export interface _TradeUser {
10
10
  /**
11
11
  * Почта
12
12
  * @format email
@@ -6,7 +6,7 @@
6
6
  * * `security` - Служба безопасности
7
7
  * * `director` - Руководитель
8
8
  */
9
- export interface TradeUserRequest {
9
+ export interface _TradeUserRequest {
10
10
  /**
11
11
  * Почта
12
12
  * @format email