@itcase/types-am 1.1.31 → 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 (125) hide show
  1. package/dist/index.d.ts +1 -1
  2. package/dist/types/Additional/AdditionalProduct.d.ts +0 -2
  3. package/dist/types/Creator/{Creator.d.ts → _Creator.d.ts} +1 -1
  4. package/dist/types/Creator/index.d.ts +1 -1
  5. package/dist/types/Current/{CurrentUserWinner.d.ts → _CurrentUserWinner.d.ts} +1 -1
  6. package/dist/types/Current/index.d.ts +1 -1
  7. package/dist/types/Document/{DocumentField.d.ts → _DocumentField.d.ts} +1 -1
  8. package/dist/types/Document/index.d.ts +1 -1
  9. package/dist/types/External/External1CPrice.d.ts +1 -2
  10. package/dist/types/External/External1CPriceRequest.d.ts +1 -2
  11. package/dist/types/External/External1CShipment.d.ts +1 -2
  12. package/dist/types/External/External1CShipmentRequest.d.ts +1 -2
  13. package/dist/types/External/External1CTrade.d.ts +1 -2
  14. package/dist/types/External/ExternalBiTrade.d.ts +1 -2
  15. package/dist/types/External/{External1CPriceLot.d.ts → _External1cPriceLot.d.ts} +1 -1
  16. package/dist/types/External/{External1CPriceLotRequest.d.ts → _External1cPriceLotRequest.d.ts} +1 -1
  17. package/dist/types/External/{External1CShipmentLot.d.ts → _External1cShipmentLot.d.ts} +1 -1
  18. package/dist/types/External/{External1CShipmentLotRequest.d.ts → _External1cShipmentLotRequest.d.ts} +1 -1
  19. package/dist/types/External/{External1CTradeLot.d.ts → _External1cTradeLot.d.ts} +1 -1
  20. package/dist/types/External/index.d.ts +5 -5
  21. package/dist/types/Filters/{FiltersObj.d.ts → _FiltersObj.d.ts} +1 -1
  22. package/dist/types/Filters/{FiltersStatus.d.ts → _FiltersStatus.d.ts} +1 -1
  23. package/dist/types/Filters/index.d.ts +2 -2
  24. package/dist/types/News/NewsDetail.d.ts +0 -1
  25. package/dist/types/Paginated/PaginatedProductImageList.d.ts +0 -1
  26. package/dist/types/Paginated/PaginatedProductList.d.ts +0 -1
  27. package/dist/types/Paginated/PaginatedProductTypeList.d.ts +0 -1
  28. package/dist/types/Paginated/PaginatedProductUnitList.d.ts +0 -1
  29. package/dist/types/Paginated/PaginatedProfileCompanyList.d.ts +0 -1
  30. package/dist/types/Paginated/PaginatedProfileNotificationsList.d.ts +0 -1
  31. package/dist/types/Paginated/PaginatedProfileNotificationsSettingsList.d.ts +0 -1
  32. package/dist/types/Paginated/PaginatedSettingsNotificationsList.d.ts +0 -1
  33. package/dist/types/Paginated/PaginatedSettingsNotificationsUserTypeList.d.ts +0 -1
  34. package/dist/types/Paginated/PaginatedStatisticDeviceList.d.ts +0 -1
  35. package/dist/types/Paginated/PaginatedTradeLotBidList.d.ts +0 -1
  36. package/dist/types/Paginated/PaginatedTradeLotCategoryList.d.ts +0 -1
  37. package/dist/types/Paginated/PaginatedTradeLotImageList.d.ts +0 -1
  38. package/dist/types/Paginated/PaginatedTradeLotList.d.ts +0 -1
  39. package/dist/types/Paginated/PaginatedTradeLotParticipantList.d.ts +0 -1
  40. package/dist/types/Paginated/PaginatedTradeLotRipeLevelList.d.ts +0 -1
  41. package/dist/types/Paginated/PaginatedTradeLotSizeList.d.ts +0 -1
  42. package/dist/types/Paginated/PaginatedTradeLotWinnerList.d.ts +0 -1
  43. package/dist/types/Paginated/PaginatedUserCompanyList.d.ts +0 -1
  44. package/dist/types/Paginated/PaginatedUserDocumentAcceptList.d.ts +0 -1
  45. package/dist/types/Paginated/PaginatedUserFCMTokensList.d.ts +0 -1
  46. package/dist/types/Paginated/PaginatedUserList.d.ts +0 -1
  47. package/dist/types/Paginated/PaginatedUserStatusList.d.ts +0 -1
  48. package/dist/types/Participants/_ParticipantsBids.d.ts +12 -0
  49. package/dist/types/Participants/{ParticipantsBidsParticipant.d.ts → _ParticipantsBidsParticipant.d.ts} +1 -1
  50. package/dist/types/Participants/index.d.ts +2 -2
  51. package/dist/types/Patched/PatchedSettingsNotificationsChangeRequest.d.ts +0 -1
  52. package/dist/types/Product/Product.d.ts +2 -4
  53. package/dist/types/Product/ProductDetail.d.ts +2 -5
  54. package/dist/types/Profile/ProfileNotificationsSettings.d.ts +2 -4
  55. package/dist/types/Profile/{ProfileNotificationsSettingsDefaults.d.ts → _ProfileNotificationsSettingsDefaults.d.ts} +1 -1
  56. package/dist/types/Profile/{ProfileNotificationsSettingsType.d.ts → _ProfileNotificationsSettingsType.d.ts} +1 -1
  57. package/dist/types/Profile/index.d.ts +2 -2
  58. package/dist/types/Report/ReportFilters.d.ts +7 -9
  59. package/dist/types/Report/ReportParticipantFilters.d.ts +8 -11
  60. package/dist/types/Report/ReportParticipantPagination.d.ts +0 -1
  61. package/dist/types/Report/ReportSale.d.ts +1 -2
  62. package/dist/types/Report/ReportSaleFilters.d.ts +1 -2
  63. package/dist/types/Report/ReportSalePagination.d.ts +0 -1
  64. package/dist/types/Report/ReportStatParticipantFilters.d.ts +2 -3
  65. package/dist/types/Report/ReportStatParticipantPagination.d.ts +0 -1
  66. package/dist/types/Report/ReportSummaries.d.ts +3 -6
  67. package/dist/types/Report/ReportSummary.d.ts +1 -2
  68. package/dist/types/Report/{ReportFiltersCreator.d.ts → _ReportFiltersCreator.d.ts} +1 -1
  69. package/dist/types/Report/index.d.ts +1 -1
  70. package/dist/types/Ripe/{RipeLevel.d.ts → _RipeLevel.d.ts} +1 -1
  71. package/dist/types/Ripe/index.d.ts +1 -1
  72. package/dist/types/Settings/SettingsNotifications.d.ts +0 -1
  73. package/dist/types/Settings/SettingsNotificationsChange.d.ts +0 -1
  74. package/dist/types/Settings/SettingsNotificationsChangeRequest.d.ts +0 -1
  75. package/dist/types/Sign/SignUp.d.ts +3 -7
  76. package/dist/types/Size/{Size.d.ts → _Size.d.ts} +1 -1
  77. package/dist/types/Size/index.d.ts +1 -1
  78. package/dist/types/Status/{StatusCreator.d.ts → _StatusCreator.d.ts} +1 -1
  79. package/dist/types/Status/index.d.ts +1 -1
  80. package/dist/types/Summaries/{SummariesCost.d.ts → _SummariesCost.d.ts} +1 -1
  81. package/dist/types/Summaries/{SummariesTrades.d.ts → _SummariesTrades.d.ts} +1 -1
  82. package/dist/types/Summaries/{SummariesVolume.d.ts → _SummariesVolume.d.ts} +1 -1
  83. package/dist/types/Summaries/index.d.ts +3 -3
  84. package/dist/types/Trade/Trade.d.ts +4 -7
  85. package/dist/types/Trade/TradeCreateRequest.d.ts +0 -1
  86. package/dist/types/Trade/TradeDetail.d.ts +5 -10
  87. package/dist/types/Trade/TradeFilters.d.ts +3 -6
  88. package/dist/types/Trade/TradeLot.d.ts +6 -13
  89. package/dist/types/Trade/TradeLotActionBidResponse.d.ts +1 -2
  90. package/dist/types/Trade/TradeLotBid.d.ts +1 -2
  91. package/dist/types/Trade/TradeLotCategory.d.ts +13 -1
  92. package/dist/types/Trade/TradeLotDetail.d.ts +5 -12
  93. package/dist/types/Trade/TradeLotParticipant.d.ts +1 -2
  94. package/dist/types/Trade/TradeLotSize.d.ts +1 -2
  95. package/dist/types/Trade/TradeLotWinner.d.ts +3 -5
  96. package/dist/types/Trade/{TradeAdditionalProduct.d.ts → _TradeAdditionalProduct.d.ts} +1 -1
  97. package/dist/types/Trade/{TradeCreator.d.ts → _TradeCreator.d.ts} +2 -3
  98. package/dist/types/Trade/{TradeCreatorRequest.d.ts → _TradeCreatorRequest.d.ts} +1 -1
  99. package/dist/types/Trade/{TradeFacility.d.ts → _TradeFacility.d.ts} +1 -1
  100. package/dist/types/Trade/{TradeFiltersFacilities.d.ts → _TradeFiltersFacilities.d.ts} +1 -1
  101. package/dist/types/Trade/{TradeFiltersProductTypes.d.ts → _TradeFiltersProductTypes.d.ts} +1 -1
  102. package/dist/types/Trade/{TradeFiltersProducts.d.ts → _TradeFiltersProducts.d.ts} +1 -1
  103. package/dist/types/Trade/{TradeProduct.d.ts → _TradeLotCategory.d.ts} +1 -3
  104. package/dist/types/Trade/_TradeProduct.d.ts +22 -0
  105. package/dist/types/Trade/{TradeStatus.d.ts → _TradeStatus.d.ts} +2 -3
  106. package/dist/types/Trade/{TradeUser.d.ts → _TradeUser.d.ts} +1 -1
  107. package/dist/types/Trade/{TradeUserRequest.d.ts → _TradeUserRequest.d.ts} +1 -1
  108. package/dist/types/Trade/index.d.ts +12 -11
  109. package/dist/types/Type/{Type.d.ts → _Type.d.ts} +1 -1
  110. package/dist/types/Type/index.d.ts +1 -1
  111. package/dist/types/Unit/{Unit.d.ts → _Unit.d.ts} +1 -1
  112. package/dist/types/Unit/index.d.ts +1 -1
  113. package/dist/types/User/User.d.ts +5 -11
  114. package/dist/types/User/UserCreate.d.ts +3 -7
  115. package/dist/types/User/UserDocumentAccept.d.ts +1 -2
  116. package/dist/types/User/UserStatus.d.ts +1 -2
  117. package/dist/types/User/UserUpdate.d.ts +3 -5
  118. package/dist/types/User/{UserChanges.d.ts → _UserChanges.d.ts} +2 -3
  119. package/dist/types/User/{UserCompanyChanges.d.ts → _UserCompanyChanges.d.ts} +1 -1
  120. package/dist/types/User/{UserFacility.d.ts → _UserFacility.d.ts} +1 -1
  121. package/dist/types/User/{UserManager.d.ts → _UserManager.d.ts} +3 -3
  122. package/dist/types/User/index.d.ts +4 -4
  123. package/dist/types/index.d.ts +16 -16
  124. package/package.json +3 -3
  125. package/dist/types/Participants/ParticipantsBids.d.ts +0 -13
