@bisondesk/core-sdk 1.0.109-leasing-admin → 1.0.110-leasing-admin
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/apis/crm.js +8 -8
- package/lib/apis/crm.js.map +1 -1
- package/lib/apis/documents.js +6 -6
- package/lib/apis/documents.js.map +1 -1
- package/lib/apis/leasing.js +14 -14
- package/lib/apis/leasing.js.map +1 -1
- package/lib/apis/settings.js +2 -2
- package/lib/apis/settings.js.map +1 -1
- package/lib/apis/tenants.js +6 -6
- package/lib/apis/tenants.js.map +1 -1
- package/lib/apis/utils.js +1 -1
- package/lib/apis/utils.js.map +1 -1
- package/lib/apis/vehicles.js +4 -4
- package/lib/apis/vehicles.js.map +1 -1
- package/lib/constants.d.ts +4 -2
- package/lib/constants.d.ts.map +1 -1
- package/lib/constants.js +3 -1
- package/lib/constants.js.map +1 -1
- package/lib/types/leasing-administration.d.ts +78 -0
- package/lib/types/leasing-administration.d.ts.map +1 -0
- package/lib/types/leasing-administration.js +9 -0
- package/lib/types/leasing-administration.js.map +1 -0
- package/lib/types/leasing.d.ts +0 -73
- package/lib/types/leasing.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/constants.ts +3 -1
- package/src/types/leasing-administration.ts +85 -0
- package/src/types/leasing.ts +0 -81
- package/tsconfig.tsbuildinfo +1 -3664
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { AttachmentValue } from './fields';
|
|
2
|
+
|
|
3
|
+
export type LeasingAdminUploadStatus = 'success' | 'processing' | 'error';
|
|
4
|
+
|
|
5
|
+
export type LeasingAdminUpload = {
|
|
6
|
+
id: string;
|
|
7
|
+
updatedAt: string;
|
|
8
|
+
createdAt: string;
|
|
9
|
+
createdBy: string;
|
|
10
|
+
|
|
11
|
+
status: LeasingAdminUploadStatus;
|
|
12
|
+
attachments: {
|
|
13
|
+
[key: string]: AttachmentValue;
|
|
14
|
+
};
|
|
15
|
+
/** name of the company responsible for the emission of the document */
|
|
16
|
+
handlerId: string;
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
export enum DhondtAttachments {
|
|
20
|
+
JSON = 'json',
|
|
21
|
+
PDF = 'pdf',
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export type NewLeasingAdminUploadRequest = {
|
|
25
|
+
attachments: {
|
|
26
|
+
[key: string]: AttachmentValue;
|
|
27
|
+
};
|
|
28
|
+
handlerId: string;
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
export type DhondtVehicle = {
|
|
32
|
+
VoertuigID: number;
|
|
33
|
+
Plaatnummer: string;
|
|
34
|
+
Bouwjaar: number;
|
|
35
|
+
ChassisNummer: string;
|
|
36
|
+
LeasingEindDatum: string;
|
|
37
|
+
LeasingStartDatum: string;
|
|
38
|
+
StartLeasingTermijn: string;
|
|
39
|
+
EindLeasingTermijn: string;
|
|
40
|
+
VoertuigVlootNummer: string;
|
|
41
|
+
Type: string;
|
|
42
|
+
Merk: string;
|
|
43
|
+
MerkID: number;
|
|
44
|
+
TotaalNettoPremie: number;
|
|
45
|
+
TotaalTaksen: number;
|
|
46
|
+
TotaalBrutoPremie: number;
|
|
47
|
+
TotaalFee: number;
|
|
48
|
+
TotaalBTW: number;
|
|
49
|
+
TotaalPNettoPremie: number;
|
|
50
|
+
TotaalPTaksen: number;
|
|
51
|
+
TotaalPBrutoPremie: number;
|
|
52
|
+
TotaalPFee: number;
|
|
53
|
+
TotaalPBTW: number;
|
|
54
|
+
TotaalProRataNettoPremie: number;
|
|
55
|
+
TotaalProRataTaksen: number;
|
|
56
|
+
TotaalProRataBrutoPremie: number;
|
|
57
|
+
TotaalProRataFee: number;
|
|
58
|
+
TotaalProRataBTW: number;
|
|
59
|
+
TotaalTermijnPremie: number;
|
|
60
|
+
TotaalTermijnFee: number;
|
|
61
|
+
TotaalTermijnBTW: number;
|
|
62
|
+
fonetisch: string;
|
|
63
|
+
TotaalPremie: number;
|
|
64
|
+
TotaalPPremie: number;
|
|
65
|
+
TotaalProRataPremie: number;
|
|
66
|
+
TotaalAcquisitieKosten: number;
|
|
67
|
+
TotaalPAcquisitieKosten: number;
|
|
68
|
+
TotaalProrataAcquisitieKosten: number;
|
|
69
|
+
TotaalAdministratieKosten: number;
|
|
70
|
+
TotaalPAdministratieKosten: number;
|
|
71
|
+
TotaalProRataAdministratieKosten: number;
|
|
72
|
+
};
|
|
73
|
+
|
|
74
|
+
export type LineDiff<File> = {
|
|
75
|
+
[Property in keyof File]: {
|
|
76
|
+
value: File[Property];
|
|
77
|
+
before: File[Property];
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
|
|
81
|
+
export type Diff<File> = {
|
|
82
|
+
added: File[];
|
|
83
|
+
removed: File[];
|
|
84
|
+
changed: LineDiff<File>[];
|
|
85
|
+
};
|
package/src/types/leasing.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { LinkValue, PaginatedList } from '@bisondesk/commons-sdk/lib/types';
|
|
2
|
-
import { AttachmentValue } from './fields';
|
|
3
2
|
import { EmailMessage } from './messages';
|
|
4
3
|
import { SearchRequest } from './search';
|
|
5
4
|
import { ReferenceData } from './utils';
|
|
@@ -184,83 +183,3 @@ export type AmortizationTable = {
|
|
|
184
183
|
monthlyInterestRate: string;
|
|
185
184
|
rows: AmortizationRow[];
|
|
186
185
|
};
|
|
187
|
-
|
|
188
|
-
export type LeasingAdminUploadStatus = 'success' | 'processing' | 'error';
|
|
189
|
-
|
|
190
|
-
export type LeasingAdminUpload = {
|
|
191
|
-
id: string;
|
|
192
|
-
updatedAt: string;
|
|
193
|
-
createdAt: string;
|
|
194
|
-
createdBy: string;
|
|
195
|
-
|
|
196
|
-
status: LeasingAdminUploadStatus;
|
|
197
|
-
/** name of the company responsible for the emission of the document */
|
|
198
|
-
handlerId: string;
|
|
199
|
-
};
|
|
200
|
-
|
|
201
|
-
export type DhondtUpload = LeasingAdminUpload & {
|
|
202
|
-
attachment: AttachmentValue;
|
|
203
|
-
pdf: AttachmentValue;
|
|
204
|
-
};
|
|
205
|
-
|
|
206
|
-
export type NewLeasingAdminUploadRequest = {
|
|
207
|
-
attachment: AttachmentValue;
|
|
208
|
-
pdf: AttachmentValue;
|
|
209
|
-
handlerId: string;
|
|
210
|
-
};
|
|
211
|
-
|
|
212
|
-
export type DhondtVehicle = {
|
|
213
|
-
VoertuigID: number;
|
|
214
|
-
Plaatnummer: string;
|
|
215
|
-
Bouwjaar: number;
|
|
216
|
-
ChassisNummer: string;
|
|
217
|
-
LeasingEindDatum: string;
|
|
218
|
-
LeasingStartDatum: string;
|
|
219
|
-
StartLeasingTermijn: string;
|
|
220
|
-
EindLeasingTermijn: string;
|
|
221
|
-
VoertuigVlootNummer: string;
|
|
222
|
-
Type: string;
|
|
223
|
-
Merk: string;
|
|
224
|
-
MerkID: number;
|
|
225
|
-
TotaalNettoPremie: number;
|
|
226
|
-
TotaalTaksen: number;
|
|
227
|
-
TotaalBrutoPremie: number;
|
|
228
|
-
TotaalFee: number;
|
|
229
|
-
TotaalBTW: number;
|
|
230
|
-
TotaalPNettoPremie: number;
|
|
231
|
-
TotaalPTaksen: number;
|
|
232
|
-
TotaalPBrutoPremie: number;
|
|
233
|
-
TotaalPFee: number;
|
|
234
|
-
TotaalPBTW: number;
|
|
235
|
-
TotaalProRataNettoPremie: number;
|
|
236
|
-
TotaalProRataTaksen: number;
|
|
237
|
-
TotaalProRataBrutoPremie: number;
|
|
238
|
-
TotaalProRataFee: number;
|
|
239
|
-
TotaalProRataBTW: number;
|
|
240
|
-
TotaalTermijnPremie: number;
|
|
241
|
-
TotaalTermijnFee: number;
|
|
242
|
-
TotaalTermijnBTW: number;
|
|
243
|
-
fonetisch: string;
|
|
244
|
-
TotaalPremie: number;
|
|
245
|
-
TotaalPPremie: number;
|
|
246
|
-
TotaalProRataPremie: number;
|
|
247
|
-
TotaalAcquisitieKosten: number;
|
|
248
|
-
TotaalPAcquisitieKosten: number;
|
|
249
|
-
TotaalProrataAcquisitieKosten: number;
|
|
250
|
-
TotaalAdministratieKosten: number;
|
|
251
|
-
TotaalPAdministratieKosten: number;
|
|
252
|
-
TotaalProRataAdministratieKosten: number;
|
|
253
|
-
};
|
|
254
|
-
|
|
255
|
-
export type DhondtVehicleDiff = {
|
|
256
|
-
[Property in keyof DhondtVehicle]: {
|
|
257
|
-
value: DhondtVehicle[Property];
|
|
258
|
-
before: DhondtVehicle[Property];
|
|
259
|
-
};
|
|
260
|
-
};
|
|
261
|
-
|
|
262
|
-
export type DhondtUploadResponse = {
|
|
263
|
-
changedVehicles: DhondtVehicleDiff[];
|
|
264
|
-
addedVehicles: DhondtVehicle[];
|
|
265
|
-
removedVehicles: DhondtVehicle[];
|
|
266
|
-
};
|