@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.
- package/dist/index.d.ts +1 -1
- package/dist/types/Additional/AdditionalProduct.d.ts +0 -2
- package/dist/types/Creator/{Creator.d.ts → _Creator.d.ts} +1 -1
- package/dist/types/Creator/index.d.ts +1 -1
- package/dist/types/Current/{CurrentUserWinner.d.ts → _CurrentUserWinner.d.ts} +1 -1
- package/dist/types/Current/index.d.ts +1 -1
- package/dist/types/Document/{DocumentField.d.ts → _DocumentField.d.ts} +1 -1
- package/dist/types/Document/index.d.ts +1 -1
- package/dist/types/External/External1CPrice.d.ts +1 -2
- package/dist/types/External/External1CPriceRequest.d.ts +1 -2
- package/dist/types/External/External1CShipment.d.ts +1 -2
- package/dist/types/External/External1CShipmentRequest.d.ts +1 -2
- package/dist/types/External/External1CTrade.d.ts +1 -2
- package/dist/types/External/ExternalBiTrade.d.ts +1 -2
- package/dist/types/External/{External1CPriceLot.d.ts → _External1cPriceLot.d.ts} +1 -1
- package/dist/types/External/{External1CPriceLotRequest.d.ts → _External1cPriceLotRequest.d.ts} +1 -1
- package/dist/types/External/{External1CShipmentLot.d.ts → _External1cShipmentLot.d.ts} +1 -1
- package/dist/types/External/{External1CShipmentLotRequest.d.ts → _External1cShipmentLotRequest.d.ts} +1 -1
- package/dist/types/External/{External1CTradeLot.d.ts → _External1cTradeLot.d.ts} +1 -1
- package/dist/types/External/index.d.ts +5 -5
- package/dist/types/Filters/{FiltersObj.d.ts → _FiltersObj.d.ts} +1 -1
- package/dist/types/Filters/{FiltersStatus.d.ts → _FiltersStatus.d.ts} +1 -1
- package/dist/types/Filters/index.d.ts +2 -2
- package/dist/types/News/NewsDetail.d.ts +0 -1
- package/dist/types/Paginated/PaginatedProductImageList.d.ts +0 -1
- package/dist/types/Paginated/PaginatedProductList.d.ts +0 -1
- package/dist/types/Paginated/PaginatedProductTypeList.d.ts +0 -1
- package/dist/types/Paginated/PaginatedProductUnitList.d.ts +0 -1
- package/dist/types/Paginated/PaginatedProfileCompanyList.d.ts +0 -1
- package/dist/types/Paginated/PaginatedProfileNotificationsList.d.ts +0 -1
- package/dist/types/Paginated/PaginatedProfileNotificationsSettingsList.d.ts +0 -1
- package/dist/types/Paginated/PaginatedSettingsNotificationsList.d.ts +0 -1
- package/dist/types/Paginated/PaginatedSettingsNotificationsUserTypeList.d.ts +0 -1
- package/dist/types/Paginated/PaginatedStatisticDeviceList.d.ts +0 -1
- package/dist/types/Paginated/PaginatedTradeLotBidList.d.ts +0 -1
- package/dist/types/Paginated/PaginatedTradeLotCategoryList.d.ts +0 -1
- package/dist/types/Paginated/PaginatedTradeLotImageList.d.ts +0 -1
- package/dist/types/Paginated/PaginatedTradeLotList.d.ts +0 -1
- package/dist/types/Paginated/PaginatedTradeLotParticipantList.d.ts +0 -1
- package/dist/types/Paginated/PaginatedTradeLotRipeLevelList.d.ts +0 -1
- package/dist/types/Paginated/PaginatedTradeLotSizeList.d.ts +0 -1
- package/dist/types/Paginated/PaginatedTradeLotWinnerList.d.ts +0 -1
- package/dist/types/Paginated/PaginatedUserCompanyList.d.ts +0 -1
- package/dist/types/Paginated/PaginatedUserDocumentAcceptList.d.ts +0 -1
- package/dist/types/Paginated/PaginatedUserFCMTokensList.d.ts +0 -1
- package/dist/types/Paginated/PaginatedUserList.d.ts +0 -1
- package/dist/types/Paginated/PaginatedUserStatusList.d.ts +0 -1
- package/dist/types/Participants/_ParticipantsBids.d.ts +12 -0
- package/dist/types/Participants/{ParticipantsBidsParticipant.d.ts → _ParticipantsBidsParticipant.d.ts} +1 -1
- package/dist/types/Participants/index.d.ts +2 -2
- package/dist/types/Patched/PatchedSettingsNotificationsChangeRequest.d.ts +0 -1
- package/dist/types/Product/Product.d.ts +2 -4
- package/dist/types/Product/ProductDetail.d.ts +2 -5
- package/dist/types/Profile/ProfileNotificationsSettings.d.ts +2 -4
- package/dist/types/Profile/{ProfileNotificationsSettingsDefaults.d.ts → _ProfileNotificationsSettingsDefaults.d.ts} +1 -1
- package/dist/types/Profile/{ProfileNotificationsSettingsType.d.ts → _ProfileNotificationsSettingsType.d.ts} +1 -1
- package/dist/types/Profile/index.d.ts +2 -2
- package/dist/types/Report/ReportFilters.d.ts +7 -9
- package/dist/types/Report/ReportParticipantFilters.d.ts +8 -11
- package/dist/types/Report/ReportParticipantPagination.d.ts +0 -1
- package/dist/types/Report/ReportSale.d.ts +1 -2
- package/dist/types/Report/ReportSaleFilters.d.ts +1 -2
- package/dist/types/Report/ReportSalePagination.d.ts +0 -1
- package/dist/types/Report/ReportStatParticipantFilters.d.ts +2 -3
- package/dist/types/Report/ReportStatParticipantPagination.d.ts +0 -1
- package/dist/types/Report/ReportSummaries.d.ts +3 -6
- package/dist/types/Report/ReportSummary.d.ts +1 -2
- package/dist/types/Report/{ReportFiltersCreator.d.ts → _ReportFiltersCreator.d.ts} +1 -1
- package/dist/types/Report/index.d.ts +1 -1
- package/dist/types/Ripe/{RipeLevel.d.ts → _RipeLevel.d.ts} +1 -1
- package/dist/types/Ripe/index.d.ts +1 -1
- package/dist/types/Settings/SettingsNotifications.d.ts +0 -1
- package/dist/types/Settings/SettingsNotificationsChange.d.ts +0 -1
- package/dist/types/Settings/SettingsNotificationsChangeRequest.d.ts +0 -1
- package/dist/types/Sign/SignUp.d.ts +3 -7
- package/dist/types/Size/{Size.d.ts → _Size.d.ts} +1 -1
- package/dist/types/Size/index.d.ts +1 -1
- package/dist/types/Status/{StatusCreator.d.ts → _StatusCreator.d.ts} +1 -1
- package/dist/types/Status/index.d.ts +1 -1
- package/dist/types/Summaries/{SummariesCost.d.ts → _SummariesCost.d.ts} +1 -1
- package/dist/types/Summaries/{SummariesTrades.d.ts → _SummariesTrades.d.ts} +1 -1
- package/dist/types/Summaries/{SummariesVolume.d.ts → _SummariesVolume.d.ts} +1 -1
- package/dist/types/Summaries/index.d.ts +3 -3
- package/dist/types/Trade/Trade.d.ts +4 -7
- package/dist/types/Trade/TradeCreateRequest.d.ts +0 -1
- package/dist/types/Trade/TradeDetail.d.ts +5 -10
- package/dist/types/Trade/TradeFilters.d.ts +3 -6
- package/dist/types/Trade/TradeLot.d.ts +6 -13
- package/dist/types/Trade/TradeLotActionBidResponse.d.ts +1 -2
- package/dist/types/Trade/TradeLotBid.d.ts +1 -2
- package/dist/types/Trade/TradeLotCategory.d.ts +13 -1
- package/dist/types/Trade/TradeLotDetail.d.ts +5 -12
- package/dist/types/Trade/TradeLotParticipant.d.ts +1 -2
- package/dist/types/Trade/TradeLotSize.d.ts +1 -2
- package/dist/types/Trade/TradeLotWinner.d.ts +3 -5
- package/dist/types/Trade/{TradeAdditionalProduct.d.ts → _TradeAdditionalProduct.d.ts} +1 -1
- package/dist/types/Trade/{TradeCreator.d.ts → _TradeCreator.d.ts} +2 -3
- package/dist/types/Trade/{TradeCreatorRequest.d.ts → _TradeCreatorRequest.d.ts} +1 -1
- package/dist/types/Trade/{TradeFacility.d.ts → _TradeFacility.d.ts} +1 -1
- package/dist/types/Trade/{TradeFiltersFacilities.d.ts → _TradeFiltersFacilities.d.ts} +1 -1
- package/dist/types/Trade/{TradeFiltersProductTypes.d.ts → _TradeFiltersProductTypes.d.ts} +1 -1
- package/dist/types/Trade/{TradeFiltersProducts.d.ts → _TradeFiltersProducts.d.ts} +1 -1
- package/dist/types/Trade/{TradeProduct.d.ts → _TradeLotCategory.d.ts} +1 -3
- package/dist/types/Trade/_TradeProduct.d.ts +22 -0
- package/dist/types/Trade/{TradeStatus.d.ts → _TradeStatus.d.ts} +2 -3
- package/dist/types/Trade/{TradeUser.d.ts → _TradeUser.d.ts} +1 -1
- package/dist/types/Trade/{TradeUserRequest.d.ts → _TradeUserRequest.d.ts} +1 -1
- package/dist/types/Trade/index.d.ts +12 -11
- package/dist/types/Type/{Type.d.ts → _Type.d.ts} +1 -1
- package/dist/types/Type/index.d.ts +1 -1
- package/dist/types/Unit/{Unit.d.ts → _Unit.d.ts} +1 -1
- package/dist/types/Unit/index.d.ts +1 -1
- package/dist/types/User/User.d.ts +5 -11
- package/dist/types/User/UserCreate.d.ts +3 -7
- package/dist/types/User/UserDocumentAccept.d.ts +1 -2
- package/dist/types/User/UserStatus.d.ts +1 -2
- package/dist/types/User/UserUpdate.d.ts +3 -5
- package/dist/types/User/{UserChanges.d.ts → _UserChanges.d.ts} +2 -3
- package/dist/types/User/{UserCompanyChanges.d.ts → _UserCompanyChanges.d.ts} +1 -1
- package/dist/types/User/{UserFacility.d.ts → _UserFacility.d.ts} +1 -1
- package/dist/types/User/{UserManager.d.ts → _UserManager.d.ts} +3 -3
- package/dist/types/User/index.d.ts +4 -4
- package/dist/types/index.d.ts +16 -16
- package/package.json +3 -3
- package/dist/types/Participants/ParticipantsBids.d.ts +0 -13
|
@@ -6,8 +6,7 @@
|
|
|
6
6
|
* * `security` - Служба безопасности
|
|
7
7
|
* * `director` - Руководитель
|
|
8
8
|
*/
|
|
9
|
-
|
|
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
|
-
|
|
11
|
-
export interface TradeStatus {
|
|
10
|
+
export interface _TradeStatus {
|
|
12
11
|
id: number;
|
|
13
|
-
creator:
|
|
12
|
+
creator: _TradeUser;
|
|
14
13
|
/**
|
|
15
14
|
* Дата/время создания
|
|
16
15
|
* @format date-time
|
|
@@ -6,17 +6,22 @@ export { type Status0CcEnum } from '../../enums';
|
|
|
6
6
|
export { type StatusAeeEnum } from '../../enums';
|
|
7
7
|
export { type StepTypeEnum } from '../../enums';
|
|
8
8
|
export { type Type744Enum } from '../../enums';
|
|
9
|
+
export type { _TradeAdditionalProduct } from './_TradeAdditionalProduct';
|
|
10
|
+
export type { _TradeCreator } from './_TradeCreator';
|
|
11
|
+
export type { _TradeCreatorRequest } from './_TradeCreatorRequest';
|
|
12
|
+
export type { _TradeFacility } from './_TradeFacility';
|
|
13
|
+
export type { _TradeFiltersFacilities } from './_TradeFiltersFacilities';
|
|
14
|
+
export type { _TradeFiltersProducts } from './_TradeFiltersProducts';
|
|
15
|
+
export type { _TradeFiltersProductTypes } from './_TradeFiltersProductTypes';
|
|
16
|
+
export type { _TradeLotCategory } from './_TradeLotCategory';
|
|
17
|
+
export type { _TradeProduct } from './_TradeProduct';
|
|
18
|
+
export type { _TradeStatus } from './_TradeStatus';
|
|
19
|
+
export type { _TradeUser } from './_TradeUser';
|
|
20
|
+
export type { _TradeUserRequest } from './_TradeUserRequest';
|
|
9
21
|
export type { Trade } from './Trade';
|
|
10
|
-
export type { TradeAdditionalProduct } from './TradeAdditionalProduct';
|
|
11
22
|
export type { TradeCreateRequest } from './TradeCreateRequest';
|
|
12
|
-
export type { TradeCreator } from './TradeCreator';
|
|
13
|
-
export type { TradeCreatorRequest } from './TradeCreatorRequest';
|
|
14
23
|
export type { TradeDetail } from './TradeDetail';
|
|
15
|
-
export type { TradeFacility } from './TradeFacility';
|
|
16
24
|
export type { TradeFilters } from './TradeFilters';
|
|
17
|
-
export type { TradeFiltersFacilities } from './TradeFiltersFacilities';
|
|
18
|
-
export type { TradeFiltersProducts } from './TradeFiltersProducts';
|
|
19
|
-
export type { TradeFiltersProductTypes } from './TradeFiltersProductTypes';
|
|
20
25
|
export type { TradeLot } from './TradeLot';
|
|
21
26
|
export type { TradeLotActionBidRequest } from './TradeLotActionBidRequest';
|
|
22
27
|
export type { TradeLotActionBidResponse } from './TradeLotActionBidResponse';
|
|
@@ -38,8 +43,4 @@ export type { TradeLotWinnerCreateBulkRequest } from './TradeLotWinnerCreateBulk
|
|
|
38
43
|
export type { TradeLotWinnerCreateRequest } from './TradeLotWinnerCreateRequest';
|
|
39
44
|
export type { TradeLotWinnerUpdateRequest } from './TradeLotWinnerUpdateRequest';
|
|
40
45
|
export type { TradePagination } from './TradePagination';
|
|
41
|
-
export type { TradeProduct } from './TradeProduct';
|
|
42
|
-
export type { TradeStatus } from './TradeStatus';
|
|
43
46
|
export type { TradeUpdateRequest } from './TradeUpdateRequest';
|
|
44
|
-
export type { TradeUser } from './TradeUser';
|
|
45
|
-
export type { TradeUserRequest } from './TradeUserRequest';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type {
|
|
1
|
+
export type { _Type } from './_Type';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type {
|
|
1
|
+
export type { _Unit } from './_Unit';
|
|
@@ -6,12 +6,6 @@
|
|
|
6
6
|
* * `security` - Служба безопасности
|
|
7
7
|
* * `director` - Руководитель
|
|
8
8
|
*/
|
|
9
|
-
import type { UserChanges } from './UserChanges';
|
|
10
|
-
import type { UserCompanyChanges } from './UserCompanyChanges';
|
|
11
|
-
import type { UserDocumentAccept } from './UserDocumentAccept';
|
|
12
|
-
import type { UserFacility } from './UserFacility';
|
|
13
|
-
import type { UserFCMTokens } from './UserFCMTokens';
|
|
14
|
-
import type { UserManager } from './UserManager';
|
|
15
9
|
export interface User {
|
|
16
10
|
/** Можно делать скриншоты */
|
|
17
11
|
app_screenshots_enabled?: boolean;
|
|
@@ -54,7 +48,7 @@ export interface User {
|
|
|
54
48
|
* @maxLength 255
|
|
55
49
|
*/
|
|
56
50
|
contact_person?: string;
|
|
57
|
-
default_company:
|
|
51
|
+
default_company: _UserCompanyChanges;
|
|
58
52
|
/**
|
|
59
53
|
* ИНН
|
|
60
54
|
* @maxLength 255
|
|
@@ -71,11 +65,11 @@ export interface User {
|
|
|
71
65
|
is_type_participant: boolean;
|
|
72
66
|
is_type_security: boolean;
|
|
73
67
|
avatar: string;
|
|
74
|
-
changes:
|
|
75
|
-
changes_company:
|
|
68
|
+
changes: _UserChanges;
|
|
69
|
+
changes_company: _UserCompanyChanges;
|
|
76
70
|
document_accepts: UserDocumentAccept[];
|
|
77
|
-
facilities:
|
|
71
|
+
facilities: _UserFacility[];
|
|
78
72
|
fcm_tokens: UserFCMTokens[];
|
|
79
|
-
managers:
|
|
73
|
+
managers: _UserManager[];
|
|
80
74
|
status: string;
|
|
81
75
|
}
|
|
@@ -7,10 +7,6 @@
|
|
|
7
7
|
* * `director` - Руководитель
|
|
8
8
|
*/
|
|
9
9
|
import type { BlankEnum, Status8F7Enum } from '../../enums';
|
|
10
|
-
import type { UserChanges } from './UserChanges';
|
|
11
|
-
import type { UserCompanyChanges } from './UserCompanyChanges';
|
|
12
|
-
import type { UserDocumentAccept } from './UserDocumentAccept';
|
|
13
|
-
import type { UserFCMTokens } from './UserFCMTokens';
|
|
14
10
|
export interface UserCreate {
|
|
15
11
|
/** Можно делать скриншоты */
|
|
16
12
|
app_screenshots_enabled: boolean;
|
|
@@ -49,7 +45,7 @@ export interface UserCreate {
|
|
|
49
45
|
* @maxLength 255
|
|
50
46
|
*/
|
|
51
47
|
contact_person: string;
|
|
52
|
-
default_company:
|
|
48
|
+
default_company: _UserCompanyChanges;
|
|
53
49
|
/**
|
|
54
50
|
* ИНН
|
|
55
51
|
* @maxLength 255
|
|
@@ -67,8 +63,8 @@ export interface UserCreate {
|
|
|
67
63
|
is_type_security: boolean;
|
|
68
64
|
/** @format uri */
|
|
69
65
|
avatar?: string | null;
|
|
70
|
-
changes:
|
|
71
|
-
changes_company:
|
|
66
|
+
changes: _UserChanges;
|
|
67
|
+
changes_company: _UserCompanyChanges;
|
|
72
68
|
document_accepts: UserDocumentAccept[];
|
|
73
69
|
facilities?: (number | null)[];
|
|
74
70
|
fcm_tokens: UserFCMTokens[];
|
|
@@ -6,10 +6,9 @@
|
|
|
6
6
|
* * `security` - Служба безопасности
|
|
7
7
|
* * `director` - Руководитель
|
|
8
8
|
*/
|
|
9
|
-
import type { DocumentField } from '../Document/DocumentField';
|
|
10
9
|
export interface UserDocumentAccept {
|
|
11
10
|
id: number;
|
|
12
|
-
document:
|
|
11
|
+
document: _DocumentField;
|
|
13
12
|
/**
|
|
14
13
|
* Дата/время изменения
|
|
15
14
|
* @format date-time
|
|
@@ -7,11 +7,10 @@
|
|
|
7
7
|
* * `director` - Руководитель
|
|
8
8
|
*/
|
|
9
9
|
import type { Status8F7Enum } from '../../enums';
|
|
10
|
-
import type { StatusCreator } from '../Status/StatusCreator';
|
|
11
10
|
export interface UserStatus {
|
|
12
11
|
/** Комментарий */
|
|
13
12
|
comment?: string;
|
|
14
|
-
creator:
|
|
13
|
+
creator: _StatusCreator;
|
|
15
14
|
/**
|
|
16
15
|
* Дата/время создания
|
|
17
16
|
* @format date-time
|
|
@@ -7,8 +7,6 @@
|
|
|
7
7
|
* * `director` - Руководитель
|
|
8
8
|
*/
|
|
9
9
|
import type { BlankEnum, Status8F7Enum } from '../../enums';
|
|
10
|
-
import type { UserChanges } from './UserChanges';
|
|
11
|
-
import type { UserCompanyChanges } from './UserCompanyChanges';
|
|
12
10
|
import type { UserDocumentAccept } from './UserDocumentAccept';
|
|
13
11
|
import type { UserFCMTokens } from './UserFCMTokens';
|
|
14
12
|
export interface UserUpdate {
|
|
@@ -49,7 +47,7 @@ export interface UserUpdate {
|
|
|
49
47
|
* @maxLength 255
|
|
50
48
|
*/
|
|
51
49
|
contact_person: string;
|
|
52
|
-
default_company:
|
|
50
|
+
default_company: _UserCompanyChanges;
|
|
53
51
|
/**
|
|
54
52
|
* ИНН
|
|
55
53
|
* @maxLength 255
|
|
@@ -67,8 +65,8 @@ export interface UserUpdate {
|
|
|
67
65
|
is_type_security: boolean;
|
|
68
66
|
/** @format uri */
|
|
69
67
|
avatar?: string | null;
|
|
70
|
-
changes:
|
|
71
|
-
changes_company:
|
|
68
|
+
changes: _UserChanges;
|
|
69
|
+
changes_company: _UserCompanyChanges;
|
|
72
70
|
document_accepts: UserDocumentAccept[];
|
|
73
71
|
facilities?: (number | null)[];
|
|
74
72
|
fcm_tokens: UserFCMTokens[];
|
|
@@ -6,9 +6,8 @@
|
|
|
6
6
|
* * `security` - Служба безопасности
|
|
7
7
|
* * `director` - Руководитель
|
|
8
8
|
*/
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
facilities: UserFacility[];
|
|
9
|
+
export interface _UserChanges {
|
|
10
|
+
facilities: _UserFacility[];
|
|
12
11
|
/**
|
|
13
12
|
* Дата/время создания
|
|
14
13
|
* @format date-time
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
* * `security` - Служба безопасности
|
|
7
7
|
* * `director` - Руководитель
|
|
8
8
|
*/
|
|
9
|
-
import type {
|
|
10
|
-
export interface
|
|
9
|
+
import type { _UserFacility } from './_UserFacility';
|
|
10
|
+
export interface _UserManager {
|
|
11
11
|
/**
|
|
12
12
|
* Почта
|
|
13
13
|
* @format email
|
|
@@ -40,5 +40,5 @@ export interface UserManager {
|
|
|
40
40
|
* @maxLength 255
|
|
41
41
|
*/
|
|
42
42
|
position?: string;
|
|
43
|
-
facilities:
|
|
43
|
+
facilities: _UserFacility[];
|
|
44
44
|
}
|
|
@@ -2,20 +2,20 @@ export { type BlankEnum } from '../../enums';
|
|
|
2
2
|
export { type Status8F7Enum } from '../../enums';
|
|
3
3
|
export { type Status9DdEnum } from '../../enums';
|
|
4
4
|
export { type TypesEnum } from '../../enums';
|
|
5
|
+
export type { _UserChanges } from './_UserChanges';
|
|
6
|
+
export type { _UserCompanyChanges } from './_UserCompanyChanges';
|
|
7
|
+
export type { _UserFacility } from './_UserFacility';
|
|
8
|
+
export type { _UserManager } from './_UserManager';
|
|
5
9
|
export type { User } from './User';
|
|
6
10
|
export type { UserActionDocumentAcceptRequest } from './UserActionDocumentAcceptRequest';
|
|
7
|
-
export type { UserChanges } from './UserChanges';
|
|
8
11
|
export type { UserCompany } from './UserCompany';
|
|
9
12
|
export type { UserCompanyChange } from './UserCompanyChange';
|
|
10
13
|
export type { UserCompanyChangeRequest } from './UserCompanyChangeRequest';
|
|
11
|
-
export type { UserCompanyChanges } from './UserCompanyChanges';
|
|
12
14
|
export type { UserCreate } from './UserCreate';
|
|
13
15
|
export type { UserCreateRequest } from './UserCreateRequest';
|
|
14
16
|
export type { UserDocumentAccept } from './UserDocumentAccept';
|
|
15
|
-
export type { UserFacility } from './UserFacility';
|
|
16
17
|
export type { UserFCMTokens } from './UserFCMTokens';
|
|
17
18
|
export type { UserFCMTokensRequest } from './UserFCMTokensRequest';
|
|
18
|
-
export type { UserManager } from './UserManager';
|
|
19
19
|
export type { UserStatus } from './UserStatus';
|
|
20
20
|
export type { UserUpdate } from './UserUpdate';
|
|
21
21
|
export type { UserUpdateRequest } from './UserUpdateRequest';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
export type { AdditionalProduct, AdditionalProductChange, AdditionalProductChangeRequest, } from './Additional';
|
|
2
|
-
export type {
|
|
3
|
-
export type {
|
|
4
|
-
export type {
|
|
5
|
-
export type {
|
|
2
|
+
export type { _Creator } from './Creator';
|
|
3
|
+
export type { _CurrentUserWinner } from './Current';
|
|
4
|
+
export type { _DocumentField, Document, DocumentRequest } from './Document';
|
|
5
|
+
export type { _External1cPriceLot, _External1cPriceLotRequest, _External1cShipmentLot, _External1cShipmentLotRequest, _External1cTradeLot, External1CPayment, External1CPaymentRequest, External1CPrice, External1CPriceRequest, External1CShipment, External1CShipmentRequest, External1CSync, External1CSyncRequest, External1CTrade, ExternalBiTrade, ExternalBiTradeAdditionalProduct, ExternalBiTradeBid, ExternalBiTradeLot, ExternalBiTradeView, ExternalBiUser, ExternalBiUserDevice, } from './External';
|
|
6
6
|
export type { Facility, FacilityChange, FacilityChangeRequest, } from './Facility';
|
|
7
|
-
export type {
|
|
7
|
+
export type { _FiltersObj, _FiltersStatus } from './Filters';
|
|
8
8
|
export type { FrontendLog, FrontendLogRequest } from './Frontend';
|
|
9
9
|
export type { InfoBlock, InfoBlockRequest } from './Info';
|
|
10
10
|
export type { News, NewsDetail, NewsImage, NewsImageChange, NewsImageChangeRequest, NewsRequest, } from './News';
|
|
11
11
|
export type { Onboarding, OnboardingChange, OnboardingChangeRequest, } from './Onboarding';
|
|
12
12
|
export type { PaginatedAdditionalProductList, PaginatedDocumentList, PaginatedExternal1CTradeList, PaginatedExternalBiTradeAdditionalProductList, PaginatedExternalBiTradeBidList, PaginatedExternalBiTradeList, PaginatedExternalBiTradeLotList, PaginatedExternalBiTradeViewList, PaginatedExternalBiUserDeviceList, PaginatedExternalBiUserList, PaginatedFacilityList, PaginatedInfoBlockList, PaginatedNewsImageList, PaginatedNewsList, PaginatedOnboardingList, PaginatedProductImageList, PaginatedProductList, PaginatedProductTypeList, PaginatedProductUnitList, PaginatedProfileCompanyList, PaginatedProfileNotificationsList, PaginatedProfileNotificationsSettingsList, PaginatedSettingsNotificationsList, PaginatedSettingsNotificationsUserTypeList, PaginatedStatisticDeviceList, PaginatedTradeLotBidList, PaginatedTradeLotCategoryList, PaginatedTradeLotImageList, PaginatedTradeLotList, PaginatedTradeLotParticipantList, PaginatedTradeLotRipeLevelList, PaginatedTradeLotSizeList, PaginatedTradeLotWinnerList, PaginatedUserCompanyList, PaginatedUserDocumentAcceptList, PaginatedUserFCMTokensList, PaginatedUserList, PaginatedUserStatusList, } from './Paginated';
|
|
13
|
-
export type {
|
|
13
|
+
export type { _ParticipantsBids, _ParticipantsBidsParticipant, } from './Participants';
|
|
14
14
|
export type { PasswordResetConfirmRequest, PasswordResetRequest, PasswordResetResendRequest, } from './Password';
|
|
15
15
|
export type { PatchedAdditionalProductChangeRequest, PatchedDocumentRequest, PatchedFacilityChangeRequest, PatchedInfoBlockRequest, PatchedNewsImageChangeRequest, PatchedNewsRequest, PatchedOnboardingChangeRequest, PatchedProductChangeRequest, PatchedProductImageChangeRequest, PatchedProductTypeRequest, PatchedProductUnitRequest, PatchedProfileChangeRequest, PatchedProfileCompanyRequest, PatchedProfileNotificationsRequest, PatchedProfileNotificationsSettingsRequest, PatchedSettingsNotificationsChangeRequest, PatchedSettingsNotificationsUserTypeRequest, PatchedSettingsRequest, PatchedTradeActionPublicRequest, PatchedTradeActionRequest, PatchedTradeLotCategoryRequest, PatchedTradeLotChangeRequest, PatchedTradeLotImageChangeRequest, PatchedTradeLotRipeLevelRequest, PatchedTradeLotSizeChangeRequest, PatchedTradeLotWinnerActionConfirmRequest, PatchedTradeLotWinnerRequest, PatchedTradeLotWinnerUpdateRequest, PatchedTradeUpdateRequest, PatchedUserActionRequest, PatchedUserCompanyChangeRequest, PatchedUserCompanyRequest, PatchedUserFCMTokensRequest, PatchedUserUpdateRequest, } from './Patched';
|
|
16
16
|
export type { Product, ProductChangeRequest, ProductDetail, ProductImage, ProductImageChange, ProductImageChangeRequest, ProductType, ProductTypeRequest, ProductUnit, ProductUnitRequest, } from './Product';
|
|
17
|
-
export type { ProfileChangeRequest, ProfileCompany, ProfileCompanyRequest, ProfileNotifications, ProfileNotificationsSettings,
|
|
18
|
-
export type {
|
|
19
|
-
export type {
|
|
17
|
+
export type { _ProfileNotificationsSettingsDefaults, _ProfileNotificationsSettingsType, ProfileChangeRequest, ProfileCompany, ProfileCompanyRequest, ProfileNotifications, ProfileNotificationsSettings, ProfileNotificationsSettingsRequest, } from './Profile';
|
|
18
|
+
export type { _ReportFiltersCreator, ReportFilters, ReportParticipant, ReportParticipantFilters, ReportParticipantPagination, ReportSale, ReportSaleFilters, ReportSalePagination, ReportStatParticipant, ReportStatParticipantFilters, ReportStatParticipantPagination, ReportSummaries, ReportSummary, ReportSummaryPagination, } from './Report';
|
|
19
|
+
export type { _RipeLevel } from './Ripe';
|
|
20
20
|
export type { Settings, SettingsNotifications, SettingsNotificationsChange, SettingsNotificationsChangeRequest, SettingsNotificationsUserType, SettingsNotificationsUserTypeRequest, SettingsRequest, } from './Settings';
|
|
21
21
|
export type { SignInFromTelegramRequest, SignInRequest, SignInResponse, SignUp, SignUpConfirmRequest, SignUpRequest, SignUpResendRequest, } from './Sign';
|
|
22
22
|
export type { SimpleResponse } from './Simple';
|
|
23
|
-
export type {
|
|
23
|
+
export type { _Size } from './Size';
|
|
24
24
|
export type { StatisticDevice, StatisticDeviceRequest } from './Statistic';
|
|
25
|
-
export type {
|
|
26
|
-
export type {
|
|
27
|
-
export type {
|
|
28
|
-
export type {
|
|
29
|
-
export type {
|
|
30
|
-
export type { User, UserActionDocumentAcceptRequest,
|
|
25
|
+
export type { _StatusCreator } from './Status';
|
|
26
|
+
export type { _SummariesCost, _SummariesTrades, _SummariesVolume, } from './Summaries';
|
|
27
|
+
export type { _TradeAdditionalProduct, _TradeCreator, _TradeCreatorRequest, _TradeFacility, _TradeFiltersFacilities, _TradeFiltersProducts, _TradeFiltersProductTypes, _TradeLotCategory, _TradeProduct, _TradeStatus, _TradeUser, _TradeUserRequest, Trade, TradeCreateRequest, TradeDetail, TradeFilters, TradeLot, TradeLotActionBidRequest, TradeLotActionBidResponse, TradeLotBid, TradeLotCategory, TradeLotCategoryRequest, TradeLotChangeRequest, TradeLotDetail, TradeLotImage, TradeLotImageChange, TradeLotImageChangeRequest, TradeLotParticipant, TradeLotRipeLevel, TradeLotRipeLevelRequest, TradeLotSize, TradeLotSizeChangeRequest, TradeLotWinner, TradeLotWinnerCreateBulkRequest, TradeLotWinnerCreateRequest, TradeLotWinnerUpdateRequest, TradePagination, TradeUpdateRequest, } from './Trade';
|
|
28
|
+
export type { _Type } from './Type';
|
|
29
|
+
export type { _Unit } from './Unit';
|
|
30
|
+
export type { _UserChanges, _UserCompanyChanges, _UserFacility, _UserManager, User, UserActionDocumentAcceptRequest, UserCompany, UserCompanyChange, UserCompanyChangeRequest, UserCreate, UserCreateRequest, UserDocumentAccept, UserFCMTokens, UserFCMTokensRequest, UserStatus, UserUpdate, UserUpdateRequest, } from './User';
|
|
31
31
|
export type { ViolationChange, ViolationChangeRequest } from './Violation';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itcase/types-am",
|
|
3
3
|
"description": "",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.32",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"private": false,
|
|
7
7
|
"repository": {
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"typecheck": "tsc --noEmit",
|
|
17
17
|
"prettier:src": "prettier --write ./src/",
|
|
18
18
|
"prettier:swagger": "prettier --write ./swagger/",
|
|
19
|
-
"generate-types": "make get-schema && npx swagger-typescript-api generate -p ./swagger/swagger-schema.json -o ./swagger/ --modular --no-client && node ../../utils/generateSeparated.js ./swagger/data-contracts.ts ./src && npm run prettier:src && npm run prettier:swagger && npm run lint:fix && npm run build"
|
|
19
|
+
"generate-types": "rm -rf ./src/ ./dist && make get-schema && npx swagger-typescript-api generate -p ./swagger/swagger-schema.json -o ./swagger/ --modular --no-client --custom-config ../../utils/swagger-api.config.js && node ../../utils/generateSeparated.js ./swagger/data-contracts.ts ./src && npm run prettier:src && npm run prettier:swagger && npm run lint:fix && npm run build"
|
|
20
20
|
},
|
|
21
21
|
"exports": {
|
|
22
22
|
".": {
|
|
@@ -34,5 +34,5 @@
|
|
|
34
34
|
"access": "public",
|
|
35
35
|
"registry": "https://registry.npmjs.org/"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "1c9173e4d03eca57734c8c932bbb0b2e8b35a304"
|
|
38
38
|
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* * `admin` - Администратор
|
|
3
|
-
* * `manager` - Менеджер
|
|
4
|
-
* * `moderator` - Модератор
|
|
5
|
-
* * `participant` - Участник
|
|
6
|
-
* * `security` - Служба безопасности
|
|
7
|
-
* * `director` - Руководитель
|
|
8
|
-
*/
|
|
9
|
-
import type { ParticipantsBidsParticipant } from './ParticipantsBidsParticipant';
|
|
10
|
-
export interface ParticipantsBids {
|
|
11
|
-
bid: string;
|
|
12
|
-
participant: ParticipantsBidsParticipant;
|
|
13
|
-
}
|