@@ -6,14 +6,12 @@
6
6
  * * `security` - Служба безопасности
7
7
  * * `director` - Руководитель
8
8
  */
9
- import type { FiltersObj } from '../Filters/FiltersObj';
10
- import type { FiltersStatus } from '../Filters/FiltersStatus';
11
9
  export interface ReportFilters {
12
- categories: FiltersObj[];
13
- facilities: FiltersObj[];
14
- products: FiltersObj[];
15
- producttypes: FiltersObj[];
16
- sizes: FiltersObj[];
17
- ripe_levels: FiltersObj[];
18
- trade_statuses: FiltersStatus[];
10
+ categories: _FiltersObj[];
11
+ facilities: _FiltersObj[];
12
+ products: _FiltersObj[];
13
+ producttypes: _FiltersObj[];
14
+ sizes: _FiltersObj[];
15
+ ripe_levels: _FiltersObj[];
16
+ trade_statuses: _FiltersStatus[];
19
17
  }
@@ -6,16 +6,13 @@
6
6
  * * `security` - Служба безопасности
7
7
  * * `director` - Руководитель
8
8
  */
9
- import type { FiltersObj } from '../Filters/FiltersObj';
10
- import type { FiltersStatus } from '../Filters/FiltersStatus';
11
- import type { ReportFiltersCreator } from './ReportFiltersCreator';
12
9
  export interface ReportParticipantFilters {
13
- categories: FiltersObj[];
14
- facilities: FiltersObj[];
15
- products: FiltersObj[];
16
- producttypes: FiltersObj[];
17
- sizes: FiltersObj[];
18
- ripe_levels: FiltersObj[];
19
- trade_statuses: FiltersStatus[];
20
- creators: ReportFiltersCreator[];
10
+ categories: _FiltersObj[];
11
+ facilities: _FiltersObj[];
12
+ products: _FiltersObj[];
13
+ producttypes: _FiltersObj[];
14
+ sizes: _FiltersObj[];
15
+ ripe_levels: _FiltersObj[];
16
+ trade_statuses: _FiltersStatus[];
17
+ creators: _ReportFiltersCreator[];
21
18
  }
