@bisondesk/core-sdk 1.0.21 → 1.0.23-B
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.d.ts +39 -0
- package/lib/apis/crm.d.ts.map +1 -0
- package/lib/apis/crm.js +201 -0
- package/lib/apis/crm.js.map +1 -0
- package/lib/apis/documents.d.ts +4 -0
- package/lib/apis/documents.d.ts.map +1 -0
- package/lib/apis/documents.js +47 -0
- package/lib/apis/documents.js.map +1 -0
- package/lib/apis/internet-vehicles.d.ts +3 -0
- package/lib/apis/internet-vehicles.d.ts.map +1 -0
- package/lib/apis/internet-vehicles.js +27 -0
- package/lib/apis/internet-vehicles.js.map +1 -0
- package/lib/apis/leasing-administration.d.ts +8 -0
- package/lib/apis/leasing-administration.d.ts.map +1 -0
- package/lib/apis/leasing-administration.js +49 -0
- package/lib/apis/leasing-administration.js.map +1 -0
- package/lib/apis/leasing.d.ts +19 -0
- package/lib/apis/leasing.d.ts.map +1 -0
- package/lib/apis/leasing.js +168 -0
- package/lib/apis/leasing.js.map +1 -0
- package/lib/apis/opportunities.d.ts +9 -0
- package/lib/apis/opportunities.d.ts.map +1 -0
- package/lib/apis/opportunities.js +94 -0
- package/lib/apis/opportunities.js.map +1 -0
- package/lib/apis/picklists.d.ts +5 -0
- package/lib/apis/picklists.d.ts.map +1 -0
- package/lib/apis/picklists.js +44 -0
- package/lib/apis/picklists.js.map +1 -0
- package/lib/apis/tenants.d.ts +7 -0
- package/lib/apis/tenants.d.ts.map +1 -0
- package/lib/apis/tenants.js +80 -0
- package/lib/apis/tenants.js.map +1 -0
- package/lib/apis/users.d.ts +3 -0
- package/lib/apis/users.d.ts.map +1 -0
- package/lib/apis/users.js +26 -0
- package/lib/apis/users.js.map +1 -0
- package/lib/apis/utils.d.ts +9 -0
- package/lib/apis/utils.d.ts.map +1 -0
- package/lib/apis/utils.js +23 -0
- package/lib/apis/utils.js.map +1 -0
- package/lib/apis/vehicles.d.ts +18 -0
- package/lib/apis/vehicles.d.ts.map +1 -0
- package/lib/apis/vehicles.js +159 -0
- package/lib/apis/vehicles.js.map +1 -0
- package/lib/constants.d.ts +77 -0
- package/lib/constants.d.ts.map +1 -1
- package/lib/constants.js +924 -1
- package/lib/constants.js.map +1 -1
- package/lib/ddb-entities.d.ts +2 -0
- package/lib/ddb-entities.d.ts.map +1 -0
- package/lib/ddb-entities.js +5 -0
- package/lib/ddb-entities.js.map +1 -0
- package/lib/types/activities.d.ts +38 -0
- package/lib/types/activities.d.ts.map +1 -0
- package/lib/types/activities.js +16 -0
- package/lib/types/activities.js.map +1 -0
- package/lib/types/crm.d.ts +103 -30
- package/lib/types/crm.d.ts.map +1 -1
- package/lib/types/crm.js +16 -0
- package/lib/types/crm.js.map +1 -1
- package/lib/types/definitions.d.ts +15 -13
- package/lib/types/definitions.d.ts.map +1 -1
- package/lib/types/documents.d.ts +105 -0
- package/lib/types/documents.d.ts.map +1 -0
- package/lib/types/{interests.js → documents.js} +1 -1
- package/lib/types/documents.js.map +1 -0
- package/lib/types/fields.d.ts +26 -25
- package/lib/types/fields.d.ts.map +1 -1
- package/lib/types/fields.js +4 -0
- package/lib/types/fields.js.map +1 -1
- package/lib/types/internet-vehicles.d.ts +64 -0
- package/lib/types/internet-vehicles.d.ts.map +1 -0
- package/lib/types/internet-vehicles.js +3 -0
- package/lib/types/internet-vehicles.js.map +1 -0
- package/lib/types/leads.d.ts +134 -0
- package/lib/types/leads.d.ts.map +1 -0
- package/lib/types/leads.js +3 -0
- package/lib/types/leads.js.map +1 -0
- package/lib/types/leasing-administration.d.ts +107 -0
- package/lib/types/leasing-administration.d.ts.map +1 -0
- package/lib/types/leasing-administration.js +3 -0
- package/lib/types/leasing-administration.js.map +1 -0
- package/lib/types/leasing-search.d.ts +22 -0
- package/lib/types/leasing-search.d.ts.map +1 -0
- package/lib/types/leasing-search.js +3 -0
- package/lib/types/leasing-search.js.map +1 -0
- package/lib/types/leasing-settings.d.ts +113 -0
- package/lib/types/leasing-settings.d.ts.map +1 -0
- package/lib/types/leasing-settings.js +10 -0
- package/lib/types/leasing-settings.js.map +1 -0
- package/lib/types/leasing.d.ts +322 -0
- package/lib/types/leasing.d.ts.map +1 -0
- package/lib/types/leasing.js +24 -0
- package/lib/types/leasing.js.map +1 -0
- package/lib/types/machines.d.ts +38 -0
- package/lib/types/machines.d.ts.map +1 -0
- package/lib/types/machines.js +3 -0
- package/lib/types/machines.js.map +1 -0
- package/lib/types/opportunities.d.ts +448 -0
- package/lib/types/opportunities.d.ts.map +1 -0
- package/lib/types/opportunities.js +68 -0
- package/lib/types/opportunities.js.map +1 -0
- package/lib/types/payments.d.ts +38 -0
- package/lib/types/payments.d.ts.map +1 -0
- package/lib/types/payments.js +9 -0
- package/lib/types/payments.js.map +1 -0
- package/lib/types/picklists.d.ts +15 -4
- package/lib/types/picklists.d.ts.map +1 -1
- package/lib/types/quotes.d.ts +173 -0
- package/lib/types/quotes.d.ts.map +1 -0
- package/lib/types/quotes.js +26 -0
- package/lib/types/quotes.js.map +1 -0
- package/lib/types/recently-viewed.d.ts +33 -0
- package/lib/types/recently-viewed.d.ts.map +1 -0
- package/lib/types/recently-viewed.js +3 -0
- package/lib/types/recently-viewed.js.map +1 -0
- package/lib/types/saved-filters.d.ts +20 -0
- package/lib/types/saved-filters.d.ts.map +1 -0
- package/lib/types/saved-filters.js +3 -0
- package/lib/types/saved-filters.js.map +1 -0
- package/lib/types/search.d.ts +26 -4
- package/lib/types/search.d.ts.map +1 -1
- package/lib/types/search.js.map +1 -1
- package/lib/types/settings.d.ts +50 -0
- package/lib/types/settings.d.ts.map +1 -0
- package/lib/types/settings.js +3 -0
- package/lib/types/settings.js.map +1 -0
- package/lib/types/storage.d.ts +1 -11
- package/lib/types/storage.d.ts.map +1 -1
- package/lib/types/storage.js +15 -0
- package/lib/types/storage.js.map +1 -1
- package/lib/types/templates.d.ts +35 -0
- package/lib/types/templates.d.ts.map +1 -0
- package/lib/types/templates.js +9 -0
- package/lib/types/templates.js.map +1 -0
- package/lib/types/tenants.d.ts +32 -9
- package/lib/types/tenants.d.ts.map +1 -1
- package/lib/types/tenants.js +11 -0
- package/lib/types/tenants.js.map +1 -1
- package/lib/types/users.d.ts +11 -3
- package/lib/types/users.d.ts.map +1 -1
- package/lib/types/utils.d.ts +20 -0
- package/lib/types/utils.d.ts.map +1 -1
- package/lib/types/utils.js +6 -0
- package/lib/types/utils.js.map +1 -1
- package/lib/types/vehicles.d.ts +406 -92
- package/lib/types/vehicles.d.ts.map +1 -1
- package/lib/types/vehicles.js +54 -1
- package/lib/types/vehicles.js.map +1 -1
- package/lib/types/website.d.ts +24 -0
- package/lib/types/website.d.ts.map +1 -0
- package/lib/types/website.js +3 -0
- package/lib/types/website.js.map +1 -0
- package/lib/utils/forms.d.ts +6 -0
- package/lib/utils/forms.d.ts.map +1 -0
- package/lib/utils/forms.js +33 -0
- package/lib/utils/forms.js.map +1 -0
- package/lib/utils/leasing.d.ts +3 -0
- package/lib/utils/leasing.d.ts.map +1 -0
- package/lib/utils/leasing.js +10 -0
- package/lib/utils/leasing.js.map +1 -0
- package/lib/utils/slug.d.ts +3 -0
- package/lib/utils/slug.d.ts.map +1 -0
- package/lib/utils/slug.js +23 -0
- package/lib/utils/slug.js.map +1 -0
- package/lib/utils/tenants.d.ts +4 -0
- package/lib/utils/tenants.d.ts.map +1 -0
- package/lib/utils/tenants.js +16 -0
- package/lib/utils/tenants.js.map +1 -0
- package/lib/utils/vehicles.d.ts +12 -0
- package/lib/utils/vehicles.d.ts.map +1 -0
- package/lib/utils/vehicles.js +73 -0
- package/lib/utils/vehicles.js.map +1 -0
- package/package.json +8 -6
- package/src/apis/crm.ts +302 -0
- package/src/apis/documents.ts +54 -0
- package/src/apis/internet-vehicles.ts +23 -0
- package/src/apis/leasing-administration.ts +70 -0
- package/src/apis/leasing.ts +257 -0
- package/src/apis/opportunities.ts +133 -0
- package/src/apis/picklists.ts +50 -0
- package/src/apis/tenants.ts +100 -0
- package/src/apis/users.ts +22 -0
- package/src/apis/utils.ts +23 -0
- package/src/apis/vehicles.ts +229 -0
- package/src/constants.ts +930 -1
- package/src/ddb-entities.ts +1 -0
- package/src/environment.d.ts +6 -0
- package/src/types/activities.ts +41 -0
- package/src/types/crm.ts +118 -30
- package/src/types/definitions.ts +19 -12
- package/src/types/documents.ts +110 -0
- package/src/types/fields.ts +72 -31
- package/src/types/internet-vehicles.ts +67 -0
- package/src/types/leads.ts +144 -0
- package/src/types/leasing-administration.ts +131 -0
- package/src/types/leasing-search.ts +24 -0
- package/src/types/leasing-settings.ts +111 -0
- package/src/types/leasing.ts +360 -0
- package/src/types/machines.ts +40 -0
- package/src/types/opportunities.ts +496 -0
- package/src/types/payments.ts +40 -0
- package/src/types/picklists.ts +26 -7
- package/src/types/quotes.ts +186 -0
- package/src/types/recently-viewed.ts +45 -0
- package/src/types/saved-filters.ts +21 -0
- package/src/types/search.ts +34 -4
- package/src/types/settings.ts +51 -0
- package/src/types/storage.ts +1 -12
- package/src/types/templates.ts +40 -0
- package/src/types/tenants.ts +37 -11
- package/src/types/users.ts +17 -3
- package/src/types/utils.ts +25 -0
- package/src/types/vehicles.ts +461 -93
- package/src/types/website.ts +28 -0
- package/src/utils/forms.ts +32 -0
- package/src/utils/leasing.ts +14 -0
- package/src/utils/slug.ts +19 -0
- package/src/utils/tenants.ts +14 -0
- package/src/utils/vehicles.ts +92 -0
- package/tsconfig.tsbuildinfo +1 -2995
- package/lib/types/interests.d.ts +0 -23
- package/lib/types/interests.d.ts.map +0 -1
- package/lib/types/interests.js.map +0 -1
- package/src/types/interests.ts +0 -20
|
@@ -0,0 +1,322 @@
|
|
|
1
|
+
import { EmailMessage } from '@bisondesk/commons-sdk/lib/messages';
|
|
2
|
+
import { AttachmentValue, Document, LinkValue, PaginatedList } from '@bisondesk/commons-sdk/lib/types';
|
|
3
|
+
import { SortFilter } from './search';
|
|
4
|
+
import { ReferenceData } from './utils';
|
|
5
|
+
export declare type LeasingContractEvent = {
|
|
6
|
+
id: string;
|
|
7
|
+
action: 'create' | 'update' | 'delete';
|
|
8
|
+
actionAt: string;
|
|
9
|
+
userId: string;
|
|
10
|
+
tenantId: string;
|
|
11
|
+
contract: LeasingContract;
|
|
12
|
+
};
|
|
13
|
+
export declare type LeasingContractImportEvent = {
|
|
14
|
+
tenantId: string;
|
|
15
|
+
};
|
|
16
|
+
export declare type LeasingConditionEvent = {
|
|
17
|
+
id: string;
|
|
18
|
+
action: 'create';
|
|
19
|
+
actionAt: string;
|
|
20
|
+
userId: string;
|
|
21
|
+
tenantId: string;
|
|
22
|
+
};
|
|
23
|
+
export declare type OverdueDossier = {
|
|
24
|
+
id: string;
|
|
25
|
+
organizationId: string;
|
|
26
|
+
organizationName: string;
|
|
27
|
+
status: 'ONGOING' | 'ERROR' | 'SUCCESS' | 'EXPIRED';
|
|
28
|
+
emails: EmailMessage[];
|
|
29
|
+
createdAt: string;
|
|
30
|
+
modifiedAt: string;
|
|
31
|
+
completedAt?: string;
|
|
32
|
+
nextActionAt: string;
|
|
33
|
+
riskLevel: number;
|
|
34
|
+
};
|
|
35
|
+
export declare type LeasingContractClient = {
|
|
36
|
+
organizationId: string;
|
|
37
|
+
contactIds: string[];
|
|
38
|
+
email?: string;
|
|
39
|
+
since: string;
|
|
40
|
+
takeoverId?: string;
|
|
41
|
+
country: string;
|
|
42
|
+
beEntityType?: 'Legal Person' | 'Natural Person';
|
|
43
|
+
beForeignEntity?: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Used to overwrite the startDate in the context of a Becris declaration. This might be necessary
|
|
46
|
+
* when due to some data-quality issue we do not report the contract at the right period and it is no
|
|
47
|
+
* longer possible to resend the declaration for the corresponding month.
|
|
48
|
+
*/
|
|
49
|
+
becrisStartDate?: string;
|
|
50
|
+
};
|
|
51
|
+
export declare enum LeasingContractSource {
|
|
52
|
+
HYPERPORTAL = "hyperportal",
|
|
53
|
+
BISONDESK = "bisondesk"
|
|
54
|
+
}
|
|
55
|
+
export declare enum LeasingContractStatus {
|
|
56
|
+
DRAFT = "draft",
|
|
57
|
+
DISCARDED = "discarded",
|
|
58
|
+
PAUSED = "paused",
|
|
59
|
+
ACTIVE = "active",
|
|
60
|
+
ENDED = "ended"
|
|
61
|
+
}
|
|
62
|
+
export declare type LeasingContractHyperportal = {
|
|
63
|
+
source: LeasingContractSource.HYPERPORTAL;
|
|
64
|
+
/** oldest first **/
|
|
65
|
+
conditions: ConditionsRef[];
|
|
66
|
+
opportunities?: undefined;
|
|
67
|
+
};
|
|
68
|
+
export declare type LeasingContractBisondesk = {
|
|
69
|
+
source: LeasingContractSource.BISONDESK;
|
|
70
|
+
conditions?: undefined;
|
|
71
|
+
/** oldest first **/
|
|
72
|
+
opportunities: OpportunityRef[];
|
|
73
|
+
};
|
|
74
|
+
export declare type LeasingContract<T = LeasingContractHyperportal | LeasingContractBisondesk> = {
|
|
75
|
+
id: string;
|
|
76
|
+
createdAt: string;
|
|
77
|
+
updatedAt: string;
|
|
78
|
+
contractNumber?: string;
|
|
79
|
+
startDate: string;
|
|
80
|
+
deliveryDate?: string;
|
|
81
|
+
endDate?: string;
|
|
82
|
+
slbPartner?: string;
|
|
83
|
+
links?: LinkValue[];
|
|
84
|
+
accountManager?: string;
|
|
85
|
+
clients: LeasingContractClient[];
|
|
86
|
+
vehicle: {
|
|
87
|
+
id: string;
|
|
88
|
+
stockNumber: string;
|
|
89
|
+
administrativeNumber?: string;
|
|
90
|
+
};
|
|
91
|
+
status: LeasingContractStatus;
|
|
92
|
+
documents: Document[];
|
|
93
|
+
} & T;
|
|
94
|
+
declare type BaseRef = {
|
|
95
|
+
id: string;
|
|
96
|
+
depositAmount: string;
|
|
97
|
+
durationInMonths: number;
|
|
98
|
+
saleAmount: string;
|
|
99
|
+
interestRate: string;
|
|
100
|
+
residualAmount: string;
|
|
101
|
+
leasingMonthlyAmount: string;
|
|
102
|
+
otherMonthlyAmounts: string;
|
|
103
|
+
totalMonthlyAmount: string;
|
|
104
|
+
};
|
|
105
|
+
export declare type ConditionsRef = BaseRef & {
|
|
106
|
+
validSince: string;
|
|
107
|
+
};
|
|
108
|
+
export declare type OpportunityRef = BaseRef & {
|
|
109
|
+
createdAt: string;
|
|
110
|
+
quoteId: string;
|
|
111
|
+
};
|
|
112
|
+
export declare type ListOverdueRemindersResponse = PaginatedList<OverdueDossier, ReferenceData>;
|
|
113
|
+
export declare type ListOverdueRemindersRequest = {
|
|
114
|
+
offset: number;
|
|
115
|
+
limit: number;
|
|
116
|
+
sortBy: SortFilter;
|
|
117
|
+
};
|
|
118
|
+
export declare type ListBecrisDeclarationsRequest = {
|
|
119
|
+
offset: number;
|
|
120
|
+
limit: number;
|
|
121
|
+
};
|
|
122
|
+
export declare type NewLeasingConditions = {
|
|
123
|
+
parameters: {
|
|
124
|
+
yearlyRoadTax: string;
|
|
125
|
+
civilLiability: string;
|
|
126
|
+
oneTimeRoadTax: string;
|
|
127
|
+
specialInsurance: string;
|
|
128
|
+
allRisksPercentage: string;
|
|
129
|
+
allRisksTaxPercentage: string;
|
|
130
|
+
};
|
|
131
|
+
inputs: {
|
|
132
|
+
deposit: string;
|
|
133
|
+
salesPrice: string;
|
|
134
|
+
bankDeposit: string;
|
|
135
|
+
purchasePrice: string;
|
|
136
|
+
residualValue: string;
|
|
137
|
+
insuranceAmount: string;
|
|
138
|
+
durationInMonths: number;
|
|
139
|
+
includesAllRisks: boolean;
|
|
140
|
+
marginPercentage: string;
|
|
141
|
+
bankResidualValue: string;
|
|
142
|
+
bankDurationInMonths: number;
|
|
143
|
+
startupFeePercentage: string;
|
|
144
|
+
includesYearlyRoadTax: boolean;
|
|
145
|
+
includesCivilLiability: boolean;
|
|
146
|
+
includesOneTimeRoadTax: boolean;
|
|
147
|
+
interestRatePercentage: string;
|
|
148
|
+
includesSpecialInsurance: boolean;
|
|
149
|
+
monthlyAdministrationFee: string;
|
|
150
|
+
bankInterestRatePercentage: string;
|
|
151
|
+
};
|
|
152
|
+
outputs: {
|
|
153
|
+
ROI: string;
|
|
154
|
+
ROITarget: string;
|
|
155
|
+
ROIPerYear: string;
|
|
156
|
+
cashDeficit: string;
|
|
157
|
+
totalProfit: string;
|
|
158
|
+
ROIDifference: string;
|
|
159
|
+
leasingAmount: string;
|
|
160
|
+
leasingProfit: string;
|
|
161
|
+
vehicleProfit: string;
|
|
162
|
+
oneTimeTaxCost: string;
|
|
163
|
+
financingAmount: string;
|
|
164
|
+
bankContractValue: string;
|
|
165
|
+
bankLeasingAmount: string;
|
|
166
|
+
totalMonthlyPayment: string;
|
|
167
|
+
leasingContractValue: string;
|
|
168
|
+
monthlyTaxRetailPrice: string;
|
|
169
|
+
allRisksInsuranceAmount: string;
|
|
170
|
+
};
|
|
171
|
+
cashIn: Array<{
|
|
172
|
+
time: string;
|
|
173
|
+
cashIn: string;
|
|
174
|
+
deposit: string;
|
|
175
|
+
startupFee: string;
|
|
176
|
+
taxPayment: string;
|
|
177
|
+
residualValue: string;
|
|
178
|
+
cumulativeCash: string;
|
|
179
|
+
insurancePayment: string;
|
|
180
|
+
monthlyAdministrationFee: string;
|
|
181
|
+
leasingAmountWithoutAdminFee: string;
|
|
182
|
+
}>;
|
|
183
|
+
cashOut: Array<{
|
|
184
|
+
time: string;
|
|
185
|
+
cashOut: string;
|
|
186
|
+
deposit: string;
|
|
187
|
+
taxPayment: string;
|
|
188
|
+
leasingAmount: string;
|
|
189
|
+
residualValue: string;
|
|
190
|
+
cumulativeCash: string;
|
|
191
|
+
insurancePayment: string;
|
|
192
|
+
}>;
|
|
193
|
+
};
|
|
194
|
+
export declare type LeasingConditions = NewLeasingConditions & {
|
|
195
|
+
id: string;
|
|
196
|
+
createdAt: string;
|
|
197
|
+
createdBy: string;
|
|
198
|
+
amortization: AmortizationTable;
|
|
199
|
+
};
|
|
200
|
+
export declare type AmortizationRow = {
|
|
201
|
+
period: number;
|
|
202
|
+
expectedPeriodDate?: string;
|
|
203
|
+
buyOff: string;
|
|
204
|
+
payment: string;
|
|
205
|
+
capital: string;
|
|
206
|
+
interest: string;
|
|
207
|
+
totalInterest: string;
|
|
208
|
+
balance: string;
|
|
209
|
+
};
|
|
210
|
+
export declare type AmortizationTable = {
|
|
211
|
+
annualInterestRate?: string;
|
|
212
|
+
monthlyInterestRate?: string;
|
|
213
|
+
rows: AmortizationRow[];
|
|
214
|
+
};
|
|
215
|
+
export declare type AmortizationDocsEvent = {
|
|
216
|
+
contractId: string;
|
|
217
|
+
changedDocumentIds: string[];
|
|
218
|
+
actionAt: string;
|
|
219
|
+
userId: string;
|
|
220
|
+
tenantId: string;
|
|
221
|
+
};
|
|
222
|
+
export declare type AmortizationDocs = {
|
|
223
|
+
contractId: string;
|
|
224
|
+
period: number;
|
|
225
|
+
documents: AmortizationDoc[];
|
|
226
|
+
};
|
|
227
|
+
export declare type AmortizationDoc = {
|
|
228
|
+
amount: string;
|
|
229
|
+
bookingNumber: string;
|
|
230
|
+
branchId: string;
|
|
231
|
+
documentId: string;
|
|
232
|
+
issueDate: string;
|
|
233
|
+
subtype: 'Invoice' | 'Credit Note';
|
|
234
|
+
clientExternalId: number;
|
|
235
|
+
};
|
|
236
|
+
export declare type BecrisDeclaration = {
|
|
237
|
+
createdAt: string;
|
|
238
|
+
endDate: string;
|
|
239
|
+
endingInstruments: number;
|
|
240
|
+
existingInstruments: number;
|
|
241
|
+
file: AttachmentValue;
|
|
242
|
+
id: string;
|
|
243
|
+
newInstruments: number;
|
|
244
|
+
startDate: string;
|
|
245
|
+
};
|
|
246
|
+
export declare type LeasingReportingSettings = {
|
|
247
|
+
active: boolean;
|
|
248
|
+
branchId: string;
|
|
249
|
+
tenantId: string;
|
|
250
|
+
};
|
|
251
|
+
export declare enum LeasingRemindersSortableColumns {
|
|
252
|
+
NextActionAt = "next_action_at",
|
|
253
|
+
OrganizationName = "organization_name",
|
|
254
|
+
RemindersCount = "reminders_count",
|
|
255
|
+
Status = "status"
|
|
256
|
+
}
|
|
257
|
+
export declare type AmortizationTableRequest = {
|
|
258
|
+
leasingAmount: string;
|
|
259
|
+
deposit: string;
|
|
260
|
+
salesPrice: string;
|
|
261
|
+
duration: number;
|
|
262
|
+
residual: string;
|
|
263
|
+
monthlyInterestRate: string;
|
|
264
|
+
startDate?: string;
|
|
265
|
+
};
|
|
266
|
+
export declare type AmortizationTableTemplateData = {
|
|
267
|
+
opportunity: {
|
|
268
|
+
id: string;
|
|
269
|
+
};
|
|
270
|
+
v: {
|
|
271
|
+
make: string;
|
|
272
|
+
model: string;
|
|
273
|
+
category: string;
|
|
274
|
+
type?: string;
|
|
275
|
+
vin: string;
|
|
276
|
+
year?: string | number;
|
|
277
|
+
stockNumber: string;
|
|
278
|
+
};
|
|
279
|
+
c: {
|
|
280
|
+
clientNumber: number;
|
|
281
|
+
company: string;
|
|
282
|
+
fullName: string;
|
|
283
|
+
vatNumber?: string;
|
|
284
|
+
email?: string;
|
|
285
|
+
phone?: string;
|
|
286
|
+
address?: string;
|
|
287
|
+
};
|
|
288
|
+
leasing: {
|
|
289
|
+
salesPrice: string;
|
|
290
|
+
salesPriceVat: string;
|
|
291
|
+
salesPriceExclVat: string;
|
|
292
|
+
deposit: string;
|
|
293
|
+
depositExclVat: string;
|
|
294
|
+
depositVat: string;
|
|
295
|
+
installment: string;
|
|
296
|
+
installmentVat: string;
|
|
297
|
+
installmentExclVat: string;
|
|
298
|
+
duration: number;
|
|
299
|
+
monthlyInsurance: string;
|
|
300
|
+
monthlyTax: string;
|
|
301
|
+
monthlyTaxesInsurance: string;
|
|
302
|
+
residual: string;
|
|
303
|
+
residualVat: string;
|
|
304
|
+
residualExclVat: string;
|
|
305
|
+
offerNumber: string;
|
|
306
|
+
contractNumber: string;
|
|
307
|
+
vatPercentage: string;
|
|
308
|
+
};
|
|
309
|
+
amortization: {
|
|
310
|
+
period: number;
|
|
311
|
+
periodStartDate: string;
|
|
312
|
+
periodEndDate: string;
|
|
313
|
+
deposit: string;
|
|
314
|
+
startUpFee: string;
|
|
315
|
+
monthlyAmount: string;
|
|
316
|
+
insurance: string;
|
|
317
|
+
expirationDate: string;
|
|
318
|
+
total: string;
|
|
319
|
+
}[];
|
|
320
|
+
};
|
|
321
|
+
export {};
|
|
322
|
+
//# sourceMappingURL=leasing.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"leasing.d.ts","sourceRoot":"","sources":["../../src/types/leasing.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAC;AACnE,OAAO,EACL,eAAe,EACf,QAAQ,EACR,SAAS,EACT,aAAa,EACd,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAExC,oBAAY,oBAAoB,GAAG;IACjC,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,QAAQ,GAAG,QAAQ,GAAG,QAAQ,CAAC;IACvC,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,eAAe,CAAC;CAC3B,CAAC;AAEF,oBAAY,0BAA0B,GAAG;IACvC,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,oBAAY,qBAAqB,GAAG;IAClC,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,QAAQ,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,oBAAY,cAAc,GAAG;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,cAAc,EAAE,MAAM,CAAC;IACvB,gBAAgB,EAAE,MAAM,CAAC;IACzB,MAAM,EAAE,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,SAAS,CAAC;IACpD,MAAM,EAAE,YAAY,EAAE,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,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CAAC;QACvB,UAAU,EAAE,MAAM,CAAC;QACnB,WAAW,EAAE,MAAM,CAAC;QACpB,cAAc,EAAE,MAAM,CAAC;QACvB,kBAAkB,EAAE,MAAM,CAAC;QAC3B,QAAQ,EAAE,MAAM,CAAC;QACjB,gBAAgB,EAAE,MAAM,CAAC;QACzB,UAAU,EAAE,MAAM,CAAC;QACnB,qBAAqB,EAAE,MAAM,CAAC;QAC9B,QAAQ,EAAE,MAAM,CAAC;QACjB,WAAW,EAAE,MAAM,CAAC;QACpB,eAAe,EAAE,MAAM,CAAC;QACxB,WAAW,EAAE,MAAM,CAAC;QACpB,cAAc,EAAE,MAAM,CAAC;QACvB,aAAa,EAAE,MAAM,CAAC;KACvB,CAAC;IACF,YAAY,EAAE;QACZ,MAAM,EAAE,MAAM,CAAC;QACf,eAAe,EAAE,MAAM,CAAC;QACxB,aAAa,EAAE,MAAM,CAAC;QACtB,OAAO,EAAE,MAAM,CAAC;QAChB,UAAU,EAAE,MAAM,CAAC;QACnB,aAAa,EAAE,MAAM,CAAC;QACtB,SAAS,EAAE,MAAM,CAAC;QAClB,cAAc,EAAE,MAAM,CAAC;QACvB,KAAK,EAAE,MAAM,CAAC;KACf,EAAE,CAAC;CACL,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LeasingRemindersSortableColumns = exports.LeasingContractStatus = exports.LeasingContractSource = void 0;
|
|
4
|
+
var LeasingContractSource;
|
|
5
|
+
(function (LeasingContractSource) {
|
|
6
|
+
LeasingContractSource["HYPERPORTAL"] = "hyperportal";
|
|
7
|
+
LeasingContractSource["BISONDESK"] = "bisondesk";
|
|
8
|
+
})(LeasingContractSource = exports.LeasingContractSource || (exports.LeasingContractSource = {}));
|
|
9
|
+
var LeasingContractStatus;
|
|
10
|
+
(function (LeasingContractStatus) {
|
|
11
|
+
LeasingContractStatus["DRAFT"] = "draft";
|
|
12
|
+
LeasingContractStatus["DISCARDED"] = "discarded";
|
|
13
|
+
LeasingContractStatus["PAUSED"] = "paused";
|
|
14
|
+
LeasingContractStatus["ACTIVE"] = "active";
|
|
15
|
+
LeasingContractStatus["ENDED"] = "ended";
|
|
16
|
+
})(LeasingContractStatus = exports.LeasingContractStatus || (exports.LeasingContractStatus = {}));
|
|
17
|
+
var LeasingRemindersSortableColumns;
|
|
18
|
+
(function (LeasingRemindersSortableColumns) {
|
|
19
|
+
LeasingRemindersSortableColumns["NextActionAt"] = "next_action_at";
|
|
20
|
+
LeasingRemindersSortableColumns["OrganizationName"] = "organization_name";
|
|
21
|
+
LeasingRemindersSortableColumns["RemindersCount"] = "reminders_count";
|
|
22
|
+
LeasingRemindersSortableColumns["Status"] = "status";
|
|
23
|
+
})(LeasingRemindersSortableColumns = exports.LeasingRemindersSortableColumns || (exports.LeasingRemindersSortableColumns = {}));
|
|
24
|
+
//# sourceMappingURL=leasing.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"leasing.js","sourceRoot":"","sources":["../../src/types/leasing.ts"],"names":[],"mappings":";;;AA8DA,IAAY,qBAGX;AAHD,WAAY,qBAAqB;IAC/B,oDAA2B,CAAA;IAC3B,gDAAuB,CAAA;AACzB,CAAC,EAHW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAGhC;AAED,IAAY,qBAMX;AAND,WAAY,qBAAqB;IAC/B,wCAAe,CAAA;IACf,gDAAuB,CAAA;IACvB,0CAAiB,CAAA;IACjB,0CAAiB,CAAA;IACjB,wCAAe,CAAA;AACjB,CAAC,EANW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAMhC;AAuND,IAAY,+BAKX;AALD,WAAY,+BAA+B;IACzC,kEAA+B,CAAA;IAC/B,yEAAsC,CAAA;IACtC,qEAAkC,CAAA;IAClC,oDAAiB,CAAA;AACnB,CAAC,EALW,+BAA+B,GAA/B,uCAA+B,KAA/B,uCAA+B,QAK1C"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export declare type Machine = {
|
|
2
|
+
axlesConfiguration?: string;
|
|
3
|
+
bodywork?: string;
|
|
4
|
+
category: string;
|
|
5
|
+
vin?: string;
|
|
6
|
+
cocPvg?: string;
|
|
7
|
+
emptyWeightKg?: number;
|
|
8
|
+
euronorm?: string;
|
|
9
|
+
firstRegistration?: string;
|
|
10
|
+
gearbox?: string;
|
|
11
|
+
kilometers?: number;
|
|
12
|
+
make?: string;
|
|
13
|
+
makeModel?: string;
|
|
14
|
+
makeModelText?: string;
|
|
15
|
+
makeModelType?: string;
|
|
16
|
+
makeModelTypeText?: string;
|
|
17
|
+
powerHp?: number;
|
|
18
|
+
productionYear?: number;
|
|
19
|
+
suspension?: string;
|
|
20
|
+
totalWeightKg?: number;
|
|
21
|
+
wheelbaseCm?: number;
|
|
22
|
+
references: MachineReference[];
|
|
23
|
+
id: string;
|
|
24
|
+
};
|
|
25
|
+
export declare type MachineReference = {
|
|
26
|
+
administrativeNumber?: string;
|
|
27
|
+
metaId: string;
|
|
28
|
+
stockNumber: string;
|
|
29
|
+
tenantId: string;
|
|
30
|
+
vehicleId: string;
|
|
31
|
+
};
|
|
32
|
+
export declare type MachineEvent = {
|
|
33
|
+
machine: Machine;
|
|
34
|
+
action: 'upsert' | 'delete';
|
|
35
|
+
actionAt: string;
|
|
36
|
+
namespace: string;
|
|
37
|
+
};
|
|
38
|
+
//# sourceMappingURL=machines.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"machines.d.ts","sourceRoot":"","sources":["../../src/types/machines.ts"],"names":[],"mappings":"AAAA,oBAAY,OAAO,GAAG;IACpB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,aAAa,CAAC,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