@cbm-common/cbm-types 0.0.337 → 0.0.339
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.
|
@@ -63,16 +63,6 @@ export declare class CbmAddProviderComponent {
|
|
|
63
63
|
statusOfExtractProviderData: import("@angular/core").WritableSignal<TStatus>;
|
|
64
64
|
statusOfFetchGeneralSettingsConfiguration: import("@angular/core").WritableSignal<TStatus>;
|
|
65
65
|
readonly carDelear: import("@angular/core").Signal<boolean>;
|
|
66
|
-
readonly CAR_DEALER_TYPES: readonly [{
|
|
67
|
-
readonly label: "Empleado privado";
|
|
68
|
-
readonly value: "privat_sector_employee";
|
|
69
|
-
}, {
|
|
70
|
-
readonly label: "Empleado publico";
|
|
71
|
-
readonly value: "civil_servant";
|
|
72
|
-
}, {
|
|
73
|
-
readonly label: "Sociedad";
|
|
74
|
-
readonly value: "society";
|
|
75
|
-
}];
|
|
76
66
|
subjectToSearchDocumentType$: Subject<string>;
|
|
77
67
|
subjectToSearchCategory$: Subject<string>;
|
|
78
68
|
defaultDocumentNumber: string | null;
|
|
@@ -96,7 +86,6 @@ export declare class CbmAddProviderComponent {
|
|
|
96
86
|
emails: FormControl<string[] | null>;
|
|
97
87
|
email: FormControl<string | null>;
|
|
98
88
|
economicActivity: FormControl<string | null>;
|
|
99
|
-
carDealerType: FormControl<"society" | "privat_sector_employee" | "civil_servant" | null>;
|
|
100
89
|
carDealerValue: FormControl<string | null>;
|
|
101
90
|
economicActivitySelector: FormControl<CbmEconomicActivitiesDomainModel.ListResponse.Data | null>;
|
|
102
91
|
}>;
|
|
@@ -114,7 +103,6 @@ export declare class CbmAddProviderComponent {
|
|
|
114
103
|
get emailControl(): FormControl<string | null>;
|
|
115
104
|
get economicActivityControl(): FormControl<string | null>;
|
|
116
105
|
get economicActivitySelectorControl(): FormControl<CbmEconomicActivitiesDomainModel.ListResponse.Data | null>;
|
|
117
|
-
get carDealerTypeControl(): FormControl<"society" | "privat_sector_employee" | "civil_servant" | null>;
|
|
118
106
|
get carDealerValueControl(): FormControl<string | null>;
|
|
119
107
|
compareWithId(a: {
|
|
120
108
|
_id: string;
|
|
@@ -144,6 +132,7 @@ export declare class CbmAddProviderComponent {
|
|
|
144
132
|
onEmailKeyDown(event: KeyboardEvent): void;
|
|
145
133
|
onEmailBlur(): void;
|
|
146
134
|
removeEmail(email: string): void;
|
|
135
|
+
debugForm(form: FormGroup): void;
|
|
147
136
|
saveProvider(action: TSaveOptions): Promise<void>;
|
|
148
137
|
updateProvider(): Promise<void>;
|
|
149
138
|
validateSaveProviderForm(saveOption: TSaveOptions): void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare namespace CbmChargesForOrderVehicleModel {
|
|
2
|
-
type TChargesType = 'general' | 'service' | 'outsourcing_service';
|
|
2
|
+
type TChargesType = 'general' | 'service' | 'outsourcing_service' | 'kit';
|
|
3
3
|
interface ListParams {
|
|
4
4
|
page: number;
|
|
5
5
|
size: number;
|
|
@@ -141,6 +141,9 @@ export declare namespace CbmChargesForOrderVehicleModel {
|
|
|
141
141
|
order_vehicle_id: string;
|
|
142
142
|
order_vehicle_name: string;
|
|
143
143
|
order_vehicle_document: string;
|
|
144
|
+
technician_id?: string;
|
|
145
|
+
technician_identification_number?: string;
|
|
146
|
+
technician_full_name?: string;
|
|
144
147
|
}
|
|
145
148
|
}
|
|
146
149
|
interface SaveBody {
|
|
@@ -214,6 +217,9 @@ export declare namespace CbmChargesForOrderVehicleModel {
|
|
|
214
217
|
replace_item_name?: string;
|
|
215
218
|
vehicle_order_request_id?: string;
|
|
216
219
|
vehicle_order_request_detail_id?: string;
|
|
220
|
+
technician_id?: string;
|
|
221
|
+
technician_identification_number?: string;
|
|
222
|
+
technician_full_name?: string;
|
|
217
223
|
charges_detail_tax: Tax[];
|
|
218
224
|
}
|
|
219
225
|
namespace Detail {
|
|
@@ -348,6 +354,9 @@ export declare namespace CbmChargesForOrderVehicleModel {
|
|
|
348
354
|
created_user: string;
|
|
349
355
|
kit_data?: any[];
|
|
350
356
|
created_at: number;
|
|
357
|
+
technician_id?: string;
|
|
358
|
+
technician_identification_number?: string;
|
|
359
|
+
technician_full_name?: string;
|
|
351
360
|
charges_detail_tax: Detail.Tax[];
|
|
352
361
|
}
|
|
353
362
|
namespace Detail {
|
|
@@ -339,13 +339,23 @@ export declare namespace CbmSalesAccountModel {
|
|
|
339
339
|
replace_item_name: string;
|
|
340
340
|
created_user: string;
|
|
341
341
|
created_at: number;
|
|
342
|
+
technician_id?: string;
|
|
343
|
+
technician_identification_number?: string;
|
|
344
|
+
technician_full_name?: string;
|
|
342
345
|
type?: DetailType;
|
|
343
346
|
price_type?: CbmSalePriceModel.TName;
|
|
344
347
|
sales_account_detail_tax?: Detail.Tax;
|
|
345
348
|
tax_iva?: Detail.TaxIva;
|
|
346
349
|
outsourcing_service_data?: Detail.OutsourcingServiceData;
|
|
350
|
+
kit_data?: Detail.KitData[];
|
|
347
351
|
}
|
|
348
352
|
namespace Detail {
|
|
353
|
+
interface KitData {
|
|
354
|
+
item_id: string;
|
|
355
|
+
item_code: string;
|
|
356
|
+
item_name: string;
|
|
357
|
+
item_amount: number;
|
|
358
|
+
}
|
|
349
359
|
interface OutsourcingServiceData {
|
|
350
360
|
outsourcing_service_movements_id: string;
|
|
351
361
|
code_outsourcing_service: string;
|
|
@@ -547,6 +557,9 @@ export declare namespace CbmSalesAccountModel {
|
|
|
547
557
|
vehicle_order_request_detail_id?: string;
|
|
548
558
|
commentary_item?: string;
|
|
549
559
|
replace_item_name?: string;
|
|
560
|
+
technician_id?: string;
|
|
561
|
+
technician_identification_number?: string;
|
|
562
|
+
technician_full_name?: string;
|
|
550
563
|
sales_account_detail_tax: Tax[];
|
|
551
564
|
}
|
|
552
565
|
interface Tax {
|
package/lib/types/get-date.d.ts
CHANGED