@@ -8,7 +8,6 @@
8
8
  */
9
9
  import type { ReportParticipant } from './ReportParticipant';
10
10
  import type { ReportParticipantFilters } from './ReportParticipantFilters';
11
- import type { ReportSummaries } from './ReportSummaries';
12
11
  export interface ReportParticipantPagination {
13
12
  count: number;
14
13
  /**
@@ -6,12 +6,11 @@
6
6
  * * `security` - Служба безопасности
7
7
  * * `director` - Руководитель
8
8
  */
9
- import type { ParticipantsBids } from '../Participants/ParticipantsBids';
10
9
  export interface ReportSale {
11
10
  id: number;
12
11
  bids_count: number;
13
12
  participants_count: number;
14
- participants_bids: ParticipantsBids[];
13
+ participants_bids: _ParticipantsBids[];
15
14
  sales_price: string;
16
15
  sales_price_sold: string;
17
16
  sales_total: string;
@@ -6,7 +6,6 @@
6
6
  * * `security` - Служба безопасности
7
7
  * * `director` - Руководитель
8
8
  */
9
- import type { FiltersObj } from '../Filters/FiltersObj';
10
9
  export interface ReportSaleFilters {
11
- facilities: FiltersObj[];
10
+ facilities: _FiltersObj[];
12
11
  }
@@ -8,7 +8,6 @@
8
8
  */
9
9
  import type { ReportSale } from './ReportSale';
10
10
  import type { ReportSaleFilters } from './ReportSaleFilters';
11
- import type { ReportSummaries } from './ReportSummaries';
12
11
  export interface ReportSalePagination {
13
12
  count: number;
14
13
  /**
@@ -6,8 +6,7 @@
6
6
  * * `security` - Служба безопасности
7
7
  * * `director` - Руководитель
8
8
  */
9
- import type { FiltersObj } from '../Filters/FiltersObj';
10
9
  export interface ReportStatParticipantFilters {
11
- companies: FiltersObj[];
12
- inns: FiltersObj[];
10
+ companies: _FiltersObj[];
11
+ inns: _FiltersObj[];
13
12
  }
@@ -8,7 +8,6 @@
8
8
  */
9
9
  import type { ReportSale } from './ReportSale';
10
10
  import type { ReportStatParticipantFilters } from './ReportStatParticipantFilters';
11
- import type { ReportSummaries } from './ReportSummaries';
12
11
  export interface ReportStatParticipantPagination {
13
12
  count: number;
14
13
  /**
@@ -6,11 +6,8 @@
6
6
  * * `security` - Служба безопасности
7
7
  * * `director` - Руководитель
8
8
  */
9
- import type { SummariesCost } from '../Summaries/SummariesCost';
10
- import type { SummariesTrades } from '../Summaries/SummariesTrades';
11
- import type { SummariesVolume } from '../Summaries/SummariesVolume';
12
9
  export interface ReportSummaries {
13
- cost: SummariesCost;
14
- trades: SummariesTrades;
15
- volume: SummariesVolume;
10
+ cost: _SummariesCost;
11
+ trades: _SummariesTrades;
12
+ volume: _SummariesVolume;
16
13
  }
@@ -6,7 +6,6 @@
6
6
  * * `security` - Служба безопасности
7
7
  * * `director` - Руководитель
8
8
  */
9
- import type { ParticipantsBids } from '../Participants/ParticipantsBids';
10
9
  export interface ReportSummary {
11
10
  /**
12
11
  * @format int64
@@ -15,7 +14,7 @@ export interface ReportSummary {
15
14
  */
16
15
  id: number;
17
16
  participants_count: number;
18
- participants_bids: ParticipantsBids[];
17
+ participants_bids: _ParticipantsBids[];
19
18
  trade_creator_name: string;
20
19
  trade_id: string;
21
20
  trade_name: string;
@@ -6,7 +6,7 @@
6
6
  * * `security` - Служба безопасности
7
7
  * * `director` - Руководитель
8
8
  */
9
- export interface ReportFiltersCreator {
9
+ export interface _ReportFiltersCreator {
10
10
  /**
11
11
  * Почта
12
12
  * @format email
@@ -1,5 +1,5 @@
1
+ export type { _ReportFiltersCreator } from './_ReportFiltersCreator';
1
2
  export type { ReportFilters } from './ReportFilters';
2
- export type { ReportFiltersCreator } from './ReportFiltersCreator';
3
3
  export type { ReportParticipant } from './ReportParticipant';
4
4
  export type { ReportParticipantFilters } from './ReportParticipantFilters';
5
5
  export type { ReportParticipantPagination } from './ReportParticipantPagination';
@@ -6,7 +6,7 @@
6
6
  * * `security` - Служба безопасности
7
7
  * * `director` - Руководитель
8
8
  */
9
- export interface RipeLevel {
9
+ export interface _RipeLevel {
10
10
  /**
11
11
  * Показывать
12
12
  * Если отключёно, элемент не будет отображаться на сайте
@@ -1 +1 @@
1
- export type { RipeLevel } from './RipeLevel';
1
+ export type { _RipeLevel } from './_RipeLevel';
@@ -6,7 +6,6 @@
6
6
  * * `security` - Служба безопасности
7
7
  * * `director` - Руководитель
8
8
  */
9
- import type { SettingsNotificationsUserType } from './SettingsNotificationsUserType';
10
9
  export interface SettingsNotifications {
11
10
  id: number;
12
11
  type: string;
@@ -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` - Торги: Актуализируйте ставку
@@ -7,10 +7,6 @@
7
7
  * * `director` - Руководитель
8
8
  */
9
9
  import type { BlankEnum, Status8F7Enum } from '../../enums';
10
- import type { UserChanges } from '../User/UserChanges';
11
- import type { UserCompanyChanges } from '../User/UserCompanyChanges';
12
- import type { UserDocumentAccept } from '../User/UserDocumentAccept';
13
- import type { UserFCMTokens } from '../User/UserFCMTokens';
14
10
  export interface SignUp {
15
11
  /** Можно делать скриншоты */
16
12
  app_screenshots_enabled?: boolean;
@@ -49,7 +45,7 @@ export interface SignUp {
49
45
  * @maxLength 255
50
46
  */
51
47
  contact_person: string;
52
- default_company: UserCompanyChanges;
48
+ default_company: _UserCompanyChanges;
53
49
  /**
54
50
  * ИНН
55
51
  * @maxLength 255
@@ -67,8 +63,8 @@ export interface SignUp {
67
63
  is_type_security: boolean;
68
64
  /** @format uri */
69
65
  avatar?: string | null;
70
- changes: UserChanges;
71
- changes_company: UserCompanyChanges;
66
+ changes: _UserChanges;
67
+ changes_company: _UserCompanyChanges;
72
68
  document_accepts: UserDocumentAccept[];
73
69
  facilities?: (number | null)[];
74
70
  fcm_tokens: UserFCMTokens[];
@@ -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';
@@ -7,9 +7,6 @@
7
7
  * * `director` - Руководитель
8
8
  */
9
9
  import type { BidTypeEnum, ProcessTypeEnum, Type744Enum } from '../../enums';
10
- import type { TradeCreator } from './TradeCreator';
11
- import type { TradeFacility } from './TradeFacility';
12
- import type { TradeUser } from './TradeUser';
13
10
  export interface Trade {
14
11
  id: number;
15
12
  /** @format date-time */
@@ -20,10 +17,10 @@ export interface Trade {
20
17
  dt_end_actual: string;
21
18
  stat: number;
22
19
  status: string;
23
- creator: TradeCreator;
24
- facility: TradeFacility;
25
- participants_allowed: TradeUser[];
26
- participants_denied: TradeUser[];
20
+ creator: _TradeCreator;
21
+ facility: _TradeFacility;
22
+ participants_allowed: _TradeUser[];
23
+ participants_denied: _TradeUser[];
27
24
  winner_status_waiting_time?: number;
28
25
  /**
29
26
  * Дата/время создания
@@ -7,7 +7,6 @@
7
7
  * * `director` - Руководитель
8
8
  */
9
9
  import type { BidTypeEnum, BlankEnum, ProcessTypeEnum, Status0CcEnum, Type744Enum } from '../../enums';
10
- import type { TradeLotChangeRequest } from './TradeLotChangeRequest';
11
10
  export interface TradeCreateRequest {
12
11
  /** @format date-time */
13
12
  dt_begin: string;
@@ -7,11 +7,6 @@
7
7
  * * `director` - Руководитель
8
8
  */
9
9
  import type { BidTypeEnum, ProcessTypeEnum, Type744Enum } from '../../enums';
10
- import type { TradeCreator } from './TradeCreator';
11
- import type { TradeFacility } from './TradeFacility';
12
- import type { TradeLotDetail } from './TradeLotDetail';
13
- import type { TradeStatus } from './TradeStatus';
14
- import type { TradeUser } from './TradeUser';
15
10
  export interface TradeDetail {
16
11
  id: number;
17
12
  /** @format date-time */
@@ -22,13 +17,13 @@ export interface TradeDetail {
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
  lots: TradeLotDetail[];
31
- statuses: TradeStatus[];
26
+ statuses: _TradeStatus[];
32
27
  /**
33
28
  * Дата/время создания
34
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 { TradeFiltersProducts } from './TradeFiltersProducts';
11
- import type { TradeFiltersProductTypes } from './TradeFiltersProductTypes';
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
  /** список значений поля */
@@ -7,23 +7,16 @@
7
7
  * * `director` - Руководитель
8
8
  */
9
9
  import type { BlankEnum, StepTypeEnum } from '../../enums';
10
- import type { CurrentUserWinner } from '../Current/CurrentUserWinner';
11
- import type { RipeLevel } from '../Ripe/RipeLevel';
12
- import type { Size } from '../Size/Size';
13
- import type { TradeAdditionalProduct } from './TradeAdditionalProduct';
14
- import type { TradeLotCategory } from './TradeLotCategory';
15
- import type { TradeLotWinner } from './TradeLotWinner';
16
- import type { TradeProduct } from './TradeProduct';
17
10
  export interface TradeLot {
18
11
  id: number;
19
- additional_products: TradeAdditionalProduct[];
20
- category: TradeLotCategory;
21
- product: TradeProduct;
22
- ripe_level: RipeLevel;
23
- size: Size;
12
+ additional_products: _TradeAdditionalProduct[];
13
+ category: _TradeLotCategory;
14
+ product: _TradeProduct;
15
+ ripe_level: _RipeLevel;
16
+ size: _Size;
24
17
  /** Лимит следующей ставки */
25
18
  bid_limit: string;
26
- current_user_as_winner: CurrentUserWinner;
19
+ current_user_as_winner: _CurrentUserWinner;
27
20
  /** @format date-time */
28
21
  dt_shipment: string;
29
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
  }
@@ -7,25 +7,18 @@
7
7
  * * `director` - Руководитель
8
8
  */
9
9
  import type { BlankEnum, StepTypeEnum } from '../../enums';
10
- import type { CurrentUserWinner } from '../Current/CurrentUserWinner';
11
10
  import type { ProductDetail } from '../Product/ProductDetail';
12
- import type { RipeLevel } from '../Ripe/RipeLevel';
13
- import type { Size } from '../Size/Size';
14
- import type { TradeAdditionalProduct } from './TradeAdditionalProduct';
15
11
  import type { TradeLotBid } from './TradeLotBid';
16
- import type { TradeLotCategory } from './TradeLotCategory';
17
- import type { TradeLotImage } from './TradeLotImage';
18
- import type { TradeLotWinner } from './TradeLotWinner';
19
12
  export interface TradeLotDetail {
20
13
  id: number;
21
- additional_products: TradeAdditionalProduct[];
22
- category: TradeLotCategory;
14
+ additional_products: _TradeAdditionalProduct[];
15
+ category: _TradeLotCategory;
23
16
  product: ProductDetail;
24
- ripe_level: RipeLevel;
25
- size: Size;
17
+ ripe_level: _RipeLevel;
18
+ size: _Size;
26
19
  /** Лимит следующей ставки */
27
20
  bid_limit: string;
28
- current_user_as_winner: CurrentUserWinner;
21
+ current_user_as_winner: _CurrentUserWinner;
29
22
  /** @format date-time */
30
23
  dt_shipment: string;
31
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
@@ -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,7 +6,7 @@
6
6
  * * `security` - Служба безопасности
7
7
  * * `director` - Руководитель
8
8
  */
9
- export interface TradeFacility {
9
+ export interface _TradeFacility {
10
10
  /**
11
11
  * Показывать
12
12
  * Если отключёно, элемент не будет отображаться на сайте
@@ -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
  * Если отключёно, элемент не будет отображаться на сайте