@cbm-common/cbm-types 0.0.11 → 0.0.13
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 +10 -10
- package/public-api.d.ts +25 -1
- package/src/lib/app.config.d.ts +2 -0
- package/src/lib/app.d.ts +3 -0
- package/src/lib/app.routes.d.ts +2 -0
- package/src/lib/components/accounting-seat/accounting-seat.d.ts +32 -0
- package/src/lib/components/accounting-seat/directives/drop-down-menu.directive.d.ts +13 -0
- package/src/lib/components/accounting-seat/directives/drop-down.directive.d.ts +10 -0
- package/src/lib/components/accounting-seat/types.d.ts +1 -0
- package/src/lib/components/add-client/add-client.d.ts +2 -0
- package/src/lib/components/add-client/animations.d.ts +1 -0
- package/src/lib/components/add-client/constants.d.ts +9 -0
- package/src/lib/components/add-client/types.d.ts +7 -0
- package/src/lib/components/advanced-item-search-modal/advanced-item-search-modal.d.ts +25 -0
- package/src/lib/components/advanced-item-search-modal/alternative-item-list/alternative-item-list.d.ts +25 -0
- package/src/lib/components/advanced-item-search-modal/animations.d.ts +2 -0
- package/src/lib/components/advanced-item-search-modal/constants.d.ts +1 -0
- package/src/lib/components/advanced-item-search-modal/item-list/item-list.d.ts +85 -0
- package/src/lib/components/advanced-item-search-modal/types.d.ts +7 -0
- package/src/lib/components/attachments/animations.d.ts +1 -0
- package/src/lib/components/attachments/attachments.d.ts +50 -0
- package/src/lib/components/attachments/components/button-item/button-item.d.ts +5 -0
- package/src/lib/components/attachments/components/buttons/buttons.d.ts +8 -0
- package/src/lib/components/attachments/components/grid-view/grid-view.d.ts +32 -0
- package/src/lib/components/attachments/components/icons/delete-icon/delete-icon.d.ts +2 -0
- package/src/lib/components/attachments/components/icons/download-icon/download-icon.d.ts +2 -0
- package/src/lib/components/attachments/components/list-view/list-view.d.ts +41 -0
- package/src/lib/components/attachments/types.d.ts +7 -0
- package/src/lib/components/documents-reference/animations.d.ts +1 -0
- package/src/lib/components/documents-reference/components/add/add.d.ts +112 -0
- package/src/lib/components/documents-reference/components/delete/delete.d.ts +28 -0
- package/src/lib/components/documents-reference/components/reference-document-by-tab/reference-document-by-tab.d.ts +39 -0
- package/src/lib/components/documents-reference/components/reference-document-to-tab/reference-document-to-tab.d.ts +42 -0
- package/src/lib/components/documents-reference/documents-reference.d.ts +21 -0
- package/src/lib/components/documents-reference/types.d.ts +56 -0
- package/src/lib/components/dropzone/dropzone.d.ts +17 -0
- package/src/lib/components/empty/empty.d.ts +17 -0
- package/src/lib/components/json-modal/json-modal.d.ts +14 -0
- package/src/lib/components/modal-confirm/modal-confirm.d.ts +23 -0
- package/src/lib/components/modal-confirm/ng-content.d.ts +8 -0
- package/src/lib/components/modal-confirm/types.d.ts +6 -0
- package/src/lib/components/pagination-nav/pagination-nav.d.ts +27 -0
- package/src/lib/components/pagination-nav/pagination-nav.model.d.ts +8 -0
- package/src/lib/components/record-detail-metadata/components/options/options.d.ts +13 -0
- package/src/lib/components/record-detail-metadata/directives/drop-down-menu.directive.d.ts +13 -0
- package/src/lib/components/record-detail-metadata/directives/drop-down.directive.d.ts +9 -0
- package/src/lib/components/record-detail-metadata/record-detail-metadata.d.ts +21 -0
- package/src/lib/components/record-detail-metadata/types.d.ts +48 -0
- package/src/lib/components/tree-select/tree-select.d.ts +60 -0
- package/src/lib/components/tree-select/types.d.ts +8 -0
- package/src/lib/components/user-history/components/email-history/email-history.component.d.ts +66 -0
- package/src/lib/components/user-history/components/email-history/emails-modal/emails-modal.component.d.ts +13 -0
- package/src/lib/components/user-history/components/general-history/general-history.component.d.ts +58 -0
- package/src/lib/components/user-history/components/print-history/print-history.component.d.ts +58 -0
- package/src/lib/components/user-history/components/sri-history/sri-history.component.d.ts +63 -0
- package/src/lib/components/user-history/components/tab-item/tab-item.component.d.ts +7 -0
- package/src/lib/components/user-history/components/tabs/tabs.component.d.ts +7 -0
- package/src/lib/components/user-history/constants.d.ts +1 -0
- package/src/lib/components/user-history/directives/drop-down.directive.d.ts +9 -0
- package/src/lib/components/user-history/types.d.ts +14 -0
- package/src/lib/components/user-history/user-history.d.ts +30 -0
- package/src/lib/directives/character-counter/character-counter.directive.d.ts +21 -0
- package/src/lib/directives/horizontal-overflow/components/arrow-left/arrow-left.component.d.ts +5 -0
- package/src/lib/directives/horizontal-overflow/components/arrow-right/arrow-right.component.d.ts +5 -0
- package/src/lib/directives/horizontal-overflow/horizontal-overflow-arrows.directive.d.ts +23 -0
- package/src/lib/directives/horizontal-overflow/horizontal-overflow-shadow.directive.d.ts +8 -0
- package/src/lib/directives/number-input.directive.d.ts +23 -0
- package/src/lib/directives/resize-container/resize-container.directive.d.ts +20 -0
- package/src/lib/directives/resize-container/resize-container.model.d.ts +6 -0
- package/src/lib/directives/text-input/text-input.directive.d.ts +14 -0
- package/src/lib/directives/text-input/types.d.ts +1 -0
- package/src/lib/directives/tooltip/tooltip/tooltip.d.ts +9 -0
- package/src/lib/directives/tooltip/tooltip/types.d.ts +2 -0
- package/src/lib/directives/tooltip/tooltip.directive.d.ts +26 -0
- package/src/lib/domain/models/alternative-item.domain.model.d.ts +198 -0
- package/src/lib/domain/models/bank-movements.domain.model.d.ts +60 -0
- package/src/lib/domain/models/bank.domain.model.d.ts +92 -0
- package/src/lib/domain/models/card-settlement.domain.model.d.ts +260 -0
- package/src/lib/domain/models/cash-liquidation.domain.model.d.ts +319 -0
- package/src/lib/domain/models/client-branch.domain.model.d.ts +35 -0
- package/src/lib/domain/models/client-category.domain.model.d.ts +69 -0
- package/src/lib/domain/models/client-group.domain.model.d.ts +102 -0
- package/src/lib/domain/models/client.domain.model.d.ts +375 -0
- package/src/lib/domain/models/company.domain.model.d.ts +354 -0
- package/src/lib/domain/models/contact.domain.model.d.ts +28 -0
- package/src/lib/domain/models/cost-center.domain.model.d.ts +111 -0
- package/src/lib/domain/models/deadline.domian.model.d.ts +76 -0
- package/src/lib/domain/models/document-reference.domain.model.d.ts +204 -0
- package/src/lib/domain/models/document-type.model.d.ts +0 -0
- package/src/lib/domain/models/driver.domian.model.d.ts +94 -0
- package/src/lib/domain/models/email-settings.domain.model.d.ts +86 -0
- package/src/lib/domain/models/financial-bank.domain.model.d.ts +153 -0
- package/src/lib/domain/models/group.domain.model.d.ts +78 -0
- package/src/lib/domain/models/history.domain.model.d.ts +66 -0
- package/src/lib/domain/models/item.domain.model.d.ts +935 -0
- package/src/lib/domain/models/kit.domain.model.d.ts +508 -0
- package/src/lib/domain/models/outgoing-banking-transaction.domain.model.d.ts +125 -0
- package/src/lib/domain/models/price-list.domain.model.d.ts +54 -0
- package/src/lib/domain/models/report-financials.domain.model.d.ts +2165 -0
- package/src/lib/domain/models/seat.domain.model.d.ts +325 -0
- package/src/lib/domain/models/seller.domain.model.d.ts +135 -0
- package/src/lib/domain/models/service-outsourcing.domain.model.d.ts +273 -0
- package/src/lib/domain/models/service.domain.model.d.ts +314 -0
- package/src/lib/domain/models/sri-history.domain.model.d.ts +298 -0
- package/src/lib/domain/models/upload.domain.model.d.ts +117 -0
- package/src/lib/domain/models/user.domain.model.d.ts +260 -0
- package/src/lib/domain/models/warehouse.domain.model.d.ts +97 -0
- package/src/lib/domain/repositories/alternative-item.domain.repository.d.ts +17 -0
- package/src/lib/domain/repositories/bank-movements.domain.repository.d.ts +10 -0
- package/src/lib/domain/repositories/bank.domain.repository.d.ts +14 -0
- package/src/lib/domain/repositories/card-settlement.domain.repository.d.ts +12 -0
- package/src/lib/domain/repositories/cash-liquidation.domain.repository.d.ts +13 -0
- package/src/lib/domain/repositories/client-branch.domain.repository.d.ts +8 -0
- package/src/lib/domain/repositories/client-category.domain.repository.d.ts +14 -0
- package/src/lib/domain/repositories/client-group.domain.repository.d.ts +14 -0
- package/src/lib/domain/repositories/client.domain.repository.d.ts +18 -0
- package/src/lib/domain/repositories/company.domain.repository.d.ts +16 -0
- package/src/lib/domain/repositories/contact.domain.repository.d.ts +8 -0
- package/src/lib/domain/repositories/cost-center.domain.repository.d.ts +15 -0
- package/src/lib/domain/repositories/deadline.domain.repository.d.ts +12 -0
- package/src/lib/domain/repositories/document-reference.domain.repository.d.ts +15 -0
- package/src/lib/domain/repositories/document-type.domain.repository.d.ts +2 -0
- package/src/lib/domain/repositories/driver.domain.repository.d.ts +14 -0
- package/src/lib/domain/repositories/email-settings.domain.repository.d.ts +13 -0
- package/src/lib/domain/repositories/financial-bank.domain.repository.d.ts +15 -0
- package/src/lib/domain/repositories/group.domain.repository.d.ts +9 -0
- package/src/lib/domain/repositories/history.domain.repository.d.ts +10 -0
- package/src/lib/domain/repositories/item.domain.repository.d.ts +20 -0
- package/src/lib/domain/repositories/kit.domain.repository.d.ts +18 -0
- package/src/lib/domain/repositories/outgoing-banking-transaction.domain.repository.d.ts +12 -0
- package/src/lib/domain/repositories/price-list.domain.repository.d.ts +9 -0
- package/src/lib/domain/repositories/report-financials.domain.repository.d.ts +241 -0
- package/src/lib/domain/repositories/seat.domain.repository.d.ts +20 -0
- package/src/lib/domain/repositories/seller.domain.repository.d.ts +17 -0
- package/src/lib/domain/repositories/service-outsourcing.domain.repository.d.ts +20 -0
- package/src/lib/domain/repositories/service.domain.repository.d.ts +20 -0
- package/src/lib/domain/repositories/sri-history.domain.repository.d.ts +9 -0
- package/src/lib/domain/repositories/upload.domain.repository.d.ts +15 -0
- package/src/lib/domain/repositories/user.domain.repository.d.ts +21 -0
- package/src/lib/domain/repositories/warehouse.domain.repository.d.ts +14 -0
- package/src/lib/domain/services/auth/auth.model.d.ts +182 -0
- package/src/lib/domain/services/auth/auth.service.d.ts +18 -0
- package/src/lib/domain/services/notification/notification.model.d.ts +15 -0
- package/src/lib/domain/services/notification/notification.service.d.ts +4 -0
- package/src/lib/domain/services/web-socket/web-socket.model.d.ts +32 -0
- package/src/lib/domain/services/web-socket/web-socket.service.d.ts +18 -0
- package/src/lib/environments/environment.d.ts +29 -0
- package/src/lib/infrastructure/repositories/alternative-item.infrastructure.repository.d.ts +14 -0
- package/src/lib/infrastructure/repositories/bank-movements.infrastructure.repository.d.ts +6 -0
- package/src/lib/infrastructure/repositories/bank.infrastructure.repository.d.ts +10 -0
- package/src/lib/infrastructure/repositories/card-settlement.infrastructure.repository.d.ts +8 -0
- package/src/lib/infrastructure/repositories/cash-liquidation.infrastructure.repository.d.ts +9 -0
- package/src/lib/infrastructure/repositories/client-branch.infrastructure.repository.d.ts +5 -0
- package/src/lib/infrastructure/repositories/client-category.infrastructure.repository.d.ts +11 -0
- package/src/lib/infrastructure/repositories/client-group.infrastructure.repository.d.ts +11 -0
- package/src/lib/infrastructure/repositories/client.infrastructure.repository.d.ts +15 -0
- package/src/lib/infrastructure/repositories/company.infrastructure.repository.d.ts +13 -0
- package/src/lib/infrastructure/repositories/contac.infrastrucutre.repository.d.ts +5 -0
- package/src/lib/infrastructure/repositories/cost-center.infrastructure.repository.d.ts +11 -0
- package/src/lib/infrastructure/repositories/deadline.infrastructure.repository.d.ts +9 -0
- package/src/lib/infrastructure/repositories/document-reference.infrastructure.repository.d.ts +12 -0
- package/src/lib/infrastructure/repositories/document-type.infrastructure.repository.d.ts +0 -0
- package/src/lib/infrastructure/repositories/driver.infrastructure.repository.d.ts +11 -0
- package/src/lib/infrastructure/repositories/email-settings.infrastructure.repository.d.ts +10 -0
- package/src/lib/infrastructure/repositories/financial-bank.infrastructure.repository.d.ts +11 -0
- package/src/lib/infrastructure/repositories/group.infrastructure.repository.d.ts +6 -0
- package/src/lib/infrastructure/repositories/history.infrastructure.repository.d.ts +7 -0
- package/src/lib/infrastructure/repositories/item.infrastructure.repository.d.ts +17 -0
- package/src/lib/infrastructure/repositories/kit.infrastructure.repository.d.ts +15 -0
- package/src/lib/infrastructure/repositories/outgoing-banking-transaction.infrastructure.repository.d.ts +8 -0
- package/src/lib/infrastructure/repositories/price-list.infrastructure.repository.d.ts +6 -0
- package/src/lib/infrastructure/repositories/report-financials.infrastructure.repository.d.ts +238 -0
- package/src/lib/infrastructure/repositories/seat.infrastructure.repository.d.ts +17 -0
- package/src/lib/infrastructure/repositories/seller.infrastructure.repository.d.ts +14 -0
- package/src/lib/infrastructure/repositories/service-outsourcing.infrastructure.repository.d.ts +17 -0
- package/src/lib/infrastructure/repositories/service.infrastructure.repository.d.ts +17 -0
- package/src/lib/infrastructure/repositories/sri-history.infrastructure.repository.d.ts +5 -0
- package/src/lib/infrastructure/repositories/upload.infrastructure.repository.d.ts +12 -0
- package/src/lib/infrastructure/repositories/user.infrastructure.repository.d.ts +18 -0
- package/src/lib/infrastructure/repositories/warehouse.infrastructure.repository.d.ts +11 -0
- package/src/lib/infrastructure/services/alternative-item.infrastructure.service.d.ts +19 -0
- package/src/lib/infrastructure/services/bank-movements.infrastructure.service.d.ts +11 -0
- package/src/lib/infrastructure/services/bank.infrasctructure.service.d.ts +15 -0
- package/src/lib/infrastructure/services/card-settlement.infrastructure.service.d.ts +13 -0
- package/src/lib/infrastructure/services/cash-liquidation.infrastructure.service.d.ts +14 -0
- package/src/lib/infrastructure/services/client-branch.infrastructure.service.d.ts +10 -0
- package/src/lib/infrastructure/services/client-category.infrastructure.service.d.ts +16 -0
- package/src/lib/infrastructure/services/client-group.infrastructure.service.d.ts +16 -0
- package/src/lib/infrastructure/services/client.infrastructure.service.d.ts +20 -0
- package/src/lib/infrastructure/services/company.infrastructure.service.d.ts +17 -0
- package/src/lib/infrastructure/services/contact.infrastructure.service.d.ts +10 -0
- package/src/lib/infrastructure/services/cost-center.infrastructure.service.d.ts +16 -0
- package/src/lib/infrastructure/services/deadline.infrastructure.service.d.ts +14 -0
- package/src/lib/infrastructure/services/document-reference.infrastructure.service.d.ts +17 -0
- package/src/lib/infrastructure/services/document-type.infrastructure.service.d.ts +2 -0
- package/src/lib/infrastructure/services/driver.infrastructure.service.d.ts +16 -0
- package/src/lib/infrastructure/services/email-settings.infrastruture.service.d.ts +14 -0
- package/src/lib/infrastructure/services/financial-bank.infrastructure.service.d.ts +16 -0
- package/src/lib/infrastructure/services/group.infrastructure.service.d.ts +11 -0
- package/src/lib/infrastructure/services/history.infrastructure.service.d.ts +11 -0
- package/src/lib/infrastructure/services/item.infrastructure.service.d.ts +21 -0
- package/src/lib/infrastructure/services/kit.infrastructure.service.d.ts +19 -0
- package/src/lib/infrastructure/services/outgoing-banking-transaction.infrastructure.service.d.ts +13 -0
- package/src/lib/infrastructure/services/price-list.infrastructure.service.d.ts +11 -0
- package/src/lib/infrastructure/services/report-financials.infrastructure.service.d.ts +246 -0
- package/src/lib/infrastructure/services/seat.infrastructure.service.d.ts +21 -0
- package/src/lib/infrastructure/services/seller.infrastructure.service.d.ts +19 -0
- package/src/lib/infrastructure/services/service-outsourcing.infrastructure.service.d.ts +21 -0
- package/src/lib/infrastructure/services/service.infrastructure.service.d.ts +21 -0
- package/src/lib/infrastructure/services/sri-history.infrastructure.service.d.ts +9 -0
- package/src/lib/infrastructure/services/upload.infrastructure.service.d.ts +16 -0
- package/src/lib/infrastructure/services/user.infrastructure.service.d.ts +22 -0
- package/src/lib/infrastructure/services/warehouse.infrastructure.service.d.ts +16 -0
- package/src/lib/pipes/error-translate-pipe/error-translate-pipe.d.ts +8 -0
- package/src/lib/remotes/components.remote.d.ts +3 -0
- package/src/lib/remotes/repositories/company.repository.d.ts +3 -0
- package/src/lib/remotes/repositories/user.repository.d.ts +3 -0
- package/src/lib/remotes/repositories.remote.d.ts +2 -0
- package/src/lib/remotes/services/auth.service.d.ts +3 -0
- package/src/lib/remotes/services/web-socket.service.d.ts +4 -0
- package/src/lib/remotes/services.remote.d.ts +3 -0
- package/src/lib/remotes/types.remote.d.ts +0 -0
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { DestroyRef, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { FormControl, FormGroup } from '@angular/forms';
|
|
3
|
+
import { Subject } from 'rxjs';
|
|
4
|
+
import { CbmUserHistory } from '../../types';
|
|
5
|
+
import { CbmHistoryModel } from '@models/history.domain.model';
|
|
6
|
+
import { CbmUserModel } from '@models/user.domain.model';
|
|
7
|
+
import { CbmHistoryDomainRepository } from '@repositories/history.domain.repository';
|
|
8
|
+
import { CbmNotificationService } from '@services/notification/notification.service';
|
|
9
|
+
import { CbmUserDomainRepository } from '@repositories/user.domain.repository';
|
|
10
|
+
export declare class PrintHistoryComponent implements OnChanges, OnInit {
|
|
11
|
+
private historyRepository;
|
|
12
|
+
private notificationService;
|
|
13
|
+
private userRepository;
|
|
14
|
+
private destroyRef;
|
|
15
|
+
collection_id: import("@angular/core").InputSignal<string | undefined>;
|
|
16
|
+
event_module: import("@angular/core").InputSignal<string | undefined>;
|
|
17
|
+
collection_name: import("@angular/core").InputSignal<string | undefined>;
|
|
18
|
+
translation: import("@angular/core").InputSignal<CbmUserHistory.Translation[] | undefined>;
|
|
19
|
+
event: import("@angular/core").InputSignal<string | undefined>;
|
|
20
|
+
paginationSize: import("@angular/core").InputSignal<number>;
|
|
21
|
+
tab: import("@angular/core").OutputEmitterRef<string>;
|
|
22
|
+
pressJson: import("@angular/core").OutputEmitterRef<CbmHistoryModel.ListResponse.Item>;
|
|
23
|
+
close: import("@angular/core").OutputEmitterRef<void>;
|
|
24
|
+
statusOfFetchHistory: import("@angular/core").WritableSignal<CbmUserHistory.Status>;
|
|
25
|
+
statusOfFetchUsers: import("@angular/core").WritableSignal<CbmUserHistory.Status>;
|
|
26
|
+
json: import("@angular/core").WritableSignal<object>;
|
|
27
|
+
history: import("@angular/core").WritableSignal<CbmHistoryModel.ListResponse.Item[]>;
|
|
28
|
+
users: import("@angular/core").WritableSignal<CbmUserModel.ListResponse.Item[]>;
|
|
29
|
+
usersPagination: import("@angular/core").WritableSignal<CbmUserHistory.IPagination>;
|
|
30
|
+
isFilterVisible: import("@angular/core").WritableSignal<boolean>;
|
|
31
|
+
historyPagination: import("@angular/core").WritableSignal<CbmUserHistory.IPagination>;
|
|
32
|
+
subjectToSearchUser$: Subject<string>;
|
|
33
|
+
now: Date;
|
|
34
|
+
formToFilter: FormGroup<{
|
|
35
|
+
fromDate: FormControl<string | null>;
|
|
36
|
+
toDate: FormControl<string | null>;
|
|
37
|
+
user: FormControl<CbmUserModel.ListResponse.Item | null>;
|
|
38
|
+
}>;
|
|
39
|
+
constructor(historyRepository: CbmHistoryDomainRepository, notificationService: CbmNotificationService, userRepository: CbmUserDomainRepository, destroyRef: DestroyRef);
|
|
40
|
+
ngOnInit(): void;
|
|
41
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
42
|
+
get userControl(): FormControl<CbmUserModel.ListResponse.Item | null>;
|
|
43
|
+
compareWithId(a: {
|
|
44
|
+
_id: string;
|
|
45
|
+
}, b: {
|
|
46
|
+
_id: string;
|
|
47
|
+
}): boolean;
|
|
48
|
+
makeSubscriptions(): void;
|
|
49
|
+
makeInitialRequests(): void;
|
|
50
|
+
searchHistory(): void;
|
|
51
|
+
fetchHistory(): void;
|
|
52
|
+
fetchUsers(searchTerm?: string): void;
|
|
53
|
+
onGoToPage(page: number): void;
|
|
54
|
+
onNextPage(page: number): void;
|
|
55
|
+
onPreviousPage(page: number): void;
|
|
56
|
+
onPageSizeChange(size: number): void;
|
|
57
|
+
translate(response: CbmHistoryModel.ListResponse.Item[], translation: CbmUserHistory.Translation[]): CbmHistoryModel.ListResponse.Item[];
|
|
58
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { DestroyRef, ElementRef, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { FormControl, FormGroup } from '@angular/forms';
|
|
3
|
+
import { Subject } from 'rxjs';
|
|
4
|
+
import { CbmUserHistory } from '../../types';
|
|
5
|
+
import { CbmSriHistoryModel } from '@models/sri-history.domain.model';
|
|
6
|
+
import { CbmUserModel } from '@models/user.domain.model';
|
|
7
|
+
import { CbmSriHistoryDomainRepository } from '@repositories/sri-history.domain.repository';
|
|
8
|
+
import { CbmNotificationService } from '@services/notification/notification.service';
|
|
9
|
+
import { CbmUserDomainRepository } from '@repositories/user.domain.repository';
|
|
10
|
+
export declare class SriHistoryComponent implements OnChanges, OnInit {
|
|
11
|
+
private sriHistoryRepository;
|
|
12
|
+
private notificationService;
|
|
13
|
+
private userRepository;
|
|
14
|
+
private destroyRef;
|
|
15
|
+
dropdownMenus: import("@angular/core").Signal<readonly ElementRef<any>[]>;
|
|
16
|
+
collection_id: import("@angular/core").InputSignal<string | undefined>;
|
|
17
|
+
event_module: import("@angular/core").InputSignal<string | undefined>;
|
|
18
|
+
collection_name: import("@angular/core").InputSignal<string | undefined>;
|
|
19
|
+
translation: import("@angular/core").InputSignal<CbmUserHistory.Translation[] | undefined>;
|
|
20
|
+
event: import("@angular/core").InputSignal<string | undefined>;
|
|
21
|
+
paginationSize: import("@angular/core").InputSignal<number>;
|
|
22
|
+
pressJsonRequest: import("@angular/core").OutputEmitterRef<CbmSriHistoryModel.ListResponse.Item.Request>;
|
|
23
|
+
pressJsonResponseSri: import("@angular/core").OutputEmitterRef<CbmSriHistoryModel.ListResponse.Item.Response>;
|
|
24
|
+
close: import("@angular/core").OutputEmitterRef<void>;
|
|
25
|
+
statusOfFetchSriHistory: import("@angular/core").WritableSignal<CbmUserHistory.Status>;
|
|
26
|
+
statusOfFetchUsers: import("@angular/core").WritableSignal<CbmUserHistory.Status>;
|
|
27
|
+
json: import("@angular/core").WritableSignal<object>;
|
|
28
|
+
tittleJson: import("@angular/core").WritableSignal<string | null>;
|
|
29
|
+
sriHistory: import("@angular/core").WritableSignal<CbmSriHistoryModel.ListResponse.Item[]>;
|
|
30
|
+
users: import("@angular/core").WritableSignal<CbmUserModel.ListResponse.Item[]>;
|
|
31
|
+
usersPagination: import("@angular/core").WritableSignal<CbmUserHistory.IPagination>;
|
|
32
|
+
isFilterVisible: import("@angular/core").WritableSignal<boolean>;
|
|
33
|
+
sriHistoryPagination: import("@angular/core").WritableSignal<CbmUserHistory.IPagination>;
|
|
34
|
+
subjectToSearchUser$: Subject<string>;
|
|
35
|
+
now: Date;
|
|
36
|
+
descriptionTranslate: {
|
|
37
|
+
[key: string]: string;
|
|
38
|
+
};
|
|
39
|
+
formToFilter: FormGroup<{
|
|
40
|
+
fromDate: FormControl<string | null>;
|
|
41
|
+
toDate: FormControl<string | null>;
|
|
42
|
+
user: FormControl<CbmUserModel.ListResponse.Item | null>;
|
|
43
|
+
}>;
|
|
44
|
+
constructor(sriHistoryRepository: CbmSriHistoryDomainRepository, notificationService: CbmNotificationService, userRepository: CbmUserDomainRepository, destroyRef: DestroyRef);
|
|
45
|
+
ngOnInit(): void;
|
|
46
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
47
|
+
get userControl(): FormControl<CbmUserModel.ListResponse.Item | null>;
|
|
48
|
+
compareWithId(a: {
|
|
49
|
+
_id: string;
|
|
50
|
+
}, b: {
|
|
51
|
+
_id: string;
|
|
52
|
+
}): boolean;
|
|
53
|
+
makeSubscriptions(): void;
|
|
54
|
+
makeInitialRequests(): void;
|
|
55
|
+
searchSriHistory(): void;
|
|
56
|
+
fetchSriHistory(): void;
|
|
57
|
+
fetchUsers(searchTerm?: string): void;
|
|
58
|
+
onGoToPage(page: number): void;
|
|
59
|
+
onNextPage(page: number): void;
|
|
60
|
+
onPreviousPage(page: number): void;
|
|
61
|
+
onPageSizeChange(size: number): void;
|
|
62
|
+
onDropdownMenuClick(event: MouseEvent, dropdownMenu: HTMLUListElement): void;
|
|
63
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
|
+
export declare class TabItemComponent {
|
|
3
|
+
hasPrintReports: import("@angular/core").InputSignal<boolean>;
|
|
4
|
+
hasEmailReports: import("@angular/core").InputSignal<boolean>;
|
|
5
|
+
tabName: import("@angular/core").InputSignal<string>;
|
|
6
|
+
templateRef: import("@angular/core").InputSignal<TemplateRef<any>>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { AfterContentInit } from '@angular/core';
|
|
2
|
+
import { TabItemComponent } from '../tab-item/tab-item.component';
|
|
3
|
+
export declare class TabsComponent implements AfterContentInit {
|
|
4
|
+
tabs: import("@angular/core").Signal<readonly TabItemComponent[]>;
|
|
5
|
+
activeTab: import("@angular/core").WritableSignal<TabItemComponent | null>;
|
|
6
|
+
ngAfterContentInit(): void;
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const PAGE_SIZE = 5;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ElementRef, Renderer2 } from '@angular/core';
|
|
2
|
+
export declare class DropdownDirective {
|
|
3
|
+
private elementRef;
|
|
4
|
+
private renderer;
|
|
5
|
+
private isOpen;
|
|
6
|
+
constructor(elementRef: ElementRef, renderer: Renderer2);
|
|
7
|
+
toggleDropdown(event: MouseEvent): void;
|
|
8
|
+
closeDropdown(event: MouseEvent): void;
|
|
9
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare namespace CbmUserHistory {
|
|
2
|
+
interface Translation {
|
|
3
|
+
event: string;
|
|
4
|
+
translation: string;
|
|
5
|
+
enabled?: 'ACTIVE' | 'INACTIVE';
|
|
6
|
+
}
|
|
7
|
+
type Status = 'init' | 'loading' | 'success' | 'failed';
|
|
8
|
+
interface IPagination {
|
|
9
|
+
page: number;
|
|
10
|
+
size: number;
|
|
11
|
+
totalPages: number | null;
|
|
12
|
+
totalRecords: number;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { CbmUserHistory } from './types';
|
|
2
|
+
import { CbmHistoryModel } from '@models/history.domain.model';
|
|
3
|
+
import { GeneralHistoryComponent } from './components/general-history/general-history.component';
|
|
4
|
+
import { PrintHistoryComponent } from './components/print-history/print-history.component';
|
|
5
|
+
import { EmailHistoryComponent } from './components/email-history/email-history.component';
|
|
6
|
+
import { SriHistoryComponent } from './components/sri-history/sri-history.component';
|
|
7
|
+
export declare class CbmUserHistoryComponent {
|
|
8
|
+
generalHistoryTabRef: import("@angular/core").Signal<GeneralHistoryComponent | undefined>;
|
|
9
|
+
printHistoryTabRef: import("@angular/core").Signal<PrintHistoryComponent | undefined>;
|
|
10
|
+
emailHistoryTabRef: import("@angular/core").Signal<EmailHistoryComponent | undefined>;
|
|
11
|
+
sriHistoryTabRef: import("@angular/core").Signal<SriHistoryComponent | undefined>;
|
|
12
|
+
isSriHistory: import("@angular/core").InputSignal<boolean>;
|
|
13
|
+
collection_id: import("@angular/core").InputSignal<string | undefined>;
|
|
14
|
+
event_module: import("@angular/core").InputSignal<string | undefined>;
|
|
15
|
+
event_module_report: import("@angular/core").InputSignal<string | undefined>;
|
|
16
|
+
collection_name: import("@angular/core").InputSignal<string | undefined>;
|
|
17
|
+
collection_name_email: import("@angular/core").InputSignal<string | undefined>;
|
|
18
|
+
collection_name_report: import("@angular/core").InputSignal<string | undefined>;
|
|
19
|
+
translation: import("@angular/core").InputSignal<CbmUserHistory.Translation[] | undefined>;
|
|
20
|
+
event: import("@angular/core").InputSignal<string | undefined>;
|
|
21
|
+
paginationSize: import("@angular/core").InputSignal<number>;
|
|
22
|
+
hasPrintReport: import("@angular/core").InputSignal<boolean>;
|
|
23
|
+
hasEmailReport: import("@angular/core").InputSignal<boolean>;
|
|
24
|
+
pressJson: import("@angular/core").OutputEmitterRef<CbmHistoryModel.ListResponse.Item>;
|
|
25
|
+
close: import("@angular/core").OutputEmitterRef<void>;
|
|
26
|
+
tab: import("@angular/core").OutputEmitterRef<string>;
|
|
27
|
+
fetchHistory: () => void;
|
|
28
|
+
fetchPrintHistory: () => void;
|
|
29
|
+
fetchSriHistory: () => void;
|
|
30
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { AfterViewInit, DestroyRef, ElementRef, OnChanges, Renderer2, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { FormControl } from '@angular/forms';
|
|
3
|
+
export declare class CbmCharacterCounterDirective implements AfterViewInit, OnChanges {
|
|
4
|
+
private destroyRef;
|
|
5
|
+
private elementRef;
|
|
6
|
+
private renderer2;
|
|
7
|
+
constructor(destroyRef: DestroyRef, elementRef: ElementRef, renderer2: Renderer2);
|
|
8
|
+
control: import("@angular/core").InputSignal<FormControl<any> | undefined>;
|
|
9
|
+
maxChars: import("@angular/core").InputSignal<number>;
|
|
10
|
+
onlyCount: import("@angular/core").InputSignal<boolean>;
|
|
11
|
+
private initDirective;
|
|
12
|
+
private elementCreated;
|
|
13
|
+
private span;
|
|
14
|
+
private labelTag;
|
|
15
|
+
private inputSubscription;
|
|
16
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
17
|
+
ngAfterViewInit(): void;
|
|
18
|
+
private updateCount;
|
|
19
|
+
private createElements;
|
|
20
|
+
private findInput;
|
|
21
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { AfterViewInit, ComponentFactoryResolver, ComponentRef, ElementRef, ViewContainerRef } from '@angular/core';
|
|
2
|
+
import { ArrowLeftComponent } from './components/arrow-left/arrow-left.component';
|
|
3
|
+
import { ArrowRightComponent } from './components/arrow-right/arrow-right.component';
|
|
4
|
+
export declare class CbmHorizontalOverflowArrowsDirective implements AfterViewInit {
|
|
5
|
+
private elementRef;
|
|
6
|
+
private componentFactoryResolver;
|
|
7
|
+
private viewContainerRef;
|
|
8
|
+
arrowsSize: import("@angular/core").InputSignal<number>;
|
|
9
|
+
arrowsPadding: import("@angular/core").InputSignal<number | undefined>;
|
|
10
|
+
scrollStep: import("@angular/core").InputSignal<number>;
|
|
11
|
+
arrowLeftRef?: ComponentRef<ArrowLeftComponent>;
|
|
12
|
+
arrowRightRef?: ComponentRef<ArrowRightComponent>;
|
|
13
|
+
constructor(elementRef: ElementRef<HTMLElement>, componentFactoryResolver: ComponentFactoryResolver, viewContainerRef: ViewContainerRef);
|
|
14
|
+
ngAfterViewInit(): void;
|
|
15
|
+
private createArrowLeft;
|
|
16
|
+
private createArrowRight;
|
|
17
|
+
onScroll(event: Event): void;
|
|
18
|
+
private showArrowRight;
|
|
19
|
+
private showArrowLeft;
|
|
20
|
+
private hideArrowRight;
|
|
21
|
+
private hideArrowLeft;
|
|
22
|
+
onWindowResize(event: Event): void;
|
|
23
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { AfterViewChecked, ElementRef } from '@angular/core';
|
|
2
|
+
export declare class CbmHorizontalOverflowShadowDirective implements AfterViewChecked {
|
|
3
|
+
private elementRef;
|
|
4
|
+
constructor(elementRef: ElementRef);
|
|
5
|
+
ngAfterViewChecked(): void;
|
|
6
|
+
onScroll(event: Event): void;
|
|
7
|
+
onWindowResize(event: Event): void;
|
|
8
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ElementRef, OnInit } from '@angular/core';
|
|
2
|
+
import { NgControl } from '@angular/forms';
|
|
3
|
+
export declare class CbmNumberInputDirective implements OnInit {
|
|
4
|
+
private elementRef;
|
|
5
|
+
private ngControl;
|
|
6
|
+
maxDecimalPlaces?: number;
|
|
7
|
+
negative: boolean;
|
|
8
|
+
max?: number;
|
|
9
|
+
zeroOnBlur?: boolean;
|
|
10
|
+
numberOnBlur?: number;
|
|
11
|
+
allowPasteArray?: boolean;
|
|
12
|
+
onPasteArray: import("@angular/core").OutputEmitterRef<string[]>;
|
|
13
|
+
private regex;
|
|
14
|
+
constructor(elementRef: ElementRef, ngControl: NgControl);
|
|
15
|
+
ngOnInit(): void;
|
|
16
|
+
onKeyDown(event: KeyboardEvent): void;
|
|
17
|
+
onPaste(event: ClipboardEvent): void;
|
|
18
|
+
aClipboardItem(pastedInput: string, event: ClipboardEvent): void;
|
|
19
|
+
multipleClipboardItems(pastedInput: string[], event: ClipboardEvent): void;
|
|
20
|
+
onDrop(event: DragEvent): void;
|
|
21
|
+
onBlur(): void;
|
|
22
|
+
format(value: string): void;
|
|
23
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { AfterViewInit, ElementRef, OnDestroy, Renderer2 } from '@angular/core';
|
|
2
|
+
import { ResizeContainerModel } from './resize-container.model';
|
|
3
|
+
export declare class CbmResizeContainerDirective implements AfterViewInit, OnDestroy {
|
|
4
|
+
private elementRef;
|
|
5
|
+
private renderer2;
|
|
6
|
+
observerAttributes: import("@angular/core").InputSignal<boolean>;
|
|
7
|
+
resizeHeight: import("@angular/core").InputSignal<string | number>;
|
|
8
|
+
resizeEvent: import("@angular/core").InputSignal<string | undefined>;
|
|
9
|
+
'child-list': import("@angular/core").InputSignal<boolean | ResizeContainerModel.Boolean>;
|
|
10
|
+
'sub-tree': import("@angular/core").InputSignal<boolean | ResizeContainerModel.Boolean>;
|
|
11
|
+
'center-scroll': import("@angular/core").InputSignal<boolean>;
|
|
12
|
+
childList: import("@angular/core").Signal<boolean>;
|
|
13
|
+
subtree: import("@angular/core").Signal<boolean>;
|
|
14
|
+
constructor(elementRef: ElementRef<HTMLElement>, renderer2: Renderer2);
|
|
15
|
+
mutationObserver: MutationObserver;
|
|
16
|
+
ngAfterViewInit(): void;
|
|
17
|
+
ngOnDestroy(): void;
|
|
18
|
+
private updateContainer;
|
|
19
|
+
private controlScroll;
|
|
20
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { TCbmTextInputTransform } from './types';
|
|
3
|
+
export declare class CbmTextInputDirective {
|
|
4
|
+
private elementRef;
|
|
5
|
+
maxTextLength: import("@angular/core").InputSignal<number | undefined>;
|
|
6
|
+
maxWordLength: import("@angular/core").InputSignal<number | undefined>;
|
|
7
|
+
transform: import("@angular/core").InputSignal<TCbmTextInputTransform | undefined>;
|
|
8
|
+
pattern: import("@angular/core").InputSignal<string | RegExp | undefined>;
|
|
9
|
+
selfReference: boolean;
|
|
10
|
+
constructor(elementRef: ElementRef);
|
|
11
|
+
onKeyDown(event: KeyboardEvent): void;
|
|
12
|
+
onPaste(event: ClipboardEvent): void;
|
|
13
|
+
onInput(): void;
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type TCbmTextInputTransform = 'uppercase' | 'lowercase' | 'capitalize';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { TCbmTooltipPosition, TCbmTooltipTheme } from './types';
|
|
2
|
+
export declare class CbmTooltipComponent {
|
|
3
|
+
tooltip: import("@angular/core").WritableSignal<string>;
|
|
4
|
+
position: import("@angular/core").WritableSignal<TCbmTooltipPosition>;
|
|
5
|
+
theme: import("@angular/core").WritableSignal<TCbmTooltipTheme>;
|
|
6
|
+
left: import("@angular/core").WritableSignal<number>;
|
|
7
|
+
top: import("@angular/core").WritableSignal<number>;
|
|
8
|
+
visible: import("@angular/core").WritableSignal<boolean>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { OnChanges, ElementRef, ApplicationRef, ComponentFactoryResolver, Injector, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { TCbmTooltipPosition, TCbmTooltipTheme } from './tooltip/types';
|
|
3
|
+
export declare class CbmTooltipDirective implements OnChanges {
|
|
4
|
+
private elementRef;
|
|
5
|
+
private appRef;
|
|
6
|
+
private componentFactoryResolver;
|
|
7
|
+
private injector;
|
|
8
|
+
cbmTooltip: string;
|
|
9
|
+
tooltipPosition: TCbmTooltipPosition;
|
|
10
|
+
tooltipTheme: TCbmTooltipTheme;
|
|
11
|
+
tooltipShowDelay: number;
|
|
12
|
+
tooltipHideDelay: number;
|
|
13
|
+
appendTo?: Element | string;
|
|
14
|
+
private componentRef;
|
|
15
|
+
private showTimeout?;
|
|
16
|
+
private hideTimeout?;
|
|
17
|
+
private appendToElement;
|
|
18
|
+
constructor(elementRef: ElementRef, appRef: ApplicationRef, componentFactoryResolver: ComponentFactoryResolver, injector: Injector);
|
|
19
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
20
|
+
onMouseEnter(): void;
|
|
21
|
+
private showTooltip;
|
|
22
|
+
private setTooltipComponentProperties;
|
|
23
|
+
onMouseLeave(): void;
|
|
24
|
+
ngOnDestroy(): void;
|
|
25
|
+
destroy(): void;
|
|
26
|
+
}
|
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
export declare namespace CbmAlternativeItemModel {
|
|
2
|
+
interface ListParentsResponse {
|
|
3
|
+
success: boolean;
|
|
4
|
+
data: ListParentsResponse.Data[];
|
|
5
|
+
}
|
|
6
|
+
namespace ListParentsResponse {
|
|
7
|
+
interface Data {
|
|
8
|
+
_id: string;
|
|
9
|
+
company_id: string;
|
|
10
|
+
company_branch_id: string;
|
|
11
|
+
category_id: string;
|
|
12
|
+
unit_measure_id: string;
|
|
13
|
+
tax_iva_id: string;
|
|
14
|
+
tax_iva_code: string;
|
|
15
|
+
code: string;
|
|
16
|
+
barcode: string;
|
|
17
|
+
name: string;
|
|
18
|
+
comment?: string;
|
|
19
|
+
iva: number;
|
|
20
|
+
cost: number;
|
|
21
|
+
automatic_code: boolean;
|
|
22
|
+
not_apply_discount_group: boolean;
|
|
23
|
+
batch_control: boolean;
|
|
24
|
+
series_control: boolean;
|
|
25
|
+
tax_ice: boolean;
|
|
26
|
+
tax_irbpn: boolean;
|
|
27
|
+
enabled: boolean;
|
|
28
|
+
created_user: string;
|
|
29
|
+
created_at: number;
|
|
30
|
+
unit_measure: Data.UnitMeasure;
|
|
31
|
+
purchases_unit_measure_id?: string;
|
|
32
|
+
sales_unit_measure_id?: string;
|
|
33
|
+
}
|
|
34
|
+
namespace Data {
|
|
35
|
+
interface UnitMeasure {
|
|
36
|
+
_id: string;
|
|
37
|
+
company_id: string;
|
|
38
|
+
name: string;
|
|
39
|
+
code: string;
|
|
40
|
+
enabled: boolean;
|
|
41
|
+
created_at: number;
|
|
42
|
+
created_user: string;
|
|
43
|
+
disabled_reason: string;
|
|
44
|
+
updated_at: number;
|
|
45
|
+
updated_user: string;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
interface ListChildrenResponse {
|
|
50
|
+
success: boolean;
|
|
51
|
+
data: ListChildrenResponse.Data[];
|
|
52
|
+
}
|
|
53
|
+
namespace ListChildrenResponse {
|
|
54
|
+
interface Data {
|
|
55
|
+
_id: string;
|
|
56
|
+
item_id_parent: string;
|
|
57
|
+
item_id_child: string;
|
|
58
|
+
coincidence: number;
|
|
59
|
+
created_user: string;
|
|
60
|
+
created_at: number;
|
|
61
|
+
item: Data.Item;
|
|
62
|
+
loading: boolean;
|
|
63
|
+
}
|
|
64
|
+
namespace Data {
|
|
65
|
+
interface Item {
|
|
66
|
+
_id: string;
|
|
67
|
+
code: string;
|
|
68
|
+
barcode: string;
|
|
69
|
+
name: string;
|
|
70
|
+
observation: string;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
interface ListParentsPaginatedParams {
|
|
75
|
+
page: number;
|
|
76
|
+
size: number;
|
|
77
|
+
name?: string;
|
|
78
|
+
}
|
|
79
|
+
interface ListParentsPaginatedResponse {
|
|
80
|
+
success: boolean;
|
|
81
|
+
pageNum: number;
|
|
82
|
+
pageSize: number;
|
|
83
|
+
pages: number;
|
|
84
|
+
total: number;
|
|
85
|
+
items: ListParentsPaginatedResponse.Item[];
|
|
86
|
+
}
|
|
87
|
+
namespace ListParentsPaginatedResponse {
|
|
88
|
+
interface Item {
|
|
89
|
+
_id: string;
|
|
90
|
+
category_id: string;
|
|
91
|
+
unit_measure_id: string;
|
|
92
|
+
tax_iva_id: string;
|
|
93
|
+
tax_iva_code: string;
|
|
94
|
+
code: string;
|
|
95
|
+
barcode: string;
|
|
96
|
+
name: string;
|
|
97
|
+
observation: string;
|
|
98
|
+
iva: number;
|
|
99
|
+
cost: number;
|
|
100
|
+
automatic_code: boolean;
|
|
101
|
+
not_apply_discount_group: boolean;
|
|
102
|
+
tax_ice: boolean;
|
|
103
|
+
tax_ice_code: null;
|
|
104
|
+
tax_ice_name: null;
|
|
105
|
+
tax_irbpn: boolean;
|
|
106
|
+
purchases_unit_measure_id: string;
|
|
107
|
+
sales_unit_measure_id: string;
|
|
108
|
+
manage_by: string;
|
|
109
|
+
unit_measure_group_indicator: boolean;
|
|
110
|
+
created_user: string;
|
|
111
|
+
deleted_at: number;
|
|
112
|
+
created_at: number;
|
|
113
|
+
updated_at?: number;
|
|
114
|
+
updated_user?: string;
|
|
115
|
+
unit_measure: Item.UnitMeasure;
|
|
116
|
+
company_id: string;
|
|
117
|
+
company_branch_id: string;
|
|
118
|
+
item_id: string;
|
|
119
|
+
enabled: boolean;
|
|
120
|
+
total_items: number;
|
|
121
|
+
}
|
|
122
|
+
namespace Item {
|
|
123
|
+
interface UnitMeasure {
|
|
124
|
+
name: string;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
interface GetOneResponse {
|
|
129
|
+
success: boolean;
|
|
130
|
+
data: GetOneResponse.Data;
|
|
131
|
+
}
|
|
132
|
+
namespace GetOneResponse {
|
|
133
|
+
interface Data {
|
|
134
|
+
_id?: string;
|
|
135
|
+
item_id_parent?: string;
|
|
136
|
+
item_id_child?: string;
|
|
137
|
+
coincidence?: number;
|
|
138
|
+
created_user?: string;
|
|
139
|
+
created_at?: number;
|
|
140
|
+
name?: string;
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
interface SaveBody {
|
|
144
|
+
item_id: string;
|
|
145
|
+
alternative_items_detail?: SaveBody.Detail[];
|
|
146
|
+
}
|
|
147
|
+
namespace SaveBody {
|
|
148
|
+
interface Detail {
|
|
149
|
+
item_id_child?: string;
|
|
150
|
+
coincidence?: number;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
interface SaveBulkBody {
|
|
154
|
+
data: SaveBulkBody.Data[];
|
|
155
|
+
deleted_records?: string[];
|
|
156
|
+
}
|
|
157
|
+
namespace SaveBulkBody {
|
|
158
|
+
interface Data {
|
|
159
|
+
item_id_parent: string;
|
|
160
|
+
item_id_child: string;
|
|
161
|
+
coincidence: number;
|
|
162
|
+
_id?: string;
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
interface UpdateBody {
|
|
166
|
+
item_id?: string;
|
|
167
|
+
alternative_items_detail?: UpdateBody.Detail[];
|
|
168
|
+
deleted_records?: string[];
|
|
169
|
+
}
|
|
170
|
+
namespace UpdateBody {
|
|
171
|
+
interface Detail {
|
|
172
|
+
_id?: string;
|
|
173
|
+
item_id_child?: string;
|
|
174
|
+
coincidence?: number;
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
interface UpdateBulkBody {
|
|
178
|
+
data: UpdateBulkBody.Data[];
|
|
179
|
+
deleted_records?: string[];
|
|
180
|
+
}
|
|
181
|
+
namespace UpdateBulkBody {
|
|
182
|
+
interface Data {
|
|
183
|
+
item_id_parent?: string;
|
|
184
|
+
item_id_child?: string;
|
|
185
|
+
coincidence?: number;
|
|
186
|
+
_id?: string;
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
interface ChangeStatusBody {
|
|
190
|
+
enabled: boolean;
|
|
191
|
+
disabled_reason?: string;
|
|
192
|
+
}
|
|
193
|
+
interface ConfirmResponse {
|
|
194
|
+
success: boolean;
|
|
195
|
+
message: string;
|
|
196
|
+
data?: any;
|
|
197
|
+
}
|
|
198
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
export declare namespace CbmBankMovementsModel {
|
|
2
|
+
interface ListParams {
|
|
3
|
+
page: number;
|
|
4
|
+
size: number;
|
|
5
|
+
reverse_status?: boolean;
|
|
6
|
+
operation_number?: string;
|
|
7
|
+
payment_term_id?: string;
|
|
8
|
+
bank_id?: string;
|
|
9
|
+
date_end?: number;
|
|
10
|
+
date_begin?: number;
|
|
11
|
+
}
|
|
12
|
+
interface ListResponse {
|
|
13
|
+
success: boolean;
|
|
14
|
+
pageNum: number;
|
|
15
|
+
pageSize: number;
|
|
16
|
+
pages: number;
|
|
17
|
+
total: number;
|
|
18
|
+
items: ListResponse.Item[];
|
|
19
|
+
}
|
|
20
|
+
namespace ListResponse {
|
|
21
|
+
interface Item {
|
|
22
|
+
_id?: string;
|
|
23
|
+
company_id?: string;
|
|
24
|
+
company_branch_id?: string;
|
|
25
|
+
bank_id?: string;
|
|
26
|
+
bank_name?: string;
|
|
27
|
+
payment_term_id?: string;
|
|
28
|
+
payment_term_code?: string;
|
|
29
|
+
payment_term_name?: string;
|
|
30
|
+
collection_origin_id?: string;
|
|
31
|
+
collection_origin_name?: string;
|
|
32
|
+
operation_number?: string;
|
|
33
|
+
date?: number;
|
|
34
|
+
value?: number;
|
|
35
|
+
type?: string;
|
|
36
|
+
created_user?: string;
|
|
37
|
+
reverse_status?: boolean;
|
|
38
|
+
created_at?: number;
|
|
39
|
+
reverse_at?: number;
|
|
40
|
+
reverse_reason?: string;
|
|
41
|
+
reverse_user?: string;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
interface ValidationOperationParams {
|
|
45
|
+
operation_number: string;
|
|
46
|
+
bank_id: string;
|
|
47
|
+
}
|
|
48
|
+
interface ValidationOperationResponse {
|
|
49
|
+
success?: boolean;
|
|
50
|
+
data?: ValidationOperationResponse.Data;
|
|
51
|
+
message?: string;
|
|
52
|
+
}
|
|
53
|
+
namespace ValidationOperationResponse {
|
|
54
|
+
interface Data {
|
|
55
|
+
collection_origin_id: string;
|
|
56
|
+
collection_origin_name: string;
|
|
57
|
+
event_module: string;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|