@cbm-common/cbm-types 0.0.244 → 0.0.246
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-client/add-client.d.ts +10 -28
- package/lib/components/add-client/types.d.ts +0 -6
- package/lib/components/order-vehicle-add-charge/order-vehicle-add-charge.d.ts +28 -8
- package/lib/components/order-vehicle-add-charge/sale-account-modal/sale-account-modal.d.ts +2 -2
- package/lib/components/pms-add-charge/pms-add-charge.d.ts +2 -2
- package/lib/domain/models/charges-for-order-vehicle.domain.model.d.ts +259 -0
- package/lib/domain/models/employee.model.d.ts +176 -0
- package/lib/domain/models/sales-account.domain.model.d.ts +82 -83
- package/lib/domain/repositories/charges-for-order-vehicle.domain.repository.d.ts +10 -0
- package/lib/domain/repositories/sales-account.domain.repository.d.ts +1 -1
- package/lib/infrastructure/repositories/changes-for-order-vehicle.infrastructure.repository.d.ts +7 -0
- package/lib/infrastructure/repositories/sales-account.infrastructure.repository.d.ts +1 -1
- package/lib/infrastructure/services/charges-for-order-vehicle.infrastructure.service.d.ts +12 -0
- package/lib/infrastructure/services/sales-account.infrastructure.service.d.ts +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +4 -0
- package/lib/components/accounting-seat/directives/drop-down-menu.directive.d.ts +0 -13
- package/lib/components/accounting-seat/directives/drop-down.directive.d.ts +0 -10
- package/lib/components/record-detail-metadata/components/options/options.d.ts +0 -13
- package/lib/components/record-detail-metadata/directives/drop-down-menu.directive.d.ts +0 -13
- package/lib/components/record-detail-metadata/directives/drop-down.directive.d.ts +0 -9
- package/lib/domain/models/sales-pending-document.domain.model.d.ts +0 -91
- package/lib/domain/repositories/sales-pending-document.domain.repository.d.ts +0 -8
- package/lib/infrastructure/repositories/blanket-agreement-category-service..infrastructure.repository.d.ts +0 -7
- package/lib/infrastructure/repositories/sales-pending-document.infrastructure.repository.d.ts +0 -5
- package/lib/infrastructure/services/sales-pending-document.infrastructure.service.d.ts +0 -9
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { AfterViewInit, DestroyRef, ElementRef, OnInit } from '@angular/core';
|
|
2
2
|
import { AsyncValidatorFn, FormControl, FormGroup, ValidatorFn } from '@angular/forms';
|
|
3
3
|
import { Subject } from 'rxjs';
|
|
4
|
+
import { ListService, PaginatedListService } from '@cbm-common/data-access';
|
|
4
5
|
import { CbmClientGroupModel } from '../../domain/models/client-group.domain.model';
|
|
5
6
|
import { CbmClientModel } from '../../domain/models/client.domain.model';
|
|
6
|
-
import { CbmCountryCodeModel } from '../../domain/models/country-code.domain.model';
|
|
7
7
|
import { CbmDocumentTypeModel } from '../../domain/models/document-type.model';
|
|
8
8
|
import { CbmPriceListModel } from '../../domain/models/price-list.domain.model';
|
|
9
9
|
import { CbmRateModel } from '../../domain/models/rate.domain.model';
|
|
@@ -21,7 +21,7 @@ import { CbmSettingsProfessionsDomainRepository } from '../../domain/repositorie
|
|
|
21
21
|
import { CbmNotificationService } from '../../domain/services/notification/notification.service';
|
|
22
22
|
import { CbmModalConfirmComponent } from '../modal-confirm/modal-confirm';
|
|
23
23
|
import { CbmTreeSelect } from '../tree-select/types';
|
|
24
|
-
import {
|
|
24
|
+
import { TStatus } from './types';
|
|
25
25
|
import { AccountValidatorsDomainService } from '../../domain/services/account-validators.domain.service';
|
|
26
26
|
import { CbmPersonTypeUAFEModel } from '../../domain/models/person-type-uafe.domain.model';
|
|
27
27
|
import { CbmPersonTypeUAFERepository } from '../../domain/repositories/person-type-uafe.domain.repository';
|
|
@@ -54,37 +54,24 @@ export declare class CbmAddClientComponent implements OnInit, AfterViewInit {
|
|
|
54
54
|
update: import("@angular/core").OutputEmitterRef<any>;
|
|
55
55
|
allDocumentTypes: import("@angular/core").WritableSignal<CbmDocumentTypeModel.ListResponse.Data[]>;
|
|
56
56
|
documentTypes: import("@angular/core").WritableSignal<CbmDocumentTypeModel.ListResponse.Data[]>;
|
|
57
|
-
subjectClasses: import("@angular/core").WritableSignal<CbmPersonTypeUAFEModel.ListResponse.Item[]>;
|
|
58
|
-
countryCodes: import("@angular/core").WritableSignal<CbmCountryCodeModel.ListResponse.Data[]>;
|
|
59
|
-
sellers: import("@angular/core").WritableSignal<CbmSellerModel.ListResponse.Data[]>;
|
|
60
|
-
priceLists: import("@angular/core").WritableSignal<CbmPriceListModel.ListResponse.Data[]>;
|
|
61
|
-
rateOptions: import("@angular/core").WritableSignal<CbmRateModel.ListResponse.Item[]>;
|
|
62
57
|
categories: import("@angular/core").WritableSignal<CbmTreeSelect.Children<any>>;
|
|
63
|
-
professions: import("@angular/core").WritableSignal<CbmSettingsProfessionsModel.ListResponse.Item[]>;
|
|
64
58
|
clientToUpdate: import("@angular/core").WritableSignal<CbmClientModel.GetOneResponse.Data | null>;
|
|
65
59
|
statusOfFetchDocumentTypes: import("@angular/core").WritableSignal<TStatus>;
|
|
66
60
|
statusOfExtractClientData: import("@angular/core").WritableSignal<TStatus>;
|
|
67
|
-
statusOfFetchCountryCodes: import("@angular/core").WritableSignal<TStatus>;
|
|
68
|
-
statusOfFetchSellers: import("@angular/core").WritableSignal<TStatus>;
|
|
69
|
-
statusOfFetchSubjectClasses: import("@angular/core").WritableSignal<TStatus>;
|
|
70
|
-
statusOfFetchPriceLists: import("@angular/core").WritableSignal<TStatus>;
|
|
71
61
|
statusOfFetchCategories: import("@angular/core").WritableSignal<TStatus>;
|
|
72
62
|
statusOfSaveClient: import("@angular/core").WritableSignal<TStatus>;
|
|
73
63
|
statusOfFetchClientData: import("@angular/core").WritableSignal<TStatus>;
|
|
74
64
|
statusOfUpdateClient: import("@angular/core").WritableSignal<TStatus>;
|
|
65
|
+
isInitialLoading: import("@angular/core").WritableSignal<boolean>;
|
|
75
66
|
isEmailInputFocused: import("@angular/core").WritableSignal<boolean>;
|
|
76
|
-
statusOfFetchRate: import("@angular/core").WritableSignal<TStatus>;
|
|
77
|
-
statusOfFetProfession: import("@angular/core").WritableSignal<TStatus>;
|
|
78
|
-
subjectToSearchSubjectClass$: Subject<string>;
|
|
79
67
|
subjectToSearchDocumentType$: Subject<string>;
|
|
80
|
-
subjectToSearchSeller$: Subject<string>;
|
|
81
|
-
subjectToSearchPriceList$: Subject<string>;
|
|
82
68
|
subjectToSearchCategory$: Subject<string>;
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
69
|
+
sellers$: ListService<CbmSellerModel.ListResponse, CbmSellerModel.ListParams, CbmSellerModel.ListResponse.Data[]>;
|
|
70
|
+
priceLists$: ListService<CbmPriceListModel.ListResponse, CbmPriceListModel.ListParams, CbmPriceListModel.ListResponse.Data[]>;
|
|
71
|
+
countryCodes$: ListService<import("../../domain/models/country-code.domain.model").CbmCountryCodeModel.ListResponse, import("../../domain/models/country-code.domain.model").CbmCountryCodeModel.ListParams, import("../../domain/models/country-code.domain.model").CbmCountryCodeModel.ListResponse.Data[]>;
|
|
72
|
+
subjectClasses$: PaginatedListService<CbmPersonTypeUAFEModel.ListResponse, CbmPersonTypeUAFEModel.ListParams, CbmPersonTypeUAFEModel.ListResponse.Item[]>;
|
|
73
|
+
rate$: PaginatedListService<CbmRateModel.ListResponse, CbmRateModel.ListParams, CbmRateModel.ListResponse.Item[]>;
|
|
74
|
+
professions$: PaginatedListService<CbmSettingsProfessionsModel.ListResponse, CbmSettingsProfessionsModel.ListParams, CbmSettingsProfessionsModel.ListResponse.Item[]>;
|
|
88
75
|
defaultDocumentNumber: string | null;
|
|
89
76
|
DOCUMENT_TYPES_CODES: {
|
|
90
77
|
readonly RUC: "04";
|
|
@@ -155,6 +142,7 @@ export declare class CbmAddClientComponent implements OnInit, AfterViewInit {
|
|
|
155
142
|
makeSubscriptions(): void;
|
|
156
143
|
makeInitialRequests(): void;
|
|
157
144
|
private clearOptionalControlsValidators;
|
|
145
|
+
private initRate;
|
|
158
146
|
fetchClientData(): void;
|
|
159
147
|
fetchDocumentTypes(searchTerm?: string): void;
|
|
160
148
|
private loadDocumentTypesWithValidation;
|
|
@@ -163,11 +151,6 @@ export declare class CbmAddClientComponent implements OnInit, AfterViewInit {
|
|
|
163
151
|
extractClientData(): void;
|
|
164
152
|
fetchDataByCedula(): void;
|
|
165
153
|
fetchDataByRuc(): void;
|
|
166
|
-
fetchCountryCodes(): void;
|
|
167
|
-
fetchProfession(searchTerm?: string): void;
|
|
168
|
-
fetchSellers(searchTerm?: string): void;
|
|
169
|
-
fetchSubjectClasses(searchTerm?: string): void;
|
|
170
|
-
fetchPriceLists(searchTerm?: string): void;
|
|
171
154
|
fetchCategories(searchTerm?: string): void;
|
|
172
155
|
removeEmail(email: string): void;
|
|
173
156
|
saveClient(callback: (newClientId: string) => void): void;
|
|
@@ -176,7 +159,6 @@ export declare class CbmAddClientComponent implements OnInit, AfterViewInit {
|
|
|
176
159
|
addClientAndClose(): void;
|
|
177
160
|
updateClient(): void;
|
|
178
161
|
onDropdownMenuClick(event: MouseEvent, dropdownMenu: HTMLUListElement): void;
|
|
179
|
-
fetchRate(searchTerm?: string, init?: boolean): void;
|
|
180
162
|
validateSaveClientForm(saveOption: TSaveOptions): Promise<void>;
|
|
181
163
|
onModalConfirm(): void;
|
|
182
164
|
validateUpdateClientForm(): Promise<void>;
|
|
@@ -4,6 +4,7 @@ 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';
|
|
7
8
|
import { CbmCompanyCustomModel } from '../../domain/models/company-custom.domain.model';
|
|
8
9
|
import { CbmCostCenterModel } from '../../domain/models/cost-center.domain.model';
|
|
9
10
|
import { IGeneral } from '../../domain/models/general.domain.model';
|
|
@@ -15,6 +16,8 @@ import { CbmSalesAccountModel } from '../../domain/models/sales-account.domain.m
|
|
|
15
16
|
import { CbmOutsourcingServiceModel } from '../../domain/models/service-outsourcing.domain.model';
|
|
16
17
|
import { CbmServiceModel } from '../../domain/models/service.domain.model';
|
|
17
18
|
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';
|
|
18
21
|
import { CbmCompanyCustomRepository } from '../../domain/repositories/company-custom.domain.repository';
|
|
19
22
|
import { CbmCostCenterRepository } from '../../domain/repositories/cost-center.domain.repository';
|
|
20
23
|
import { CbmItemDomainRepository } from '../../domain/repositories/item.domain.repository';
|
|
@@ -26,10 +29,11 @@ import { CbmServiceOutsourcingDomainRepository } from '../../domain/repositories
|
|
|
26
29
|
import { CbmServiceDomainRepository } from '../../domain/repositories/service.domain.repository';
|
|
27
30
|
import { CbmTaxIrbpnrDomainRepository } from '../../domain/repositories/tax-irbpnr.domain.repository';
|
|
28
31
|
import { CbmUnitMeasureRepository } from '../../domain/repositories/unit-measure.domain.repository';
|
|
29
|
-
import {
|
|
32
|
+
import { CbmAuthReactiveService } from '../../domain/services/auth-reactive.domain.service';
|
|
30
33
|
import { GeneralDomainService } from '../../domain/services/general.domain.service';
|
|
31
34
|
import { CbmNotificationService } from '../../remotes/services.remote';
|
|
32
35
|
import { CbmAdvancedItemSearchModal } from '../advanced-item-search-modal/advanced-item-search-modal';
|
|
36
|
+
import { CbmItemStockModalComponent, IDataItemStock } from '../item-stock-modal/item-stock-modal.component';
|
|
33
37
|
import { CbmModalConfirmComponent } from '../modal-confirm/modal-confirm';
|
|
34
38
|
import { CbmModalSearchOutsourcingComponent } from '../modals-search/modal-search-outsourcing/modal-search-outsourcing.component';
|
|
35
39
|
import { CbmModalSearchServiceComponent } from '../modals-search/modal-search-service/modal-search-service.component';
|
|
@@ -39,9 +43,6 @@ import { CbmSortDetailModalComponent, ISortDetailModel } from '../sort-detail-mo
|
|
|
39
43
|
import { CbmTaxesModal } from '../taxes-modal/taxes-modal.model';
|
|
40
44
|
import { IFreeItemAmountModel } from '../ui/details-resume/details-resume.component';
|
|
41
45
|
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';
|
|
45
46
|
export type TTab = 'items' | 'kits' | 'services' | 'outsourcings' | 'fixed_asset';
|
|
46
47
|
export type DetailType = 'item' | 'service' | 'kit' | 'outsourcing_service';
|
|
47
48
|
export interface Tax {
|
|
@@ -52,6 +53,16 @@ export interface Tax {
|
|
|
52
53
|
tax_base: number;
|
|
53
54
|
tax_value: number;
|
|
54
55
|
}
|
|
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
|
+
}
|
|
55
66
|
export interface ICustomUnitMeasureListResponse extends CbmUnitMeasureModel.ListResponse.Data {
|
|
56
67
|
amount: number;
|
|
57
68
|
barcode?: string;
|
|
@@ -63,6 +74,7 @@ export declare class CbmOrderVehicleAddCharge {
|
|
|
63
74
|
private destroyRef;
|
|
64
75
|
generalService: GeneralDomainService;
|
|
65
76
|
private salePriceRepository;
|
|
77
|
+
private chargesForOrderVehicleRepository;
|
|
66
78
|
private readonly salesAccountDomainRepository;
|
|
67
79
|
private outsourcingServiceMovementsRepository;
|
|
68
80
|
private readonly priceListRepository;
|
|
@@ -75,7 +87,7 @@ export declare class CbmOrderVehicleAddCharge {
|
|
|
75
87
|
private readonly costCenterRepository;
|
|
76
88
|
private readonly serviceRepository;
|
|
77
89
|
private readonly outsourcingRepository;
|
|
78
|
-
constructor(router: Router, route: ActivatedRoute, destroyRef: DestroyRef, generalService: GeneralDomainService, salePriceRepository: CbmSalePriceDomainRepository, salesAccountDomainRepository: CbmSalesAccountDomainRepository, outsourcingServiceMovementsRepository: CbmOutsourcingServicesMovementsDomainRepository, priceListRepository: CbmPriceListDomainRepository, taxIrbpnrRepository: CbmTaxIrbpnrDomainRepository, companyCustomRepository: CbmCompanyCustomRepository, authService:
|
|
90
|
+
constructor(router: Router, route: ActivatedRoute, destroyRef: DestroyRef, generalService: GeneralDomainService, salePriceRepository: CbmSalePriceDomainRepository, chargesForOrderVehicleRepository: CbmChargesForOrderVehicleDomainRepository, salesAccountDomainRepository: CbmSalesAccountDomainRepository, outsourcingServiceMovementsRepository: CbmOutsourcingServicesMovementsDomainRepository, priceListRepository: CbmPriceListDomainRepository, taxIrbpnrRepository: CbmTaxIrbpnrDomainRepository, companyCustomRepository: CbmCompanyCustomRepository, authService: CbmAuthReactiveService, notificationService: CbmNotificationService, itemRepository: CbmItemDomainRepository, unitMeasureRepository: CbmUnitMeasureRepository, costCenterRepository: CbmCostCenterRepository, serviceRepository: CbmServiceDomainRepository, outsourcingRepository: CbmServiceOutsourcingDomainRepository);
|
|
79
91
|
ngSelectsRefs: import("@angular/core").Signal<readonly NgSelectComponent[]>;
|
|
80
92
|
itemDetailsTableContainer: import("@angular/core").Signal<ElementRef<any> | undefined>;
|
|
81
93
|
itemDetailsTableRef: import("@angular/core").Signal<ElementRef<HTMLTableElement> | undefined>;
|
|
@@ -100,10 +112,16 @@ export declare class CbmOrderVehicleAddCharge {
|
|
|
100
112
|
outsourcingServicesMovementsModalRef: import("@angular/core").Signal<CbmOutsourcingServicesMovementsModalComponent>;
|
|
101
113
|
statusOfSave: import("@angular/core").WritableSignal<IGeneral.STATUS>;
|
|
102
114
|
statusOfFetchItemById: import("@angular/core").WritableSignal<IGeneral.STATUS>;
|
|
103
|
-
|
|
115
|
+
modeSaleOrWo: import("@angular/core").InputSignal<"sale" | "wo">;
|
|
116
|
+
saleAccountId: import("@angular/core").InputSignal<string | null>;
|
|
117
|
+
actionType: import("@angular/core").InputSignal<"add" | "update">;
|
|
104
118
|
onCancel: import("@angular/core").OutputEmitterRef<void>;
|
|
119
|
+
onSave: import("@angular/core").OutputEmitterRef<{
|
|
120
|
+
redirect: "new" | "view" | "close" | "modal";
|
|
121
|
+
id?: string;
|
|
122
|
+
}>;
|
|
105
123
|
orderId: import("@angular/core").WritableSignal<string | null>;
|
|
106
|
-
saleAccountData: import("@angular/core").WritableSignal<CbmSalesAccountModel.GetOneResponse.Data
|
|
124
|
+
saleAccountData: import("@angular/core").WritableSignal<CbmSalesAccountModel.GetOneResponse.Data | null>;
|
|
107
125
|
dataStockModal: import("@angular/core").WritableSignal<IDataItemStock | null>;
|
|
108
126
|
priceHistory: import("@angular/core").WritableSignal<IPriceHistoryModel | null>;
|
|
109
127
|
companyCustom: import("@angular/core").WritableSignal<CbmCompanyCustomModel.FindResponse | null>;
|
|
@@ -286,8 +304,10 @@ export declare class CbmOrderVehicleAddCharge {
|
|
|
286
304
|
openAdvanceOutsourcingSearchModal(): void;
|
|
287
305
|
onSaleAccountSelected(saleAccount: CbmSalesAccountModel.ListResponse.Item): void;
|
|
288
306
|
fetchData(id: string): Promise<void>;
|
|
307
|
+
searchSaleAccount$: PaginatedListService<CbmSalesAccountModel.ListResponse, CbmSalesAccountModel.ListParams, CbmSalesAccountModel.ListResponse.Item[]>;
|
|
289
308
|
fetchTaxIrbpnr(): Promise<void>;
|
|
290
|
-
onConfirmSave(redirect: 'new' | 'view' | 'close'): Promise<void>;
|
|
309
|
+
onConfirmSave(redirect: 'new' | 'view' | 'close' | 'modal'): Promise<void>;
|
|
310
|
+
populateFormWithExistingDetails(details: CbmSalesAccountModel.GetOneResponse.Data.Detail[]): Promise<void>;
|
|
291
311
|
fetchCompanyCustom(): Promise<void>;
|
|
292
312
|
saveRequest(): Promise<string>;
|
|
293
313
|
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 { CbmAuthReactiveService } from '../../../domain/services/auth-reactive.domain.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: CbmAuthReactiveService, 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>;
|
|
@@ -47,13 +47,13 @@ export declare class CbmPmsAddCharge implements OnInit {
|
|
|
47
47
|
protected costCenter$: ListService<CbmCostCenterModel.ListResponse, CbmCostCenterModel.ListParams, CbmCostCenterModel.ListResponse.Data[]>;
|
|
48
48
|
firstCostCenter$: Subject<void>;
|
|
49
49
|
protected foliosRoomId: import("@angular/core").WritableSignal<string | null>;
|
|
50
|
-
protected selectedFolio: import("@angular/core").WritableSignal<CbmSalesAccountModel.GetOneResponse.Data
|
|
50
|
+
protected selectedFolio: import("@angular/core").WritableSignal<CbmSalesAccountModel.GetOneResponse.Data | null>;
|
|
51
51
|
protected priceList: import("@angular/core").Signal<Partial<CbmPriceListModel.ListResponse.Data>>;
|
|
52
52
|
protected client: import("@angular/core").Signal<Partial<CbmClientModel.GetOneResponse.Data>>;
|
|
53
53
|
contact: import("@angular/core").Signal<Partial<CbmContactModel.ListResponse.Data> | null>;
|
|
54
54
|
clientBranch: import("@angular/core").Signal<Partial<CbmClientModel.GetOneResponse.Data.Contact>>;
|
|
55
55
|
protected costCenter: import("@angular/core").Signal<Partial<CbmCostCenterModel.ListResponse.Data>>;
|
|
56
|
-
protected relatedDocument: import("@angular/core").Signal<CbmSalesAccountModel.
|
|
56
|
+
protected relatedDocument: import("@angular/core").Signal<CbmSalesAccountModel.GetOneResponse.Data.Origin | null>;
|
|
57
57
|
protected totals: import("@angular/core").WritableSignal<{
|
|
58
58
|
itemAmount: number;
|
|
59
59
|
itemSubtotal: number;
|
|
@@ -0,0 +1,259 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,176 @@
|
|
|
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,3 +1,4 @@
|
|
|
1
|
+
import { CbmSalePriceModel } from "./sale-price.domain.model";
|
|
1
2
|
export declare namespace CbmSalesAccountModel {
|
|
2
3
|
type DetailType = 'item' | 'service' | 'kit' | 'outsourcing_service';
|
|
3
4
|
const transactionTypes: Record<string, string>;
|
|
@@ -16,6 +17,8 @@ export declare namespace CbmSalesAccountModel {
|
|
|
16
17
|
enabled?: boolean;
|
|
17
18
|
check_in_id?: string;
|
|
18
19
|
room_id?: string;
|
|
20
|
+
collection_origin_id?: string;
|
|
21
|
+
collection_origin_name?: string;
|
|
19
22
|
}
|
|
20
23
|
interface ListResponse {
|
|
21
24
|
success: boolean;
|
|
@@ -29,42 +32,60 @@ export declare namespace CbmSalesAccountModel {
|
|
|
29
32
|
interface Item {
|
|
30
33
|
_id: string;
|
|
31
34
|
company_id: string;
|
|
35
|
+
collection_origin_id: string;
|
|
36
|
+
collection_origin_name: string;
|
|
37
|
+
collection_origin_document_nomenclature_number: string;
|
|
38
|
+
collection_origin_created_at: number;
|
|
39
|
+
collection_origin_created_user: string;
|
|
40
|
+
event_module_origin: string;
|
|
41
|
+
data_origin: Item.DataOrigin;
|
|
32
42
|
company_NIF: string;
|
|
33
|
-
guest_last_name: string;
|
|
34
|
-
guest_name: string;
|
|
35
43
|
company_address: string;
|
|
36
44
|
company_trade_name: string;
|
|
37
45
|
company_business_name: string;
|
|
38
|
-
company_branch_id: string;
|
|
39
|
-
company_branch_identification_number: string;
|
|
40
|
-
company_branch_trade_name: string;
|
|
41
|
-
company_branch_logo: string;
|
|
42
|
-
company_branch_address: string;
|
|
43
|
-
company_branch_email: string;
|
|
44
|
-
company_branch_cellphone: string;
|
|
45
|
-
company_branch_phone: string;
|
|
46
46
|
country_id: string;
|
|
47
47
|
country_code: string;
|
|
48
48
|
country_name: string;
|
|
49
49
|
country_short_name: string;
|
|
50
50
|
period_id: string;
|
|
51
51
|
period_year: string;
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
52
|
+
client_id: string;
|
|
53
|
+
client_business_name: string;
|
|
54
|
+
client_trade_name: string;
|
|
55
|
+
client_document_number: string;
|
|
56
|
+
client_credit_application: boolean;
|
|
57
|
+
client_document_type_id: string;
|
|
58
|
+
client_document_type_name: string;
|
|
59
|
+
client_document_type_code: string;
|
|
60
|
+
client_category_id: string;
|
|
61
|
+
client_category_name: string;
|
|
62
|
+
client_price_list_id: string;
|
|
63
|
+
client_price_list_name: string;
|
|
64
|
+
client_branch_id: string;
|
|
65
|
+
client_branch_code: string;
|
|
66
|
+
client_branch_name: string;
|
|
67
|
+
client_branch_address: string;
|
|
68
|
+
client_branch_email: string[];
|
|
69
|
+
client_branch_phone_code: string;
|
|
70
|
+
client_branch_phone: string;
|
|
71
|
+
client_branch_cellphone: string;
|
|
72
|
+
client_branch_type_establishment: string;
|
|
73
|
+
client_branch_seller_id: string;
|
|
74
|
+
client_branch_seller_identification_number: string;
|
|
75
|
+
client_branch_seller_full_name: string;
|
|
76
|
+
client_branch_seller_address: string;
|
|
77
|
+
client_branch_seller_email: string[];
|
|
78
|
+
client_branch_seller_cellphone: string;
|
|
55
79
|
default_cost_center_id: string;
|
|
56
80
|
default_cost_center_code: string;
|
|
57
81
|
default_cost_center_name: string;
|
|
58
|
-
|
|
82
|
+
default_cost_center_father_code: string;
|
|
83
|
+
default_cost_center_father_name: string;
|
|
59
84
|
document_nomenclature: string;
|
|
60
85
|
document_number: string;
|
|
61
86
|
document_date: number;
|
|
62
|
-
document_type: string;
|
|
63
87
|
generation_type: string;
|
|
64
88
|
state: string;
|
|
65
|
-
booking_id: string;
|
|
66
|
-
booking_document_nomenclature: string;
|
|
67
|
-
booking_document_number: string;
|
|
68
89
|
tax_base: number;
|
|
69
90
|
discount: number;
|
|
70
91
|
service: number;
|
|
@@ -83,87 +104,31 @@ export declare namespace CbmSalesAccountModel {
|
|
|
83
104
|
commentary: string;
|
|
84
105
|
enabled: boolean;
|
|
85
106
|
user_id: string;
|
|
86
|
-
created_at: number;
|
|
87
107
|
created_user: string;
|
|
88
|
-
|
|
89
|
-
client_business_name: string;
|
|
90
|
-
client_trade_name: string;
|
|
91
|
-
client_document_number: string;
|
|
92
|
-
client_credit_application: boolean;
|
|
93
|
-
client_document_type_id: string;
|
|
94
|
-
client_document_type_name: string;
|
|
95
|
-
client_document_type_code: string;
|
|
96
|
-
client_category_id: string;
|
|
97
|
-
client_category_name: string;
|
|
98
|
-
client_price_list_id?: string;
|
|
99
|
-
client_price_list_code?: string;
|
|
100
|
-
client_price_list_name?: string;
|
|
101
|
-
client_branch_id: string;
|
|
102
|
-
client_branch_code: string;
|
|
103
|
-
client_branch_name: string;
|
|
104
|
-
client_branch_address: string;
|
|
105
|
-
client_branch_email: string[];
|
|
106
|
-
client_branch_phone_code?: string;
|
|
107
|
-
client_branch_phone?: string;
|
|
108
|
-
client_branch_cellphone?: string;
|
|
109
|
-
client_branch_type_establishment: string;
|
|
110
|
-
client_branch_province_id?: string;
|
|
111
|
-
client_branch_province_code?: string;
|
|
112
|
-
client_branch_province_name?: string;
|
|
113
|
-
client_branch_canton_id?: string;
|
|
114
|
-
client_branch_canton_code?: string;
|
|
115
|
-
client_branch_canton_name?: string;
|
|
116
|
-
client_branch_parish_id?: string;
|
|
117
|
-
client_branch_parish_code?: string;
|
|
118
|
-
client_branch_parish_name?: string;
|
|
119
|
-
client_branch_longitude?: number;
|
|
120
|
-
client_branch_latitude?: number;
|
|
121
|
-
client_branch_seller_id: string;
|
|
122
|
-
client_branch_seller_identification_number: string;
|
|
123
|
-
client_branch_seller_full_name: string;
|
|
124
|
-
client_branch_seller_address: string;
|
|
125
|
-
client_branch_seller_email?: string[];
|
|
126
|
-
client_branch_seller_cellphone?: string;
|
|
127
|
-
client_branch_contact_id?: string;
|
|
128
|
-
client_branch_contact_identification_number?: string;
|
|
129
|
-
client_branch_contact_full_name?: string;
|
|
130
|
-
client_branch_contact_cellphone?: string;
|
|
131
|
-
client_branch_contact_email?: string[];
|
|
132
|
-
sales_account_related_documents: Item.SalesAccountRelatedDocuments[];
|
|
108
|
+
created_at: number;
|
|
133
109
|
}
|
|
134
110
|
namespace Item {
|
|
135
|
-
interface
|
|
136
|
-
_id: string;
|
|
137
|
-
company_id: string;
|
|
138
|
-
country_id: string;
|
|
139
|
-
collection_origin_id: string;
|
|
140
|
-
collection_origin_name: string;
|
|
141
|
-
collection_origin_document_nomenclature_number: string;
|
|
142
|
-
event_module_origin: string;
|
|
143
|
-
comment_check_in: string;
|
|
144
|
-
sales_account_id: string;
|
|
111
|
+
interface DataOrigin {
|
|
145
112
|
document_type: string;
|
|
113
|
+
booking_document_nomenclature_number: string;
|
|
146
114
|
room_id: string;
|
|
147
115
|
room_name: string;
|
|
116
|
+
comment_check_in: string;
|
|
148
117
|
guest_id: string;
|
|
149
118
|
guest_document_type_id: string;
|
|
150
119
|
guest_document_type_code: string;
|
|
151
120
|
guest_document_type_name: string;
|
|
152
121
|
guest_name: string;
|
|
153
122
|
guest_last_name: string;
|
|
154
|
-
enabled: boolean;
|
|
155
|
-
user_id: string;
|
|
156
|
-
created_at: number;
|
|
157
|
-
created_user: string;
|
|
158
123
|
}
|
|
159
124
|
}
|
|
160
125
|
}
|
|
161
|
-
interface GetOneResponse
|
|
126
|
+
interface GetOneResponse {
|
|
162
127
|
success: boolean;
|
|
163
|
-
data: GetOneResponse.Data
|
|
128
|
+
data: GetOneResponse.Data;
|
|
164
129
|
}
|
|
165
130
|
namespace GetOneResponse {
|
|
166
|
-
interface Data
|
|
131
|
+
interface Data {
|
|
167
132
|
_id: string;
|
|
168
133
|
company_id: string;
|
|
169
134
|
company_NIF: string;
|
|
@@ -178,6 +143,12 @@ export declare namespace CbmSalesAccountModel {
|
|
|
178
143
|
company_branch_email: string;
|
|
179
144
|
company_branch_cellphone: string;
|
|
180
145
|
company_branch_phone: string;
|
|
146
|
+
collection_origin_id: string;
|
|
147
|
+
collection_origin_name: string;
|
|
148
|
+
collection_origin_document_nomenclature_number: string;
|
|
149
|
+
collection_origin_created_at: number;
|
|
150
|
+
collection_origin_created_user: string;
|
|
151
|
+
event_module_origin: string;
|
|
181
152
|
country_id: string;
|
|
182
153
|
country_code: string;
|
|
183
154
|
country_name: string;
|
|
@@ -248,7 +219,7 @@ export declare namespace CbmSalesAccountModel {
|
|
|
248
219
|
user_id: string;
|
|
249
220
|
created_at: number;
|
|
250
221
|
created_user: string;
|
|
251
|
-
|
|
222
|
+
data_origin: Data.Origin;
|
|
252
223
|
sales_account_detail?: Data.Detail[];
|
|
253
224
|
}
|
|
254
225
|
namespace Data {
|
|
@@ -259,6 +230,34 @@ export declare namespace CbmSalesAccountModel {
|
|
|
259
230
|
amount: number;
|
|
260
231
|
sequence: string;
|
|
261
232
|
}
|
|
233
|
+
interface Origin {
|
|
234
|
+
vehicle_reception_id: string;
|
|
235
|
+
vehicle_id: string;
|
|
236
|
+
vehicle_license_plate: string;
|
|
237
|
+
vehicle_type: string;
|
|
238
|
+
vehicle_brand: string;
|
|
239
|
+
vehicle_model: string;
|
|
240
|
+
vehicle_color: string;
|
|
241
|
+
vehicle_cylinder: string;
|
|
242
|
+
vehicle_year: string;
|
|
243
|
+
vehicle_registry_code: string;
|
|
244
|
+
vehicle_chassis_number: string;
|
|
245
|
+
vehicle_engine_number: string;
|
|
246
|
+
order_document_nomenclature: string;
|
|
247
|
+
order_document_number: string;
|
|
248
|
+
order_document_date: number;
|
|
249
|
+
document_type: string;
|
|
250
|
+
booking_document_nomenclature_number: string;
|
|
251
|
+
room_id: string;
|
|
252
|
+
room_name: string;
|
|
253
|
+
comment_check_in: string;
|
|
254
|
+
guest_id: string;
|
|
255
|
+
guest_document_type_id: string;
|
|
256
|
+
guest_document_type_code: string;
|
|
257
|
+
guest_document_type_name: string;
|
|
258
|
+
guest_name: string;
|
|
259
|
+
guest_last_name: string;
|
|
260
|
+
}
|
|
262
261
|
interface Detail {
|
|
263
262
|
_id: string;
|
|
264
263
|
company_id: string;
|
|
@@ -300,7 +299,7 @@ export declare namespace CbmSalesAccountModel {
|
|
|
300
299
|
created_user: string;
|
|
301
300
|
created_at: number;
|
|
302
301
|
type?: DetailType;
|
|
303
|
-
price_type?:
|
|
302
|
+
price_type?: CbmSalePriceModel.TName;
|
|
304
303
|
sale_account_detail_tax?: Detail.Tax[];
|
|
305
304
|
tax_iva?: Detail.TaxIva;
|
|
306
305
|
outsourcing_service_data?: Detail.OutsourcingServiceData;
|
|
@@ -0,0 +1,10 @@
|
|
|
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
|
+
}
|
|
@@ -6,6 +6,6 @@ export declare class CbmSalesAccountDomainRepository {
|
|
|
6
6
|
private readonly service;
|
|
7
7
|
constructor(service: ICbmSalesAccountRepository);
|
|
8
8
|
list(params: CbmSalesAccountModel.ListParams): Observable<CbmSalesAccountModel.ListResponse>;
|
|
9
|
-
getOne<T>(id: string): Observable<CbmSalesAccountModel.GetOneResponse
|
|
9
|
+
getOne<T>(id: string): Observable<CbmSalesAccountModel.GetOneResponse>;
|
|
10
10
|
save(data: CbmSalesAccountModel.Save): Observable<IGeneral.Confirm>;
|
|
11
11
|
}
|
package/lib/infrastructure/repositories/changes-for-order-vehicle.infrastructure.repository.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
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
|
+
}
|
|
@@ -3,6 +3,6 @@ import { CbmSalesAccountModel } from '../../domain/models/sales-account.domain.m
|
|
|
3
3
|
import { IGeneral } from '../../domain/models/general.domain.model';
|
|
4
4
|
export interface ICbmSalesAccountRepository {
|
|
5
5
|
list(params: CbmSalesAccountModel.ListParams): Observable<CbmSalesAccountModel.ListResponse>;
|
|
6
|
-
getOne
|
|
6
|
+
getOne(id: string): Observable<CbmSalesAccountModel.GetOneResponse>;
|
|
7
7
|
save(data: CbmSalesAccountModel.Save): Observable<IGeneral.Confirm>;
|
|
8
8
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
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
|
+
}
|
|
@@ -8,6 +8,6 @@ export declare class CbmSalesAccountService implements ICbmSalesAccountRepositor
|
|
|
8
8
|
constructor(http: HttpClient);
|
|
9
9
|
private readonly baseUrl;
|
|
10
10
|
list(params: CbmSalesAccountModel.ListParams): Observable<CbmSalesAccountModel.ListResponse>;
|
|
11
|
-
getOne
|
|
11
|
+
getOne(id: string): Observable<CbmSalesAccountModel.GetOneResponse>;
|
|
12
12
|
save(data: CbmSalesAccountModel.Save): Observable<IGeneral.Confirm>;
|
|
13
13
|
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -324,6 +324,10 @@ export * from './lib/components/confirmation-modal/confirmation-modal';
|
|
|
324
324
|
export * from './lib/components/stock-by-warehouse/stock-by-warehouse';
|
|
325
325
|
export * from './lib/components/stock-by-warehouse/type';
|
|
326
326
|
|
|
327
|
+
// #region sales account repository
|
|
328
|
+
export * from './lib/domain/repositories/sales-account.domain.repository';
|
|
329
|
+
export * from './lib/domain/models/sales-account.domain.model';
|
|
330
|
+
|
|
327
331
|
// #region company branch repository
|
|
328
332
|
export * from './lib/domain/repositories/company-branch.domain.repository';
|
|
329
333
|
export * from './lib/domain/models/company-branch.domain.model';
|
|
@@ -1,13 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,91 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
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
|
-
}
|
package/lib/infrastructure/repositories/sales-pending-document.infrastructure.repository.d.ts
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
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
|
-
}
|