@cbm-common/cbm-types 0.0.15 → 0.0.16
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/lib/components/accounting-seat/accounting-seat.d.ts +4 -4
- package/lib/components/add-client/add-client.d.ts +2 -2
- package/lib/components/add-client/animations.d.ts +1 -1
- package/lib/components/add-client/constants.d.ts +9 -9
- package/lib/components/add-client/types.d.ts +7 -7
- package/lib/components/advanced-item-search-modal/advanced-item-search-modal.d.ts +4 -4
- package/lib/components/advanced-item-search-modal/alternative-item-list/alternative-item-list.d.ts +4 -4
- package/lib/components/advanced-item-search-modal/item-list/item-list.d.ts +9 -9
- package/lib/components/attachments/attachments.d.ts +3 -3
- package/lib/components/attachments/components/grid-view/grid-view.d.ts +6 -6
- package/lib/components/attachments/components/list-view/list-view.d.ts +6 -6
- package/lib/components/documents-reference/components/add/add.d.ts +6 -6
- package/lib/components/documents-reference/components/delete/delete.d.ts +6 -6
- package/lib/components/documents-reference/components/reference-document-by-tab/reference-document-by-tab.d.ts +6 -6
- package/lib/components/documents-reference/components/reference-document-to-tab/reference-document-to-tab.d.ts +6 -6
- package/lib/components/documents-reference/documents-reference.d.ts +1 -1
- package/lib/components/json-modal/json-modal.d.ts +1 -1
- package/lib/components/record-detail-metadata/components/options/options.d.ts +1 -1
- package/lib/components/user-history/components/email-history/email-history.component.d.ts +5 -5
- package/lib/components/user-history/components/general-history/general-history.component.d.ts +5 -5
- package/lib/components/user-history/components/print-history/print-history.component.d.ts +5 -5
- package/lib/components/user-history/components/sri-history/sri-history.component.d.ts +5 -5
- package/lib/components/user-history/user-history.d.ts +1 -1
- package/lib/domain/models/provider.domain.model.d.ts +255 -0
- package/lib/domain/repositories/alternative-item.domain.repository.d.ts +2 -2
- package/lib/domain/repositories/bank-movements.domain.repository.d.ts +3 -3
- package/lib/domain/repositories/bank.domain.repository.d.ts +3 -3
- package/lib/domain/repositories/card-settlement.domain.repository.d.ts +3 -3
- package/lib/domain/repositories/cash-liquidation.domain.repository.d.ts +3 -3
- package/lib/domain/repositories/client-branch.domain.repository.d.ts +2 -2
- package/lib/domain/repositories/client-category.domain.repository.d.ts +2 -2
- package/lib/domain/repositories/client-group.domain.repository.d.ts +2 -2
- package/lib/domain/repositories/client.domain.repository.d.ts +2 -2
- package/lib/domain/repositories/company.domain.repository.d.ts +2 -2
- package/lib/domain/repositories/contact.domain.repository.d.ts +2 -2
- package/lib/domain/repositories/cost-center.domain.repository.d.ts +3 -3
- package/lib/domain/repositories/deadline.domain.repository.d.ts +2 -2
- package/lib/domain/repositories/document-reference.domain.repository.d.ts +2 -2
- package/lib/domain/repositories/document-type.domain.repository.d.ts +2 -2
- package/lib/domain/repositories/driver.domain.repository.d.ts +2 -2
- package/lib/domain/repositories/email-settings.domain.repository.d.ts +2 -2
- package/lib/domain/repositories/financial-bank.domain.repository.d.ts +3 -3
- package/lib/domain/repositories/group.domain.repository.d.ts +2 -2
- package/lib/domain/repositories/history.domain.repository.d.ts +1 -1
- package/lib/domain/repositories/item.domain.repository.d.ts +2 -2
- package/lib/domain/repositories/kit.domain.repository.d.ts +2 -2
- package/lib/domain/repositories/outgoing-banking-transaction.domain.repository.d.ts +3 -3
- package/lib/domain/repositories/price-list.domain.repository.d.ts +2 -2
- package/lib/domain/repositories/provider.domain.repository.d.ts +19 -0
- package/lib/domain/repositories/report-financials.domain.repository.d.ts +2 -2
- package/lib/domain/repositories/seat.domain.repository.d.ts +2 -2
- package/lib/domain/repositories/seller.domain.repository.d.ts +2 -2
- package/lib/domain/repositories/service-outsourcing.domain.repository.d.ts +2 -2
- package/lib/domain/repositories/service.domain.repository.d.ts +2 -2
- package/lib/domain/repositories/sri-history.domain.repository.d.ts +3 -3
- package/lib/domain/repositories/upload.domain.repository.d.ts +2 -2
- package/lib/domain/repositories/warehouse.domain.repository.d.ts +2 -2
- package/lib/domain/services/web-socket/web-socket.service.d.ts +1 -1
- package/lib/infrastructure/repositories/alternative-item.infrastructure.repository.d.ts +1 -1
- package/lib/infrastructure/repositories/bank-movements.infrastructure.repository.d.ts +1 -1
- package/lib/infrastructure/repositories/bank.infrastructure.repository.d.ts +1 -1
- package/lib/infrastructure/repositories/card-settlement.infrastructure.repository.d.ts +1 -1
- package/lib/infrastructure/repositories/cash-liquidation.infrastructure.repository.d.ts +1 -1
- package/lib/infrastructure/repositories/client-branch.infrastructure.repository.d.ts +1 -1
- package/lib/infrastructure/repositories/client-category.infrastructure.repository.d.ts +1 -1
- package/lib/infrastructure/repositories/client-group.infrastructure.repository.d.ts +1 -1
- package/lib/infrastructure/repositories/client.infrastructure.repository.d.ts +1 -1
- package/lib/infrastructure/repositories/company.infrastructure.repository.d.ts +1 -1
- package/lib/infrastructure/repositories/contac.infrastrucutre.repository.d.ts +1 -1
- package/lib/infrastructure/repositories/cost-center.infrastructure.repository.d.ts +1 -1
- package/lib/infrastructure/repositories/deadline.infrastructure.repository.d.ts +1 -1
- package/lib/infrastructure/repositories/document-reference.infrastructure.repository.d.ts +1 -1
- package/lib/infrastructure/repositories/document-type.infrastructure.repository.d.ts +1 -1
- package/lib/infrastructure/repositories/driver.infrastructure.repository.d.ts +1 -1
- package/lib/infrastructure/repositories/email-settings.infrastructure.repository.d.ts +1 -1
- package/lib/infrastructure/repositories/financial-bank.infrastructure.repository.d.ts +1 -1
- package/lib/infrastructure/repositories/group.infrastructure.repository.d.ts +1 -1
- package/lib/infrastructure/repositories/history.infrastructure.repository.d.ts +1 -1
- package/lib/infrastructure/repositories/item.infrastructure.repository.d.ts +1 -1
- package/lib/infrastructure/repositories/kit.infrastructure.repository.d.ts +1 -1
- package/lib/infrastructure/repositories/outgoing-banking-transaction.infrastructure.repository.d.ts +1 -1
- package/lib/infrastructure/repositories/price-list.infrastructure.repository.d.ts +1 -1
- package/lib/infrastructure/repositories/provider.infrastructure.repository.d.ts +16 -0
- package/lib/infrastructure/repositories/report-financials.infrastructure.repository.d.ts +1 -1
- package/lib/infrastructure/repositories/seat.infrastructure.repository.d.ts +1 -1
- package/lib/infrastructure/repositories/seller.infrastructure.repository.d.ts +1 -1
- package/lib/infrastructure/repositories/service-outsourcing.infrastructure.repository.d.ts +1 -1
- package/lib/infrastructure/repositories/service.infrastructure.repository.d.ts +1 -1
- package/lib/infrastructure/repositories/sri-history.infrastructure.repository.d.ts +1 -1
- package/lib/infrastructure/repositories/upload.infrastructure.repository.d.ts +1 -1
- package/lib/infrastructure/repositories/user.infrastructure.repository.d.ts +1 -1
- package/lib/infrastructure/repositories/warehouse.infrastructure.repository.d.ts +1 -1
- package/lib/infrastructure/services/alternative-item.infrastructure.service.d.ts +2 -2
- package/lib/infrastructure/services/bank-movements.infrastructure.service.d.ts +2 -2
- package/lib/infrastructure/services/bank.infrasctructure.service.d.ts +2 -2
- package/lib/infrastructure/services/card-settlement.infrastructure.service.d.ts +2 -2
- package/lib/infrastructure/services/cash-liquidation.infrastructure.service.d.ts +2 -2
- package/lib/infrastructure/services/client-branch.infrastructure.service.d.ts +2 -2
- package/lib/infrastructure/services/client-category.infrastructure.service.d.ts +2 -2
- package/lib/infrastructure/services/client-group.infrastructure.service.d.ts +2 -2
- package/lib/infrastructure/services/client.infrastructure.service.d.ts +2 -2
- package/lib/infrastructure/services/company.infrastructure.service.d.ts +1 -1
- package/lib/infrastructure/services/contact.infrastructure.service.d.ts +2 -2
- package/lib/infrastructure/services/cost-center.infrastructure.service.d.ts +2 -2
- package/lib/infrastructure/services/deadline.infrastructure.service.d.ts +2 -2
- package/lib/infrastructure/services/document-reference.infrastructure.service.d.ts +2 -2
- package/lib/infrastructure/services/document-type.infrastructure.service.d.ts +2 -2
- package/lib/infrastructure/services/driver.infrastructure.service.d.ts +2 -2
- package/lib/infrastructure/services/email-settings.infrastruture.service.d.ts +1 -1
- package/lib/infrastructure/services/financial-bank.infrastructure.service.d.ts +2 -2
- package/lib/infrastructure/services/group.infrastructure.service.d.ts +2 -2
- package/lib/infrastructure/services/history.infrastructure.service.d.ts +1 -1
- package/lib/infrastructure/services/item.infrastructure.service.d.ts +2 -2
- package/lib/infrastructure/services/kit.infrastructure.service.d.ts +2 -2
- package/lib/infrastructure/services/outgoing-banking-transaction.infrastructure.service.d.ts +2 -2
- package/lib/infrastructure/services/price-list.infrastructure.service.d.ts +2 -2
- package/lib/infrastructure/services/provider.infrastructure.service.d.ts +20 -0
- package/lib/infrastructure/services/report-financials.infrastructure.service.d.ts +2 -2
- package/lib/infrastructure/services/seat.infrastructure.service.d.ts +2 -2
- package/lib/infrastructure/services/seller.infrastructure.service.d.ts +2 -2
- package/lib/infrastructure/services/service-outsourcing.infrastructure.service.d.ts +2 -2
- package/lib/infrastructure/services/service.infrastructure.service.d.ts +2 -2
- package/lib/infrastructure/services/sri-history.infrastructure.service.d.ts +1 -1
- package/lib/infrastructure/services/upload.infrastructure.service.d.ts +2 -2
- package/lib/infrastructure/services/warehouse.infrastructure.service.d.ts +2 -2
- package/lib/remotes/components.remote.d.ts +3 -3
- package/lib/remotes/repositories/company.repository.d.ts +1 -1
- package/lib/remotes/repositories/user.repository.d.ts +1 -1
- package/lib/remotes/services/auth.service.d.ts +1 -1
- package/lib/remotes/services/web-socket.service.d.ts +1 -1
- package/lib/remotes/services.remote.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { DestroyRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import {
|
|
3
|
-
import { CbmSeatModel } from '@models/seat.domain.model';
|
|
2
|
+
import { CbmSeatModel } from "../../domain/models/seat.domain.model";
|
|
4
3
|
import { TStatus } from './types';
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
4
|
+
import { CbmReportFinancialsDomainRepository } from "../../domain/repositories/report-financials.domain.repository";
|
|
5
|
+
import { CbmSeatDomainRepository } from "../../domain/repositories/seat.domain.repository";
|
|
6
|
+
import { CbmNotificationService } from "../../domain/services/notification/notification.service";
|
|
7
7
|
export declare class CbmAccountingSeatComponent implements OnInit, OnDestroy {
|
|
8
8
|
private reportFinancesRepository;
|
|
9
9
|
private seatRepository;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare class CbmAddClientComponent {
|
|
2
|
-
}
|
|
1
|
+
export declare class CbmAddClientComponent {
|
|
2
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const fadeInOutAnimation: import("@angular/animations").AnimationTriggerMetadata;
|
|
1
|
+
export declare const fadeInOutAnimation: import("@angular/animations").AnimationTriggerMetadata;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export declare const DOCUMENT_TYPES_CODES: {
|
|
2
|
-
readonly RUC: "04";
|
|
3
|
-
readonly CEDULA: "05";
|
|
4
|
-
readonly PASAPORTE: "06";
|
|
5
|
-
readonly VENTA_A_CONSUMIDOR_FINAL: "07";
|
|
6
|
-
readonly IDENTIFICACION_DEL_EXTERIOR: "08";
|
|
7
|
-
};
|
|
8
|
-
export declare const PAGE_SIZE = 20;
|
|
9
|
-
export declare const phoneRegex: RegExp;
|
|
1
|
+
export declare const DOCUMENT_TYPES_CODES: {
|
|
2
|
+
readonly RUC: "04";
|
|
3
|
+
readonly CEDULA: "05";
|
|
4
|
+
readonly PASAPORTE: "06";
|
|
5
|
+
readonly VENTA_A_CONSUMIDOR_FINAL: "07";
|
|
6
|
+
readonly IDENTIFICACION_DEL_EXTERIOR: "08";
|
|
7
|
+
};
|
|
8
|
+
export declare const PAGE_SIZE = 20;
|
|
9
|
+
export declare const phoneRegex: RegExp;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export type TStatus = 'init' | 'loading' | 'success' | 'failed';
|
|
2
|
-
export interface IPagination {
|
|
3
|
-
page: number;
|
|
4
|
-
size: number;
|
|
5
|
-
totalPages: number | null;
|
|
6
|
-
totalRecords: number;
|
|
7
|
-
}
|
|
1
|
+
export type TStatus = 'init' | 'loading' | 'success' | 'failed';
|
|
2
|
+
export interface IPagination {
|
|
3
|
+
page: number;
|
|
4
|
+
size: number;
|
|
5
|
+
totalPages: number | null;
|
|
6
|
+
totalRecords: number;
|
|
7
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { CbmAlternativeItemModel } from
|
|
2
|
-
import { CbmItemModel } from
|
|
3
|
-
import { CbmPriceListModel } from
|
|
4
|
-
import { CbmItemDomainRepository } from
|
|
1
|
+
import { CbmAlternativeItemModel } from "../../domain/models/alternative-item.domain.model";
|
|
2
|
+
import { CbmItemModel } from "../../domain/models/item.domain.model";
|
|
3
|
+
import { CbmPriceListModel } from "../../domain/models/price-list.domain.model";
|
|
4
|
+
import { CbmItemDomainRepository } from "../../domain/repositories/item.domain.repository";
|
|
5
5
|
export declare class CbmAdvancedItemSearchModal {
|
|
6
6
|
private itemRepository;
|
|
7
7
|
hidePricelistFilter: import("@angular/core").InputSignal<boolean | undefined>;
|
package/lib/components/advanced-item-search-modal/alternative-item-list/alternative-item-list.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { DestroyRef, OnInit } from '@angular/core';
|
|
2
|
-
import { CbmAlternativeItemModel } from
|
|
3
|
-
import { CbmItemModel } from
|
|
4
|
-
import { CbmNotificationService } from
|
|
2
|
+
import { CbmAlternativeItemModel } from "../../../domain/models/alternative-item.domain.model";
|
|
3
|
+
import { CbmItemModel } from "../../../domain/models/item.domain.model";
|
|
4
|
+
import { CbmNotificationService } from "../../../domain/services/notification/notification.service";
|
|
5
5
|
import { TStatus } from '../types';
|
|
6
|
-
import { CbmAlternativeItemDomainRepository } from
|
|
6
|
+
import { CbmAlternativeItemDomainRepository } from "../../../domain/repositories/alternative-item.domain.repository";
|
|
7
7
|
export declare class AlternativeItemListComponent implements OnInit {
|
|
8
8
|
private alternativeItemRepository;
|
|
9
9
|
private notificationService;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { DestroyRef, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { FormControl, FormGroup } from '@angular/forms';
|
|
3
|
-
import { CbmItemModel } from
|
|
4
|
-
import { CbmPriceListModel } from
|
|
5
|
-
import { CbmNotificationService } from
|
|
3
|
+
import { CbmItemModel } from "../../../domain/models/item.domain.model";
|
|
4
|
+
import { CbmPriceListModel } from "../../../domain/models/price-list.domain.model";
|
|
5
|
+
import { CbmNotificationService } from "../../../domain/services/notification/notification.service";
|
|
6
6
|
import { Subject } from 'rxjs';
|
|
7
|
-
import { CbmPriceListDomainRepository } from
|
|
8
|
-
import { CbmItemDomainRepository } from
|
|
9
|
-
import { CbmTreeSelect } from
|
|
10
|
-
import { CbmGroupModel } from
|
|
11
|
-
import { CbmGroupDomainRepository } from
|
|
7
|
+
import { CbmPriceListDomainRepository } from "../../../domain/repositories/price-list.domain.repository";
|
|
8
|
+
import { CbmItemDomainRepository } from "../../../domain/repositories/item.domain.repository";
|
|
9
|
+
import { CbmTreeSelect } from "../../tree-select/types";
|
|
10
|
+
import { CbmGroupModel } from "../../../domain/models/group.domain.model";
|
|
11
|
+
import { CbmGroupDomainRepository } from "../../../domain/repositories/group.domain.repository";
|
|
12
12
|
import { IPagination, TStatus } from '../types';
|
|
13
|
-
import { CbmModalConfirmComponent } from
|
|
13
|
+
import { CbmModalConfirmComponent } from "../../modal-confirm/modal-confirm";
|
|
14
14
|
interface IItemWithChecked extends CbmItemModel.ListResponse.Item {
|
|
15
15
|
checked: boolean;
|
|
16
16
|
}
|
|
@@ -2,10 +2,10 @@ import { AfterViewChecked, DestroyRef, ElementRef, OnInit } from '@angular/core'
|
|
|
2
2
|
import { FormControl, FormGroup } from '@angular/forms';
|
|
3
3
|
import { GridViewComponent } from './components/grid-view/grid-view';
|
|
4
4
|
import { ListViewComponent } from './components/list-view/list-view';
|
|
5
|
-
import { CbmNotificationService } from
|
|
5
|
+
import { CbmNotificationService } from "../../domain/services/notification/notification.service";
|
|
6
6
|
import { TStatus, IPagination } from './types';
|
|
7
|
-
import { CbmUploadDomainRepository } from
|
|
8
|
-
import { CbmUploadModel } from
|
|
7
|
+
import { CbmUploadDomainRepository } from "../../domain/repositories/upload.domain.repository";
|
|
8
|
+
import { CbmUploadModel } from "../../domain/models/upload.domain.model";
|
|
9
9
|
export declare class CbmAttachmentsComponent implements AfterViewChecked, OnInit {
|
|
10
10
|
private uploadRepository;
|
|
11
11
|
private notificationService;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { DestroyRef, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { CbmModalConfirmComponent } from
|
|
3
|
-
import { TStatus } from
|
|
4
|
-
import { IPagination } from
|
|
5
|
-
import { CbmUploadModel } from
|
|
6
|
-
import { CbmNotificationService } from
|
|
7
|
-
import { CbmUploadDomainRepository } from
|
|
2
|
+
import { CbmModalConfirmComponent } from "../../../modal-confirm/modal-confirm";
|
|
3
|
+
import { TStatus } from "../../../accounting-seat/types";
|
|
4
|
+
import { IPagination } from "../../../advanced-item-search-modal/types";
|
|
5
|
+
import { CbmUploadModel } from "../../../../domain/models/upload.domain.model";
|
|
6
|
+
import { CbmNotificationService } from "../../../../domain/services/notification/notification.service";
|
|
7
|
+
import { CbmUploadDomainRepository } from "../../../../domain/repositories/upload.domain.repository";
|
|
8
8
|
export declare class GridViewComponent {
|
|
9
9
|
private uploadRepository;
|
|
10
10
|
private notificationService;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { AfterViewChecked, DestroyRef, ElementRef, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { TStatus } from
|
|
3
|
-
import { IPagination } from
|
|
4
|
-
import { CbmModalConfirmComponent } from
|
|
5
|
-
import { CbmUploadModel } from
|
|
6
|
-
import { CbmUploadDomainRepository } from
|
|
7
|
-
import { CbmNotificationService } from
|
|
2
|
+
import { TStatus } from "../../../accounting-seat/types";
|
|
3
|
+
import { IPagination } from "../../../advanced-item-search-modal/types";
|
|
4
|
+
import { CbmModalConfirmComponent } from "../../../modal-confirm/modal-confirm";
|
|
5
|
+
import { CbmUploadModel } from "../../../../domain/models/upload.domain.model";
|
|
6
|
+
import { CbmUploadDomainRepository } from "../../../../domain/repositories/upload.domain.repository";
|
|
7
|
+
import { CbmNotificationService } from "../../../../domain/services/notification/notification.service";
|
|
8
8
|
export declare class ListViewComponent implements OnChanges, AfterViewChecked, OnInit {
|
|
9
9
|
private uploadRepository;
|
|
10
10
|
private notificationService;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { DestroyRef, OnInit } from '@angular/core';
|
|
2
2
|
import { FormArray, FormControl, FormGroup, ValidationErrors } from '@angular/forms';
|
|
3
|
-
import { TStatus } from
|
|
4
|
-
import { TOptionType, CbmDocumentsReferenceModel, IAddedDocument, IListData, TLabels, ICollectionOptions, Pagination } from
|
|
5
|
-
import { CbmModalConfirmComponent } from
|
|
6
|
-
import { CbmDocumentReferenceModel } from
|
|
7
|
-
import { CbmDocumentReferenceDomainRepository } from
|
|
8
|
-
import { CbmNotificationService } from
|
|
3
|
+
import { TStatus } from "../../../accounting-seat/types";
|
|
4
|
+
import { TOptionType, CbmDocumentsReferenceModel, IAddedDocument, IListData, TLabels, ICollectionOptions, Pagination } from "../../types";
|
|
5
|
+
import { CbmModalConfirmComponent } from "../../../modal-confirm/modal-confirm";
|
|
6
|
+
import { CbmDocumentReferenceModel } from "../../../../domain/models/document-reference.domain.model";
|
|
7
|
+
import { CbmDocumentReferenceDomainRepository } from "../../../../domain/repositories/document-reference.domain.repository";
|
|
8
|
+
import { CbmNotificationService } from "../../../../domain/services/notification/notification.service";
|
|
9
9
|
export declare class AddComponent implements OnInit {
|
|
10
10
|
private documentReferenceRepository;
|
|
11
11
|
private notificationService;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { DestroyRef, OnInit } from '@angular/core';
|
|
2
2
|
import { FormControl, ValidatorFn } from '@angular/forms';
|
|
3
|
-
import { TLabels } from
|
|
4
|
-
import { CbmModalConfirmComponent } from
|
|
5
|
-
import { CbmRecordDetailMetadataModel } from
|
|
6
|
-
import { CbmDocumentReferenceModel } from
|
|
7
|
-
import { CbmDocumentReferenceDomainRepository } from
|
|
8
|
-
import { CbmNotificationService } from
|
|
3
|
+
import { TLabels } from "../../types";
|
|
4
|
+
import { CbmModalConfirmComponent } from "../../../modal-confirm/modal-confirm";
|
|
5
|
+
import { CbmRecordDetailMetadataModel } from "../../../record-detail-metadata/types";
|
|
6
|
+
import { CbmDocumentReferenceModel } from "../../../../domain/models/document-reference.domain.model";
|
|
7
|
+
import { CbmDocumentReferenceDomainRepository } from "../../../../domain/repositories/document-reference.domain.repository";
|
|
8
|
+
import { CbmNotificationService } from "../../../../domain/services/notification/notification.service";
|
|
9
9
|
export declare class DeleteComponent implements OnInit {
|
|
10
10
|
private notificationService;
|
|
11
11
|
private documentReferenceRepository;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { DestroyRef, ElementRef, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { FormControl, FormGroup } from '@angular/forms';
|
|
3
|
-
import { TStatus } from
|
|
4
|
-
import { TLabels } from
|
|
5
|
-
import { CbmModalConfirmComponent } from
|
|
6
|
-
import { CbmDocumentReferenceModel } from
|
|
7
|
-
import { CbmNotificationService } from
|
|
8
|
-
import { CbmDocumentReferenceDomainRepository } from
|
|
3
|
+
import { TStatus } from "../../../accounting-seat/types";
|
|
4
|
+
import { TLabels } from "../../types";
|
|
5
|
+
import { CbmModalConfirmComponent } from "../../../modal-confirm/modal-confirm";
|
|
6
|
+
import { CbmDocumentReferenceModel } from "../../../../domain/models/document-reference.domain.model";
|
|
7
|
+
import { CbmNotificationService } from "../../../../domain/services/notification/notification.service";
|
|
8
|
+
import { CbmDocumentReferenceDomainRepository } from "../../../../domain/repositories/document-reference.domain.repository";
|
|
9
9
|
export declare class ReferenceDocumentByTabComponent {
|
|
10
10
|
private documentReferenceRepository;
|
|
11
11
|
private notificationService;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { AfterViewChecked, DestroyRef, ElementRef, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { FormControl, FormGroup } from '@angular/forms';
|
|
3
|
-
import { TStatus } from
|
|
4
|
-
import { TLabels, ICollectionOptions } from
|
|
5
|
-
import { CbmModalConfirmComponent } from
|
|
6
|
-
import { CbmDocumentReferenceModel } from
|
|
7
|
-
import { CbmNotificationService } from
|
|
8
|
-
import { CbmDocumentReferenceDomainRepository } from
|
|
3
|
+
import { TStatus } from "../../../accounting-seat/types";
|
|
4
|
+
import { TLabels, ICollectionOptions } from "../../types";
|
|
5
|
+
import { CbmModalConfirmComponent } from "../../../modal-confirm/modal-confirm";
|
|
6
|
+
import { CbmDocumentReferenceModel } from "../../../../domain/models/document-reference.domain.model";
|
|
7
|
+
import { CbmNotificationService } from "../../../../domain/services/notification/notification.service";
|
|
8
|
+
import { CbmDocumentReferenceDomainRepository } from "../../../../domain/repositories/document-reference.domain.repository";
|
|
9
9
|
export declare class ReferenceDocumentToTabComponent implements OnChanges, OnInit, AfterViewChecked {
|
|
10
10
|
private documentReferenceRepository;
|
|
11
11
|
private notificationService;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { NgSelectConfig } from '@ng-select/ng-select';
|
|
2
|
-
import { CbmModalConfirmComponent } from
|
|
2
|
+
import { CbmModalConfirmComponent } from "../modal-confirm/modal-confirm";
|
|
3
3
|
import { TLabels, TOptionType, CbmDocumentsReferenceModel } from './types';
|
|
4
4
|
export declare class CbmDocumentsReferenceComponent {
|
|
5
5
|
private config;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CbmNotificationService } from
|
|
1
|
+
import { CbmNotificationService } from "../../domain/services/notification/notification.service";
|
|
2
2
|
export declare class CbmJsonModalComponent {
|
|
3
3
|
private notificationService;
|
|
4
4
|
isOpen: import("@angular/core").InputSignal<boolean | undefined>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { WritableSignal } from '@angular/core';
|
|
2
2
|
import { Router, ActivatedRoute, Params } from '@angular/router';
|
|
3
|
-
import { CbmRecordDetailMetadataModel } from
|
|
3
|
+
import { CbmRecordDetailMetadataModel } from "../../types";
|
|
4
4
|
export declare class OptionsComponent {
|
|
5
5
|
private router;
|
|
6
6
|
private route;
|
|
@@ -3,11 +3,11 @@ import { FormGroup, FormControl } from '@angular/forms';
|
|
|
3
3
|
import { Subject } from 'rxjs';
|
|
4
4
|
import { CbmUserHistory } from '../../types';
|
|
5
5
|
import { EmailsModalComponent } from './emails-modal/emails-modal.component';
|
|
6
|
-
import { CbmHistoryModel } from
|
|
7
|
-
import { CbmUserModel } from
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { CbmUserDomainRepository } from '
|
|
6
|
+
import { CbmHistoryModel } from "../../../../domain/models/history.domain.model";
|
|
7
|
+
import { CbmUserModel } from "../../../../domain/models/user.domain.model";
|
|
8
|
+
import { CbmNotificationService } from "../../../../domain/services/notification/notification.service";
|
|
9
|
+
import { CbmHistoryDomainRepository } from '../../../../domain/repositories/history.domain.repository';
|
|
10
|
+
import { CbmUserDomainRepository } from '../../../../domain/repositories/user.domain.repository';
|
|
11
11
|
export declare class EmailHistoryComponent implements OnChanges, OnInit {
|
|
12
12
|
private historyRepository;
|
|
13
13
|
private notificationService;
|
package/lib/components/user-history/components/general-history/general-history.component.d.ts
CHANGED
|
@@ -2,11 +2,11 @@ import { DestroyRef, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
|
2
2
|
import { FormControl, FormGroup } from '@angular/forms';
|
|
3
3
|
import { Subject } from 'rxjs';
|
|
4
4
|
import { CbmUserHistory } from '../../types';
|
|
5
|
-
import { CbmHistoryModel } from
|
|
6
|
-
import { CbmUserModel } from
|
|
7
|
-
import { CbmNotificationService } from
|
|
8
|
-
import { CbmHistoryDomainRepository } from
|
|
9
|
-
import { CbmUserDomainRepository } from
|
|
5
|
+
import { CbmHistoryModel } from "../../../../domain/models/history.domain.model";
|
|
6
|
+
import { CbmUserModel } from "../../../../domain/models/user.domain.model";
|
|
7
|
+
import { CbmNotificationService } from "../../../../domain/services/notification/notification.service";
|
|
8
|
+
import { CbmHistoryDomainRepository } from "../../../../domain/repositories/history.domain.repository";
|
|
9
|
+
import { CbmUserDomainRepository } from "../../../../domain/repositories/user.domain.repository";
|
|
10
10
|
export declare class GeneralHistoryComponent implements OnChanges, OnInit {
|
|
11
11
|
private historyRepository;
|
|
12
12
|
private notificationService;
|
|
@@ -2,11 +2,11 @@ import { DestroyRef, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
|
2
2
|
import { FormControl, FormGroup } from '@angular/forms';
|
|
3
3
|
import { Subject } from 'rxjs';
|
|
4
4
|
import { CbmUserHistory } from '../../types';
|
|
5
|
-
import { CbmHistoryModel } from
|
|
6
|
-
import { CbmUserModel } from
|
|
7
|
-
import { CbmHistoryDomainRepository } from
|
|
8
|
-
import { CbmNotificationService } from
|
|
9
|
-
import { CbmUserDomainRepository } from
|
|
5
|
+
import { CbmHistoryModel } from "../../../../domain/models/history.domain.model";
|
|
6
|
+
import { CbmUserModel } from "../../../../domain/models/user.domain.model";
|
|
7
|
+
import { CbmHistoryDomainRepository } from "../../../../domain/repositories/history.domain.repository";
|
|
8
|
+
import { CbmNotificationService } from "../../../../domain/services/notification/notification.service";
|
|
9
|
+
import { CbmUserDomainRepository } from "../../../../domain/repositories/user.domain.repository";
|
|
10
10
|
export declare class PrintHistoryComponent implements OnChanges, OnInit {
|
|
11
11
|
private historyRepository;
|
|
12
12
|
private notificationService;
|
|
@@ -2,11 +2,11 @@ import { DestroyRef, ElementRef, OnChanges, OnInit, SimpleChanges } from '@angul
|
|
|
2
2
|
import { FormControl, FormGroup } from '@angular/forms';
|
|
3
3
|
import { Subject } from 'rxjs';
|
|
4
4
|
import { CbmUserHistory } from '../../types';
|
|
5
|
-
import { CbmSriHistoryModel } from
|
|
6
|
-
import { CbmUserModel } from
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { CbmUserDomainRepository } from '
|
|
5
|
+
import { CbmSriHistoryModel } from "../../../../domain/models/sri-history.domain.model";
|
|
6
|
+
import { CbmUserModel } from "../../../../domain/models/user.domain.model";
|
|
7
|
+
import { CbmNotificationService } from "../../../../domain/services/notification/notification.service";
|
|
8
|
+
import { CbmSriHistoryDomainRepository } from '../../../../domain/repositories/sri-history.domain.repository';
|
|
9
|
+
import { CbmUserDomainRepository } from '../../../../domain/repositories/user.domain.repository';
|
|
10
10
|
export declare class SriHistoryComponent implements OnChanges, OnInit {
|
|
11
11
|
private sriHistoryRepository;
|
|
12
12
|
private notificationService;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CbmUserHistory } from './types';
|
|
2
|
-
import { CbmHistoryModel } from
|
|
2
|
+
import { CbmHistoryModel } from "../../domain/models/history.domain.model";
|
|
3
3
|
import { GeneralHistoryComponent } from './components/general-history/general-history.component';
|
|
4
4
|
import { PrintHistoryComponent } from './components/print-history/print-history.component';
|
|
5
5
|
import { EmailHistoryComponent } from './components/email-history/email-history.component';
|
|
@@ -0,0 +1,255 @@
|
|
|
1
|
+
export declare namespace CbmProviderModel {
|
|
2
|
+
interface ListParams {
|
|
3
|
+
page: number;
|
|
4
|
+
size: number;
|
|
5
|
+
deleted?: boolean;
|
|
6
|
+
enabled?: boolean;
|
|
7
|
+
business_name?: string;
|
|
8
|
+
document_number?: string;
|
|
9
|
+
document_type_id?: string;
|
|
10
|
+
category_provider_id?: string;
|
|
11
|
+
filter?: string;
|
|
12
|
+
}
|
|
13
|
+
interface ListResponse {
|
|
14
|
+
success: boolean;
|
|
15
|
+
pageNum: number;
|
|
16
|
+
pageSize: number;
|
|
17
|
+
total: number;
|
|
18
|
+
pages: number;
|
|
19
|
+
items: ListResponse.Item[];
|
|
20
|
+
}
|
|
21
|
+
namespace ListResponse {
|
|
22
|
+
interface Item {
|
|
23
|
+
_id: string;
|
|
24
|
+
category?: string;
|
|
25
|
+
company_id?: string;
|
|
26
|
+
category_provider_id?: string;
|
|
27
|
+
document_type_id?: string;
|
|
28
|
+
category_name?: string;
|
|
29
|
+
document_type_code?: string;
|
|
30
|
+
document_type_name?: string;
|
|
31
|
+
document_number?: string;
|
|
32
|
+
business_name?: string;
|
|
33
|
+
trade_name?: string;
|
|
34
|
+
address?: string;
|
|
35
|
+
email?: string[];
|
|
36
|
+
phone_code?: string;
|
|
37
|
+
cellphone?: string;
|
|
38
|
+
economic_activity?: string;
|
|
39
|
+
enabled?: boolean;
|
|
40
|
+
deleted?: boolean;
|
|
41
|
+
created_user?: string;
|
|
42
|
+
deleted_at?: number;
|
|
43
|
+
deleted_user?: string;
|
|
44
|
+
created_at?: number;
|
|
45
|
+
document_type?: string;
|
|
46
|
+
updated_at?: number;
|
|
47
|
+
updated_user?: string;
|
|
48
|
+
account_number?: string;
|
|
49
|
+
account_type?: string;
|
|
50
|
+
bank_id?: string;
|
|
51
|
+
document_number_pay?: string;
|
|
52
|
+
document_type_pay_id?: string;
|
|
53
|
+
observation?: string;
|
|
54
|
+
payment_deadline?: number[];
|
|
55
|
+
phone?: string;
|
|
56
|
+
disabled_reason?: string;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
interface GetOneResponse {
|
|
60
|
+
success: boolean;
|
|
61
|
+
data: GetOneResponse.Data;
|
|
62
|
+
}
|
|
63
|
+
namespace GetOneResponse {
|
|
64
|
+
export interface Data {
|
|
65
|
+
_id: string;
|
|
66
|
+
company_id?: string;
|
|
67
|
+
category_provider_id?: string;
|
|
68
|
+
document_type_id?: string;
|
|
69
|
+
category_name?: string;
|
|
70
|
+
document_type_code?: string;
|
|
71
|
+
document_type_name?: string;
|
|
72
|
+
document_number?: string;
|
|
73
|
+
business_name?: string;
|
|
74
|
+
trade_name?: string;
|
|
75
|
+
address?: string;
|
|
76
|
+
email?: string[];
|
|
77
|
+
phone_code?: string;
|
|
78
|
+
cellphone?: string;
|
|
79
|
+
economic_activity?: string;
|
|
80
|
+
enabled?: boolean;
|
|
81
|
+
deleted?: boolean;
|
|
82
|
+
created_user?: string;
|
|
83
|
+
deleted_at?: number;
|
|
84
|
+
created_at?: number;
|
|
85
|
+
user_inactive_at?: number;
|
|
86
|
+
disabled_reason?: string;
|
|
87
|
+
user_inactive_name?: string;
|
|
88
|
+
payment_deadline: number[];
|
|
89
|
+
bank_id?: string;
|
|
90
|
+
observation?: string;
|
|
91
|
+
phone?: string;
|
|
92
|
+
birthdate?: number;
|
|
93
|
+
credit_limit?: string;
|
|
94
|
+
billing_date?: string;
|
|
95
|
+
contacts?: contacts[];
|
|
96
|
+
account_type?: string;
|
|
97
|
+
account_number?: string;
|
|
98
|
+
payday?: string;
|
|
99
|
+
document_number_pay?: string;
|
|
100
|
+
document_type_pay_code?: string;
|
|
101
|
+
document_type_pay_id?: string;
|
|
102
|
+
document_type_pay_name?: string;
|
|
103
|
+
deleted_user?: string;
|
|
104
|
+
bank_code?: string;
|
|
105
|
+
bank_name?: string;
|
|
106
|
+
updated_at?: number;
|
|
107
|
+
updated_user?: string;
|
|
108
|
+
document_name_pay?: string;
|
|
109
|
+
provider_category?: Data.ProviderCategory;
|
|
110
|
+
}
|
|
111
|
+
export namespace Data {
|
|
112
|
+
interface ProviderCategory {
|
|
113
|
+
_id: string;
|
|
114
|
+
company_id?: string;
|
|
115
|
+
group_id?: string;
|
|
116
|
+
name?: string;
|
|
117
|
+
enabled?: boolean;
|
|
118
|
+
deleted?: boolean;
|
|
119
|
+
created_user?: string;
|
|
120
|
+
created_at?: number;
|
|
121
|
+
advance_account_id?: string;
|
|
122
|
+
receivable_account_id?: string;
|
|
123
|
+
updated_at?: number;
|
|
124
|
+
updated_user?: string;
|
|
125
|
+
credit_note_in_favor_account_id?: string;
|
|
126
|
+
withholding_tax_account_id?: string;
|
|
127
|
+
receivable_account_name?: string;
|
|
128
|
+
receivable_account_code?: string;
|
|
129
|
+
advance_account_name?: string;
|
|
130
|
+
advance_account_code?: string;
|
|
131
|
+
credit_note_in_favor_account_name?: string;
|
|
132
|
+
credit_note_in_favor_account_code?: string;
|
|
133
|
+
withholding_tax_account_name?: string;
|
|
134
|
+
withholding_tax_account_code?: string;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
interface contacts {
|
|
138
|
+
_id: string;
|
|
139
|
+
provider_id: string;
|
|
140
|
+
identification_number: string;
|
|
141
|
+
full_name: string;
|
|
142
|
+
phone_code: string;
|
|
143
|
+
country_code: string;
|
|
144
|
+
country_name: string;
|
|
145
|
+
cellphone: string;
|
|
146
|
+
email: string;
|
|
147
|
+
created_at: number;
|
|
148
|
+
}
|
|
149
|
+
export {};
|
|
150
|
+
}
|
|
151
|
+
interface SaveBody {
|
|
152
|
+
category_provider_id: string;
|
|
153
|
+
document_type_id: string;
|
|
154
|
+
category_name: string;
|
|
155
|
+
document_type_code: string;
|
|
156
|
+
document_type_name: string;
|
|
157
|
+
document_number: string;
|
|
158
|
+
business_name: string;
|
|
159
|
+
trade_name: string;
|
|
160
|
+
address: string;
|
|
161
|
+
phone_code?: string;
|
|
162
|
+
cellphone?: string;
|
|
163
|
+
economic_activity: string;
|
|
164
|
+
email?: string[];
|
|
165
|
+
}
|
|
166
|
+
interface UpdateBody {
|
|
167
|
+
category_provider_id?: string;
|
|
168
|
+
document_type_id?: string;
|
|
169
|
+
category_name?: string;
|
|
170
|
+
document_type_code?: string;
|
|
171
|
+
document_type_name?: string;
|
|
172
|
+
document_number?: string;
|
|
173
|
+
business_name?: string;
|
|
174
|
+
trade_name?: string;
|
|
175
|
+
address?: string;
|
|
176
|
+
phone_code?: string;
|
|
177
|
+
cellphone?: string;
|
|
178
|
+
economic_activity?: string;
|
|
179
|
+
email?: string[];
|
|
180
|
+
}
|
|
181
|
+
interface UpdateManagementBody {
|
|
182
|
+
bank_id?: string;
|
|
183
|
+
observation?: string;
|
|
184
|
+
phone?: string;
|
|
185
|
+
credit_limit?: string;
|
|
186
|
+
billing_date?: string;
|
|
187
|
+
payment_deadline?: string;
|
|
188
|
+
account_type?: string;
|
|
189
|
+
account_number?: string;
|
|
190
|
+
payday?: string;
|
|
191
|
+
document_type_pay_id?: string;
|
|
192
|
+
document_number_pay?: string;
|
|
193
|
+
bank_code?: string;
|
|
194
|
+
bank_name?: string;
|
|
195
|
+
account_name?: string;
|
|
196
|
+
document_name_pay?: string;
|
|
197
|
+
bank_account_number?: string;
|
|
198
|
+
document_type_pay_code?: string;
|
|
199
|
+
document_type_pay_name?: string;
|
|
200
|
+
contacts?: UpdateManagementBody.Contact[];
|
|
201
|
+
delete_contacts?: string;
|
|
202
|
+
}
|
|
203
|
+
namespace UpdateManagementBody {
|
|
204
|
+
interface Contact {
|
|
205
|
+
identification_number?: string;
|
|
206
|
+
full_name?: string;
|
|
207
|
+
phone_code?: string;
|
|
208
|
+
cellphone?: string;
|
|
209
|
+
email?: string;
|
|
210
|
+
_id?: string;
|
|
211
|
+
work_position_id?: string;
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
interface ChangeStatusBody {
|
|
215
|
+
enabled: boolean;
|
|
216
|
+
disabled_reason?: string;
|
|
217
|
+
}
|
|
218
|
+
interface ConfirmResponse {
|
|
219
|
+
success: boolean;
|
|
220
|
+
message: string;
|
|
221
|
+
data?: any;
|
|
222
|
+
}
|
|
223
|
+
interface GetOneByDocumentNumberResponse {
|
|
224
|
+
success: boolean;
|
|
225
|
+
data: GetOneByDocumentNumberResponse.Data;
|
|
226
|
+
}
|
|
227
|
+
namespace GetOneByDocumentNumberResponse {
|
|
228
|
+
interface Data {
|
|
229
|
+
_id: string;
|
|
230
|
+
company_id?: string;
|
|
231
|
+
category_provider_id?: string;
|
|
232
|
+
document_type_id?: string;
|
|
233
|
+
category_name?: string;
|
|
234
|
+
document_type_code?: string;
|
|
235
|
+
document_type_name?: string;
|
|
236
|
+
document_number?: string;
|
|
237
|
+
business_name?: string;
|
|
238
|
+
trade_name?: string;
|
|
239
|
+
address?: string;
|
|
240
|
+
email?: string[];
|
|
241
|
+
phone_code?: string;
|
|
242
|
+
cellphone?: string;
|
|
243
|
+
economic_activity?: string;
|
|
244
|
+
enabled?: boolean;
|
|
245
|
+
created_user?: string;
|
|
246
|
+
deleted_at?: number;
|
|
247
|
+
created_at?: number;
|
|
248
|
+
billing_date?: number;
|
|
249
|
+
payday?: string;
|
|
250
|
+
payment_deadline?: number[];
|
|
251
|
+
updated_at?: number;
|
|
252
|
+
updated_user?: string;
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { CbmAlternativeItemModel } from '@models/alternative-item.domain.model';
|
|
2
|
-
import { ICbmAlternativeItemInfrastructureRepository } from '@repositories/alternative-item.infrastructure.repository';
|
|
3
1
|
import { Observable } from 'rxjs';
|
|
2
|
+
import { ICbmAlternativeItemInfrastructureRepository } from '../../infrastructure/repositories/alternative-item.infrastructure.repository';
|
|
3
|
+
import { CbmAlternativeItemModel } from '../models/alternative-item.domain.model';
|
|
4
4
|
export declare class CbmAlternativeItemDomainRepository implements ICbmAlternativeItemInfrastructureRepository {
|
|
5
5
|
private readonly service;
|
|
6
6
|
constructor(service: ICbmAlternativeItemInfrastructureRepository);
|