@cbm-common/cbm-types 0.0.230 → 0.0.232
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/view-reports/view-reports.d.ts +1 -0
- package/lib/domain/models/print-settings.domain.model.d.ts +4 -0
- package/lib/domain/models/provider.domain.model.d.ts +8 -0
- package/lib/types/event-routes.d.ts +1 -1
- package/package.json +1 -1
- package/lib/domain/models/employee.model.d.ts +0 -176
|
@@ -38,6 +38,7 @@ export declare class CbmViewReportComponent {
|
|
|
38
38
|
};
|
|
39
39
|
};
|
|
40
40
|
stOfGetReport: import("@angular/core").WritableSignal<CbmViewReportModel.Status>;
|
|
41
|
+
updateMetadataOptionLoading(id: string, loading: CbmViewReportModel.Status): void;
|
|
41
42
|
fetchData(id: string): Promise<null | CbmGeneralReportModel.GetOneResponse.Data>;
|
|
42
43
|
setMetadata(report: CbmViewReportModel.ReportData): void;
|
|
43
44
|
downloadReport(typeFile: 'excel' | 'pdf' | 'print'): Promise<CbmViewReportModel.Status>;
|
|
@@ -34,6 +34,7 @@ export declare namespace CbmPrintSettingsModel {
|
|
|
34
34
|
signature_ride: boolean;
|
|
35
35
|
signature_data_ride: SignatureRide[];
|
|
36
36
|
user_id: string;
|
|
37
|
+
print_code?: string;
|
|
37
38
|
}
|
|
38
39
|
interface Signature {
|
|
39
40
|
_id: string;
|
|
@@ -64,6 +65,7 @@ export declare namespace CbmPrintSettingsModel {
|
|
|
64
65
|
signature_data: SaveBody.Signature[];
|
|
65
66
|
signature_ride?: boolean;
|
|
66
67
|
signature_data_ride?: SaveBody.SignatureRide[];
|
|
68
|
+
print_code?: string;
|
|
67
69
|
}
|
|
68
70
|
namespace SaveBody {
|
|
69
71
|
interface Signature {
|
|
@@ -93,6 +95,7 @@ export declare namespace CbmPrintSettingsModel {
|
|
|
93
95
|
signature_data: UpdateBody.Signature[];
|
|
94
96
|
signature_ride?: boolean;
|
|
95
97
|
signature_data_ride?: UpdateBody.SignatureRide[];
|
|
98
|
+
print_code?: string;
|
|
96
99
|
}
|
|
97
100
|
namespace UpdateBody {
|
|
98
101
|
interface Signature {
|
|
@@ -136,6 +139,7 @@ export declare namespace CbmPrintSettingsModel {
|
|
|
136
139
|
created_user?: string;
|
|
137
140
|
updated_at?: number;
|
|
138
141
|
updated_user?: string;
|
|
142
|
+
print_code?: string;
|
|
139
143
|
}
|
|
140
144
|
}
|
|
141
145
|
interface ConfirmResponse {
|
|
@@ -67,6 +67,14 @@ export declare namespace CbmProviderModel {
|
|
|
67
67
|
credit_limit?: string;
|
|
68
68
|
payday?: string;
|
|
69
69
|
document_name_pay?: string;
|
|
70
|
+
foreign_tax_regime_type?: string;
|
|
71
|
+
payment_to_resident?: string;
|
|
72
|
+
payment_country_code?: string;
|
|
73
|
+
payment_country_name?: string;
|
|
74
|
+
payment_destination_country_code?: string;
|
|
75
|
+
payment_destination_country_name?: string;
|
|
76
|
+
double_taxation_treaty_applies?: boolean;
|
|
77
|
+
legal_withholding_applies?: string;
|
|
70
78
|
}
|
|
71
79
|
}
|
|
72
80
|
interface GetOneResponse {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { IRoute } from
|
|
1
|
+
import { IRoute } from './route';
|
|
2
2
|
export declare const EVENT_ROUTES: IRoute[];
|
package/package.json
CHANGED
|
@@ -1,176 +0,0 @@
|
|
|
1
|
-
export declare namespace CbmEmployeeModel {
|
|
2
|
-
interface ListParams {
|
|
3
|
-
page: number;
|
|
4
|
-
size: number;
|
|
5
|
-
department_id?: string;
|
|
6
|
-
position_id?: string;
|
|
7
|
-
marital_status_id?: string;
|
|
8
|
-
document_type_id?: string;
|
|
9
|
-
name_surname?: string;
|
|
10
|
-
enabled?: boolean;
|
|
11
|
-
}
|
|
12
|
-
interface ListResponse {
|
|
13
|
-
success: boolean;
|
|
14
|
-
items: ListResponse.Data[];
|
|
15
|
-
}
|
|
16
|
-
namespace ListResponse {
|
|
17
|
-
interface Data {
|
|
18
|
-
_id: string;
|
|
19
|
-
company_id: string;
|
|
20
|
-
company_NIF: string;
|
|
21
|
-
company_trade_name: string;
|
|
22
|
-
company_business_name: string;
|
|
23
|
-
company_address: string;
|
|
24
|
-
company_logo: string;
|
|
25
|
-
country_id: string;
|
|
26
|
-
country_code: string;
|
|
27
|
-
country_name: string;
|
|
28
|
-
country_short_name: string;
|
|
29
|
-
period_id: string;
|
|
30
|
-
period_year: string;
|
|
31
|
-
department_id: string;
|
|
32
|
-
department_code: number;
|
|
33
|
-
department_name: string;
|
|
34
|
-
position_id: string;
|
|
35
|
-
position_code: number;
|
|
36
|
-
position_name: string;
|
|
37
|
-
marital_status_id: string;
|
|
38
|
-
marital_status_code: string;
|
|
39
|
-
marital_status_name: string;
|
|
40
|
-
document_type_id: string;
|
|
41
|
-
document_type_code: string;
|
|
42
|
-
document_type_name: string;
|
|
43
|
-
sequence_number: number;
|
|
44
|
-
document_number: string;
|
|
45
|
-
names: string;
|
|
46
|
-
surnames: string;
|
|
47
|
-
address: string;
|
|
48
|
-
phone_code: string;
|
|
49
|
-
phone: string;
|
|
50
|
-
cellphone: string;
|
|
51
|
-
email: string[];
|
|
52
|
-
gender: string;
|
|
53
|
-
birthdate: number;
|
|
54
|
-
enabled: boolean;
|
|
55
|
-
deleted: boolean;
|
|
56
|
-
user_id: string;
|
|
57
|
-
created_user: string;
|
|
58
|
-
created_at: number;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
interface SaveBody {
|
|
62
|
-
company_NIF: string;
|
|
63
|
-
company_trade_name: string;
|
|
64
|
-
company_business_name: string;
|
|
65
|
-
company_address: string;
|
|
66
|
-
company_email?: string;
|
|
67
|
-
company_logo: string;
|
|
68
|
-
department_id: string;
|
|
69
|
-
department_code: number;
|
|
70
|
-
department_name: string;
|
|
71
|
-
position_id: string;
|
|
72
|
-
position_code: number;
|
|
73
|
-
position_name: string;
|
|
74
|
-
marital_status_id: string;
|
|
75
|
-
marital_status_code: string;
|
|
76
|
-
marital_status_name: string;
|
|
77
|
-
document_type_id: string;
|
|
78
|
-
document_type_code: string;
|
|
79
|
-
document_type_name: string;
|
|
80
|
-
document_number: string;
|
|
81
|
-
names: string;
|
|
82
|
-
surnames: string;
|
|
83
|
-
address: string;
|
|
84
|
-
phone_code: string;
|
|
85
|
-
phone: string;
|
|
86
|
-
cellphone: string;
|
|
87
|
-
email: string[];
|
|
88
|
-
email_business: string[];
|
|
89
|
-
gender: string;
|
|
90
|
-
birthdate: number;
|
|
91
|
-
}
|
|
92
|
-
interface UpdateBody {
|
|
93
|
-
company_NIF: string;
|
|
94
|
-
company_trade_name: string;
|
|
95
|
-
company_business_name: string;
|
|
96
|
-
company_address: string;
|
|
97
|
-
company_email?: string;
|
|
98
|
-
company_logo: string;
|
|
99
|
-
department_id: string;
|
|
100
|
-
department_code: number;
|
|
101
|
-
department_name: string;
|
|
102
|
-
position_id: string;
|
|
103
|
-
position_code: number;
|
|
104
|
-
position_name: string;
|
|
105
|
-
marital_status_id: string;
|
|
106
|
-
marital_status_code: string;
|
|
107
|
-
marital_status_name: string;
|
|
108
|
-
document_type_id: string;
|
|
109
|
-
document_type_code: string;
|
|
110
|
-
document_type_name: string;
|
|
111
|
-
document_number: string;
|
|
112
|
-
names: string;
|
|
113
|
-
surnames: string;
|
|
114
|
-
address: string;
|
|
115
|
-
phone_code: string;
|
|
116
|
-
phone: string;
|
|
117
|
-
cellphone: string;
|
|
118
|
-
email: string[];
|
|
119
|
-
email_business: string[];
|
|
120
|
-
gender: string;
|
|
121
|
-
birthdate: number;
|
|
122
|
-
}
|
|
123
|
-
interface GetOneResponse {
|
|
124
|
-
success: boolean;
|
|
125
|
-
data: GetOneResponse.Data;
|
|
126
|
-
}
|
|
127
|
-
namespace GetOneResponse {
|
|
128
|
-
interface Data {
|
|
129
|
-
_id: string;
|
|
130
|
-
company_id: string;
|
|
131
|
-
company_NIF: string;
|
|
132
|
-
company_trade_name: string;
|
|
133
|
-
company_business_name: string;
|
|
134
|
-
company_address: string;
|
|
135
|
-
company_logo: string;
|
|
136
|
-
country_id: string;
|
|
137
|
-
country_code: string;
|
|
138
|
-
country_name: string;
|
|
139
|
-
country_short_name: string;
|
|
140
|
-
period_id: string;
|
|
141
|
-
period_year: string;
|
|
142
|
-
department_id: string;
|
|
143
|
-
department_code: number;
|
|
144
|
-
department_name: string;
|
|
145
|
-
position_id: string;
|
|
146
|
-
position_code: number;
|
|
147
|
-
position_name: string;
|
|
148
|
-
marital_status_id: string;
|
|
149
|
-
marital_status_code: string;
|
|
150
|
-
marital_status_name: string;
|
|
151
|
-
document_type_id: string;
|
|
152
|
-
document_type_code: string;
|
|
153
|
-
document_type_name: string;
|
|
154
|
-
sequence_number: number;
|
|
155
|
-
document_number: string;
|
|
156
|
-
names: string;
|
|
157
|
-
surnames: string;
|
|
158
|
-
address: string;
|
|
159
|
-
phone_code: string;
|
|
160
|
-
phone: string;
|
|
161
|
-
cellphone: string;
|
|
162
|
-
email: string[];
|
|
163
|
-
emails_company: string[];
|
|
164
|
-
gender: string;
|
|
165
|
-
birthdate: number;
|
|
166
|
-
enabled: boolean;
|
|
167
|
-
deleted: boolean;
|
|
168
|
-
user_id: string;
|
|
169
|
-
user_inactive_at: number;
|
|
170
|
-
disabled_reason: string;
|
|
171
|
-
user_inactive_name: string;
|
|
172
|
-
created_user: string;
|
|
173
|
-
created_at: number;
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
}
|