@cbm-common/cbm-types 0.0.243 → 0.0.244
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/directives/drop-down-menu.directive.d.ts +13 -0
- package/lib/components/accounting-seat/directives/drop-down.directive.d.ts +10 -0
- package/lib/components/order-vehicle-add-charge/order-vehicle-add-charge.d.ts +7 -25
- package/lib/components/order-vehicle-add-charge/sale-account-modal/sale-account-modal.d.ts +2 -2
- package/lib/components/record-detail-metadata/components/options/options.d.ts +13 -0
- package/lib/components/record-detail-metadata/directives/drop-down-menu.directive.d.ts +13 -0
- package/lib/components/record-detail-metadata/directives/drop-down.directive.d.ts +9 -0
- package/lib/domain/models/sales-account.domain.model.d.ts +0 -26
- package/lib/domain/models/sales-pending-document.domain.model.d.ts +91 -0
- package/lib/domain/repositories/sales-pending-document.domain.repository.d.ts +8 -0
- package/lib/infrastructure/repositories/blanket-agreement-category-service..infrastructure.repository.d.ts +7 -0
- package/lib/infrastructure/repositories/sales-pending-document.infrastructure.repository.d.ts +5 -0
- package/lib/infrastructure/services/sales-pending-document.infrastructure.service.d.ts +9 -0
- package/package.json +1 -1
- package/public-api.d.ts +4 -1
- package/lib/domain/models/charges-for-order-vehicle.domain.model.d.ts +0 -259
- package/lib/domain/models/employee.model.d.ts +0 -176
- package/lib/domain/repositories/charges-for-order-vehicle.domain.repository.d.ts +0 -10
- package/lib/infrastructure/repositories/changes-for-order-vehicle.infrastructure.repository.d.ts +0 -7
- package/lib/infrastructure/services/charges-for-order-vehicle.infrastructure.service.d.ts +0 -12
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { AfterViewInit, ElementRef, OnChanges, Renderer2, SimpleChanges } from '@angular/core';
|
|
2
|
+
export declare class DropdownMenuDirective implements OnChanges, AfterViewInit {
|
|
3
|
+
private element;
|
|
4
|
+
private renderer2;
|
|
5
|
+
hiddenMenu: import("@angular/core").InputSignal<boolean>;
|
|
6
|
+
hiddenMenuOp: import("@angular/core").WritableSignal<boolean>;
|
|
7
|
+
constructor(element: ElementRef, renderer2: Renderer2);
|
|
8
|
+
ngAfterViewInit(): void;
|
|
9
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
10
|
+
toggle(event: Event): void;
|
|
11
|
+
private toggleMenu;
|
|
12
|
+
initStyle(): void;
|
|
13
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { AfterViewInit, ElementRef, Renderer2 } from '@angular/core';
|
|
2
|
+
export declare class DropdownDirective implements AfterViewInit {
|
|
3
|
+
private elementRef;
|
|
4
|
+
private renderer;
|
|
5
|
+
private isOpen;
|
|
6
|
+
constructor(elementRef: ElementRef, renderer: Renderer2);
|
|
7
|
+
ngAfterViewInit(): void;
|
|
8
|
+
toggleDropdown(event: MouseEvent): void;
|
|
9
|
+
closeDropdown(event: MouseEvent): void;
|
|
10
|
+
}
|
|
@@ -4,7 +4,6 @@ import { ActivatedRoute, Router } from '@angular/router';
|
|
|
4
4
|
import { ListService, PaginatedListService } from '@cbm-common/data-access';
|
|
5
5
|
import { NgSelectComponent } from '@ng-select/ng-select';
|
|
6
6
|
import { Subject } from 'rxjs';
|
|
7
|
-
import { CbmAlternativeItemModel } from '../../domain/models/alternative-item.domain.model';
|
|
8
7
|
import { CbmCompanyCustomModel } from '../../domain/models/company-custom.domain.model';
|
|
9
8
|
import { CbmCostCenterModel } from '../../domain/models/cost-center.domain.model';
|
|
10
9
|
import { IGeneral } from '../../domain/models/general.domain.model';
|
|
@@ -16,8 +15,6 @@ import { CbmSalesAccountModel } from '../../domain/models/sales-account.domain.m
|
|
|
16
15
|
import { CbmOutsourcingServiceModel } from '../../domain/models/service-outsourcing.domain.model';
|
|
17
16
|
import { CbmServiceModel } from '../../domain/models/service.domain.model';
|
|
18
17
|
import { CbmTaxIrbpnrModel } from '../../domain/models/tax-irbpnr.domain.model';
|
|
19
|
-
import { CbmUnitMeasureModel } from '../../domain/models/unit-measure.domain.model';
|
|
20
|
-
import { CbmChargesForOrderVehicleDomainRepository } from '../../domain/repositories/charges-for-order-vehicle.domain.repository';
|
|
21
18
|
import { CbmCompanyCustomRepository } from '../../domain/repositories/company-custom.domain.repository';
|
|
22
19
|
import { CbmCostCenterRepository } from '../../domain/repositories/cost-center.domain.repository';
|
|
23
20
|
import { CbmItemDomainRepository } from '../../domain/repositories/item.domain.repository';
|
|
@@ -29,11 +26,10 @@ import { CbmServiceOutsourcingDomainRepository } from '../../domain/repositories
|
|
|
29
26
|
import { CbmServiceDomainRepository } from '../../domain/repositories/service.domain.repository';
|
|
30
27
|
import { CbmTaxIrbpnrDomainRepository } from '../../domain/repositories/tax-irbpnr.domain.repository';
|
|
31
28
|
import { CbmUnitMeasureRepository } from '../../domain/repositories/unit-measure.domain.repository';
|
|
32
|
-
import {
|
|
29
|
+
import { CbmAuthService } from '../../domain/services/auth/auth.service';
|
|
33
30
|
import { GeneralDomainService } from '../../domain/services/general.domain.service';
|
|
34
31
|
import { CbmNotificationService } from '../../remotes/services.remote';
|
|
35
32
|
import { CbmAdvancedItemSearchModal } from '../advanced-item-search-modal/advanced-item-search-modal';
|
|
36
|
-
import { CbmItemStockModalComponent, IDataItemStock } from '../item-stock-modal/item-stock-modal.component';
|
|
37
33
|
import { CbmModalConfirmComponent } from '../modal-confirm/modal-confirm';
|
|
38
34
|
import { CbmModalSearchOutsourcingComponent } from '../modals-search/modal-search-outsourcing/modal-search-outsourcing.component';
|
|
39
35
|
import { CbmModalSearchServiceComponent } from '../modals-search/modal-search-service/modal-search-service.component';
|
|
@@ -43,6 +39,9 @@ import { CbmSortDetailModalComponent, ISortDetailModel } from '../sort-detail-mo
|
|
|
43
39
|
import { CbmTaxesModal } from '../taxes-modal/taxes-modal.model';
|
|
44
40
|
import { IFreeItemAmountModel } from '../ui/details-resume/details-resume.component';
|
|
45
41
|
import { SaleAccountModal } from './sale-account-modal/sale-account-modal';
|
|
42
|
+
import { CbmUnitMeasureModel } from '../../domain/models/unit-measure.domain.model';
|
|
43
|
+
import { CbmItemStockModalComponent, IDataItemStock } from '../item-stock-modal/item-stock-modal.component';
|
|
44
|
+
import { CbmAlternativeItemModel } from '../../domain/models/alternative-item.domain.model';
|
|
46
45
|
export type TTab = 'items' | 'kits' | 'services' | 'outsourcings' | 'fixed_asset';
|
|
47
46
|
export type DetailType = 'item' | 'service' | 'kit' | 'outsourcing_service';
|
|
48
47
|
export interface Tax {
|
|
@@ -53,16 +52,6 @@ export interface Tax {
|
|
|
53
52
|
tax_base: number;
|
|
54
53
|
tax_value: number;
|
|
55
54
|
}
|
|
56
|
-
export interface OutsourcingServiceData {
|
|
57
|
-
outsourcing_service_movements_id: string;
|
|
58
|
-
code_outsourcing_service: string;
|
|
59
|
-
name_outsourcing_service: string;
|
|
60
|
-
date_purchase_receipt: number;
|
|
61
|
-
structured_document_number: string;
|
|
62
|
-
provider_document_number: string;
|
|
63
|
-
provider_business_name: string;
|
|
64
|
-
cost: number;
|
|
65
|
-
}
|
|
66
55
|
export interface ICustomUnitMeasureListResponse extends CbmUnitMeasureModel.ListResponse.Data {
|
|
67
56
|
amount: number;
|
|
68
57
|
barcode?: string;
|
|
@@ -74,7 +63,6 @@ export declare class CbmOrderVehicleAddCharge {
|
|
|
74
63
|
private destroyRef;
|
|
75
64
|
generalService: GeneralDomainService;
|
|
76
65
|
private salePriceRepository;
|
|
77
|
-
private chargesForOrderVehicleRepository;
|
|
78
66
|
private readonly salesAccountDomainRepository;
|
|
79
67
|
private outsourcingServiceMovementsRepository;
|
|
80
68
|
private readonly priceListRepository;
|
|
@@ -87,7 +75,7 @@ export declare class CbmOrderVehicleAddCharge {
|
|
|
87
75
|
private readonly costCenterRepository;
|
|
88
76
|
private readonly serviceRepository;
|
|
89
77
|
private readonly outsourcingRepository;
|
|
90
|
-
constructor(router: Router, route: ActivatedRoute, destroyRef: DestroyRef, generalService: GeneralDomainService, salePriceRepository: CbmSalePriceDomainRepository,
|
|
78
|
+
constructor(router: Router, route: ActivatedRoute, destroyRef: DestroyRef, generalService: GeneralDomainService, salePriceRepository: CbmSalePriceDomainRepository, salesAccountDomainRepository: CbmSalesAccountDomainRepository, outsourcingServiceMovementsRepository: CbmOutsourcingServicesMovementsDomainRepository, priceListRepository: CbmPriceListDomainRepository, taxIrbpnrRepository: CbmTaxIrbpnrDomainRepository, companyCustomRepository: CbmCompanyCustomRepository, authService: CbmAuthService, notificationService: CbmNotificationService, itemRepository: CbmItemDomainRepository, unitMeasureRepository: CbmUnitMeasureRepository, costCenterRepository: CbmCostCenterRepository, serviceRepository: CbmServiceDomainRepository, outsourcingRepository: CbmServiceOutsourcingDomainRepository);
|
|
91
79
|
ngSelectsRefs: import("@angular/core").Signal<readonly NgSelectComponent[]>;
|
|
92
80
|
itemDetailsTableContainer: import("@angular/core").Signal<ElementRef<any> | undefined>;
|
|
93
81
|
itemDetailsTableRef: import("@angular/core").Signal<ElementRef<HTMLTableElement> | undefined>;
|
|
@@ -112,13 +100,8 @@ export declare class CbmOrderVehicleAddCharge {
|
|
|
112
100
|
outsourcingServicesMovementsModalRef: import("@angular/core").Signal<CbmOutsourcingServicesMovementsModalComponent>;
|
|
113
101
|
statusOfSave: import("@angular/core").WritableSignal<IGeneral.STATUS>;
|
|
114
102
|
statusOfFetchItemById: import("@angular/core").WritableSignal<IGeneral.STATUS>;
|
|
115
|
-
|
|
116
|
-
saleAccountId: import("@angular/core").InputSignal<string | null>;
|
|
103
|
+
onChargeSaved: import("@angular/core").OutputEmitterRef<void>;
|
|
117
104
|
onCancel: import("@angular/core").OutputEmitterRef<void>;
|
|
118
|
-
onSave: import("@angular/core").OutputEmitterRef<{
|
|
119
|
-
redirect: "new" | "view" | "close" | "modal";
|
|
120
|
-
id?: string;
|
|
121
|
-
}>;
|
|
122
105
|
orderId: import("@angular/core").WritableSignal<string | null>;
|
|
123
106
|
saleAccountData: import("@angular/core").WritableSignal<CbmSalesAccountModel.GetOneResponse.Data<any> | null>;
|
|
124
107
|
dataStockModal: import("@angular/core").WritableSignal<IDataItemStock | null>;
|
|
@@ -303,9 +286,8 @@ export declare class CbmOrderVehicleAddCharge {
|
|
|
303
286
|
openAdvanceOutsourcingSearchModal(): void;
|
|
304
287
|
onSaleAccountSelected(saleAccount: CbmSalesAccountModel.ListResponse.Item): void;
|
|
305
288
|
fetchData(id: string): Promise<void>;
|
|
306
|
-
searchSaleAccount$: PaginatedListService<CbmSalesAccountModel.ListResponse, CbmSalesAccountModel.ListParams, CbmSalesAccountModel.ListResponse.Item[]>;
|
|
307
289
|
fetchTaxIrbpnr(): Promise<void>;
|
|
308
|
-
onConfirmSave(redirect: 'new' | 'view' | 'close'
|
|
290
|
+
onConfirmSave(redirect: 'new' | 'view' | 'close'): Promise<void>;
|
|
309
291
|
fetchCompanyCustom(): Promise<void>;
|
|
310
292
|
saveRequest(): Promise<string>;
|
|
311
293
|
onCancelPress(): void;
|
|
@@ -7,7 +7,7 @@ import { CbmClientDomainRepository } from '../../../domain/repositories/client.d
|
|
|
7
7
|
import { CbmSalesAccountDomainRepository } from '../../../domain/repositories/sales-account.domain.repository';
|
|
8
8
|
import { CbmSellerDomainRepository } from '../../../domain/repositories/seller.domain.repository';
|
|
9
9
|
import { CbmUserDomainRepository } from '../../../domain/repositories/user.domain.repository';
|
|
10
|
-
import {
|
|
10
|
+
import { CbmAuthService } from '../../../domain/services/auth/auth.service';
|
|
11
11
|
import { GeneralDomainService } from '../../../domain/services/general.domain.service';
|
|
12
12
|
import { CbmNotificationService } from '../../../domain/services/notification/notification.service';
|
|
13
13
|
import { SaleAccountDomainService } from '../../../domain/services/sale-account.domain.service';
|
|
@@ -22,7 +22,7 @@ export declare class SaleAccountModal implements OnInit {
|
|
|
22
22
|
private readonly saleAccountService;
|
|
23
23
|
private readonly clientBranchRepository;
|
|
24
24
|
private readonly salesAccountDomainRepository;
|
|
25
|
-
constructor(destroyRef: DestroyRef, generalService: GeneralDomainService, authService:
|
|
25
|
+
constructor(destroyRef: DestroyRef, generalService: GeneralDomainService, authService: CbmAuthService, userRepository: CbmUserDomainRepository, notificationService: CbmNotificationService, clientRepository: CbmClientDomainRepository, sellerRepository: CbmSellerDomainRepository, saleAccountService: SaleAccountDomainService, clientBranchRepository: CbmClientBranchDomainRepository, salesAccountDomainRepository: CbmSalesAccountDomainRepository);
|
|
26
26
|
statusModal: import("@angular/core").WritableSignal<IGeneral.STATUS>;
|
|
27
27
|
filterForm: import("@angular/forms").FormGroup<{
|
|
28
28
|
date_begin: import("@angular/forms").FormControl<string | null>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { WritableSignal } from '@angular/core';
|
|
2
|
+
import { Router, ActivatedRoute, Params } from '@angular/router';
|
|
3
|
+
import { CbmRecordDetailMetadataModel } from "../../types";
|
|
4
|
+
export declare class OptionsComponent {
|
|
5
|
+
private router;
|
|
6
|
+
private route;
|
|
7
|
+
constructor(router: Router, route: ActivatedRoute);
|
|
8
|
+
metadata: import("@angular/core").InputSignal<CbmRecordDetailMetadataModel.metadata | null>;
|
|
9
|
+
options: import("@angular/core").InputSignal<CbmRecordDetailMetadataModel.options[] | undefined>;
|
|
10
|
+
optionInSignals: WritableSignal<WritableSignal<CbmRecordDetailMetadataModel.options>[]>;
|
|
11
|
+
executeFunction(option: WritableSignal<CbmRecordDetailMetadataModel.options>): void;
|
|
12
|
+
navigate(routerLink?: string, queryParams?: Params): void;
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { AfterViewInit, ElementRef, OnChanges, Renderer2, SimpleChanges } from '@angular/core';
|
|
2
|
+
export declare class DropdownMenuDirective implements OnChanges, AfterViewInit {
|
|
3
|
+
private element;
|
|
4
|
+
private renderer2;
|
|
5
|
+
hiddenMenu: import("@angular/core").InputSignal<boolean>;
|
|
6
|
+
hiddenMenuOp: import("@angular/core").WritableSignal<boolean>;
|
|
7
|
+
constructor(element: ElementRef, renderer2: Renderer2);
|
|
8
|
+
ngAfterViewInit(): void;
|
|
9
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
10
|
+
toggle(event: Event): void;
|
|
11
|
+
private toggleMenu;
|
|
12
|
+
initStyle(): void;
|
|
13
|
+
}
|
|
@@ -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
|
+
}
|
|
@@ -16,8 +16,6 @@ export declare namespace CbmSalesAccountModel {
|
|
|
16
16
|
enabled?: boolean;
|
|
17
17
|
check_in_id?: string;
|
|
18
18
|
room_id?: string;
|
|
19
|
-
collection_origin_id?: string;
|
|
20
|
-
collection_origin_name?: string;
|
|
21
19
|
}
|
|
22
20
|
interface ListResponse {
|
|
23
21
|
success: boolean;
|
|
@@ -180,12 +178,6 @@ export declare namespace CbmSalesAccountModel {
|
|
|
180
178
|
company_branch_email: string;
|
|
181
179
|
company_branch_cellphone: string;
|
|
182
180
|
company_branch_phone: string;
|
|
183
|
-
collection_origin_id: string;
|
|
184
|
-
collection_origin_name: string;
|
|
185
|
-
collection_origin_document_nomenclature_number: string;
|
|
186
|
-
collection_origin_created_at: number;
|
|
187
|
-
collection_origin_created_user: string;
|
|
188
|
-
event_module_origin: string;
|
|
189
181
|
country_id: string;
|
|
190
182
|
country_code: string;
|
|
191
183
|
country_name: string;
|
|
@@ -257,7 +249,6 @@ export declare namespace CbmSalesAccountModel {
|
|
|
257
249
|
created_at: number;
|
|
258
250
|
created_user: string;
|
|
259
251
|
sales_account_related_documents: T;
|
|
260
|
-
data_origin: Data.Origin;
|
|
261
252
|
sales_account_detail?: Data.Detail[];
|
|
262
253
|
}
|
|
263
254
|
namespace Data {
|
|
@@ -268,23 +259,6 @@ export declare namespace CbmSalesAccountModel {
|
|
|
268
259
|
amount: number;
|
|
269
260
|
sequence: string;
|
|
270
261
|
}
|
|
271
|
-
interface Origin {
|
|
272
|
-
vehicle_reception_id: string;
|
|
273
|
-
vehicle_id: string;
|
|
274
|
-
vehicle_license_plate: string;
|
|
275
|
-
vehicle_type: string;
|
|
276
|
-
vehicle_brand: string;
|
|
277
|
-
vehicle_model: string;
|
|
278
|
-
vehicle_color: string;
|
|
279
|
-
vehicle_cylinder: string;
|
|
280
|
-
vehicle_year: string;
|
|
281
|
-
vehicle_registry_code: string;
|
|
282
|
-
vehicle_chassis_number: string;
|
|
283
|
-
vehicle_engine_number: string;
|
|
284
|
-
order_document_nomenclature: string;
|
|
285
|
-
order_document_number: string;
|
|
286
|
-
order_document_date: number;
|
|
287
|
-
}
|
|
288
262
|
interface Detail {
|
|
289
263
|
_id: string;
|
|
290
264
|
company_id: string;
|
|
@@ -0,0 +1,91 @@
|
|
|
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_emission_point_number: string;
|
|
28
|
+
document_sequence: string;
|
|
29
|
+
balance: number;
|
|
30
|
+
client_id: string;
|
|
31
|
+
client_payment_deadline?: number;
|
|
32
|
+
client_credit_limit?: number;
|
|
33
|
+
client_business_name: string;
|
|
34
|
+
client_trade_name: string;
|
|
35
|
+
client_document_number: string;
|
|
36
|
+
client_credit_application: boolean;
|
|
37
|
+
client_price_list_id: string;
|
|
38
|
+
client_price_list_code: string;
|
|
39
|
+
client_price_list_name: string;
|
|
40
|
+
client_document_type_id: string;
|
|
41
|
+
client_document_type_name: string;
|
|
42
|
+
client_document_type_code: string;
|
|
43
|
+
client_category_id: string;
|
|
44
|
+
client_category_name: string;
|
|
45
|
+
client_branch_id: string;
|
|
46
|
+
client_branch_code: string;
|
|
47
|
+
client_branch_name: string;
|
|
48
|
+
client_branch_address: string;
|
|
49
|
+
client_branch_email: string[];
|
|
50
|
+
client_branch_phone_code?: string;
|
|
51
|
+
client_branch_phone?: string;
|
|
52
|
+
client_branch_cellphone?: string;
|
|
53
|
+
client_branch_type_establishment: `${TTypeEstablishment}`;
|
|
54
|
+
client_branch_province_id?: string;
|
|
55
|
+
client_branch_province_code?: string;
|
|
56
|
+
client_branch_province_name?: string;
|
|
57
|
+
client_branch_canton_id?: string;
|
|
58
|
+
client_branch_canton_code?: string;
|
|
59
|
+
client_branch_canton_name?: string;
|
|
60
|
+
client_branch_parish_id?: string;
|
|
61
|
+
client_branch_parish_code?: string;
|
|
62
|
+
client_branch_parish_name?: string;
|
|
63
|
+
client_branch_longitude?: number;
|
|
64
|
+
client_branch_latitude?: number;
|
|
65
|
+
client_branch_seller_id: string;
|
|
66
|
+
client_branch_seller_identification_number: string;
|
|
67
|
+
client_branch_seller_full_name: string;
|
|
68
|
+
client_branch_seller_address: string;
|
|
69
|
+
client_branch_seller_email: string[];
|
|
70
|
+
client_branch_seller_cellphone: string;
|
|
71
|
+
client_branch_contact_id?: string;
|
|
72
|
+
client_branch_contact_identification_number?: string;
|
|
73
|
+
client_branch_contact_full_name?: string;
|
|
74
|
+
client_branch_contact_cellphone?: string;
|
|
75
|
+
client_branch_contact_email?: string[];
|
|
76
|
+
new_document_number: string;
|
|
77
|
+
date: number;
|
|
78
|
+
type: string;
|
|
79
|
+
checked?: boolean;
|
|
80
|
+
}
|
|
81
|
+
interface totales {
|
|
82
|
+
total_retention?: number;
|
|
83
|
+
total_down_payment?: number;
|
|
84
|
+
total_credit_note?: number;
|
|
85
|
+
total_initial_balance_retention?: number;
|
|
86
|
+
total_initial_balance_down_payment?: number;
|
|
87
|
+
total_initial_balance_credit_note?: number;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
export {};
|
|
91
|
+
}
|
|
@@ -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,7 @@
|
|
|
1
|
+
import { Observable } from "rxjs";
|
|
2
|
+
import { CbmBlanketAgreementCategoryServiceModel } from "../../domain/models/blanket-agreement-category-service.domain.model";
|
|
3
|
+
export interface ICbmBlanketAgreementCategoryServiceRepository {
|
|
4
|
+
list(params: CbmBlanketAgreementCategoryServiceModel.ListParams): Observable<CbmBlanketAgreementCategoryServiceModel.ListResponse>;
|
|
5
|
+
save(data: CbmBlanketAgreementCategoryServiceModel.SaveBody): Observable<CbmBlanketAgreementCategoryServiceModel.ConfirmResponse>;
|
|
6
|
+
delete(id: string): Observable<CbmBlanketAgreementCategoryServiceModel.ConfirmResponse>;
|
|
7
|
+
}
|
|
@@ -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,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
|
+
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -571,4 +571,7 @@ export * from './lib/domain/services/item-selection.domain.service';
|
|
|
571
571
|
export * from './lib/domain/services/PIN.domain.service';
|
|
572
572
|
//#region person type uafe repository
|
|
573
573
|
export * from './lib/domain/repositories/person-type-uafe.domain.repository';
|
|
574
|
-
export * from './lib/domain/models/person-type-uafe.domain.model';
|
|
574
|
+
export * from './lib/domain/models/person-type-uafe.domain.model';
|
|
575
|
+
|
|
576
|
+
//#region fingerprinting domain service
|
|
577
|
+
export * from './lib/domain/services/fingerprinting.domain.service';
|
|
@@ -1,259 +0,0 @@
|
|
|
1
|
-
export declare namespace CbmChargesForOrderVehicleModel {
|
|
2
|
-
interface ListParams {
|
|
3
|
-
page: number;
|
|
4
|
-
size: number;
|
|
5
|
-
state?: string;
|
|
6
|
-
enabled?: boolean;
|
|
7
|
-
deleted?: boolean;
|
|
8
|
-
name?: string;
|
|
9
|
-
}
|
|
10
|
-
interface ListResponse {
|
|
11
|
-
success: boolean;
|
|
12
|
-
pageNum: number;
|
|
13
|
-
pageSize: number;
|
|
14
|
-
pages: number;
|
|
15
|
-
total: number;
|
|
16
|
-
items: ListResponse.Item[];
|
|
17
|
-
}
|
|
18
|
-
namespace ListResponse {
|
|
19
|
-
interface Item {
|
|
20
|
-
_id: string;
|
|
21
|
-
charges_origin: string;
|
|
22
|
-
company_id: string;
|
|
23
|
-
company_NIF: string;
|
|
24
|
-
company_address: string;
|
|
25
|
-
company_trade_name: string;
|
|
26
|
-
company_business_name: string;
|
|
27
|
-
company_logo: string;
|
|
28
|
-
country_id: string;
|
|
29
|
-
country_code: string;
|
|
30
|
-
country_name: string;
|
|
31
|
-
country_short_name: string;
|
|
32
|
-
period_id: string;
|
|
33
|
-
period_year: string;
|
|
34
|
-
document_nomenclature: string;
|
|
35
|
-
document_number: string;
|
|
36
|
-
collection_origin_id: string;
|
|
37
|
-
collection_origin_name: string;
|
|
38
|
-
collection_origin_document_nomenclature_number: string;
|
|
39
|
-
event_module_origin: string;
|
|
40
|
-
sales_account_id: string;
|
|
41
|
-
sales_account_sequence: string;
|
|
42
|
-
sales_account_created_at: number;
|
|
43
|
-
enabled: boolean;
|
|
44
|
-
deleted_at: number;
|
|
45
|
-
user_id: string;
|
|
46
|
-
created_user: string;
|
|
47
|
-
created_at: number;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
interface SaveBody {
|
|
51
|
-
company_NIF: string;
|
|
52
|
-
company_address: string;
|
|
53
|
-
company_trade_name: string;
|
|
54
|
-
company_business_name: string;
|
|
55
|
-
company_logo: string;
|
|
56
|
-
vehicle_license_plate: string;
|
|
57
|
-
sequence_order_vehicle: string;
|
|
58
|
-
client_business_name: string;
|
|
59
|
-
client_document_number: string;
|
|
60
|
-
collection_origin_id: string;
|
|
61
|
-
collection_origin_document_nomenclature_number: string;
|
|
62
|
-
collection_origin_name: string;
|
|
63
|
-
event_module_origin: string;
|
|
64
|
-
charges_detail: SaveBody.Detail[];
|
|
65
|
-
}
|
|
66
|
-
namespace SaveBody {
|
|
67
|
-
interface Detail {
|
|
68
|
-
type?: string;
|
|
69
|
-
sequence?: string;
|
|
70
|
-
amount_free?: number;
|
|
71
|
-
stock_afected?: number;
|
|
72
|
-
free_amount?: number;
|
|
73
|
-
manage_by?: string;
|
|
74
|
-
outsourcing_service_data?: any;
|
|
75
|
-
item_id: string;
|
|
76
|
-
item_code: string;
|
|
77
|
-
item_barcode: string;
|
|
78
|
-
item_name: string;
|
|
79
|
-
item_balance?: number;
|
|
80
|
-
item_balance_referal_guide?: number;
|
|
81
|
-
category_id: string;
|
|
82
|
-
category_name: string;
|
|
83
|
-
price_list_id?: string;
|
|
84
|
-
price_list_name?: string;
|
|
85
|
-
cost_center_id: string;
|
|
86
|
-
cost_center_code?: string;
|
|
87
|
-
cost_center_name: string;
|
|
88
|
-
cost_center_father_code?: string;
|
|
89
|
-
cost_center_father_name?: string;
|
|
90
|
-
tax_iva_id: string;
|
|
91
|
-
tax_iva_code?: string;
|
|
92
|
-
tax_iva_rate: number;
|
|
93
|
-
tax_irbpn_id?: string;
|
|
94
|
-
tax_ice_id?: string;
|
|
95
|
-
unit_measure_id?: string;
|
|
96
|
-
unit_measure_group_id?: string;
|
|
97
|
-
unit_measure_type?: string;
|
|
98
|
-
unit_measure_abbreviation?: string;
|
|
99
|
-
unit_measure_group_abbreviation?: string;
|
|
100
|
-
unit_measure_name?: string;
|
|
101
|
-
unit_measure_group_name?: string;
|
|
102
|
-
unit_measure_quantity?: number;
|
|
103
|
-
amount: number;
|
|
104
|
-
price_type_id?: string;
|
|
105
|
-
price_type?: string;
|
|
106
|
-
price_type_description?: string;
|
|
107
|
-
price_base: number;
|
|
108
|
-
total_price: number;
|
|
109
|
-
discount_rate: number;
|
|
110
|
-
unit_discount: number;
|
|
111
|
-
total_discount: number;
|
|
112
|
-
commentary_item?: string;
|
|
113
|
-
replace_item_name?: string;
|
|
114
|
-
charges_detail_tax: Tax[];
|
|
115
|
-
}
|
|
116
|
-
interface Tax {
|
|
117
|
-
type: string;
|
|
118
|
-
description: string;
|
|
119
|
-
tax_code: string;
|
|
120
|
-
tax_rate: number;
|
|
121
|
-
tax_base: number;
|
|
122
|
-
tax_value: number;
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
interface GetOneResponse {
|
|
126
|
-
success: boolean;
|
|
127
|
-
data: GetOneResponse.Data;
|
|
128
|
-
}
|
|
129
|
-
namespace GetOneResponse {
|
|
130
|
-
interface Data {
|
|
131
|
-
_id: string;
|
|
132
|
-
charges_origin: string;
|
|
133
|
-
company_id: string;
|
|
134
|
-
company_NIF: string;
|
|
135
|
-
company_address: string;
|
|
136
|
-
company_trade_name: string;
|
|
137
|
-
company_business_name: string;
|
|
138
|
-
company_logo: string;
|
|
139
|
-
country_id: string;
|
|
140
|
-
country_code: string;
|
|
141
|
-
country_name: string;
|
|
142
|
-
country_short_name: string;
|
|
143
|
-
period_id: string;
|
|
144
|
-
period_year: string;
|
|
145
|
-
document_nomenclature: string;
|
|
146
|
-
document_number: string;
|
|
147
|
-
collection_origin_id: string;
|
|
148
|
-
collection_origin_name: string;
|
|
149
|
-
collection_origin_document_nomenclature_number: string;
|
|
150
|
-
event_module_origin: string;
|
|
151
|
-
sales_account_id: string;
|
|
152
|
-
sales_account_sequence: string;
|
|
153
|
-
sales_account_created_at: number;
|
|
154
|
-
enabled: boolean;
|
|
155
|
-
deleted: boolean;
|
|
156
|
-
user_id: string;
|
|
157
|
-
created_user: string;
|
|
158
|
-
created_at: number;
|
|
159
|
-
charges_detail: Data.Detail[];
|
|
160
|
-
}
|
|
161
|
-
namespace Data {
|
|
162
|
-
interface Detail {
|
|
163
|
-
_id: string;
|
|
164
|
-
company_id: string;
|
|
165
|
-
country_id: string;
|
|
166
|
-
charges_id: string;
|
|
167
|
-
item_id: string;
|
|
168
|
-
item_code: string;
|
|
169
|
-
item_name: string;
|
|
170
|
-
item_barcode: string;
|
|
171
|
-
category_id: string;
|
|
172
|
-
category_name: string;
|
|
173
|
-
price_list_id: string;
|
|
174
|
-
price_list_name: string;
|
|
175
|
-
cost_center_id: string;
|
|
176
|
-
cost_center_code: string;
|
|
177
|
-
cost_center_name: string;
|
|
178
|
-
cost_center_father_code: string;
|
|
179
|
-
cost_center_father_name: string;
|
|
180
|
-
tax_iva_id: string;
|
|
181
|
-
tax_iva_rate: number;
|
|
182
|
-
unit_measure_id: string;
|
|
183
|
-
unit_measure_type: string;
|
|
184
|
-
unit_measure_abbreviation: string;
|
|
185
|
-
unit_measure_name: string;
|
|
186
|
-
unit_measure_quantity: number;
|
|
187
|
-
amount: number;
|
|
188
|
-
price_type_id: string;
|
|
189
|
-
price_type: string;
|
|
190
|
-
price_type_description: string;
|
|
191
|
-
price_base: number;
|
|
192
|
-
total_price: number;
|
|
193
|
-
discount_rate: number;
|
|
194
|
-
unit_discount: number;
|
|
195
|
-
total_discount: number;
|
|
196
|
-
created_user: string;
|
|
197
|
-
created_at: number;
|
|
198
|
-
charges_detail_tax: Detail.Tax[];
|
|
199
|
-
}
|
|
200
|
-
namespace Detail {
|
|
201
|
-
interface ChargesDetail {
|
|
202
|
-
_id: string;
|
|
203
|
-
company_id: string;
|
|
204
|
-
country_id: string;
|
|
205
|
-
charges_id: string;
|
|
206
|
-
item_id: string;
|
|
207
|
-
item_code: string;
|
|
208
|
-
item_name: string;
|
|
209
|
-
item_barcode: string;
|
|
210
|
-
category_id: string;
|
|
211
|
-
category_name: string;
|
|
212
|
-
price_list_id: string;
|
|
213
|
-
price_list_name: string;
|
|
214
|
-
cost_center_id: string;
|
|
215
|
-
cost_center_code: string;
|
|
216
|
-
cost_center_name: string;
|
|
217
|
-
cost_center_father_code: string;
|
|
218
|
-
cost_center_father_name: string;
|
|
219
|
-
tax_iva_id: string;
|
|
220
|
-
tax_iva_rate: number;
|
|
221
|
-
unit_measure_id: string;
|
|
222
|
-
unit_measure_type: string;
|
|
223
|
-
unit_measure_abbreviation: string;
|
|
224
|
-
unit_measure_name: string;
|
|
225
|
-
unit_measure_quantity: number;
|
|
226
|
-
amount: number;
|
|
227
|
-
price_type_id: string;
|
|
228
|
-
price_type: string;
|
|
229
|
-
price_type_description: string;
|
|
230
|
-
price_base: number;
|
|
231
|
-
total_price: number;
|
|
232
|
-
discount_rate: number;
|
|
233
|
-
unit_discount: number;
|
|
234
|
-
total_discount: number;
|
|
235
|
-
created_user: string;
|
|
236
|
-
created_at: number;
|
|
237
|
-
charges_detail_tax: Tax[];
|
|
238
|
-
}
|
|
239
|
-
interface Tax {
|
|
240
|
-
_id: string;
|
|
241
|
-
company_id: string;
|
|
242
|
-
charges_detail_id: string;
|
|
243
|
-
type: string;
|
|
244
|
-
description: string;
|
|
245
|
-
tax_code: string;
|
|
246
|
-
tax_rate: number;
|
|
247
|
-
tax_base: number;
|
|
248
|
-
tax_value: number;
|
|
249
|
-
created_at: number;
|
|
250
|
-
}
|
|
251
|
-
}
|
|
252
|
-
}
|
|
253
|
-
}
|
|
254
|
-
interface ConfirmResponse {
|
|
255
|
-
success: boolean;
|
|
256
|
-
message: string;
|
|
257
|
-
data?: any;
|
|
258
|
-
}
|
|
259
|
-
}
|
|
@@ -1,176 +0,0 @@
|
|
|
1
|
-
export declare namespace CbmEmployeeModel {
|
|
2
|
-
interface ListParams {
|
|
3
|
-
page: number;
|
|
4
|
-
size: number;
|
|
5
|
-
department_id?: string;
|
|
6
|
-
position_id?: string;
|
|
7
|
-
marital_status_id?: string;
|
|
8
|
-
document_type_id?: string;
|
|
9
|
-
name_surname?: string;
|
|
10
|
-
enabled?: boolean;
|
|
11
|
-
}
|
|
12
|
-
interface ListResponse {
|
|
13
|
-
success: boolean;
|
|
14
|
-
items: ListResponse.Data[];
|
|
15
|
-
}
|
|
16
|
-
namespace ListResponse {
|
|
17
|
-
interface Data {
|
|
18
|
-
_id: string;
|
|
19
|
-
company_id: string;
|
|
20
|
-
company_NIF: string;
|
|
21
|
-
company_trade_name: string;
|
|
22
|
-
company_business_name: string;
|
|
23
|
-
company_address: string;
|
|
24
|
-
company_logo: string;
|
|
25
|
-
country_id: string;
|
|
26
|
-
country_code: string;
|
|
27
|
-
country_name: string;
|
|
28
|
-
country_short_name: string;
|
|
29
|
-
period_id: string;
|
|
30
|
-
period_year: string;
|
|
31
|
-
department_id: string;
|
|
32
|
-
department_code: number;
|
|
33
|
-
department_name: string;
|
|
34
|
-
position_id: string;
|
|
35
|
-
position_code: number;
|
|
36
|
-
position_name: string;
|
|
37
|
-
marital_status_id: string;
|
|
38
|
-
marital_status_code: string;
|
|
39
|
-
marital_status_name: string;
|
|
40
|
-
document_type_id: string;
|
|
41
|
-
document_type_code: string;
|
|
42
|
-
document_type_name: string;
|
|
43
|
-
sequence_number: number;
|
|
44
|
-
document_number: string;
|
|
45
|
-
names: string;
|
|
46
|
-
surnames: string;
|
|
47
|
-
address: string;
|
|
48
|
-
phone_code: string;
|
|
49
|
-
phone: string;
|
|
50
|
-
cellphone: string;
|
|
51
|
-
email: string[];
|
|
52
|
-
gender: string;
|
|
53
|
-
birthdate: number;
|
|
54
|
-
enabled: boolean;
|
|
55
|
-
deleted: boolean;
|
|
56
|
-
user_id: string;
|
|
57
|
-
created_user: string;
|
|
58
|
-
created_at: number;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
interface SaveBody {
|
|
62
|
-
company_NIF: string;
|
|
63
|
-
company_trade_name: string;
|
|
64
|
-
company_business_name: string;
|
|
65
|
-
company_address: string;
|
|
66
|
-
company_email?: string;
|
|
67
|
-
company_logo: string;
|
|
68
|
-
department_id: string;
|
|
69
|
-
department_code: number;
|
|
70
|
-
department_name: string;
|
|
71
|
-
position_id: string;
|
|
72
|
-
position_code: number;
|
|
73
|
-
position_name: string;
|
|
74
|
-
marital_status_id: string;
|
|
75
|
-
marital_status_code: string;
|
|
76
|
-
marital_status_name: string;
|
|
77
|
-
document_type_id: string;
|
|
78
|
-
document_type_code: string;
|
|
79
|
-
document_type_name: string;
|
|
80
|
-
document_number: string;
|
|
81
|
-
names: string;
|
|
82
|
-
surnames: string;
|
|
83
|
-
address: string;
|
|
84
|
-
phone_code: string;
|
|
85
|
-
phone: string;
|
|
86
|
-
cellphone: string;
|
|
87
|
-
email: string[];
|
|
88
|
-
email_business: string[];
|
|
89
|
-
gender: string;
|
|
90
|
-
birthdate: number;
|
|
91
|
-
}
|
|
92
|
-
interface UpdateBody {
|
|
93
|
-
company_NIF: string;
|
|
94
|
-
company_trade_name: string;
|
|
95
|
-
company_business_name: string;
|
|
96
|
-
company_address: string;
|
|
97
|
-
company_email?: string;
|
|
98
|
-
company_logo: string;
|
|
99
|
-
department_id: string;
|
|
100
|
-
department_code: number;
|
|
101
|
-
department_name: string;
|
|
102
|
-
position_id: string;
|
|
103
|
-
position_code: number;
|
|
104
|
-
position_name: string;
|
|
105
|
-
marital_status_id: string;
|
|
106
|
-
marital_status_code: string;
|
|
107
|
-
marital_status_name: string;
|
|
108
|
-
document_type_id: string;
|
|
109
|
-
document_type_code: string;
|
|
110
|
-
document_type_name: string;
|
|
111
|
-
document_number: string;
|
|
112
|
-
names: string;
|
|
113
|
-
surnames: string;
|
|
114
|
-
address: string;
|
|
115
|
-
phone_code: string;
|
|
116
|
-
phone: string;
|
|
117
|
-
cellphone: string;
|
|
118
|
-
email: string[];
|
|
119
|
-
email_business: string[];
|
|
120
|
-
gender: string;
|
|
121
|
-
birthdate: number;
|
|
122
|
-
}
|
|
123
|
-
interface GetOneResponse {
|
|
124
|
-
success: boolean;
|
|
125
|
-
data: GetOneResponse.Data;
|
|
126
|
-
}
|
|
127
|
-
namespace GetOneResponse {
|
|
128
|
-
interface Data {
|
|
129
|
-
_id: string;
|
|
130
|
-
company_id: string;
|
|
131
|
-
company_NIF: string;
|
|
132
|
-
company_trade_name: string;
|
|
133
|
-
company_business_name: string;
|
|
134
|
-
company_address: string;
|
|
135
|
-
company_logo: string;
|
|
136
|
-
country_id: string;
|
|
137
|
-
country_code: string;
|
|
138
|
-
country_name: string;
|
|
139
|
-
country_short_name: string;
|
|
140
|
-
period_id: string;
|
|
141
|
-
period_year: string;
|
|
142
|
-
department_id: string;
|
|
143
|
-
department_code: number;
|
|
144
|
-
department_name: string;
|
|
145
|
-
position_id: string;
|
|
146
|
-
position_code: number;
|
|
147
|
-
position_name: string;
|
|
148
|
-
marital_status_id: string;
|
|
149
|
-
marital_status_code: string;
|
|
150
|
-
marital_status_name: string;
|
|
151
|
-
document_type_id: string;
|
|
152
|
-
document_type_code: string;
|
|
153
|
-
document_type_name: string;
|
|
154
|
-
sequence_number: number;
|
|
155
|
-
document_number: string;
|
|
156
|
-
names: string;
|
|
157
|
-
surnames: string;
|
|
158
|
-
address: string;
|
|
159
|
-
phone_code: string;
|
|
160
|
-
phone: string;
|
|
161
|
-
cellphone: string;
|
|
162
|
-
email: string[];
|
|
163
|
-
emails_company: string[];
|
|
164
|
-
gender: string;
|
|
165
|
-
birthdate: number;
|
|
166
|
-
enabled: boolean;
|
|
167
|
-
deleted: boolean;
|
|
168
|
-
user_id: string;
|
|
169
|
-
user_inactive_at: number;
|
|
170
|
-
disabled_reason: string;
|
|
171
|
-
user_inactive_name: string;
|
|
172
|
-
created_user: string;
|
|
173
|
-
created_at: number;
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { CbmChargesForOrderVehicleModel } from '../models/charges-for-order-vehicle.domain.model';
|
|
3
|
-
import { ICbmChargesForOrderVehicleInfrastructureRepository } from '../../infrastructure/repositories/changes-for-order-vehicle.infrastructure.repository';
|
|
4
|
-
export declare class CbmChargesForOrderVehicleDomainRepository implements ICbmChargesForOrderVehicleInfrastructureRepository {
|
|
5
|
-
private readonly service;
|
|
6
|
-
constructor(service: ICbmChargesForOrderVehicleInfrastructureRepository);
|
|
7
|
-
list(params: CbmChargesForOrderVehicleModel.ListParams): Observable<CbmChargesForOrderVehicleModel.ListResponse>;
|
|
8
|
-
getOne(id: string): Observable<CbmChargesForOrderVehicleModel.GetOneResponse>;
|
|
9
|
-
save(data: CbmChargesForOrderVehicleModel.SaveBody): Observable<CbmChargesForOrderVehicleModel.ConfirmResponse>;
|
|
10
|
-
}
|
package/lib/infrastructure/repositories/changes-for-order-vehicle.infrastructure.repository.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { CbmChargesForOrderVehicleModel } from "../../domain/models/charges-for-order-vehicle.domain.model";
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
export interface ICbmChargesForOrderVehicleInfrastructureRepository {
|
|
4
|
-
list(params: CbmChargesForOrderVehicleModel.ListParams): Observable<CbmChargesForOrderVehicleModel.ListResponse>;
|
|
5
|
-
getOne(id: string): Observable<CbmChargesForOrderVehicleModel.GetOneResponse>;
|
|
6
|
-
save(data: CbmChargesForOrderVehicleModel.SaveBody): Observable<CbmChargesForOrderVehicleModel.ConfirmResponse>;
|
|
7
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { ICbmChargesForOrderVehicleInfrastructureRepository } from '../repositories/changes-for-order-vehicle.infrastructure.repository';
|
|
4
|
-
import { CbmChargesForOrderVehicleModel } from '../../domain/models/charges-for-order-vehicle.domain.model';
|
|
5
|
-
export declare class CbmChargesForOrderVehicleInfrastructureService implements ICbmChargesForOrderVehicleInfrastructureRepository {
|
|
6
|
-
private readonly http;
|
|
7
|
-
constructor(http: HttpClient);
|
|
8
|
-
private readonly url;
|
|
9
|
-
list(params: CbmChargesForOrderVehicleModel.ListParams): Observable<CbmChargesForOrderVehicleModel.ListResponse>;
|
|
10
|
-
getOne(id: string): Observable<CbmChargesForOrderVehicleModel.GetOneResponse>;
|
|
11
|
-
save(data: CbmChargesForOrderVehicleModel.SaveBody): Observable<CbmChargesForOrderVehicleModel.ConfirmResponse>;
|
|
12
|
-
}
|