@bisondesk/core-sdk 1.0.486 → 1.0.487
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/types/crm.d.ts +0 -4
- package/lib/types/crm.d.ts.map +1 -1
- package/lib/types/crm.js.map +1 -1
- package/lib/types/interests.d.ts +0 -6
- package/lib/types/interests.d.ts.map +1 -1
- package/lib/types/interests.js.map +1 -1
- package/lib/types/journeys.d.ts +26 -0
- package/lib/types/journeys.d.ts.map +1 -0
- package/lib/types/journeys.js +2 -0
- package/lib/types/journeys.js.map +1 -0
- package/lib/types/opportunities.d.ts +2 -0
- package/lib/types/opportunities.d.ts.map +1 -1
- package/lib/types/opportunities.js.map +1 -1
- package/lib/types/quotes.d.ts +1 -0
- package/lib/types/quotes.d.ts.map +1 -1
- package/lib/types/quotes.js.map +1 -1
- package/package.json +1 -1
- package/src/types/crm.ts +0 -5
- package/src/types/interests.ts +0 -8
- package/src/types/journeys.ts +28 -0
- package/src/types/opportunities.ts +3 -1
- package/src/types/quotes.ts +1 -0
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Task } from '@bisondesk/commons-sdk/tasks';
|
|
1
2
|
import { Document, NextList } from '@bisondesk/commons-sdk/types';
|
|
2
3
|
import { BusinessEntityIds, OpportunityType, WarningHints } from '../constants.js';
|
|
3
4
|
import { Contact, Organization } from './crm.js';
|
|
@@ -105,7 +106,7 @@ export enum OpportunityLostReasonValues {
|
|
|
105
106
|
HighDeposit = 'deposit_too_high',
|
|
106
107
|
NoAnswer = 'client_not_answered',
|
|
107
108
|
Automatic = 'automatic',
|
|
108
|
-
LeasingDeal = 'sold-via-leasing'
|
|
109
|
+
LeasingDeal = 'sold-via-leasing',
|
|
109
110
|
}
|
|
110
111
|
|
|
111
112
|
type BaseBid = {
|
|
@@ -261,6 +262,7 @@ export type OpportunityBFF = {
|
|
|
261
262
|
activeQuote?: DataRecord<Quote>;
|
|
262
263
|
payments: PaymentSummary | undefined;
|
|
263
264
|
reservation?: DataRecord<OpportunityReservation>;
|
|
265
|
+
tasks: DataRecord<Task>[];
|
|
264
266
|
customer?: {
|
|
265
267
|
contact: DataRecord<Contact, ContactMetdata>;
|
|
266
268
|
org?: DataRecord<Organization>;
|
package/src/types/quotes.ts
CHANGED
|
@@ -75,6 +75,7 @@ export type LeasingCalculatorDefaultInput = BaseQuoteCalculatorInput & {
|
|
|
75
75
|
export type LeasingCalculatorInput = BaseQuoteCalculatorInput & {
|
|
76
76
|
localLicensePlate: boolean;
|
|
77
77
|
vanCourier: boolean;
|
|
78
|
+
externalDelivery: boolean;
|
|
78
79
|
isRefinancingDebt?: boolean; // if true, the insurance amounts might not be the same as the leasing amount + and other costs like track and trace
|
|
79
80
|
vehicle: BaseQuoteCalculatorInput['vehicle'] & {
|
|
80
81
|
purchasePriceExclVat: string;
|