@bisondesk/core-sdk 1.0.307 → 1.0.308
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/cjs/apis/opportunities.js.map +1 -1
- package/lib/cjs/types/leasing-settings.js.map +1 -1
- package/lib/cjs/types/opportunities.js.map +1 -1
- package/lib/cjs/types/payments.js +1 -2
- package/lib/cjs/types/payments.js.map +1 -1
- package/lib/cjs/types/quotes.js.map +1 -1
- package/lib/cjs/types/vehicles.js.map +1 -1
- package/lib/esm/apis/opportunities.js.map +1 -1
- package/lib/esm/types/leasing-settings.js.map +1 -1
- package/lib/esm/types/opportunities.js.map +1 -1
- package/lib/esm/types/payments.js +0 -1
- package/lib/esm/types/payments.js.map +1 -1
- package/lib/esm/types/quotes.js.map +1 -1
- package/lib/esm/types/vehicles.js.map +1 -1
- package/lib/tsconfig.cjs.tsbuildinfo +1 -1
- package/lib/tsconfig.esm.tsbuildinfo +1 -1
- package/lib/types/apis/opportunities.d.ts +1 -1
- package/lib/types/apis/opportunities.d.ts.map +1 -1
- package/lib/types/types/leasing-settings.d.ts +71 -0
- package/lib/types/types/leasing-settings.d.ts.map +1 -1
- package/lib/types/types/opportunities.d.ts +0 -2
- package/lib/types/types/opportunities.d.ts.map +1 -1
- package/lib/types/types/payments.d.ts +0 -1
- package/lib/types/types/payments.d.ts.map +1 -1
- package/lib/types/types/quotes.d.ts +14 -8
- package/lib/types/types/quotes.d.ts.map +1 -1
- package/lib/types/types/vehicles.d.ts +0 -18
- package/lib/types/types/vehicles.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/apis/opportunities.ts +1 -1
- package/src/types/leasing-settings.ts +76 -0
- package/src/types/opportunities.ts +0 -2
- package/src/types/payments.ts +0 -2
- package/src/types/quotes.ts +16 -7
- package/src/types/vehicles.ts +0 -22
- package/lib/cjs/types/quote-settings.js +0 -3
- package/lib/cjs/types/quote-settings.js.map +0 -1
- package/lib/esm/types/quote-settings.js +0 -2
- package/lib/esm/types/quote-settings.js.map +0 -1
- package/lib/types/types/quote-settings.d.ts +0 -89
- package/lib/types/types/quote-settings.d.ts.map +0 -1
- package/src/types/quote-settings.ts +0 -93
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
import { DeliveryParams } from './delivery-settings';
|
|
2
|
-
export type UsedVehiclesSalesParams = BaseQuoteSettings & {
|
|
3
|
-
modifiedBy: string;
|
|
4
|
-
countryCode: 'be';
|
|
5
|
-
profitabilityDealGap: string;
|
|
6
|
-
exaDocumentCosts: string;
|
|
7
|
-
delivery?: DeliveryParams;
|
|
8
|
-
};
|
|
9
|
-
export type BeSpecificQuoteParams = {
|
|
10
|
-
countryCode: 'be';
|
|
11
|
-
other: BaseQuoteSettings['other'] & {
|
|
12
|
-
leasingStartupFeePercentage: string;
|
|
13
|
-
};
|
|
14
|
-
insurance: {
|
|
15
|
-
allRisksCost: string;
|
|
16
|
-
allRisksTax: string;
|
|
17
|
-
allRisksFees: string;
|
|
18
|
-
allRisksMinimumCost: string;
|
|
19
|
-
specialTechnicalInsuranceCost: string;
|
|
20
|
-
specialTechnicalInsuranceTax: string;
|
|
21
|
-
specialTechnicalInsuranceFees: string;
|
|
22
|
-
civilLiabilitiesCost: string;
|
|
23
|
-
civilLiabilitiesTax: string;
|
|
24
|
-
civilLiabilitiesFees: string;
|
|
25
|
-
roadAssistanceMonthlySalesPrice: string;
|
|
26
|
-
roadAssistanceMonthlyCostPrice: string;
|
|
27
|
-
margin: string;
|
|
28
|
-
allRisksCheckedForLocalClients: boolean;
|
|
29
|
-
specialTechnicalInsuranceCheckedForLocalClients: boolean;
|
|
30
|
-
civilLiabilitiesCheckedForLocalClients: boolean;
|
|
31
|
-
roadAssistanceCheckedForLocalClients: boolean;
|
|
32
|
-
initialFractionPercentage: '0';
|
|
33
|
-
};
|
|
34
|
-
track: {
|
|
35
|
-
trackAndTrace24Cost: string;
|
|
36
|
-
trackAndTrace36Cost: string;
|
|
37
|
-
trackAndTrace48Cost: string;
|
|
38
|
-
trackAndTraceMaxCost: string;
|
|
39
|
-
};
|
|
40
|
-
taxes: {
|
|
41
|
-
oneTimeRoadTax: string;
|
|
42
|
-
yearlyRoadTax: string;
|
|
43
|
-
oneTimeRoadCheckedForLocalClients: boolean;
|
|
44
|
-
yearlyRoadCheckedForLocalClients: boolean;
|
|
45
|
-
margin: string;
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
|
-
export type BoSpecificQuoteParams = {
|
|
49
|
-
countryCode: 'bo';
|
|
50
|
-
insurance: {
|
|
51
|
-
allRisksCost: string;
|
|
52
|
-
margin: string;
|
|
53
|
-
initialFractionPercentage: string;
|
|
54
|
-
};
|
|
55
|
-
other: BaseQuoteSettings['other'] & {
|
|
56
|
-
administrativeFee: string;
|
|
57
|
-
};
|
|
58
|
-
track: {
|
|
59
|
-
installationCost: string;
|
|
60
|
-
monthlyCost: string;
|
|
61
|
-
monthlyFee: string;
|
|
62
|
-
deviceCost: string;
|
|
63
|
-
};
|
|
64
|
-
};
|
|
65
|
-
export type CountrySpecificQuoteParams = BeSpecificQuoteParams | BoSpecificQuoteParams;
|
|
66
|
-
type BaseQuoteSettings = {
|
|
67
|
-
id: string;
|
|
68
|
-
modifiedAt: string;
|
|
69
|
-
name: string;
|
|
70
|
-
other: {
|
|
71
|
-
minimumDepositAdjudicationPercentage: string;
|
|
72
|
-
};
|
|
73
|
-
};
|
|
74
|
-
export type LeasingQuoteParams<P extends CountrySpecificQuoteParams = CountrySpecificQuoteParams> = BaseQuoteSettings & {
|
|
75
|
-
leasing: {
|
|
76
|
-
leasingInterestRate: string;
|
|
77
|
-
leasingDuration: number;
|
|
78
|
-
leasingDepositPercentage: string;
|
|
79
|
-
leasingResidualValuePercentage: string;
|
|
80
|
-
};
|
|
81
|
-
costs: {
|
|
82
|
-
bankDepositPercentage: string;
|
|
83
|
-
bankInterestRate: string;
|
|
84
|
-
bankResidualValuePercentage: string;
|
|
85
|
-
};
|
|
86
|
-
} & P;
|
|
87
|
-
export type QuoteSettings = LeasingQuoteParams | UsedVehiclesSalesParams;
|
|
88
|
-
export {};
|
|
89
|
-
//# sourceMappingURL=quote-settings.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"quote-settings.d.ts","sourceRoot":"/","sources":["types/quote-settings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAErD,MAAM,MAAM,uBAAuB,GAAG,iBAAiB,GAAG;IACxD,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,IAAI,CAAC;IAClB,oBAAoB,EAAE,MAAM,CAAC;IAC7B,gBAAgB,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,EAAE,cAAc,CAAC;CAC3B,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,WAAW,EAAE,IAAI,CAAC;IAClB,KAAK,EAAE,iBAAiB,CAAC,OAAO,CAAC,GAAG;QAClC,2BAA2B,EAAE,MAAM,CAAC;KACrC,CAAC;IACF,SAAS,EAAE;QACT,YAAY,EAAE,MAAM,CAAC;QACrB,WAAW,EAAE,MAAM,CAAC;QACpB,YAAY,EAAE,MAAM,CAAC;QACrB,mBAAmB,EAAE,MAAM,CAAC;QAC5B,6BAA6B,EAAE,MAAM,CAAC;QACtC,4BAA4B,EAAE,MAAM,CAAC;QACrC,6BAA6B,EAAE,MAAM,CAAC;QACtC,oBAAoB,EAAE,MAAM,CAAC;QAC7B,mBAAmB,EAAE,MAAM,CAAC;QAC5B,oBAAoB,EAAE,MAAM,CAAC;QAC7B,+BAA+B,EAAE,MAAM,CAAC;QACxC,8BAA8B,EAAE,MAAM,CAAC;QACvC,MAAM,EAAE,MAAM,CAAC;QACf,8BAA8B,EAAE,OAAO,CAAC;QACxC,+CAA+C,EAAE,OAAO,CAAC;QACzD,sCAAsC,EAAE,OAAO,CAAC;QAChD,oCAAoC,EAAE,OAAO,CAAC;QAC9C,yBAAyB,EAAE,GAAG,CAAC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QACxB,wBAAwB,EAAE,MAAM,CAAC;QACjC,8BAA8B,EAAE,MAAM,CAAC;KACxC,CAAC;IACF,KAAK,EAAE;QACL,qBAAqB,EAAE,MAAM,CAAC;QAC9B,gBAAgB,EAAE,MAAM,CAAC;QACzB,2BAA2B,EAAE,MAAM,CAAC;KACrC,CAAC;CACH,GAAG,CAAC,CAAC;AAER,MAAM,MAAM,aAAa,GAAG,kBAAkB,GAAG,uBAAuB,CAAC"}
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
import { DeliveryParams } from './delivery-settings';
|
|
2
|
-
|
|
3
|
-
export type UsedVehiclesSalesParams = BaseQuoteSettings & {
|
|
4
|
-
modifiedBy: string;
|
|
5
|
-
countryCode: 'be';
|
|
6
|
-
profitabilityDealGap: string;
|
|
7
|
-
exaDocumentCosts: string;
|
|
8
|
-
delivery?: DeliveryParams;
|
|
9
|
-
};
|
|
10
|
-
|
|
11
|
-
export type BeSpecificQuoteParams = {
|
|
12
|
-
countryCode: 'be';
|
|
13
|
-
other: BaseQuoteSettings['other'] & {
|
|
14
|
-
leasingStartupFeePercentage: string;
|
|
15
|
-
};
|
|
16
|
-
insurance: {
|
|
17
|
-
allRisksCost: string;
|
|
18
|
-
allRisksTax: string;
|
|
19
|
-
allRisksFees: string;
|
|
20
|
-
allRisksMinimumCost: string;
|
|
21
|
-
specialTechnicalInsuranceCost: string;
|
|
22
|
-
specialTechnicalInsuranceTax: string;
|
|
23
|
-
specialTechnicalInsuranceFees: string;
|
|
24
|
-
civilLiabilitiesCost: string;
|
|
25
|
-
civilLiabilitiesTax: string;
|
|
26
|
-
civilLiabilitiesFees: string;
|
|
27
|
-
roadAssistanceMonthlySalesPrice: string; // monthly Price
|
|
28
|
-
roadAssistanceMonthlyCostPrice: string; // monthly Price
|
|
29
|
-
margin: string;
|
|
30
|
-
allRisksCheckedForLocalClients: boolean;
|
|
31
|
-
specialTechnicalInsuranceCheckedForLocalClients: boolean;
|
|
32
|
-
civilLiabilitiesCheckedForLocalClients: boolean;
|
|
33
|
-
roadAssistanceCheckedForLocalClients: boolean;
|
|
34
|
-
initialFractionPercentage: '0';
|
|
35
|
-
};
|
|
36
|
-
track: {
|
|
37
|
-
trackAndTrace24Cost: string;
|
|
38
|
-
trackAndTrace36Cost: string;
|
|
39
|
-
trackAndTrace48Cost: string;
|
|
40
|
-
trackAndTraceMaxCost: string;
|
|
41
|
-
};
|
|
42
|
-
taxes: {
|
|
43
|
-
oneTimeRoadTax: string;
|
|
44
|
-
yearlyRoadTax: string;
|
|
45
|
-
oneTimeRoadCheckedForLocalClients: boolean;
|
|
46
|
-
yearlyRoadCheckedForLocalClients: boolean;
|
|
47
|
-
margin: string;
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
|
-
|
|
51
|
-
export type BoSpecificQuoteParams = {
|
|
52
|
-
countryCode: 'bo';
|
|
53
|
-
insurance: {
|
|
54
|
-
allRisksCost: string;
|
|
55
|
-
margin: string;
|
|
56
|
-
initialFractionPercentage: string;
|
|
57
|
-
};
|
|
58
|
-
other: BaseQuoteSettings['other'] & {
|
|
59
|
-
administrativeFee: string;
|
|
60
|
-
};
|
|
61
|
-
track: {
|
|
62
|
-
installationCost: string;
|
|
63
|
-
monthlyCost: string;
|
|
64
|
-
monthlyFee: string;
|
|
65
|
-
deviceCost: string;
|
|
66
|
-
};
|
|
67
|
-
};
|
|
68
|
-
|
|
69
|
-
export type CountrySpecificQuoteParams = BeSpecificQuoteParams | BoSpecificQuoteParams;
|
|
70
|
-
|
|
71
|
-
type BaseQuoteSettings = {
|
|
72
|
-
id: string;
|
|
73
|
-
modifiedAt: string;
|
|
74
|
-
name: string;
|
|
75
|
-
other: { minimumDepositAdjudicationPercentage: string };
|
|
76
|
-
};
|
|
77
|
-
|
|
78
|
-
export type LeasingQuoteParams<P extends CountrySpecificQuoteParams = CountrySpecificQuoteParams> =
|
|
79
|
-
BaseQuoteSettings & {
|
|
80
|
-
leasing: {
|
|
81
|
-
leasingInterestRate: string;
|
|
82
|
-
leasingDuration: number;
|
|
83
|
-
leasingDepositPercentage: string;
|
|
84
|
-
leasingResidualValuePercentage: string;
|
|
85
|
-
};
|
|
86
|
-
costs: {
|
|
87
|
-
bankDepositPercentage: string;
|
|
88
|
-
bankInterestRate: string;
|
|
89
|
-
bankResidualValuePercentage: string;
|
|
90
|
-
};
|
|
91
|
-
} & P;
|
|
92
|
-
|
|
93
|
-
export type QuoteSettings = LeasingQuoteParams | UsedVehiclesSalesParams;
|