@cbm-common/cbm-types 0.0.1 → 0.0.2
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/package.json +1 -1
- package/src/lib/types/app/components/accounting-seat/accounting-seat.d.ts +32 -0
- package/src/lib/types/app/components/accounting-seat/directives/drop-down-menu.directive.d.ts +13 -0
- package/src/lib/types/app/components/accounting-seat/directives/drop-down.directive.d.ts +10 -0
- package/src/lib/types/app/components/accounting-seat/types.d.ts +1 -0
- package/src/lib/types/app/components/advanced-item-search-modal/advanced-item-search-modal.d.ts +25 -0
- package/src/lib/types/app/components/advanced-item-search-modal/alternative-item-list/alternative-item-list.d.ts +2 -0
- package/src/lib/types/app/components/advanced-item-search-modal/animations.d.ts +2 -0
- package/src/lib/types/app/components/advanced-item-search-modal/constants.d.ts +1 -0
- package/src/lib/types/app/components/advanced-item-search-modal/item-list/item-list.d.ts +2 -0
- package/src/lib/types/app/components/advanced-item-search-modal/types.d.ts +7 -0
- package/src/lib/types/app/components/modal-confirm/modal-confirm.d.ts +23 -0
- package/src/lib/types/app/components/modal-confirm/ng-content.d.ts +8 -0
- package/src/lib/types/app/components/modal-confirm/types.d.ts +6 -0
- package/src/lib/types/app/components/tree-select/tree-select.d.ts +60 -0
- package/src/lib/types/app/components/tree-select/types.d.ts +8 -0
- package/src/lib/types/app/components/user-history/components/email-history/email-history.component.d.ts +2 -2
- package/src/lib/types/app/components/user-history/components/general-history/general-history.component.d.ts +2 -2
- package/src/lib/types/app/components/user-history/components/print-history/print-history.component.d.ts +2 -2
- package/src/lib/types/app/components/user-history/components/sri-history/sri-history.component.d.ts +1 -1
- package/src/lib/types/app/components/user-history/user-history.d.ts +1 -1
- package/src/lib/types/app/domain/models/alternative-item.domain.model.d.ts +198 -0
- package/src/lib/types/app/domain/models/company.domain.model.d.ts +354 -0
- package/src/lib/types/app/domain/models/email-settings.domain.model.d.ts +86 -0
- package/src/lib/types/app/domain/models/group.domain.model.d.ts +78 -0
- package/src/lib/types/app/domain/models/history.domain.model.d.ts +66 -0
- package/src/lib/types/app/domain/models/item.domain.model.d.ts +935 -0
- package/src/lib/types/app/domain/models/price-list.domain.model.d.ts +54 -0
- package/src/lib/types/app/domain/models/report-financials.domain.model.d.ts +2165 -0
- package/src/lib/types/app/domain/models/seat.domain.model.d.ts +325 -0
- package/src/lib/types/app/domain/models/user.domain.model.d.ts +260 -0
- package/src/lib/types/app/domain/repositories/alternative-item.domain.repository.d.ts +18 -0
- package/src/lib/types/app/domain/repositories/company.domain.repository.d.ts +16 -0
- package/src/lib/types/app/domain/repositories/email-settings.domain.repository.d.ts +1 -1
- package/src/lib/types/app/domain/repositories/group.domain.repository.d.ts +10 -0
- package/src/lib/types/app/domain/repositories/history.domain.repository.d.ts +1 -1
- package/src/lib/types/app/domain/repositories/item.domain.repository.d.ts +21 -0
- package/src/lib/types/app/domain/repositories/price-list.domain.repository.d.ts +10 -0
- package/src/lib/types/app/domain/repositories/report-financials.domain.repository.d.ts +242 -0
- package/src/lib/types/app/domain/repositories/seat.domain.repository.d.ts +21 -0
- package/src/lib/types/app/domain/repositories/user.domain.repository.d.ts +1 -1
- package/src/lib/types/app/domain/services/auth/auth.model.d.ts +182 -0
- package/src/lib/types/app/domain/services/auth/auth.service.d.ts +18 -0
- package/src/lib/types/app/infrastructure/repositories/alternative-item.infrastructure.repository.d.ts +14 -0
- package/src/lib/types/app/infrastructure/repositories/company.infrastructure.repository.d.ts +13 -0
- package/src/lib/types/app/infrastructure/repositories/email-settings.infrastructure.repository.d.ts +1 -1
- package/src/lib/types/app/infrastructure/repositories/group.infrastructure.repository.d.ts +6 -0
- package/src/lib/types/app/infrastructure/repositories/history.infrastructure.repository.d.ts +1 -1
- package/src/lib/types/app/infrastructure/repositories/item.infrastructure.repository.d.ts +17 -0
- package/src/lib/types/app/infrastructure/repositories/price-list.infrastructure.repository.d.ts +6 -0
- package/src/lib/types/app/infrastructure/repositories/report-financials.infrastructure.repository.d.ts +146 -0
- package/src/lib/types/app/infrastructure/repositories/seat.infrastructure.repository.d.ts +17 -0
- package/src/lib/types/app/infrastructure/repositories/user.infrastructure.repository.d.ts +1 -1
- package/src/lib/types/app/infrastructure/services/alternative-item.infrastructure.service.d.ts +19 -0
- package/src/lib/types/app/infrastructure/services/company.infrastructure.service.d.ts +17 -0
- package/src/lib/types/app/infrastructure/services/email-settings.infrastruture.service.d.ts +1 -1
- package/src/lib/types/app/infrastructure/services/group.infrastructure.service.d.ts +11 -0
- package/src/lib/types/app/infrastructure/services/history.infrastructure.service.d.ts +1 -1
- package/src/lib/types/app/infrastructure/services/item.infrastructure.service.d.ts +21 -0
- package/src/lib/types/app/infrastructure/services/price-list.infrastructure.service.d.ts +11 -0
- package/src/lib/types/app/infrastructure/services/report-financials.infrastructure.service.d.ts +246 -0
- package/src/lib/types/app/infrastructure/services/seat.infrastructure.service.d.ts +21 -0
- package/src/lib/types/app/infrastructure/services/user.infrastructure.service.d.ts +1 -1
- package/src/lib/types/app/remotes/components.remote.d.ts +1 -0
- package/src/lib/types/app/remotes/repositories.romote.d.ts +0 -0
- package/src/lib/types/app/remotes/services.remote.d.ts +1 -0
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
export declare namespace CbmPriceListModel {
|
|
2
|
+
interface ListParams {
|
|
3
|
+
enabled?: boolean;
|
|
4
|
+
name?: string;
|
|
5
|
+
}
|
|
6
|
+
interface ListResponse {
|
|
7
|
+
success: boolean;
|
|
8
|
+
data: ListResponse.Data[];
|
|
9
|
+
}
|
|
10
|
+
namespace ListResponse {
|
|
11
|
+
interface Data {
|
|
12
|
+
_id: string;
|
|
13
|
+
company_id?: string;
|
|
14
|
+
base_prices_list_id?: string;
|
|
15
|
+
base_prices_list?: boolean;
|
|
16
|
+
name?: string;
|
|
17
|
+
factor_cost?: string;
|
|
18
|
+
factor_type?: string;
|
|
19
|
+
percentage?: number;
|
|
20
|
+
independent?: boolean;
|
|
21
|
+
action?: string;
|
|
22
|
+
factor?: number;
|
|
23
|
+
prices_branch?: boolean;
|
|
24
|
+
branch?: boolean;
|
|
25
|
+
default?: boolean;
|
|
26
|
+
enabled?: boolean;
|
|
27
|
+
deleted?: boolean;
|
|
28
|
+
created_at?: number;
|
|
29
|
+
created_user?: string;
|
|
30
|
+
updated_at?: number;
|
|
31
|
+
updated_user?: string;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
interface GetOne {
|
|
35
|
+
success: boolean;
|
|
36
|
+
data: GetOne.Data;
|
|
37
|
+
}
|
|
38
|
+
namespace GetOne {
|
|
39
|
+
interface Data {
|
|
40
|
+
_id: string;
|
|
41
|
+
company_id: string;
|
|
42
|
+
base_prices_list: boolean;
|
|
43
|
+
name: string;
|
|
44
|
+
factor: number;
|
|
45
|
+
prices_branch: boolean;
|
|
46
|
+
default: boolean;
|
|
47
|
+
enabled: boolean;
|
|
48
|
+
independent: boolean;
|
|
49
|
+
created_user: string;
|
|
50
|
+
created_at: number;
|
|
51
|
+
prices_list_name: string;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|