@bisondesk/core-sdk 1.0.665 → 1.0.666
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/tenants.d.ts +1 -3
- package/lib/apis/tenants.d.ts.map +1 -1
- package/lib/apis/tenants.js +0 -30
- package/lib/apis/tenants.js.map +1 -1
- package/lib/types/leasing.d.ts +0 -139
- package/lib/types/leasing.d.ts.map +1 -1
- package/lib/types/leasing.js.map +1 -1
- package/lib/types/opportunities.d.ts +0 -182
- package/lib/types/opportunities.d.ts.map +1 -1
- package/lib/types/opportunities.js.map +1 -1
- package/lib/types/tenants.d.ts +3 -15
- package/lib/types/tenants.d.ts.map +1 -1
- package/lib/types/tenants.js.map +1 -1
- package/package.json +1 -1
- package/src/apis/tenants.ts +1 -39
- package/src/types/activities.js +13 -0
- package/src/types/activities.js.map +1 -0
- package/src/types/comparables.js +2 -0
- package/src/types/comparables.js.map +1 -0
- package/src/types/crm.js +58 -0
- package/src/types/crm.js.map +1 -0
- package/src/types/dashboard.js +2 -0
- package/src/types/dashboard.js.map +1 -0
- package/src/types/definitions.js +2 -0
- package/src/types/definitions.js.map +1 -0
- package/src/types/fields.js +2 -0
- package/src/types/fields.js.map +1 -0
- package/src/types/insights.js +2 -0
- package/src/types/insights.js.map +1 -0
- package/src/types/interests.js +6 -0
- package/src/types/interests.js.map +1 -0
- package/src/types/internal-events.js +18 -0
- package/src/types/internal-events.js.map +1 -0
- package/src/types/internet-opportunities.js +2 -0
- package/src/types/internet-opportunities.js.map +1 -0
- package/src/types/internet-vehicles.js +2 -0
- package/src/types/internet-vehicles.js.map +1 -0
- package/src/types/leasing-administration.js +2 -0
- package/src/types/leasing-administration.js.map +1 -0
- package/src/types/leasing-debtors.js +2 -0
- package/src/types/leasing-debtors.js.map +1 -0
- package/src/types/leasing-search.js +2 -0
- package/src/types/leasing-search.js.map +1 -0
- package/src/types/leasing-settings.js +7 -0
- package/src/types/leasing-settings.js.map +1 -0
- package/src/types/leasing.js +38 -0
- package/src/types/leasing.js.map +1 -0
- package/src/types/leasing.ts +0 -158
- package/src/types/marketing.js +35 -0
- package/src/types/marketing.js.map +1 -0
- package/src/types/offers.js +56 -0
- package/src/types/opportunities.js +107 -0
- package/src/types/opportunities.js.map +1 -0
- package/src/types/opportunities.ts +0 -187
- package/src/types/payments.js +7 -0
- package/src/types/picklists.js +2 -0
- package/src/types/picklists.js.map +1 -0
- package/src/types/quotes.js +42 -0
- package/src/types/recently-viewed.js +2 -0
- package/src/types/recently-viewed.js.map +1 -0
- package/src/types/reservations.js +5 -0
- package/src/types/reservations.js.map +1 -0
- package/src/types/roi-ratings.js +5 -0
- package/src/types/roi-ratings.js.map +1 -0
- package/src/types/saved-filters.js +9 -0
- package/src/types/saved-filters.js.map +1 -0
- package/src/types/search.js +2 -0
- package/src/types/search.js.map +1 -0
- package/src/types/settings.js +2 -0
- package/src/types/settings.js.map +1 -0
- package/src/types/templates.js +2 -0
- package/src/types/templates.js.map +1 -0
- package/src/types/tenants.js +21 -0
- package/src/types/tenants.js.map +1 -0
- package/src/types/tenants.ts +9 -19
- package/src/types/user-performance.js +7 -0
- package/src/types/user-performance.js.map +1 -0
- package/src/types/utils.js +2 -0
- package/src/types/validation.js +2 -0
- package/src/types/validation.js.map +1 -0
- package/src/types/vehicle-sales.js +6 -0
- package/src/types/vehicle-sales.js.map +1 -0
- package/src/types/vehicles.js +98 -0
- package/src/types/vehicles.js.map +1 -0
- package/src/utils/leasing.js +6 -0
- package/src/utils/leasing.js.map +1 -0
- package/src/utils/opportunities.js +48 -0
- package/src/utils/opportunities.js.map +1 -0
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export var LeasingItemsPaymentSplit;
|
|
2
|
+
(function (LeasingItemsPaymentSplit) {
|
|
3
|
+
LeasingItemsPaymentSplit["Customer"] = "customer";
|
|
4
|
+
LeasingItemsPaymentSplit["Split"] = "split";
|
|
5
|
+
LeasingItemsPaymentSplit["Company"] = "company";
|
|
6
|
+
})(LeasingItemsPaymentSplit || (LeasingItemsPaymentSplit = {}));
|
|
7
|
+
//# sourceMappingURL=leasing-settings.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"leasing-settings.js","sourceRoot":"","sources":["leasing-settings.ts"],"names":[],"mappings":"AAwCA,MAAM,CAAN,IAAY,wBAIX;AAJD,WAAY,wBAAwB;IAClC,iDAAqB,CAAA;IACrB,2CAAe,CAAA;IACf,+CAAmB,CAAA;AACrB,CAAC,EAJW,wBAAwB,KAAxB,wBAAwB,QAInC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export var LeasingContractActions;
|
|
2
|
+
(function (LeasingContractActions) {
|
|
3
|
+
LeasingContractActions["CREATE_FINANCE_DOCUMENT"] = "create_finance_document";
|
|
4
|
+
LeasingContractActions["START_RETAKE_VEHICLE"] = "start_retake_vehicle";
|
|
5
|
+
LeasingContractActions["END_RETAKE_VEHICLE"] = "end_retake_vehicle";
|
|
6
|
+
LeasingContractActions["START_CONTRACT_END"] = "start_contract_end";
|
|
7
|
+
LeasingContractActions["END_CONTRACT"] = "end_contract";
|
|
8
|
+
LeasingContractActions["CANCEL_RETAKE_VEHICLE"] = "cancel_retake_vehicle";
|
|
9
|
+
})(LeasingContractActions || (LeasingContractActions = {}));
|
|
10
|
+
export var LeasingContractSource;
|
|
11
|
+
(function (LeasingContractSource) {
|
|
12
|
+
LeasingContractSource["HYPERPORTAL"] = "hyperportal";
|
|
13
|
+
LeasingContractSource["BISONDESK"] = "bisondesk";
|
|
14
|
+
})(LeasingContractSource || (LeasingContractSource = {}));
|
|
15
|
+
export var LeasingContractStatus;
|
|
16
|
+
(function (LeasingContractStatus) {
|
|
17
|
+
LeasingContractStatus["DRAFT"] = "draft";
|
|
18
|
+
LeasingContractStatus["DISCARDED"] = "discarded";
|
|
19
|
+
LeasingContractStatus["PAUSED"] = "paused";
|
|
20
|
+
LeasingContractStatus["ACTIVE"] = "active";
|
|
21
|
+
LeasingContractStatus["LEASING_RETURN"] = "leasing_return";
|
|
22
|
+
LeasingContractStatus["RECOVERED"] = "recovered";
|
|
23
|
+
LeasingContractStatus["ENDING"] = "ending";
|
|
24
|
+
LeasingContractStatus["ENDED"] = "ended";
|
|
25
|
+
})(LeasingContractStatus || (LeasingContractStatus = {}));
|
|
26
|
+
export var LeasingRemindersSortableColumns;
|
|
27
|
+
(function (LeasingRemindersSortableColumns) {
|
|
28
|
+
LeasingRemindersSortableColumns["NextActionAt"] = "next_action_at";
|
|
29
|
+
LeasingRemindersSortableColumns["OrganizationName"] = "organization_name";
|
|
30
|
+
LeasingRemindersSortableColumns["RemindersCount"] = "reminders_count";
|
|
31
|
+
LeasingRemindersSortableColumns["Status"] = "status";
|
|
32
|
+
})(LeasingRemindersSortableColumns || (LeasingRemindersSortableColumns = {}));
|
|
33
|
+
export var LEASING_EXPORT_TYPES;
|
|
34
|
+
(function (LEASING_EXPORT_TYPES) {
|
|
35
|
+
LEASING_EXPORT_TYPES["RENTAL_SOLUTIONS"] = "rental-solutions";
|
|
36
|
+
LEASING_EXPORT_TYPES["DEFAULT"] = "default";
|
|
37
|
+
})(LEASING_EXPORT_TYPES || (LEASING_EXPORT_TYPES = {}));
|
|
38
|
+
//# sourceMappingURL=leasing.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"leasing.js","sourceRoot":"","sources":["leasing.ts"],"names":[],"mappings":"AAKA,MAAM,CAAN,IAAY,sBAOX;AAPD,WAAY,sBAAsB;IAChC,6EAAmD,CAAA;IACnD,uEAA6C,CAAA;IAC7C,mEAAyC,CAAA;IACzC,mEAAyC,CAAA;IACzC,uDAA6B,CAAA;IAC7B,yEAA+C,CAAA;AACjD,CAAC,EAPW,sBAAsB,KAAtB,sBAAsB,QAOjC;AA8DD,MAAM,CAAN,IAAY,qBAGX;AAHD,WAAY,qBAAqB;IAC/B,oDAA2B,CAAA;IAC3B,gDAAuB,CAAA;AACzB,CAAC,EAHW,qBAAqB,KAArB,qBAAqB,QAGhC;AAED,MAAM,CAAN,IAAY,qBASX;AATD,WAAY,qBAAqB;IAC/B,wCAAe,CAAA;IACf,gDAAuB,CAAA;IACvB,0CAAiB,CAAA;IACjB,0CAAiB,CAAA;IACjB,0DAAiC,CAAA;IACjC,gDAAuB,CAAA;IACvB,0CAAiB,CAAA;IACjB,wCAAe,CAAA;AACjB,CAAC,EATW,qBAAqB,KAArB,qBAAqB,QAShC;AAuQD,MAAM,CAAN,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,KAA/B,+BAA+B,QAK1C;AAgGD,MAAM,CAAN,IAAY,oBAGX;AAHD,WAAY,oBAAoB;IAC9B,6DAAqC,CAAA;IACrC,2CAAmB,CAAA;AACrB,CAAC,EAHW,oBAAoB,KAApB,oBAAoB,QAG/B"}
|
package/src/types/leasing.ts
CHANGED
|
@@ -415,164 +415,6 @@ export type AmortizationTableRequest = {
|
|
|
415
415
|
startDate?: string; // should be filled in if you want an amortization table with expected period dates
|
|
416
416
|
};
|
|
417
417
|
|
|
418
|
-
export type AmortizationTableTemplateData = {
|
|
419
|
-
opportunity: {
|
|
420
|
-
id: string;
|
|
421
|
-
};
|
|
422
|
-
v: {
|
|
423
|
-
make: string;
|
|
424
|
-
model: string;
|
|
425
|
-
category: string;
|
|
426
|
-
type?: string;
|
|
427
|
-
vin: string;
|
|
428
|
-
year?: string | number;
|
|
429
|
-
stockNumber: string;
|
|
430
|
-
};
|
|
431
|
-
c: {
|
|
432
|
-
clientNumber: number;
|
|
433
|
-
company: string;
|
|
434
|
-
fullName: string;
|
|
435
|
-
vatNumber?: string;
|
|
436
|
-
email?: string;
|
|
437
|
-
phone?: string;
|
|
438
|
-
address?: string;
|
|
439
|
-
};
|
|
440
|
-
leasing: {
|
|
441
|
-
salesPrice: string;
|
|
442
|
-
salesPriceVat: string;
|
|
443
|
-
salesPriceExclVat: string;
|
|
444
|
-
deposit: string;
|
|
445
|
-
depositExclVat: string;
|
|
446
|
-
depositVat: string;
|
|
447
|
-
/** Returnable guarantee deposit; VAT-free, so incl and excl VAT are the same amount. */
|
|
448
|
-
guaranteeDeposit?: string;
|
|
449
|
-
installment: string;
|
|
450
|
-
installmentVat: string;
|
|
451
|
-
installmentExclVat: string;
|
|
452
|
-
duration: number;
|
|
453
|
-
monthlyInsurance: string;
|
|
454
|
-
monthlyTax: string;
|
|
455
|
-
monthlyTaxesInsurance: string;
|
|
456
|
-
residual: string;
|
|
457
|
-
residualVat: string;
|
|
458
|
-
residualExclVat: string;
|
|
459
|
-
offerNumber: string;
|
|
460
|
-
contractNumber: string;
|
|
461
|
-
vatPercentage: string;
|
|
462
|
-
totalLeasingAmount: string;
|
|
463
|
-
totalLeasingAmountExclVat: string;
|
|
464
|
-
balance: string;
|
|
465
|
-
balanceExclVat: string;
|
|
466
|
-
};
|
|
467
|
-
amortization: {
|
|
468
|
-
period: number;
|
|
469
|
-
periodStartDate: string;
|
|
470
|
-
periodEndDate: string;
|
|
471
|
-
deposit: string;
|
|
472
|
-
startUpFee: string;
|
|
473
|
-
monthlyAmount: string;
|
|
474
|
-
capital: string;
|
|
475
|
-
balance: string;
|
|
476
|
-
interest: string;
|
|
477
|
-
insurance: string;
|
|
478
|
-
expirationDate: string;
|
|
479
|
-
total: string;
|
|
480
|
-
}[];
|
|
481
|
-
};
|
|
482
|
-
|
|
483
|
-
/**
|
|
484
|
-
* Merge payload for the printable contract conditions documents (Conditions Particulières and
|
|
485
|
-
* Conditions Générales share it; the Générales template consumes a subset). Country-agnostic —
|
|
486
|
-
* first used by MrLease CI. Amounts are display-ready strings without a currency symbol; the
|
|
487
|
-
* currency literals live in the per-branch DOCX templates.
|
|
488
|
-
*/
|
|
489
|
-
export type ContractConditionsTemplateData = {
|
|
490
|
-
contractNumber: string;
|
|
491
|
-
currentDate: string;
|
|
492
|
-
c: {
|
|
493
|
-
company: string;
|
|
494
|
-
address: string;
|
|
495
|
-
};
|
|
496
|
-
v: {
|
|
497
|
-
make: string;
|
|
498
|
-
type: string;
|
|
499
|
-
year: string | number;
|
|
500
|
-
vin: string;
|
|
501
|
-
condition: string;
|
|
502
|
-
};
|
|
503
|
-
leasing: {
|
|
504
|
-
duration: number;
|
|
505
|
-
salesPriceExclVat: string;
|
|
506
|
-
depositExclVat: string;
|
|
507
|
-
depositPercentage: string;
|
|
508
|
-
installmentExclVat: string;
|
|
509
|
-
paymentMode: string;
|
|
510
|
-
guaranteeDeposit: string;
|
|
511
|
-
deliveryDate: string;
|
|
512
|
-
installationLocation: string;
|
|
513
|
-
maxKmPerYear: string;
|
|
514
|
-
startupFee: string;
|
|
515
|
-
residualExclVat: string;
|
|
516
|
-
};
|
|
517
|
-
};
|
|
518
|
-
|
|
519
|
-
/**
|
|
520
|
-
* Merge payload for the delivery confirmation (procès-verbal de réception): the lessee's receipt
|
|
521
|
-
* that the vehicle arrived complete and matching the contract.
|
|
522
|
-
*/
|
|
523
|
-
export type LeasingDeliveryConfirmationTemplateData = {
|
|
524
|
-
contractNumber: string;
|
|
525
|
-
currentDate: string;
|
|
526
|
-
c: {
|
|
527
|
-
company: string;
|
|
528
|
-
street: string;
|
|
529
|
-
postalCode: string;
|
|
530
|
-
city: string;
|
|
531
|
-
/** ISO country code of the customer's legal address, as the CRM stores it. */
|
|
532
|
-
country: string;
|
|
533
|
-
phone: string;
|
|
534
|
-
email: string;
|
|
535
|
-
vatNumber: string;
|
|
536
|
-
};
|
|
537
|
-
v: {
|
|
538
|
-
make: string;
|
|
539
|
-
type: string;
|
|
540
|
-
year: string | number;
|
|
541
|
-
vin: string;
|
|
542
|
-
};
|
|
543
|
-
/** The customer's contact person, who signs the receipt. */
|
|
544
|
-
contact: {
|
|
545
|
-
name: string;
|
|
546
|
-
};
|
|
547
|
-
};
|
|
548
|
-
|
|
549
|
-
/** Merge payload for the cautionnement (personal surety) document. */
|
|
550
|
-
export type CautionnementTemplateData = {
|
|
551
|
-
currentDate: string;
|
|
552
|
-
c: {
|
|
553
|
-
company: string;
|
|
554
|
-
address: string;
|
|
555
|
-
vatNumber: string;
|
|
556
|
-
shareCapital: string;
|
|
557
|
-
};
|
|
558
|
-
v: {
|
|
559
|
-
make: string;
|
|
560
|
-
type: string;
|
|
561
|
-
year: string | number;
|
|
562
|
-
vin: string;
|
|
563
|
-
};
|
|
564
|
-
p: {
|
|
565
|
-
name: string;
|
|
566
|
-
birthDate: string;
|
|
567
|
-
nationalId: string;
|
|
568
|
-
address: string;
|
|
569
|
-
role: string;
|
|
570
|
-
/** Cap of the guarantee: the whole lease incl. VAT. See `computeGuaranteedAmount`. */
|
|
571
|
-
maxGuaranteedAmount: string;
|
|
572
|
-
maxGuaranteedAmountWords: string;
|
|
573
|
-
};
|
|
574
|
-
};
|
|
575
|
-
|
|
576
418
|
export type CmrTemplateData = {
|
|
577
419
|
contractId: string;
|
|
578
420
|
date: string;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export var MarketingPlatform;
|
|
2
|
+
(function (MarketingPlatform) {
|
|
3
|
+
MarketingPlatform["autoscout24"] = "autoscout24";
|
|
4
|
+
MarketingPlatform["autoline"] = "autoline";
|
|
5
|
+
MarketingPlatform["exportseller"] = "exportseller";
|
|
6
|
+
MarketingPlatform["machineryplanet"] = "machineryplanet";
|
|
7
|
+
MarketingPlatform["machinetrack"] = "machinetrack";
|
|
8
|
+
MarketingPlatform["marktnet"] = "marktnet";
|
|
9
|
+
MarketingPlatform["mobile"] = "mobile";
|
|
10
|
+
MarketingPlatform["truck1st"] = "truck1st";
|
|
11
|
+
MarketingPlatform["trucks"] = "trucks";
|
|
12
|
+
MarketingPlatform["truckscout"] = "truckscout24";
|
|
13
|
+
MarketingPlatform["tweedehandsbe"] = "2ehandsbe";
|
|
14
|
+
MarketingPlatform["viamobilis"] = "planettrucks";
|
|
15
|
+
MarketingPlatform["youtube"] = "youtube";
|
|
16
|
+
})(MarketingPlatform || (MarketingPlatform = {}));
|
|
17
|
+
export var MarketingEventStatus;
|
|
18
|
+
(function (MarketingEventStatus) {
|
|
19
|
+
MarketingEventStatus["Scheduled"] = "scheduled";
|
|
20
|
+
MarketingEventStatus["Processing"] = "processing";
|
|
21
|
+
MarketingEventStatus["Skipped"] = "skipped";
|
|
22
|
+
MarketingEventStatus["Error"] = "error";
|
|
23
|
+
MarketingEventStatus["Sent"] = "processed";
|
|
24
|
+
})(MarketingEventStatus || (MarketingEventStatus = {}));
|
|
25
|
+
export var MarketingEventType;
|
|
26
|
+
(function (MarketingEventType) {
|
|
27
|
+
MarketingEventType["PriceDrop"] = "price-drop";
|
|
28
|
+
MarketingEventType["PartnerOffer"] = "partner-offer";
|
|
29
|
+
})(MarketingEventType || (MarketingEventType = {}));
|
|
30
|
+
export var MarketingMessageChannelType;
|
|
31
|
+
(function (MarketingMessageChannelType) {
|
|
32
|
+
MarketingMessageChannelType["Whatsapp"] = "whatsapp";
|
|
33
|
+
MarketingMessageChannelType["Email"] = "email";
|
|
34
|
+
})(MarketingMessageChannelType || (MarketingMessageChannelType = {}));
|
|
35
|
+
//# sourceMappingURL=marketing.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"marketing.js","sourceRoot":"","sources":["marketing.ts"],"names":[],"mappings":"AAEA,MAAM,CAAN,IAAY,iBAcX;AAdD,WAAY,iBAAiB;IAC3B,gDAA2B,CAAA;IAC3B,0CAAqB,CAAA;IACrB,kDAA6B,CAAA;IAC7B,wDAAmC,CAAA;IACnC,kDAA6B,CAAA;IAC7B,0CAAqB,CAAA;IACrB,sCAAiB,CAAA;IACjB,0CAAqB,CAAA;IACrB,sCAAiB,CAAA;IACjB,gDAA2B,CAAA;IAC3B,gDAA2B,CAAA;IAC3B,gDAA2B,CAAA;IAC3B,wCAAmB,CAAA;AACrB,CAAC,EAdW,iBAAiB,KAAjB,iBAAiB,QAc5B;AA8DD,MAAM,CAAN,IAAY,oBAMX;AAND,WAAY,oBAAoB;IAC9B,+CAAuB,CAAA;IACvB,iDAAyB,CAAA;IACzB,2CAAmB,CAAA;IACnB,uCAAe,CAAA;IACf,0CAAkB,CAAA;AACpB,CAAC,EANW,oBAAoB,KAApB,oBAAoB,QAM/B;AAED,MAAM,CAAN,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC5B,8CAAwB,CAAA;IACxB,oDAA8B,CAAA;AAChC,CAAC,EAHW,kBAAkB,KAAlB,kBAAkB,QAG7B;AAED,MAAM,CAAN,IAAY,2BAGX;AAHD,WAAY,2BAA2B;IACrC,oDAAqB,CAAA;IACrB,8CAAe,CAAA;AACjB,CAAC,EAHW,2BAA2B,KAA3B,2BAA2B,QAGtC"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
export var OfferActions;
|
|
2
|
+
(function (OfferActions) {
|
|
3
|
+
OfferActions["CREATE_BID"] = "create_bid";
|
|
4
|
+
OfferActions["SET_FINAL_VALUATION"] = "set_final_valuation";
|
|
5
|
+
OfferActions["LOSE"] = "lose";
|
|
6
|
+
OfferActions["REOPEN"] = "reopen";
|
|
7
|
+
OfferActions["SET_DOCUMENTS"] = "set_documents";
|
|
8
|
+
OfferActions["SET_METADATA"] = "set_metadata";
|
|
9
|
+
OfferActions["SEE_SUPPLIER"] = "see_supplier";
|
|
10
|
+
OfferActions["SEE_INSIGHTS"] = "see_insights";
|
|
11
|
+
OfferActions["VIEW_BIDS"] = "view_bids";
|
|
12
|
+
OfferActions["DELETE_FINAL_VALUATION"] = "delete_final_valuation";
|
|
13
|
+
OfferActions["SEE_ASKING_PRICE"] = "see_asking_price";
|
|
14
|
+
OfferActions["ACCEPT_NEGOTIATION"] = "accept_negotiation";
|
|
15
|
+
OfferActions["UNDO_ACCEPT_NEGOTIATION"] = "undo_accept_negotiation";
|
|
16
|
+
OfferActions["SET_SUPPLIER_VEHICLE"] = "set_supplier_vehicle";
|
|
17
|
+
OfferActions["CAN_PURCHASE"] = "can_purchase";
|
|
18
|
+
})(OfferActions || (OfferActions = {}));
|
|
19
|
+
export var OfferBidActions;
|
|
20
|
+
(function (OfferBidActions) {
|
|
21
|
+
OfferBidActions["EDIT_BID"] = "create_bid";
|
|
22
|
+
OfferBidActions["DELETE_BID"] = "delete_bid";
|
|
23
|
+
})(OfferBidActions || (OfferBidActions = {}));
|
|
24
|
+
export var OfferStatus;
|
|
25
|
+
(function (OfferStatus) {
|
|
26
|
+
OfferStatus["PROSPECTION"] = "prospection";
|
|
27
|
+
OfferStatus["VALUATION"] = "valuation";
|
|
28
|
+
OfferStatus["NEGOTIATION"] = "negotiation";
|
|
29
|
+
})(OfferStatus || (OfferStatus = {}));
|
|
30
|
+
export var OfferLostReasonValues;
|
|
31
|
+
(function (OfferLostReasonValues) {
|
|
32
|
+
OfferLostReasonValues["Expensive"] = "expensive";
|
|
33
|
+
OfferLostReasonValues["NoMarket"] = "no_market";
|
|
34
|
+
OfferLostReasonValues["BadExperience"] = "bad_experience";
|
|
35
|
+
OfferLostReasonValues["NoAnswer"] = "supplier_mia";
|
|
36
|
+
OfferLostReasonValues["Other"] = "other";
|
|
37
|
+
OfferLostReasonValues["Automatic"] = "automatic";
|
|
38
|
+
})(OfferLostReasonValues || (OfferLostReasonValues = {}));
|
|
39
|
+
export var OfferBidType;
|
|
40
|
+
(function (OfferBidType) {
|
|
41
|
+
OfferBidType["INTERNAL"] = "internal";
|
|
42
|
+
OfferBidType["EXTERNAL"] = "external";
|
|
43
|
+
})(OfferBidType || (OfferBidType = {}));
|
|
44
|
+
export var OfferWarningsCode;
|
|
45
|
+
(function (OfferWarningsCode) {
|
|
46
|
+
OfferWarningsCode["NO_SUPPLIER"] = "no_supplier";
|
|
47
|
+
})(OfferWarningsCode || (OfferWarningsCode = {}));
|
|
48
|
+
export const OfferStatusOrder = [
|
|
49
|
+
OfferStatus.PROSPECTION,
|
|
50
|
+
OfferStatus.VALUATION,
|
|
51
|
+
OfferStatus.NEGOTIATION,
|
|
52
|
+
];
|
|
53
|
+
export const OfferWonColumnId = 'closed_won';
|
|
54
|
+
export const OfferKanbanColumns = [...OfferStatusOrder, OfferWonColumnId];
|
|
55
|
+
export const OfferKanbanEndColumns = [OfferWonColumnId];
|
|
56
|
+
//# sourceMappingURL=offers.js.map
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
export var OpportunityActions;
|
|
2
|
+
(function (OpportunityActions) {
|
|
3
|
+
OpportunityActions["ADD_REMARKS"] = "add_remarks";
|
|
4
|
+
OpportunityActions["CREATE_QUOTE"] = "create_quote";
|
|
5
|
+
OpportunityActions["LOSE"] = "lose";
|
|
6
|
+
OpportunityActions["REOPEN"] = "reopen";
|
|
7
|
+
OpportunityActions["START_PREPARATION"] = "start_preparation";
|
|
8
|
+
OpportunityActions["REVERT_PREPARATION"] = "revert_preparation";
|
|
9
|
+
OpportunityActions["START_DELIVERY"] = "start_delivery";
|
|
10
|
+
OpportunityActions["REVERT_DELIVERY"] = "revert_delivery";
|
|
11
|
+
OpportunityActions["SET_CUSTOMER"] = "set_customer";
|
|
12
|
+
OpportunityActions["SET_DOCUMENTS"] = "set_documents";
|
|
13
|
+
OpportunityActions["SET_INTEREST"] = "set_interest";
|
|
14
|
+
OpportunityActions["SET_METADATA"] = "set_metadata";
|
|
15
|
+
OpportunityActions["SET_VEHICLE"] = "set_vehicle";
|
|
16
|
+
OpportunityActions["ADD_ACTIVITY"] = "add_activity";
|
|
17
|
+
OpportunityActions["ADD_PAYMENT"] = "add_payment";
|
|
18
|
+
OpportunityActions["SWITCH_VEHICLE"] = "switch_vehicle";
|
|
19
|
+
OpportunityActions["DELIVER_VEHICLE"] = "deliver_vehicle";
|
|
20
|
+
OpportunityActions["UNDO_DELIVER_VEHICLE"] = "undo_deliver_vehicle";
|
|
21
|
+
OpportunityActions["SET_DEAL_INFO"] = "update_deal_info";
|
|
22
|
+
OpportunityActions["ISSUE_INVOICE"] = "issue_invoice";
|
|
23
|
+
})(OpportunityActions || (OpportunityActions = {}));
|
|
24
|
+
export var OpportunityPaymentStatus;
|
|
25
|
+
(function (OpportunityPaymentStatus) {
|
|
26
|
+
OpportunityPaymentStatus["PARTIAL_PAYMENT"] = "partial_payment";
|
|
27
|
+
OpportunityPaymentStatus["FULL_PAYMENT"] = "full_payment";
|
|
28
|
+
OpportunityPaymentStatus["NO_PAYMENT"] = "no_payment";
|
|
29
|
+
})(OpportunityPaymentStatus || (OpportunityPaymentStatus = {}));
|
|
30
|
+
export var OpportunityStatus;
|
|
31
|
+
(function (OpportunityStatus) {
|
|
32
|
+
OpportunityStatus["PROSPECTION"] = "prospection";
|
|
33
|
+
OpportunityStatus["DISCOVERY"] = "discovery";
|
|
34
|
+
OpportunityStatus["EVALUATION"] = "evaluation";
|
|
35
|
+
OpportunityStatus["REVIEW"] = "review";
|
|
36
|
+
OpportunityStatus["PREPARATION"] = "preparation";
|
|
37
|
+
OpportunityStatus["DELIVERY"] = "delivery";
|
|
38
|
+
})(OpportunityStatus || (OpportunityStatus = {}));
|
|
39
|
+
export const OpportunityStatusOrder = [
|
|
40
|
+
OpportunityStatus.PROSPECTION,
|
|
41
|
+
OpportunityStatus.DISCOVERY,
|
|
42
|
+
OpportunityStatus.EVALUATION,
|
|
43
|
+
OpportunityStatus.REVIEW,
|
|
44
|
+
OpportunityStatus.PREPARATION,
|
|
45
|
+
OpportunityStatus.DELIVERY,
|
|
46
|
+
];
|
|
47
|
+
export var OpportunityRequirementsCode;
|
|
48
|
+
(function (OpportunityRequirementsCode) {
|
|
49
|
+
OpportunityRequirementsCode["VEHICLE_AT_ORIGIN"] = "vehicle_at_origin";
|
|
50
|
+
OpportunityRequirementsCode["LEASING_SL_ACTION"] = "sl_action";
|
|
51
|
+
OpportunityRequirementsCode["TECHNICAL_NOTES_CHANGED"] = "technical_notes_changed";
|
|
52
|
+
})(OpportunityRequirementsCode || (OpportunityRequirementsCode = {}));
|
|
53
|
+
export var OpportunityWarningsCode;
|
|
54
|
+
(function (OpportunityWarningsCode) {
|
|
55
|
+
OpportunityWarningsCode["QUOTE_PENDING_VALIDATION"] = "quote_pending_validation";
|
|
56
|
+
OpportunityWarningsCode["QUOTE_PEDING_MANAGER_APPROVAL"] = "quote_pending_manager_approval";
|
|
57
|
+
OpportunityWarningsCode["CONCURRENT_OPPORTUNITIES"] = "concurrent_opportunities";
|
|
58
|
+
OpportunityWarningsCode["VEHICLE_RESERVED"] = "vehicle_reserved";
|
|
59
|
+
OpportunityWarningsCode["OPPORTUNITY_NEEDS_SWITCH_VEHICLE"] = "opportunity_needs_switch_vehicle";
|
|
60
|
+
OpportunityWarningsCode["VEHICLE_RESERVED_DATE_INFO"] = "vehicle_reserved_date_info";
|
|
61
|
+
OpportunityWarningsCode["VEHICLE_RESERVED_INDEFINITELY"] = "vehicle_reserved_indefinitely";
|
|
62
|
+
OpportunityWarningsCode["QUOTE_MISSING_DELIVERY_DETAILS"] = "quote_missing_delivery_details";
|
|
63
|
+
OpportunityWarningsCode["VEHICLE_TECHNICAL_DETAILS_CHANGED"] = "vehicle_technical_details_changed";
|
|
64
|
+
OpportunityWarningsCode["QUOTE_MISSING_FINANCING_DETAILS"] = "quote_missing_financing_details";
|
|
65
|
+
})(OpportunityWarningsCode || (OpportunityWarningsCode = {}));
|
|
66
|
+
export const OpportunityWonColumnId = 'closed_won';
|
|
67
|
+
export const OpportunityKanbanColumns = [...OpportunityStatusOrder, OpportunityWonColumnId];
|
|
68
|
+
export const OpportunityKanbanEndColumns = [OpportunityWonColumnId];
|
|
69
|
+
export var OpportunityLostReasonValues;
|
|
70
|
+
(function (OpportunityLostReasonValues) {
|
|
71
|
+
OpportunityLostReasonValues["Expensive"] = "expensive";
|
|
72
|
+
OpportunityLostReasonValues["AlreadySold"] = "already_sold";
|
|
73
|
+
OpportunityLostReasonValues["BadExperience"] = "bad_experience";
|
|
74
|
+
OpportunityLostReasonValues["IncorrectVehicleCondition"] = "incorrect_vehicle_condition";
|
|
75
|
+
OpportunityLostReasonValues["NoStock"] = "not_enough_stock";
|
|
76
|
+
OpportunityLostReasonValues["SlowDelivery"] = "slow_delivery";
|
|
77
|
+
OpportunityLostReasonValues["HighDeposit"] = "deposit_too_high";
|
|
78
|
+
OpportunityLostReasonValues["NoAnswer"] = "client_not_answered";
|
|
79
|
+
OpportunityLostReasonValues["Automatic"] = "automatic";
|
|
80
|
+
OpportunityLostReasonValues["LeasingDeal"] = "sold-via-leasing";
|
|
81
|
+
})(OpportunityLostReasonValues || (OpportunityLostReasonValues = {}));
|
|
82
|
+
export var VehicleSaleDealStatus;
|
|
83
|
+
(function (VehicleSaleDealStatus) {
|
|
84
|
+
VehicleSaleDealStatus["SaleAgreed"] = "SALE_AGREED";
|
|
85
|
+
VehicleSaleDealStatus["FirstPaymentReceived"] = "FIRST_PAYMENT_RECEIVED";
|
|
86
|
+
VehicleSaleDealStatus["FullPaymentReceived"] = "FULL_PAYMENT_RECEIVED";
|
|
87
|
+
})(VehicleSaleDealStatus || (VehicleSaleDealStatus = {}));
|
|
88
|
+
export var VehicleSaleLogisticsStatus;
|
|
89
|
+
(function (VehicleSaleLogisticsStatus) {
|
|
90
|
+
VehicleSaleLogisticsStatus["AtOrigin"] = "AT_ORIGIN";
|
|
91
|
+
VehicleSaleLogisticsStatus["Delivered"] = "DELIVERED";
|
|
92
|
+
})(VehicleSaleLogisticsStatus || (VehicleSaleLogisticsStatus = {}));
|
|
93
|
+
export const QUOTE_NEEDS_VALIDATION_NOTIFICATION_ORIGIN = 'quote-validation';
|
|
94
|
+
export const QUOTE_NOT_CREATED_BY_ACCOUNT_MANAGER = 'quote-not-created-by-account-manager';
|
|
95
|
+
export const QUOTE_VALIDATOR_FEEDBACK_NOTIFICATION_ORIGIN = 'quote-validation-feedback';
|
|
96
|
+
export const OPPORTUNITY_VEHICLE_AVAILABLE_NOTIFICATION_ORIGIN = 'opportunity-vehicle-available';
|
|
97
|
+
export const OPPORTUNITY_VEHICLE_DELIVERY_NOTIFICATION_ORIGIN = 'opportunity-vehicle-delivery';
|
|
98
|
+
export const OPPORTUNITY_VEHICLE_RESERVATION_ABOUT_TO_EXPIRE_NOTIFICATION_ORIGIN = 'opportunity-vehicle-reservation-to-expire';
|
|
99
|
+
export const OPPORTUNITY_VEHICLE_RESERVATION_EXPIRED_NOTIFICATION_ORIGIN = 'opportunity-vehicle-reservation-expired';
|
|
100
|
+
export const OFFER_SET_FINAL_VALUATION_ORIGIN = 'offer-set-final-valuation';
|
|
101
|
+
export const VEHICLE_PRICE_DECREASES_NOTIFICATION_ORIGIN = 'vehicle-price-decreased';
|
|
102
|
+
export const VEHICLE_ARRIVED_NOTIFICATION_ORIGIN = 'vehicle-arrived';
|
|
103
|
+
export const VEHICLE_CHECKEDIN_NOTIFICATION_ORIGIN = 'vehicle-checkedin';
|
|
104
|
+
export const VEHICLE_PURCHASED_NOTIFICATION_ORIGIN = 'vehicle-purchased';
|
|
105
|
+
export const VEHICLE_PRICE_CHANGED_NOTIFICATION_ORIGIN = 'vehicle-price-changed';
|
|
106
|
+
export const VEHICLE_SOLD_NOTIFICATION_ORIGIN = 'vehicle-sold';
|
|
107
|
+
//# sourceMappingURL=opportunities.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"opportunities.js","sourceRoot":"","sources":["opportunities.ts"],"names":[],"mappings":"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"}
|
|
@@ -442,198 +442,11 @@ export type OpportunityNotificationData = {
|
|
|
442
442
|
snippet?: string;
|
|
443
443
|
};
|
|
444
444
|
|
|
445
|
-
export type LeasingQuoteTemplateData = {
|
|
446
|
-
opportunity: {
|
|
447
|
-
id: string;
|
|
448
|
-
};
|
|
449
|
-
currentDate: string;
|
|
450
|
-
expirationDate: string;
|
|
451
|
-
vehicle: {
|
|
452
|
-
make: string;
|
|
453
|
-
model: string;
|
|
454
|
-
type?: string;
|
|
455
|
-
km: string | number;
|
|
456
|
-
vin: string;
|
|
457
|
-
mainImage: string;
|
|
458
|
-
localLicensePlate: boolean;
|
|
459
|
-
description: string;
|
|
460
|
-
year?: string | number;
|
|
461
|
-
stockNumber?: string;
|
|
462
|
-
};
|
|
463
|
-
accountManager: {
|
|
464
|
-
fullName: string;
|
|
465
|
-
email: string;
|
|
466
|
-
phone: string;
|
|
467
|
-
};
|
|
468
|
-
customer: {
|
|
469
|
-
company: string;
|
|
470
|
-
fullName: string;
|
|
471
|
-
vatNumber?: string;
|
|
472
|
-
address?: string;
|
|
473
|
-
};
|
|
474
|
-
settingId: string;
|
|
475
|
-
leasing: {
|
|
476
|
-
deposit: string;
|
|
477
|
-
totalMonthlyAmount: string;
|
|
478
|
-
totalMonthlyAmountExclVat: string;
|
|
479
|
-
depositExclVat: string;
|
|
480
|
-
startupFee: string;
|
|
481
|
-
startupFeeExclVat: string;
|
|
482
|
-
/** Returnable guarantee deposit; VAT-free, so incl and excl VAT are the same amount. */
|
|
483
|
-
guaranteeDeposit?: string;
|
|
484
|
-
totalExtras: string;
|
|
485
|
-
totalExtrasExclVat: string;
|
|
486
|
-
totalBeforeDeliveryExclVat: string;
|
|
487
|
-
totalBeforeDelivery: string;
|
|
488
|
-
installment: string;
|
|
489
|
-
installmentExclVat: string;
|
|
490
|
-
duration: number;
|
|
491
|
-
monthlyInsurance: string;
|
|
492
|
-
monthlyTax: string;
|
|
493
|
-
monthlyTaxesInsurance: string;
|
|
494
|
-
monthlyTaxesInsuranceExclVat: string;
|
|
495
|
-
residual: string;
|
|
496
|
-
residualExclVat: string;
|
|
497
|
-
offerNumber: string;
|
|
498
|
-
extras: { name: string }[];
|
|
499
|
-
};
|
|
500
|
-
};
|
|
501
|
-
|
|
502
|
-
export type LineItemPdfTemplate = {
|
|
503
|
-
description: string;
|
|
504
|
-
vat: string;
|
|
505
|
-
quantity: number;
|
|
506
|
-
unitPriceExclVat: string;
|
|
507
|
-
amount: string;
|
|
508
|
-
amountExclVat: string;
|
|
509
|
-
};
|
|
510
|
-
|
|
511
|
-
export type LeasingProformaTemplateData = {
|
|
512
|
-
opportunity: {
|
|
513
|
-
id: string;
|
|
514
|
-
offerNumber: string;
|
|
515
|
-
};
|
|
516
|
-
currentDate: string;
|
|
517
|
-
accountManager: {
|
|
518
|
-
fullName: string;
|
|
519
|
-
email: string;
|
|
520
|
-
phone: string;
|
|
521
|
-
};
|
|
522
|
-
vehicle: {
|
|
523
|
-
line1: string;
|
|
524
|
-
line2: string;
|
|
525
|
-
stockNumber: string;
|
|
526
|
-
};
|
|
527
|
-
c: {
|
|
528
|
-
organizationId?: string;
|
|
529
|
-
clientId: string;
|
|
530
|
-
company: string;
|
|
531
|
-
fullName: string;
|
|
532
|
-
vatNumber?: string;
|
|
533
|
-
email?: string;
|
|
534
|
-
phone?: string;
|
|
535
|
-
address?: string;
|
|
536
|
-
};
|
|
537
|
-
i: LineItemPdfTemplate[];
|
|
538
|
-
t: {
|
|
539
|
-
totalExclVat: string;
|
|
540
|
-
vatAmount: string;
|
|
541
|
-
displayVatMessage: boolean;
|
|
542
|
-
total: string;
|
|
543
|
-
/** Returnable guarantee deposit included in the totals; VAT-free. */
|
|
544
|
-
guaranteeDeposit?: string;
|
|
545
|
-
monthly: string;
|
|
546
|
-
monthlyExclVat: string;
|
|
547
|
-
residual: string;
|
|
548
|
-
residualExclVat: string;
|
|
549
|
-
duration: number;
|
|
550
|
-
};
|
|
551
|
-
};
|
|
552
|
-
|
|
553
|
-
export type SalesTemplateData = {
|
|
554
|
-
opportunity: {
|
|
555
|
-
id: string;
|
|
556
|
-
offerNumber: string;
|
|
557
|
-
};
|
|
558
|
-
currentDate: string;
|
|
559
|
-
expirationDate: string;
|
|
560
|
-
notes?: string;
|
|
561
|
-
accountManager: {
|
|
562
|
-
fullName: string;
|
|
563
|
-
email: string;
|
|
564
|
-
phone: string;
|
|
565
|
-
};
|
|
566
|
-
vehicle: {
|
|
567
|
-
line1: string;
|
|
568
|
-
line2: string;
|
|
569
|
-
stockNumber: string;
|
|
570
|
-
mainImage: string;
|
|
571
|
-
make: string;
|
|
572
|
-
model: string;
|
|
573
|
-
type?: string;
|
|
574
|
-
km: string | number;
|
|
575
|
-
vin: string;
|
|
576
|
-
year: string;
|
|
577
|
-
parkingLocation: string;
|
|
578
|
-
};
|
|
579
|
-
c: {
|
|
580
|
-
organizationId?: string;
|
|
581
|
-
clientId: string;
|
|
582
|
-
company: string;
|
|
583
|
-
fullName: string;
|
|
584
|
-
vatNumber?: string;
|
|
585
|
-
email?: string;
|
|
586
|
-
phone?: string;
|
|
587
|
-
address?: string;
|
|
588
|
-
country: string;
|
|
589
|
-
};
|
|
590
|
-
iExtended: LineItemPdfTemplate[];
|
|
591
|
-
i: LineItemPdfTemplate[];
|
|
592
|
-
t: {
|
|
593
|
-
totalExclVat: string;
|
|
594
|
-
vatAmount: string;
|
|
595
|
-
total: string;
|
|
596
|
-
displayVatMessage: boolean;
|
|
597
|
-
totalAlternativeCurrency?: string;
|
|
598
|
-
totalAlternativeCurrencyCode?: string;
|
|
599
|
-
totalAlternativeCurrencyExclVat?: string;
|
|
600
|
-
};
|
|
601
|
-
l?: {
|
|
602
|
-
advance: string;
|
|
603
|
-
residual: string;
|
|
604
|
-
duration: number; // in months
|
|
605
|
-
monthlyAmount: string;
|
|
606
|
-
};
|
|
607
|
-
};
|
|
608
|
-
|
|
609
445
|
export type KanbanOpportunityGroup = {
|
|
610
446
|
representative: SearchOpportunity;
|
|
611
447
|
items: SearchOpportunity[];
|
|
612
448
|
};
|
|
613
449
|
|
|
614
|
-
export type DeliveryConfirmationTemplateData = {
|
|
615
|
-
supplier: {
|
|
616
|
-
company: string;
|
|
617
|
-
contactPerson: string;
|
|
618
|
-
vatNumber?: string;
|
|
619
|
-
};
|
|
620
|
-
customer: {
|
|
621
|
-
company: string;
|
|
622
|
-
contactPerson: string;
|
|
623
|
-
phone?: string;
|
|
624
|
-
};
|
|
625
|
-
vehicle: {
|
|
626
|
-
makeAndModel: string;
|
|
627
|
-
vin: string;
|
|
628
|
-
licensePlate?: string;
|
|
629
|
-
stockNumber?: string;
|
|
630
|
-
};
|
|
631
|
-
opportunity: {
|
|
632
|
-
id: string;
|
|
633
|
-
};
|
|
634
|
-
currentDate: string;
|
|
635
|
-
};
|
|
636
|
-
|
|
637
450
|
export type OpportunitiesKanbanColumn = {
|
|
638
451
|
status: string;
|
|
639
452
|
results: SearchOpportunity[];
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export var PaymentActions;
|
|
2
|
+
(function (PaymentActions) {
|
|
3
|
+
PaymentActions["DELETE"] = "delete";
|
|
4
|
+
PaymentActions["EDIT"] = "edit";
|
|
5
|
+
})(PaymentActions || (PaymentActions = {}));
|
|
6
|
+
export const PAYMENT_NOTIFICATION_ORIGIN = 'payment-notification';
|
|
7
|
+
//# sourceMappingURL=payments.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"picklists.js","sourceRoot":"","sources":["picklists.ts"],"names":[],"mappings":"AAAA,cAAc,kCAAkC,CAAC"}
|