@cbm-common/cbm-types 0.0.1 → 0.0.3
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/index.d.ts +15 -24
- 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 +25 -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 +85 -0
- package/src/lib/types/app/components/advanced-item-search-modal/types.d.ts +7 -0
- package/src/lib/types/app/components/attachments/animations.d.ts +1 -0
- package/src/lib/types/app/components/attachments/attachments.d.ts +50 -0
- package/src/lib/types/app/components/attachments/components/button-item/button-item.d.ts +5 -0
- package/src/lib/types/app/components/attachments/components/buttons/buttons.d.ts +8 -0
- package/src/lib/types/app/components/attachments/components/grid-view/grid-view.d.ts +32 -0
- package/src/lib/types/app/components/attachments/components/icons/delete-icon/delete-icon.d.ts +2 -0
- package/src/lib/types/app/components/attachments/components/icons/download-icon/download-icon.d.ts +2 -0
- package/src/lib/types/app/components/attachments/components/list-view/list-view.d.ts +41 -0
- package/src/lib/types/app/components/attachments/types.d.ts +7 -0
- package/src/lib/types/app/components/documents-reference/animations.d.ts +1 -0
- package/src/lib/types/app/components/documents-reference/components/add/add.d.ts +112 -0
- package/src/lib/types/app/components/documents-reference/components/delete/delete.d.ts +28 -0
- package/src/lib/types/app/components/documents-reference/components/reference-document-by-tab/reference-document-by-tab.d.ts +39 -0
- package/src/lib/types/app/components/documents-reference/components/reference-document-to-tab/reference-document-to-tab.d.ts +42 -0
- package/src/lib/types/app/components/documents-reference/documents-reference.d.ts +21 -0
- package/src/lib/types/app/components/documents-reference/types.d.ts +56 -0
- package/src/lib/types/app/components/dropzone/dropzone.d.ts +17 -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/record-detail-metadata/components/options/options.d.ts +13 -0
- package/src/lib/types/app/components/record-detail-metadata/directives/drop-down-menu.directive.d.ts +13 -0
- package/src/lib/types/app/components/record-detail-metadata/directives/drop-down.directive.d.ts +9 -0
- package/src/lib/types/app/components/record-detail-metadata/record-detail-metadata.d.ts +21 -0
- package/src/lib/types/app/components/record-detail-metadata/types.d.ts +48 -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/directives/character-counter/character-counter.directive.d.ts +21 -0
- package/src/lib/types/app/directives/text-input/text-input.directive.d.ts +14 -0
- package/src/lib/types/app/directives/text-input/types.d.ts +1 -0
- 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/document-reference.domain.model.d.ts +204 -0
- package/src/lib/types/app/domain/models/group.domain.model.d.ts +78 -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/upload.domain.model.d.ts +117 -0
- package/src/lib/types/app/domain/repositories/alternative-item.domain.repository.d.ts +17 -0
- package/src/lib/types/app/domain/repositories/company.domain.repository.d.ts +16 -0
- package/src/lib/types/app/domain/repositories/document-reference.domain.repository.d.ts +15 -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 +9 -0
- package/src/lib/types/app/domain/repositories/history.domain.repository.d.ts +4 -5
- package/src/lib/types/app/domain/repositories/item.domain.repository.d.ts +20 -0
- package/src/lib/types/app/domain/repositories/price-list.domain.repository.d.ts +9 -0
- package/src/lib/types/app/domain/repositories/report-financials.domain.repository.d.ts +241 -0
- package/src/lib/types/app/domain/repositories/seat.domain.repository.d.ts +20 -0
- package/src/lib/types/app/domain/repositories/upload.domain.repository.d.ts +15 -0
- package/src/lib/types/app/domain/repositories/user.domain.repository.d.ts +5 -6
- 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/domain/services/web-socket/web-socket.model.d.ts +32 -0
- package/src/lib/types/app/domain/services/web-socket/web-socket.service.d.ts +0 -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/document-reference.infrastructure.repository.d.ts +12 -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 +238 -0
- package/src/lib/types/app/infrastructure/repositories/seat.infrastructure.repository.d.ts +17 -0
- package/src/lib/types/app/infrastructure/repositories/upload.infrastructure.repository.d.ts +12 -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/document-reference.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/upload.infrastructure.service.d.ts +16 -0
- package/src/lib/types/app/infrastructure/services/user.infrastructure.service.d.ts +1 -1
- package/src/lib/types/app/pipes/error-translate-pipe/error-translate-pipe.d.ts +8 -0
- package/src/lib/types/app/remotes/components.remote.d.ts +2 -0
- package/src/lib/types/app/remotes/repositories.remote.d.ts +5 -0
- package/src/lib/types/app/remotes/services.remote.d.ts +1 -0
- package/src/lib/types/app/components/tab-item/tab-item.component.d.ts +0 -7
- package/src/lib/types/app/components/tabs/tabs.component.d.ts +0 -7
- /package/src/lib/types/app/domain/models/{email-settings.domain.repository.d.ts → email-settings.domain.model.d.ts} +0 -0
- /package/src/lib/types/app/domain/models/{history.domain.repository.d.ts → history.domain.model.d.ts} +0 -0
- /package/src/lib/types/app/domain/models/{user.domain.repository.d.ts → user.domain.model.d.ts} +0 -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
|
+
}
|