@cbm-common/cbm-types 0.0.331 → 0.0.333
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/availability-board/availability-board.d.ts +0 -3
- 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/components/user-history/components/tab-item/tab-item.component.d.ts +0 -1
- package/lib/components/user-history/user-history.d.ts +0 -6
- package/lib/domain/models/charges-for-order-vehicle.domain.model.d.ts +18 -172
- package/lib/domain/models/financial-bank.domain.model.d.ts +0 -1
- package/lib/domain/models/sales-pending-document.domain.model.d.ts +1 -2
- package/lib/domain/repositories/charges-for-order-vehicle.domain.repository.d.ts +0 -3
- package/lib/infrastructure/repositories/blanket-agreement-category-service..infrastructure.repository.d.ts +7 -0
- package/lib/infrastructure/repositories/changes-for-order-vehicle.infrastructure.repository.d.ts +1 -4
- package/lib/infrastructure/services/charges-for-order-vehicle.infrastructure.service.d.ts +0 -3
- package/package.json +2 -2
- package/lib/components/user-history/components/cash-history/cash-history.component.d.ts +0 -56
|
@@ -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
|
+
}
|
|
@@ -23,9 +23,6 @@ export declare class CbmAvailabilityBoardComponent {
|
|
|
23
23
|
private currentRow;
|
|
24
24
|
private startMouseX;
|
|
25
25
|
private startMouseY;
|
|
26
|
-
private readonly DRAG_THRESHOLD;
|
|
27
|
-
private mouseDown;
|
|
28
|
-
private dragStarted;
|
|
29
26
|
private draggedHtmlElement;
|
|
30
27
|
timelineRange: import("@angular/core").WritableSignal<Date[]>;
|
|
31
28
|
protected timeline: import("@angular/core").WritableSignal<AvailabilityBoardModel.DateRange[]>;
|
|
@@ -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
|
+
}
|
|
@@ -2,7 +2,6 @@ import { TemplateRef } from '@angular/core';
|
|
|
2
2
|
export declare class TabItemComponent {
|
|
3
3
|
hasPrintReports: import("@angular/core").InputSignal<boolean>;
|
|
4
4
|
hasEmailReports: import("@angular/core").InputSignal<boolean>;
|
|
5
|
-
hasCash: import("@angular/core").InputSignal<boolean>;
|
|
6
5
|
tabName: import("@angular/core").InputSignal<string>;
|
|
7
6
|
templateRef: import("@angular/core").InputSignal<TemplateRef<any>>;
|
|
8
7
|
}
|
|
@@ -4,33 +4,27 @@ import { GeneralHistoryComponent } from './components/general-history/general-hi
|
|
|
4
4
|
import { PrintHistoryComponent } from './components/print-history/print-history.component';
|
|
5
5
|
import { SriHistoryComponent } from './components/sri-history/sri-history.component';
|
|
6
6
|
import { CbmUserHistory } from './types';
|
|
7
|
-
import { CashHistoryComponent } from './components/cash-history/cash-history.component';
|
|
8
7
|
export declare class CbmUserHistoryComponent {
|
|
9
8
|
generalHistoryTabRef: import("@angular/core").Signal<GeneralHistoryComponent | undefined>;
|
|
10
9
|
printHistoryTabRef: import("@angular/core").Signal<PrintHistoryComponent | undefined>;
|
|
11
10
|
emailHistoryTabRef: import("@angular/core").Signal<EmailHistoryComponent | undefined>;
|
|
12
11
|
sriHistoryTabRef: import("@angular/core").Signal<SriHistoryComponent | undefined>;
|
|
13
|
-
cashHistoryTabRef: import("@angular/core").Signal<CashHistoryComponent | undefined>;
|
|
14
12
|
isSriHistory: import("@angular/core").InputSignal<boolean>;
|
|
15
13
|
collection_id: import("@angular/core").InputSignal<string | undefined>;
|
|
16
14
|
event_module: import("@angular/core").InputSignal<string | undefined>;
|
|
17
15
|
event_module_report: import("@angular/core").InputSignal<string | undefined>;
|
|
18
|
-
event_module_cash: import("@angular/core").InputSignal<string | undefined>;
|
|
19
16
|
collection_name: import("@angular/core").InputSignal<string | undefined>;
|
|
20
17
|
collection_name_email: import("@angular/core").InputSignal<string | undefined>;
|
|
21
18
|
collection_name_report: import("@angular/core").InputSignal<string | undefined>;
|
|
22
|
-
collection_name_cash: import("@angular/core").InputSignal<string | undefined>;
|
|
23
19
|
translation: import("@angular/core").InputSignal<CbmUserHistory.Translation[] | undefined>;
|
|
24
20
|
event: import("@angular/core").InputSignal<string | undefined>;
|
|
25
21
|
paginationSize: import("@angular/core").InputSignal<number>;
|
|
26
22
|
hasPrintReport: import("@angular/core").InputSignal<boolean>;
|
|
27
23
|
hasEmailReport: import("@angular/core").InputSignal<boolean>;
|
|
28
|
-
hasCash: import("@angular/core").InputSignal<boolean>;
|
|
29
24
|
pressJson: import("@angular/core").OutputEmitterRef<CbmHistoryModel.ListResponse.Item>;
|
|
30
25
|
close: import("@angular/core").OutputEmitterRef<void>;
|
|
31
26
|
tab: import("@angular/core").OutputEmitterRef<string>;
|
|
32
27
|
fetchHistory: () => void;
|
|
33
28
|
fetchPrintHistory: () => void;
|
|
34
29
|
fetchSriHistory: () => void;
|
|
35
|
-
fetchCashHistory: () => void;
|
|
36
30
|
}
|
|
@@ -1,15 +1,11 @@
|
|
|
1
1
|
export declare namespace CbmChargesForOrderVehicleModel {
|
|
2
|
-
type TChargesType = 'general' | 'service' | 'outsourcing_service';
|
|
3
2
|
interface ListParams {
|
|
4
3
|
page: number;
|
|
5
4
|
size: number;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
collection_origin_name?: string;
|
|
11
|
-
collection_origin_document_nomenclature_number?: string;
|
|
12
|
-
charges_type?: TChargesType;
|
|
5
|
+
state?: string;
|
|
6
|
+
enabled?: boolean;
|
|
7
|
+
deleted?: boolean;
|
|
8
|
+
name?: string;
|
|
13
9
|
}
|
|
14
10
|
interface ListResponse {
|
|
15
11
|
success: boolean;
|
|
@@ -37,110 +33,18 @@ export declare namespace CbmChargesForOrderVehicleModel {
|
|
|
37
33
|
period_year: string;
|
|
38
34
|
document_nomenclature: string;
|
|
39
35
|
document_number: string;
|
|
40
|
-
ind_automatically_added_overnight?: boolean;
|
|
41
36
|
collection_origin_id: string;
|
|
42
37
|
collection_origin_name: string;
|
|
43
|
-
collection_origin_document_nomenclature_number
|
|
38
|
+
collection_origin_document_nomenclature_number: string;
|
|
44
39
|
event_module_origin: string;
|
|
45
|
-
vehicle_license_plate?: string;
|
|
46
|
-
sequence_order_vehicle?: string;
|
|
47
|
-
client_business_name?: string;
|
|
48
|
-
client_document_number?: string;
|
|
49
40
|
sales_account_id: string;
|
|
50
|
-
sales_account_sequence
|
|
51
|
-
sales_account_created_at
|
|
52
|
-
ind_accommodation?: boolean;
|
|
41
|
+
sales_account_sequence: string;
|
|
42
|
+
sales_account_created_at: number;
|
|
53
43
|
enabled: boolean;
|
|
54
44
|
deleted_at: number;
|
|
55
45
|
user_id: string;
|
|
56
46
|
created_user: string;
|
|
57
47
|
created_at: number;
|
|
58
|
-
charges_type?: TChargesType;
|
|
59
|
-
sales_account?: Item.SalesAccount;
|
|
60
|
-
data_origin?: Item.DataOrigin;
|
|
61
|
-
}
|
|
62
|
-
namespace Item {
|
|
63
|
-
interface DataOrigin {
|
|
64
|
-
vehicle_id?: string;
|
|
65
|
-
vehicle_license_plate?: string;
|
|
66
|
-
vehicle_type?: string;
|
|
67
|
-
vehicle_brand?: string;
|
|
68
|
-
vehicle_model?: string;
|
|
69
|
-
vehicle_color?: string;
|
|
70
|
-
vehicle_cylinder?: string;
|
|
71
|
-
vehicle_year?: string;
|
|
72
|
-
vehicle_registry_code?: string;
|
|
73
|
-
vehicle_chassis_number?: string;
|
|
74
|
-
vehicle_engine_number?: string;
|
|
75
|
-
vehicle_country_id?: string;
|
|
76
|
-
vehicle_country_name?: string;
|
|
77
|
-
vehicle_country_code?: string;
|
|
78
|
-
vehicle_country_short_name?: string;
|
|
79
|
-
vehicle_type_id?: string;
|
|
80
|
-
vehicle_type_name?: string;
|
|
81
|
-
vehicle_class?: string;
|
|
82
|
-
vehicle_fuel?: string;
|
|
83
|
-
order_document_nomenclature?: string;
|
|
84
|
-
order_document_number?: string;
|
|
85
|
-
order_document_date?: number;
|
|
86
|
-
}
|
|
87
|
-
interface SalesAccount {
|
|
88
|
-
data_origin?: DataOrigin;
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
interface ListDetailParams {
|
|
93
|
-
order_vehicle_id?: string;
|
|
94
|
-
charges_type?: TChargesType;
|
|
95
|
-
}
|
|
96
|
-
interface ListDetailResponse {
|
|
97
|
-
success: boolean;
|
|
98
|
-
data: ListDetailResponse.Item[];
|
|
99
|
-
}
|
|
100
|
-
namespace ListDetailResponse {
|
|
101
|
-
interface Item {
|
|
102
|
-
_id: string;
|
|
103
|
-
company_id: string;
|
|
104
|
-
country_id: string;
|
|
105
|
-
charges_id: string;
|
|
106
|
-
item_id: string;
|
|
107
|
-
item_code: string;
|
|
108
|
-
item_name: string;
|
|
109
|
-
item_barcode: string;
|
|
110
|
-
type: string;
|
|
111
|
-
category_id: string;
|
|
112
|
-
category_name: string;
|
|
113
|
-
price_list_id: string;
|
|
114
|
-
price_list_name: string;
|
|
115
|
-
cost_center_id: string;
|
|
116
|
-
cost_center_code: string;
|
|
117
|
-
cost_center_name: string;
|
|
118
|
-
cost_center_father_code: string;
|
|
119
|
-
cost_center_father_name: string;
|
|
120
|
-
tax_iva_id: string;
|
|
121
|
-
tax_iva_rate: number;
|
|
122
|
-
amount: number;
|
|
123
|
-
price_type_id: string;
|
|
124
|
-
price_type: string;
|
|
125
|
-
price_type_description: string;
|
|
126
|
-
price_base: number;
|
|
127
|
-
total_price: number;
|
|
128
|
-
discount_rate: number;
|
|
129
|
-
unit_discount: number;
|
|
130
|
-
total_discount: number;
|
|
131
|
-
unit_price: number;
|
|
132
|
-
created_user?: string;
|
|
133
|
-
kit_data?: any[];
|
|
134
|
-
created_at: number;
|
|
135
|
-
collection_origin_id: string;
|
|
136
|
-
sales_account_id: string;
|
|
137
|
-
sales_account_sequence?: string;
|
|
138
|
-
sales_account_created_at?: number;
|
|
139
|
-
event_module_origin: string;
|
|
140
|
-
data_origin?: ListResponse.Item.DataOrigin;
|
|
141
|
-
order_vehicle_id: string;
|
|
142
|
-
order_vehicle_name: string;
|
|
143
|
-
order_vehicle_document: string;
|
|
144
48
|
}
|
|
145
49
|
}
|
|
146
50
|
interface SaveBody {
|
|
@@ -157,11 +61,6 @@ export declare namespace CbmChargesForOrderVehicleModel {
|
|
|
157
61
|
collection_origin_document_nomenclature_number: string;
|
|
158
62
|
collection_origin_name: string;
|
|
159
63
|
event_module_origin: string;
|
|
160
|
-
default_cost_center_id?: string;
|
|
161
|
-
default_cost_center_code?: string;
|
|
162
|
-
default_cost_center_name?: string;
|
|
163
|
-
default_cost_center_father_code?: string;
|
|
164
|
-
default_cost_center_father_name?: string;
|
|
165
64
|
charges_detail: SaveBody.Detail[];
|
|
166
65
|
}
|
|
167
66
|
namespace SaveBody {
|
|
@@ -172,7 +71,7 @@ export declare namespace CbmChargesForOrderVehicleModel {
|
|
|
172
71
|
stock_afected?: number;
|
|
173
72
|
free_amount?: number;
|
|
174
73
|
manage_by?: string;
|
|
175
|
-
outsourcing_service_data?:
|
|
74
|
+
outsourcing_service_data?: any;
|
|
176
75
|
item_id: string;
|
|
177
76
|
item_code: string;
|
|
178
77
|
item_barcode: string;
|
|
@@ -216,20 +115,6 @@ export declare namespace CbmChargesForOrderVehicleModel {
|
|
|
216
115
|
vehicle_order_request_detail_id?: string;
|
|
217
116
|
charges_detail_tax: Tax[];
|
|
218
117
|
}
|
|
219
|
-
namespace Detail {
|
|
220
|
-
interface OutsourcingServiceData {
|
|
221
|
-
outsourcing_service_movements_id: string;
|
|
222
|
-
code_outsourcing_service: string;
|
|
223
|
-
name_outsourcing_service: string;
|
|
224
|
-
date_purchase_receipt: number;
|
|
225
|
-
structured_document_number: string;
|
|
226
|
-
collection_origin_id: string;
|
|
227
|
-
collection_origin_name: string;
|
|
228
|
-
provider_document_number: string;
|
|
229
|
-
provider_business_name: string;
|
|
230
|
-
cost: number;
|
|
231
|
-
}
|
|
232
|
-
}
|
|
233
118
|
interface Tax {
|
|
234
119
|
type: string;
|
|
235
120
|
description: string;
|
|
@@ -261,54 +146,21 @@ export declare namespace CbmChargesForOrderVehicleModel {
|
|
|
261
146
|
period_year: string;
|
|
262
147
|
document_nomenclature: string;
|
|
263
148
|
document_number: string;
|
|
264
|
-
ind_automatically_added_overnight?: boolean;
|
|
265
149
|
collection_origin_id: string;
|
|
266
150
|
collection_origin_name: string;
|
|
267
151
|
collection_origin_document_nomenclature_number: string;
|
|
268
152
|
event_module_origin: string;
|
|
269
|
-
vehicle_license_plate?: string;
|
|
270
|
-
sequence_order_vehicle?: string;
|
|
271
|
-
client_business_name?: string;
|
|
272
|
-
client_document_number?: string;
|
|
273
153
|
sales_account_id: string;
|
|
274
154
|
sales_account_sequence: string;
|
|
275
155
|
sales_account_created_at: number;
|
|
276
|
-
ind_accommodation?: boolean;
|
|
277
156
|
enabled: boolean;
|
|
278
157
|
deleted: boolean;
|
|
279
|
-
deleted_at?: number;
|
|
280
158
|
user_id: string;
|
|
281
159
|
created_user: string;
|
|
282
160
|
created_at: number;
|
|
283
|
-
charges_type?: string;
|
|
284
161
|
charges_detail: Data.Detail[];
|
|
285
|
-
data_origin?: Data.DataOrigin;
|
|
286
162
|
}
|
|
287
163
|
namespace Data {
|
|
288
|
-
interface DataOrigin {
|
|
289
|
-
vehicle_id?: string;
|
|
290
|
-
vehicle_license_plate?: string;
|
|
291
|
-
vehicle_type?: string;
|
|
292
|
-
vehicle_brand?: string;
|
|
293
|
-
vehicle_model?: string;
|
|
294
|
-
vehicle_color?: string;
|
|
295
|
-
vehicle_cylinder?: string;
|
|
296
|
-
vehicle_year?: string;
|
|
297
|
-
vehicle_registry_code?: string;
|
|
298
|
-
vehicle_chassis_number?: string;
|
|
299
|
-
vehicle_engine_number?: string;
|
|
300
|
-
vehicle_country_id?: string;
|
|
301
|
-
vehicle_country_name?: string;
|
|
302
|
-
vehicle_country_code?: string;
|
|
303
|
-
vehicle_country_short_name?: string;
|
|
304
|
-
vehicle_type_id?: string;
|
|
305
|
-
vehicle_type_name?: string;
|
|
306
|
-
vehicle_class?: string;
|
|
307
|
-
vehicle_fuel?: string;
|
|
308
|
-
order_document_nomenclature?: string;
|
|
309
|
-
order_document_number?: string;
|
|
310
|
-
order_document_date?: number;
|
|
311
|
-
}
|
|
312
164
|
interface Detail {
|
|
313
165
|
_id: string;
|
|
314
166
|
company_id: string;
|
|
@@ -318,7 +170,6 @@ export declare namespace CbmChargesForOrderVehicleModel {
|
|
|
318
170
|
item_code: string;
|
|
319
171
|
item_name: string;
|
|
320
172
|
item_barcode: string;
|
|
321
|
-
type: string;
|
|
322
173
|
category_id: string;
|
|
323
174
|
category_name: string;
|
|
324
175
|
price_list_id: string;
|
|
@@ -330,11 +181,11 @@ export declare namespace CbmChargesForOrderVehicleModel {
|
|
|
330
181
|
cost_center_father_name: string;
|
|
331
182
|
tax_iva_id: string;
|
|
332
183
|
tax_iva_rate: number;
|
|
333
|
-
unit_measure_id
|
|
334
|
-
unit_measure_type
|
|
335
|
-
unit_measure_abbreviation
|
|
336
|
-
unit_measure_name
|
|
337
|
-
unit_measure_quantity
|
|
184
|
+
unit_measure_id: string;
|
|
185
|
+
unit_measure_type: string;
|
|
186
|
+
unit_measure_abbreviation: string;
|
|
187
|
+
unit_measure_name: string;
|
|
188
|
+
unit_measure_quantity: number;
|
|
338
189
|
amount: number;
|
|
339
190
|
price_type_id: string;
|
|
340
191
|
price_type: string;
|
|
@@ -344,9 +195,7 @@ export declare namespace CbmChargesForOrderVehicleModel {
|
|
|
344
195
|
discount_rate: number;
|
|
345
196
|
unit_discount: number;
|
|
346
197
|
total_discount: number;
|
|
347
|
-
unit_price?: number;
|
|
348
198
|
created_user: string;
|
|
349
|
-
kit_data?: any[];
|
|
350
199
|
created_at: number;
|
|
351
200
|
charges_detail_tax: Detail.Tax[];
|
|
352
201
|
}
|
|
@@ -360,7 +209,6 @@ export declare namespace CbmChargesForOrderVehicleModel {
|
|
|
360
209
|
item_code: string;
|
|
361
210
|
item_name: string;
|
|
362
211
|
item_barcode: string;
|
|
363
|
-
type?: string;
|
|
364
212
|
category_id: string;
|
|
365
213
|
category_name: string;
|
|
366
214
|
price_list_id: string;
|
|
@@ -372,11 +220,11 @@ export declare namespace CbmChargesForOrderVehicleModel {
|
|
|
372
220
|
cost_center_father_name: string;
|
|
373
221
|
tax_iva_id: string;
|
|
374
222
|
tax_iva_rate: number;
|
|
375
|
-
unit_measure_id
|
|
376
|
-
unit_measure_type
|
|
377
|
-
unit_measure_abbreviation
|
|
378
|
-
unit_measure_name
|
|
379
|
-
unit_measure_quantity
|
|
223
|
+
unit_measure_id: string;
|
|
224
|
+
unit_measure_type: string;
|
|
225
|
+
unit_measure_abbreviation: string;
|
|
226
|
+
unit_measure_name: string;
|
|
227
|
+
unit_measure_quantity: number;
|
|
380
228
|
amount: number;
|
|
381
229
|
price_type_id: string;
|
|
382
230
|
price_type: string;
|
|
@@ -386,9 +234,7 @@ export declare namespace CbmChargesForOrderVehicleModel {
|
|
|
386
234
|
discount_rate: number;
|
|
387
235
|
unit_discount: number;
|
|
388
236
|
total_discount: number;
|
|
389
|
-
unit_price?: number;
|
|
390
237
|
created_user: string;
|
|
391
|
-
kit_data?: any[];
|
|
392
238
|
created_at: number;
|
|
393
239
|
charges_detail_tax: Tax[];
|
|
394
240
|
}
|
|
@@ -24,10 +24,8 @@ export declare namespace CbmSalesPendingDocumentModel {
|
|
|
24
24
|
_id: string;
|
|
25
25
|
created_at: number;
|
|
26
26
|
document_nomenclature: string;
|
|
27
|
-
document_number: string;
|
|
28
27
|
document_emission_point_number: string;
|
|
29
28
|
document_sequence: string;
|
|
30
|
-
new_document_number: string;
|
|
31
29
|
balance: number;
|
|
32
30
|
client_id: string;
|
|
33
31
|
client_payment_deadline?: number;
|
|
@@ -75,6 +73,7 @@ export declare namespace CbmSalesPendingDocumentModel {
|
|
|
75
73
|
client_branch_contact_full_name?: string;
|
|
76
74
|
client_branch_contact_cellphone?: string;
|
|
77
75
|
client_branch_contact_email?: string[];
|
|
76
|
+
new_document_number: string;
|
|
78
77
|
date: number;
|
|
79
78
|
type: string;
|
|
80
79
|
checked?: boolean;
|
|
@@ -5,9 +5,6 @@ export declare class CbmChargesForOrderVehicleDomainRepository implements ICbmCh
|
|
|
5
5
|
private readonly service;
|
|
6
6
|
constructor(service: ICbmChargesForOrderVehicleInfrastructureRepository);
|
|
7
7
|
list(params: CbmChargesForOrderVehicleModel.ListParams): Observable<CbmChargesForOrderVehicleModel.ListResponse>;
|
|
8
|
-
listDetail(params: CbmChargesForOrderVehicleModel.ListDetailParams): Observable<CbmChargesForOrderVehicleModel.ListDetailResponse>;
|
|
9
8
|
getOne(id: string): Observable<CbmChargesForOrderVehicleModel.GetOneResponse>;
|
|
10
9
|
save(data: CbmChargesForOrderVehicleModel.SaveBody): Observable<CbmChargesForOrderVehicleModel.ConfirmResponse>;
|
|
11
|
-
saveServices(data: CbmChargesForOrderVehicleModel.SaveBody): Observable<CbmChargesForOrderVehicleModel.ConfirmResponse>;
|
|
12
|
-
saveOutsourcingServices(data: CbmChargesForOrderVehicleModel.SaveBody): Observable<CbmChargesForOrderVehicleModel.ConfirmResponse>;
|
|
13
10
|
}
|
|
@@ -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
|
+
}
|
package/lib/infrastructure/repositories/changes-for-order-vehicle.infrastructure.repository.d.ts
CHANGED
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
import { CbmChargesForOrderVehicleModel } from
|
|
1
|
+
import { CbmChargesForOrderVehicleModel } from "../../domain/models/charges-for-order-vehicle.domain.model";
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
export interface ICbmChargesForOrderVehicleInfrastructureRepository {
|
|
4
4
|
list(params: CbmChargesForOrderVehicleModel.ListParams): Observable<CbmChargesForOrderVehicleModel.ListResponse>;
|
|
5
|
-
listDetail(params: CbmChargesForOrderVehicleModel.ListDetailParams): Observable<CbmChargesForOrderVehicleModel.ListDetailResponse>;
|
|
6
5
|
getOne(id: string): Observable<CbmChargesForOrderVehicleModel.GetOneResponse>;
|
|
7
6
|
save(data: CbmChargesForOrderVehicleModel.SaveBody): Observable<CbmChargesForOrderVehicleModel.ConfirmResponse>;
|
|
8
|
-
saveServices(data: CbmChargesForOrderVehicleModel.SaveBody): Observable<CbmChargesForOrderVehicleModel.ConfirmResponse>;
|
|
9
|
-
saveOutsourcingServices(data: CbmChargesForOrderVehicleModel.SaveBody): Observable<CbmChargesForOrderVehicleModel.ConfirmResponse>;
|
|
10
7
|
}
|
|
@@ -7,9 +7,6 @@ export declare class CbmChargesForOrderVehicleInfrastructureService implements I
|
|
|
7
7
|
constructor(http: HttpClient);
|
|
8
8
|
private readonly url;
|
|
9
9
|
list(params: CbmChargesForOrderVehicleModel.ListParams): Observable<CbmChargesForOrderVehicleModel.ListResponse>;
|
|
10
|
-
listDetail(params: CbmChargesForOrderVehicleModel.ListDetailParams): Observable<CbmChargesForOrderVehicleModel.ListDetailResponse>;
|
|
11
10
|
getOne(id: string): Observable<CbmChargesForOrderVehicleModel.GetOneResponse>;
|
|
12
11
|
save(data: CbmChargesForOrderVehicleModel.SaveBody): Observable<CbmChargesForOrderVehicleModel.ConfirmResponse>;
|
|
13
|
-
saveServices(data: CbmChargesForOrderVehicleModel.SaveBody): Observable<CbmChargesForOrderVehicleModel.ConfirmResponse>;
|
|
14
|
-
saveOutsourcingServices(data: CbmChargesForOrderVehicleModel.SaveBody): Observable<CbmChargesForOrderVehicleModel.ConfirmResponse>;
|
|
15
12
|
}
|
package/package.json
CHANGED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { DestroyRef, OnInit } from '@angular/core';
|
|
2
|
-
import { FormControl, FormGroup } from '@angular/forms';
|
|
3
|
-
import { PaginatedListService } from '@cbm-common/data-access';
|
|
4
|
-
import { Subject } from 'rxjs';
|
|
5
|
-
import { CbmHistoryModel } from "../../../../domain/models/history.domain.model";
|
|
6
|
-
import { CbmUserModel } from "../../../../domain/models/user.domain.model";
|
|
7
|
-
import { CbmHistoryDomainRepository } from "../../../../domain/repositories/history.domain.repository";
|
|
8
|
-
import { CbmUserDomainRepository } from "../../../../domain/repositories/user.domain.repository";
|
|
9
|
-
import { CbmAuthReactiveService } from '../../../../domain/services/auth-reactive.domain.service';
|
|
10
|
-
import { CbmNotificationService } from "../../../../domain/services/notification/notification.service";
|
|
11
|
-
import { CbmFilters } from '../../../filters/filters.component';
|
|
12
|
-
import { CbmUserHistory } from '../../types';
|
|
13
|
-
export declare class CashHistoryComponent implements OnInit {
|
|
14
|
-
private destroyRef;
|
|
15
|
-
private historyRepository;
|
|
16
|
-
private notificationService;
|
|
17
|
-
private userRepository;
|
|
18
|
-
private authReactiveService;
|
|
19
|
-
collection_id: import("@angular/core").InputSignal<string | undefined>;
|
|
20
|
-
event_module: import("@angular/core").InputSignal<string | undefined>;
|
|
21
|
-
collection_name: import("@angular/core").InputSignal<string | undefined>;
|
|
22
|
-
translation: import("@angular/core").InputSignal<CbmUserHistory.Translation[] | undefined>;
|
|
23
|
-
paginationSize: import("@angular/core").InputSignal<number>;
|
|
24
|
-
event: import("@angular/core").InputSignal<string | undefined>;
|
|
25
|
-
tab: import("@angular/core").OutputEmitterRef<string>;
|
|
26
|
-
pressJson: import("@angular/core").OutputEmitterRef<CbmHistoryModel.ListResponse.Item>;
|
|
27
|
-
close: import("@angular/core").OutputEmitterRef<void>;
|
|
28
|
-
json: import("@angular/core").WritableSignal<object>;
|
|
29
|
-
isFilterVisible: import("@angular/core").WritableSignal<boolean>;
|
|
30
|
-
subjectToSearchUser$: Subject<string>;
|
|
31
|
-
now: Date;
|
|
32
|
-
formToFilter: FormGroup<{
|
|
33
|
-
fromDate: FormControl<string | null>;
|
|
34
|
-
toDate: FormControl<string | null>;
|
|
35
|
-
user: FormControl<CbmUserModel.NgSelectListResponse.Item | null>;
|
|
36
|
-
}>;
|
|
37
|
-
filterRef: import("@angular/core").Signal<CbmFilters>;
|
|
38
|
-
constructor(destroyRef: DestroyRef, historyRepository: CbmHistoryDomainRepository, notificationService: CbmNotificationService, userRepository: CbmUserDomainRepository, authReactiveService: CbmAuthReactiveService);
|
|
39
|
-
get isSuperUser(): boolean;
|
|
40
|
-
get companyData(): import("../../../../domain/models/auth-reactive.domain.model").CbmAuthReactiveModel.GlobalTokenData.Company | null;
|
|
41
|
-
users$: PaginatedListService<CbmUserModel.NgSelectListResponse, CbmUserModel.NgSelectListParams, CbmUserModel.ListByCompanyResponse.Item[]>;
|
|
42
|
-
history$: PaginatedListService<CbmHistoryModel.ListResponse, CbmHistoryModel.ListParams, CbmHistoryModel.ListResponse.Item[]>;
|
|
43
|
-
history: import("@angular/core").WritableSignal<CbmHistoryModel.ListResponse.Item[]>;
|
|
44
|
-
ngOnInit(): void;
|
|
45
|
-
subObservers(): void;
|
|
46
|
-
fetchUsers(): void;
|
|
47
|
-
get userControl(): FormControl<CbmUserModel.NgSelectListResponse.Item | null>;
|
|
48
|
-
compareWithId(a: {
|
|
49
|
-
_id: string;
|
|
50
|
-
}, b: {
|
|
51
|
-
_id: string;
|
|
52
|
-
}): boolean;
|
|
53
|
-
fetchHistory(rs?: boolean): void;
|
|
54
|
-
translate(response: CbmHistoryModel.ListResponse.Item[], translation: CbmUserHistory.Translation[]): CbmHistoryModel.ListResponse.Item[];
|
|
55
|
-
number(value: any): number;
|
|
56
|
-
}
|