@cbm-common/cbm-types 0.0.232 → 0.0.234
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/add-down-payment/add-down-payment.d.ts +3 -0
- package/lib/components/additional-data-modal/additional-data-modal.d.ts +4 -10
- package/lib/components/advanced-item-search-modal/item-list/item-list.d.ts +4 -0
- package/lib/components/electronic-receipt-monitor/electronic-receipt-monitor.d.ts +4 -1
- package/lib/components/excel-import-list/excel-import-list.d.ts +1 -0
- package/lib/components/item-details/item-details.d.ts +2 -0
- package/lib/components/pms-add-charge/pms-add-charge.d.ts +8 -2
- package/lib/components/subtotal-details/subtotal-details.d.ts +1 -0
- package/lib/domain/models/sales-account.domain.model.d.ts +2 -0
- package/lib/domain/models/sales-pending-document.domain.model.d.ts +92 -0
- package/lib/domain/models/source-income.model.d.ts +71 -0
- package/lib/domain/repositories/sales-pending-document.domain.repository.d.ts +8 -0
- package/lib/domain/repositories/source-income.domain.repository.d.ts +14 -0
- package/lib/infrastructure/repositories/sales-pending-document.infrastructure.repository.d.ts +5 -0
- package/lib/infrastructure/repositories/source-income.infraestructure.repository.d.ts +11 -0
- package/lib/infrastructure/services/sales-pending-document.infrastructure.service.d.ts +9 -0
- package/lib/infrastructure/services/source-of-income.infrastructure.service.d.ts +16 -0
- package/package.json +1 -1
- package/public-api.d.ts +4 -0
|
@@ -56,10 +56,13 @@ export declare class CbmAddDownPayment {
|
|
|
56
56
|
private readonly costCenterRepository;
|
|
57
57
|
private readonly paymentTermRepository;
|
|
58
58
|
constructor(financialBankRepository: CbmFinancialBankRepository, accountRepository: CbmAccountRepository, router: Router, route: ActivatedRoute, destroyRef: DestroyRef, bankMovementsRepository: CbmBankMovementsRepository, relationshipMovements: RelationshipMovementsConfig, bankConciliationRepository: BankConciliationDomainRepository, viewContainerRef: ViewContainerRef, notificationService: CbmNotificationService, authService: CbmAuthService, downPaymentRepository: DownPaymentDomainRepository, clientRepository: CbmClientDomainRepository, sellerRepository: CbmSellerDomainRepository, bankRepository: CbmBankRepository, clientBranchRepository: CbmClientBranchDomainRepository, costCenterRepository: CbmCostCenterRepository, paymentTermRepository: CbmPaymentTermRepository);
|
|
59
|
+
private loadClient;
|
|
59
60
|
'hidden-acttions-btns': import("@angular/core").InputSignal<boolean>;
|
|
60
61
|
'hiiden-title': import("@angular/core").InputSignal<boolean>;
|
|
62
|
+
'client-from-check-in': import("@angular/core").InputSignal<string | null>;
|
|
61
63
|
protected hiddenActtionsBtns: import("@angular/core").Signal<boolean>;
|
|
62
64
|
protected hiddenTitle: import("@angular/core").Signal<boolean>;
|
|
65
|
+
protected clientFromCheckIn: import("@angular/core").Signal<string | null>;
|
|
63
66
|
relationShipMovementsRef: import("@angular/core").Signal<CbmRelationshipMovementsComponent | undefined>;
|
|
64
67
|
modalConfirm: import("@angular/core").Signal<CbmModalConfirmComponent>;
|
|
65
68
|
relationshipMovementsTemplate: import("@angular/core").Signal<TemplateRef<any>>;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import { ElementRef
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
2
|
import { FormControl } from '@angular/forms';
|
|
3
3
|
import { IItemInformation } from './additional-data-modal.model';
|
|
4
|
-
export declare class CbmAdditionalDataModalComponent
|
|
5
|
-
private elementRef;
|
|
6
|
-
private renderer2;
|
|
4
|
+
export declare class CbmAdditionalDataModalComponent {
|
|
7
5
|
modalId: import("@angular/core").InputSignal<string>;
|
|
8
6
|
isOpen: import("@angular/core").InputSignal<boolean | undefined>;
|
|
9
7
|
replaceItemNameControl: import("@angular/core").InputSignal<FormControl<string | null>>;
|
|
@@ -21,15 +19,11 @@ export declare class CbmAdditionalDataModalComponent implements OnInit {
|
|
|
21
19
|
onBlurUnitDiscount: import("@angular/core").OutputEmitterRef<void>;
|
|
22
20
|
onBlurPriceWithIva: import("@angular/core").OutputEmitterRef<void>;
|
|
23
21
|
onBlurUnitPriceWithIva: import("@angular/core").OutputEmitterRef<void>;
|
|
24
|
-
modalRef: import("@angular/core").Signal<ElementRef<
|
|
22
|
+
modalRef: import("@angular/core").Signal<ElementRef<HTMLDivElement> | undefined>;
|
|
25
23
|
tab_name: import("@angular/core").WritableSignal<"additional-data" | "general-data">;
|
|
26
24
|
isVisible: import("@angular/core").WritableSignal<boolean>;
|
|
27
|
-
|
|
28
|
-
constructor(elementRef: ElementRef, renderer2: Renderer2);
|
|
29
|
-
ngOnInit(): void;
|
|
25
|
+
constructor();
|
|
30
26
|
openModal(): void;
|
|
31
27
|
closeModal(): void;
|
|
32
|
-
private extractRelevantStyles;
|
|
33
|
-
private injectStylesIntoDocument;
|
|
34
28
|
onKeydownHandler(): void;
|
|
35
29
|
}
|
|
@@ -66,6 +66,9 @@ export declare class ItemListComponent implements OnInit {
|
|
|
66
66
|
itemsPagination: import("@angular/core").WritableSignal<IPagination>;
|
|
67
67
|
statusOfFetchItems: import("@angular/core").WritableSignal<TStatus>;
|
|
68
68
|
isSmallScreen: import("@angular/core").WritableSignal<boolean>;
|
|
69
|
+
sortBy: import("@angular/core").WritableSignal<string | null>;
|
|
70
|
+
sortOrder: import("@angular/core").WritableSignal<"desc" | "asc">;
|
|
71
|
+
sortStockBy: import("@angular/core").WritableSignal<"warehouse" | "general" | "transit" | null>;
|
|
69
72
|
withStock: import("@angular/core").Signal<boolean>;
|
|
70
73
|
withProviderCode: import("@angular/core").Signal<boolean>;
|
|
71
74
|
excludeFilters: import("@angular/core").Signal<string[]>;
|
|
@@ -96,6 +99,7 @@ export declare class ItemListComponent implements OnInit {
|
|
|
96
99
|
ngOnInit(): void;
|
|
97
100
|
protected onColumnDrop(event: CdkDragDrop<any>): void;
|
|
98
101
|
protected resetTableConfig(): void;
|
|
102
|
+
protected onSortColumn(columnKey: string): void;
|
|
99
103
|
compareWithId(a: {
|
|
100
104
|
_id: string;
|
|
101
105
|
}, b: {
|
|
@@ -20,6 +20,7 @@ export declare class CbmElectronicReceiptMonitor implements OnInit {
|
|
|
20
20
|
private readonly clientRepository;
|
|
21
21
|
private readonly notificationService;
|
|
22
22
|
private readonly authService;
|
|
23
|
+
protected readonly Math: Math;
|
|
23
24
|
constructor(router: Router, destroyRef: DestroyRef, generalService: GeneralDomainService, electronicReceiptMonitorRepository: CbmElectronicReceiptMonitorDomainRepository, providerRepository: CbmProviderRepository, clientRepository: CbmClientDomainRepository, notificationService: CbmNotificationService, authService: CbmAuthReactiveService);
|
|
24
25
|
totalAmountClient: import("@angular/core").WritableSignal<CbmElectronicReceiptMonitorModel.TotalAmoun[]>;
|
|
25
26
|
totalAmountProvider: import("@angular/core").WritableSignal<CbmElectronicReceiptMonitorModel.TotalAmoun[]>;
|
|
@@ -73,7 +74,9 @@ export declare class CbmElectronicReceiptMonitor implements OnInit {
|
|
|
73
74
|
rejected: number;
|
|
74
75
|
inProcess: number;
|
|
75
76
|
};
|
|
76
|
-
|
|
77
|
+
isSignatureNotConfigured: import("@angular/core").Signal<boolean>;
|
|
78
|
+
isSignatureExpiringSoon: import("@angular/core").Signal<boolean>;
|
|
79
|
+
isSignatureExpired: import("@angular/core").Signal<boolean>;
|
|
77
80
|
pendingDocsCount: import("@angular/core").Signal<number>;
|
|
78
81
|
ngOnInit(): void;
|
|
79
82
|
fetchClientsDocuments(resetPagination?: boolean): void;
|
|
@@ -28,6 +28,7 @@ export declare class CbmExcelImportList implements OnInit {
|
|
|
28
28
|
user$: PaginatedListService<CbmUserModel.ListByCompanyResponse, CbmUserModel.ListByCompanyParams, CbmUserModel.ListByCompanyResponse.Item.User[]>;
|
|
29
29
|
currentDate: string;
|
|
30
30
|
endDate: string;
|
|
31
|
+
fistYear: string;
|
|
31
32
|
reportWebSocket: import("@angular/core").WritableSignal<any[]>;
|
|
32
33
|
filterComp: import("@angular/core").Signal<CbmFilters>;
|
|
33
34
|
filterFormGroup: FormGroup<{
|
|
@@ -24,6 +24,7 @@ export declare class ItemDetails implements OnInit {
|
|
|
24
24
|
private readonly costCenterRepository;
|
|
25
25
|
private readonly irbpnrService;
|
|
26
26
|
constructor(destroyRef: DestroyRef, itemRepository: CbmItemDomainRepository, notificationService: CbmNotificationService, priceTypeRepository: CbmSalePriceDomainRepository, costCenterRepository: CbmCostCenterRepository, irbpnrService: CbmIrbpnrDomainService);
|
|
27
|
+
compareWithId(a: any, b: any): boolean;
|
|
27
28
|
'price-list': import("@angular/core").InputSignal<Partial<CbmPriceListModel.ListResponse.Data>>;
|
|
28
29
|
'client-data': import("@angular/core").InputSignal<Partial<CbmClientModel.GetOneResponse.Data>>;
|
|
29
30
|
'cost-center': import("@angular/core").InputSignal<Partial<CbmCostCenterModel.ListResponse.Data>>;
|
|
@@ -44,6 +45,7 @@ export declare class ItemDetails implements OnInit {
|
|
|
44
45
|
priceTypeOp: Map<string, CbmSalePriceModel.GetResponse.Data[]>;
|
|
45
46
|
unitMeasureOp: Map<string, Partial<CbmUnitMeasureModel.ListResponse.DataWithFactor>[]>;
|
|
46
47
|
itemConsulted: import("@angular/core").WritableSignal<cbmStockWarehouseModalModel.item | null>;
|
|
48
|
+
toNumber(value: string): number;
|
|
47
49
|
ngOnInit(): void;
|
|
48
50
|
getPriceType(params: CbmSalePriceModel.GetParams, control?: IItemDetails.FormGroupDetail['price_type']): Promise<void>;
|
|
49
51
|
getUnitMeasure(control: IItemDetails.FormGroupDetail['item']): void;
|
|
@@ -10,16 +10,18 @@ import { CbmChargeRepository } from '../../domain/repositories/charge.domain.rep
|
|
|
10
10
|
import { CbmCostCenterRepository } from '../../domain/repositories/cost-center.domain.repository';
|
|
11
11
|
import { CbmRoomRepository } from '../../domain/repositories/room.domain.repository';
|
|
12
12
|
import { CbmSalesAccountRepository } from '../../domain/repositories/sales-account.domain.repository';
|
|
13
|
-
import { CbmAuthService } from '../../domain/services/auth/auth.service';
|
|
14
13
|
import { CbmNotificationService } from '../../remotes/services.remote';
|
|
15
14
|
import { ItemDetails } from '../item-details/item-details';
|
|
16
15
|
import { CbmModalConfirmComponent } from '../modal-confirm/modal-confirm';
|
|
17
16
|
import { FoliosModal } from './folios-modal/folios-modal';
|
|
18
17
|
import { CbmTaxesModal } from '../taxes-modal/taxes-modal.model';
|
|
19
18
|
import { CbmIrbpnrDomainService } from '../../domain/services/taxes/irbpnr.domain.service';
|
|
19
|
+
import { CbmServiceDetails } from '../service-details/service-details';
|
|
20
20
|
import { CbmPriceListModel } from '../../domain/models/price-list.domain.model';
|
|
21
21
|
import { CbmClientModel } from '../../domain/models/client.domain.model';
|
|
22
22
|
import { CbmContactModel } from '../../domain/models/contact.domain.model';
|
|
23
|
+
import { CbmClientDomainRepository } from '../../domain/repositories/client.domain.repository';
|
|
24
|
+
import { CbmAuthReactiveService } from '../../domain/services/auth-reactive.domain.service';
|
|
23
25
|
export declare class CbmPmsAddCharge implements OnInit {
|
|
24
26
|
private readonly destroyRef;
|
|
25
27
|
private readonly roomRepository;
|
|
@@ -29,7 +31,8 @@ export declare class CbmPmsAddCharge implements OnInit {
|
|
|
29
31
|
private readonly salesAccountRepository;
|
|
30
32
|
private readonly costCenterRepository;
|
|
31
33
|
private readonly irbpnrService;
|
|
32
|
-
|
|
34
|
+
private readonly clientRepository;
|
|
35
|
+
constructor(destroyRef: DestroyRef, roomRepository: CbmRoomRepository, chargeRepository: CbmChargeRepository, notificationService: CbmNotificationService, authService: CbmAuthReactiveService, salesAccountRepository: CbmSalesAccountRepository, costCenterRepository: CbmCostCenterRepository, irbpnrService: CbmIrbpnrDomainService, clientRepository: CbmClientDomainRepository);
|
|
33
36
|
disableGuard: boolean;
|
|
34
37
|
formDirty: () => boolean;
|
|
35
38
|
chargeFormGroup: FormGroup<{
|
|
@@ -64,8 +67,10 @@ export declare class CbmPmsAddCharge implements OnInit {
|
|
|
64
67
|
private typeTotals;
|
|
65
68
|
protected itemDetailsTax: import("@angular/core").WritableSignal<CbmTaxesModal.Data>;
|
|
66
69
|
protected serviceDetailsTax: import("@angular/core").WritableSignal<CbmTaxesModal.Data>;
|
|
70
|
+
protected clientPriceList: import("@angular/core").WritableSignal<string | null>;
|
|
67
71
|
protected foliosModalRef: import("@angular/core").Signal<FoliosModal>;
|
|
68
72
|
protected itemDetailsComp: import("@angular/core").Signal<ItemDetails>;
|
|
73
|
+
protected serviceDetailsComp: import("@angular/core").Signal<CbmServiceDetails | undefined>;
|
|
69
74
|
modalConfirm: import("@angular/core").Signal<CbmModalConfirmComponent>;
|
|
70
75
|
'on-charge-saved': import("@angular/core").OutputEmitterRef<void>;
|
|
71
76
|
'on-cancel': import("@angular/core").OutputEmitterRef<void>;
|
|
@@ -75,6 +80,7 @@ export declare class CbmPmsAddCharge implements OnInit {
|
|
|
75
80
|
private initRooms;
|
|
76
81
|
private initCostCenter;
|
|
77
82
|
protected subObservers(): void;
|
|
83
|
+
private buildChargeDetail;
|
|
78
84
|
saveCharge(): Promise<void>;
|
|
79
85
|
protected getFolio(folio: CbmSalesAccountModel.ListResponse.Item): Promise<void>;
|
|
80
86
|
protected updateTotals(field: keyof typeof this.typeTotals, value: number): void;
|
|
@@ -15,5 +15,6 @@ export declare class CbmSubtotalDetails {
|
|
|
15
15
|
total: import("@angular/core").Signal<number>;
|
|
16
16
|
detailsTax: import("@angular/core").Signal<CbmTaxesModal.Data>;
|
|
17
17
|
serviceControl: FormControl<string>;
|
|
18
|
+
serviceControlSignal: import("@angular/core").Signal<string>;
|
|
18
19
|
hasTaxes(): boolean;
|
|
19
20
|
}
|
|
@@ -220,6 +220,8 @@ export declare namespace CbmSalesAccountModel {
|
|
|
220
220
|
client_branch_contact_email?: string[];
|
|
221
221
|
default_cost_center_id: string;
|
|
222
222
|
default_cost_center_code: string;
|
|
223
|
+
default_cost_center_father_code: string;
|
|
224
|
+
default_cost_center_father_name: string;
|
|
223
225
|
default_cost_center_name: string;
|
|
224
226
|
document_nomenclature: string;
|
|
225
227
|
document_number: string;
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
export declare namespace CbmSalesPendingDocumentModel {
|
|
2
|
+
type TTypeEstablishment = 'matrix' | 'branch';
|
|
3
|
+
export interface ListParams {
|
|
4
|
+
page: number;
|
|
5
|
+
size: number;
|
|
6
|
+
document_number?: string;
|
|
7
|
+
date_end?: number;
|
|
8
|
+
date_begin?: number;
|
|
9
|
+
client_id?: string;
|
|
10
|
+
client_branch_id?: string;
|
|
11
|
+
type?: string;
|
|
12
|
+
}
|
|
13
|
+
export interface ListResponse {
|
|
14
|
+
success: boolean;
|
|
15
|
+
pageNum: number;
|
|
16
|
+
pageSize: number;
|
|
17
|
+
pages: number;
|
|
18
|
+
total: number;
|
|
19
|
+
totales: ListResponse.totales;
|
|
20
|
+
items: ListResponse.Item[];
|
|
21
|
+
}
|
|
22
|
+
export namespace ListResponse {
|
|
23
|
+
interface Item {
|
|
24
|
+
_id: string;
|
|
25
|
+
created_at: number;
|
|
26
|
+
document_nomenclature: string;
|
|
27
|
+
document_number: string;
|
|
28
|
+
document_emission_point_number: string;
|
|
29
|
+
document_sequence: string;
|
|
30
|
+
new_document_number: string;
|
|
31
|
+
balance: number;
|
|
32
|
+
client_id: string;
|
|
33
|
+
client_payment_deadline?: number;
|
|
34
|
+
client_credit_limit?: number;
|
|
35
|
+
client_business_name: string;
|
|
36
|
+
client_trade_name: string;
|
|
37
|
+
client_document_number: string;
|
|
38
|
+
client_credit_application: boolean;
|
|
39
|
+
client_price_list_id: string;
|
|
40
|
+
client_price_list_code: string;
|
|
41
|
+
client_price_list_name: string;
|
|
42
|
+
client_document_type_id: string;
|
|
43
|
+
client_document_type_name: string;
|
|
44
|
+
client_document_type_code: string;
|
|
45
|
+
client_category_id: string;
|
|
46
|
+
client_category_name: string;
|
|
47
|
+
client_branch_id: string;
|
|
48
|
+
client_branch_code: string;
|
|
49
|
+
client_branch_name: string;
|
|
50
|
+
client_branch_address: string;
|
|
51
|
+
client_branch_email: string[];
|
|
52
|
+
client_branch_phone_code?: string;
|
|
53
|
+
client_branch_phone?: string;
|
|
54
|
+
client_branch_cellphone?: string;
|
|
55
|
+
client_branch_type_establishment: `${TTypeEstablishment}`;
|
|
56
|
+
client_branch_province_id?: string;
|
|
57
|
+
client_branch_province_code?: string;
|
|
58
|
+
client_branch_province_name?: string;
|
|
59
|
+
client_branch_canton_id?: string;
|
|
60
|
+
client_branch_canton_code?: string;
|
|
61
|
+
client_branch_canton_name?: string;
|
|
62
|
+
client_branch_parish_id?: string;
|
|
63
|
+
client_branch_parish_code?: string;
|
|
64
|
+
client_branch_parish_name?: string;
|
|
65
|
+
client_branch_longitude?: number;
|
|
66
|
+
client_branch_latitude?: number;
|
|
67
|
+
client_branch_seller_id: string;
|
|
68
|
+
client_branch_seller_identification_number: string;
|
|
69
|
+
client_branch_seller_full_name: string;
|
|
70
|
+
client_branch_seller_address: string;
|
|
71
|
+
client_branch_seller_email: string[];
|
|
72
|
+
client_branch_seller_cellphone: string;
|
|
73
|
+
client_branch_contact_id?: string;
|
|
74
|
+
client_branch_contact_identification_number?: string;
|
|
75
|
+
client_branch_contact_full_name?: string;
|
|
76
|
+
client_branch_contact_cellphone?: string;
|
|
77
|
+
client_branch_contact_email?: string[];
|
|
78
|
+
date: number;
|
|
79
|
+
type: string;
|
|
80
|
+
checked?: boolean;
|
|
81
|
+
}
|
|
82
|
+
interface totales {
|
|
83
|
+
total_retention?: number;
|
|
84
|
+
total_down_payment?: number;
|
|
85
|
+
total_credit_note?: number;
|
|
86
|
+
total_initial_balance_retention?: number;
|
|
87
|
+
total_initial_balance_down_payment?: number;
|
|
88
|
+
total_initial_balance_credit_note?: number;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
export {};
|
|
92
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
export declare namespace CbmSourceIncomeModel {
|
|
2
|
+
interface ListParams {
|
|
3
|
+
page: number;
|
|
4
|
+
size: number;
|
|
5
|
+
enabled?: boolean;
|
|
6
|
+
deleted?: boolean;
|
|
7
|
+
code?: string;
|
|
8
|
+
description?: string;
|
|
9
|
+
}
|
|
10
|
+
interface ListResponse {
|
|
11
|
+
success: boolean;
|
|
12
|
+
pageNum: number;
|
|
13
|
+
pageSize: number;
|
|
14
|
+
pages: number;
|
|
15
|
+
total: number;
|
|
16
|
+
items: ListResponse.Data[];
|
|
17
|
+
}
|
|
18
|
+
namespace ListResponse {
|
|
19
|
+
interface Data {
|
|
20
|
+
_id: string;
|
|
21
|
+
description: string;
|
|
22
|
+
enabled: boolean;
|
|
23
|
+
user_id: string;
|
|
24
|
+
created_user: string;
|
|
25
|
+
created_at: number;
|
|
26
|
+
updated_at: number;
|
|
27
|
+
updated_user: string;
|
|
28
|
+
disabled_reason: string;
|
|
29
|
+
user_inactive_at: number;
|
|
30
|
+
user_inactive_id: string;
|
|
31
|
+
user_inactive_name: string;
|
|
32
|
+
user_active_at: number;
|
|
33
|
+
user_active_id: string;
|
|
34
|
+
user_active_name: string;
|
|
35
|
+
deleted_at: number;
|
|
36
|
+
deleted_user: string;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
interface SaveBody {
|
|
40
|
+
description: string;
|
|
41
|
+
}
|
|
42
|
+
interface UpdateBody {
|
|
43
|
+
description: string;
|
|
44
|
+
}
|
|
45
|
+
interface GetOne {
|
|
46
|
+
success: boolean;
|
|
47
|
+
data: GetOne.Data;
|
|
48
|
+
}
|
|
49
|
+
namespace GetOne {
|
|
50
|
+
interface Data {
|
|
51
|
+
_id: string;
|
|
52
|
+
description: string;
|
|
53
|
+
enabled: boolean;
|
|
54
|
+
deleted: boolean;
|
|
55
|
+
user_id: string;
|
|
56
|
+
created_user: string;
|
|
57
|
+
created_at: number;
|
|
58
|
+
updated_at: number;
|
|
59
|
+
updated_user: string;
|
|
60
|
+
disabled_reason: string;
|
|
61
|
+
user_inactive_at: number;
|
|
62
|
+
user_inactive_id: string;
|
|
63
|
+
user_inactive_name: string;
|
|
64
|
+
user_active_at: number;
|
|
65
|
+
user_active_id: string;
|
|
66
|
+
user_active_name: string;
|
|
67
|
+
deleted_at: number;
|
|
68
|
+
deleted_user: string;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { CbmSalesPendingDocumentModel } from '../models/sales-pending-document.domain.model';
|
|
3
|
+
import { ICbmSalesPendingDocumentRepository } from '../../infrastructure/repositories/sales-pending-document.infrastructure.repository';
|
|
4
|
+
export declare class CbmSalesPendingDocumentRepository implements ICbmSalesPendingDocumentRepository {
|
|
5
|
+
private service;
|
|
6
|
+
constructor(service: ICbmSalesPendingDocumentRepository);
|
|
7
|
+
list(params: CbmSalesPendingDocumentModel.ListParams): Observable<CbmSalesPendingDocumentModel.ListResponse>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { CbmModuleModel } from '../models/module.domain.model';
|
|
3
|
+
import { CbmSourceIncomeModel } from '../models/source-income.model';
|
|
4
|
+
import { ICbmSourceIncomeInfraestructureRepository } from '../../infrastructure/repositories/source-income.infraestructure.repository';
|
|
5
|
+
export declare class CbmSourceIncomeDomainRepository implements ICbmSourceIncomeInfraestructureRepository {
|
|
6
|
+
private service;
|
|
7
|
+
constructor(service: ICbmSourceIncomeInfraestructureRepository);
|
|
8
|
+
list(params: CbmSourceIncomeModel.ListParams): Observable<CbmSourceIncomeModel.ListResponse>;
|
|
9
|
+
save(request: CbmSourceIncomeModel.SaveBody): Observable<CbmModuleModel.ConfirmResponse>;
|
|
10
|
+
update(id: string, request: CbmSourceIncomeModel.UpdateBody): Observable<CbmModuleModel.ConfirmResponse>;
|
|
11
|
+
delete(id: string): Observable<CbmModuleModel.ConfirmResponse>;
|
|
12
|
+
changeStatus(id: string, request: CbmModuleModel.ChangeStatusBody): Observable<CbmModuleModel.ConfirmResponse>;
|
|
13
|
+
getOne(id: string): Observable<CbmSourceIncomeModel.GetOne>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { CbmSalesPendingDocumentModel } from '../../domain/models/sales-pending-document.domain.model';
|
|
3
|
+
export interface ICbmSalesPendingDocumentRepository {
|
|
4
|
+
list(params: CbmSalesPendingDocumentModel.ListParams): Observable<CbmSalesPendingDocumentModel.ListResponse>;
|
|
5
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { CbmSourceIncomeModel } from '../../domain/models/source-income.model';
|
|
3
|
+
import { CbmModuleModel } from '../../domain/models/module.domain.model';
|
|
4
|
+
export interface ICbmSourceIncomeInfraestructureRepository {
|
|
5
|
+
list(params: CbmSourceIncomeModel.ListParams): Observable<CbmSourceIncomeModel.ListResponse>;
|
|
6
|
+
save(params: CbmSourceIncomeModel.SaveBody): Observable<CbmModuleModel.ConfirmResponse>;
|
|
7
|
+
update(id: string, params: CbmSourceIncomeModel.UpdateBody): Observable<CbmModuleModel.ConfirmResponse>;
|
|
8
|
+
delete(id: string): Observable<CbmModuleModel.ConfirmResponse>;
|
|
9
|
+
changeStatus(id: string, params: CbmModuleModel.ChangeStatusBody): Observable<CbmModuleModel.ConfirmResponse>;
|
|
10
|
+
getOne(id: string): Observable<CbmSourceIncomeModel.GetOne>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { CbmSalesPendingDocumentModel } from '../../domain/models/sales-pending-document.domain.model';
|
|
4
|
+
export declare class CbmSalesPendingDocumentService {
|
|
5
|
+
private http;
|
|
6
|
+
constructor(http: HttpClient);
|
|
7
|
+
private readonly url;
|
|
8
|
+
list(params: CbmSalesPendingDocumentModel.ListParams): Observable<CbmSalesPendingDocumentModel.ListResponse>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { CbmSourceIncomeModel } from '../../domain/models/source-income.model';
|
|
4
|
+
import { ICbmSourceIncomeInfraestructureRepository } from '../../infrastructure/repositories/source-income.infraestructure.repository';
|
|
5
|
+
import { CbmModuleModel } from '../../domain/models/module.domain.model';
|
|
6
|
+
export declare class CbmSourceIncomeInfrastructureService implements ICbmSourceIncomeInfraestructureRepository {
|
|
7
|
+
private http;
|
|
8
|
+
constructor(http: HttpClient);
|
|
9
|
+
private readonly url;
|
|
10
|
+
list(params: CbmSourceIncomeModel.ListParams): Observable<CbmSourceIncomeModel.ListResponse>;
|
|
11
|
+
save(params: CbmSourceIncomeModel.SaveBody): Observable<CbmModuleModel.ConfirmResponse>;
|
|
12
|
+
update(id: string, params: CbmSourceIncomeModel.UpdateBody): Observable<CbmModuleModel.ConfirmResponse>;
|
|
13
|
+
delete(id: string): Observable<CbmModuleModel.ConfirmResponse>;
|
|
14
|
+
changeStatus(id: string, params: CbmModuleModel.ChangeStatusBody): Observable<CbmModuleModel.ConfirmResponse>;
|
|
15
|
+
getOne(id: string): Observable<CbmSourceIncomeModel.GetOne>;
|
|
16
|
+
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -253,6 +253,10 @@ export * from './lib/components/tree-select/types';
|
|
|
253
253
|
export * from './lib/domain/repositories/message-settings.domain.repository';
|
|
254
254
|
export * from './lib/domain/models/message-settings.domain.model';
|
|
255
255
|
|
|
256
|
+
//#region source income repository
|
|
257
|
+
export * from './lib/domain/repositories/source-income.domain.repository';
|
|
258
|
+
export * from './lib/domain/models/source-income.model';
|
|
259
|
+
|
|
256
260
|
//#region settings professions repository
|
|
257
261
|
export * from './lib/domain/repositories/settings-professions.domain.repository';
|
|
258
262
|
export * from './lib/domain/models/settings-professions.domain.model';
|