@bisondesk/core-sdk 1.0.621 → 1.0.623
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/intercompany-payments.d.ts +23 -0
- package/lib/types/intercompany-payments.d.ts.map +1 -0
- package/lib/types/intercompany-payments.js +2 -0
- package/lib/types/intercompany-payments.js.map +1 -0
- package/lib/types/opportunities.d.ts +7 -5
- package/lib/types/opportunities.d.ts.map +1 -1
- package/lib/types/opportunities.js +1 -0
- package/lib/types/opportunities.js.map +1 -1
- package/lib/types/opportunity-payments.d.ts +68 -0
- package/lib/types/opportunity-payments.d.ts.map +1 -0
- package/lib/types/opportunity-payments.js +7 -0
- package/lib/types/opportunity-payments.js.map +1 -0
- package/lib/types/payments.d.ts +3 -109
- package/lib/types/payments.d.ts.map +1 -1
- package/lib/types/payments.js +1 -6
- package/lib/types/payments.js.map +1 -1
- package/lib/types/prospects.d.ts +6 -1
- package/lib/types/prospects.d.ts.map +1 -1
- package/lib/types/prospects.js.map +1 -1
- package/lib/types/vehicle-purchase-payments.d.ts +45 -0
- package/lib/types/vehicle-purchase-payments.d.ts.map +1 -0
- package/lib/types/vehicle-purchase-payments.js +2 -0
- package/lib/types/vehicle-purchase-payments.js.map +1 -0
- package/lib/utils/opportunities.d.ts +2 -0
- package/lib/utils/opportunities.d.ts.map +1 -1
- package/lib/utils/opportunities.js +2 -0
- package/lib/utils/opportunities.js.map +1 -1
- package/package.json +1 -1
- 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/intercompany-payments.ts +41 -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/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 +8 -4
- package/src/types/opportunity-payments.ts +77 -0
- package/src/types/payments.js +7 -0
- package/src/types/payments.ts +29 -131
- package/src/types/picklists.js +2 -0
- package/src/types/picklists.js.map +1 -0
- package/src/types/prospects.ts +8 -1
- 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/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-purchase-payments.ts +58 -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/src/utils/opportunities.ts +20 -0
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -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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"}
|
|
@@ -4,7 +4,7 @@ import { BusinessEntityIds, OpportunityType, WarningHints } from '../constants.j
|
|
|
4
4
|
import { Contact, Organization } from './crm.js';
|
|
5
5
|
import type { Interest, InterestBffMeta } from './interests.js';
|
|
6
6
|
import { BaseEvent } from './internal-events.js';
|
|
7
|
-
import {
|
|
7
|
+
import { OpportunityPayment } from './opportunity-payments.js';
|
|
8
8
|
import { Quote, QuoteStatus } from './quotes.js';
|
|
9
9
|
import { OpportunityReservation } from './reservations.js';
|
|
10
10
|
import { BaseSearchRequest } from './search.js';
|
|
@@ -92,6 +92,7 @@ export enum OpportunityWarningsCode {
|
|
|
92
92
|
VEHICLE_TECHNICAL_DETAILS_CHANGED = 'vehicle_technical_details_changed',
|
|
93
93
|
QUOTE_MISSING_FINANCING_DETAILS = 'quote_missing_financing_details',
|
|
94
94
|
VEHICLE_BRANCH_MISMATCH = 'vehicle_branch_mismatch',
|
|
95
|
+
VEHICLE_UNAVAILABLE_AT_SOURCE = 'vehicle_unavailable_at_source',
|
|
95
96
|
}
|
|
96
97
|
|
|
97
98
|
export const OpportunityWonColumnId = 'closed_won';
|
|
@@ -229,12 +230,15 @@ export type OpportunityUpdate = {
|
|
|
229
230
|
};
|
|
230
231
|
};
|
|
231
232
|
|
|
232
|
-
export type
|
|
233
|
+
export type OpportunityPaymentSummary = {
|
|
233
234
|
total: string;
|
|
234
235
|
paid: string;
|
|
235
|
-
entries: DataRecord<
|
|
236
|
+
entries: DataRecord<OpportunityPayment>[];
|
|
236
237
|
};
|
|
237
238
|
|
|
239
|
+
/** @deprecated Renamed to {@link OpportunityPaymentSummary}. */
|
|
240
|
+
export type PaymentSummary = OpportunityPaymentSummary;
|
|
241
|
+
|
|
238
242
|
export type VehicleBffMetadata = {
|
|
239
243
|
openOpportunities: number;
|
|
240
244
|
otherRelatedVehicleIds: string[];
|
|
@@ -273,7 +277,7 @@ export type OpportunityBFF = {
|
|
|
273
277
|
bids: DataRecord<Bid>[];
|
|
274
278
|
quotes: DataRecord<Quote>[];
|
|
275
279
|
activeQuote?: DataRecord<Quote>;
|
|
276
|
-
payments:
|
|
280
|
+
payments: OpportunityPaymentSummary | undefined;
|
|
277
281
|
reservation?: DataRecord<OpportunityReservation>;
|
|
278
282
|
tasks: DataRecord<Task>[];
|
|
279
283
|
customer?: {
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { BaseEvent } from './internal-events.js';
|
|
2
|
+
|
|
3
|
+
export enum OpportunityPaymentActions {
|
|
4
|
+
DELETE = 'delete',
|
|
5
|
+
EDIT = 'edit',
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
export const OPPORTUNITY_PAYMENT_NOTIFICATION_ORIGIN = 'opportunity-payment-notification';
|
|
9
|
+
|
|
10
|
+
type BaseOpportunityPayment = {
|
|
11
|
+
opportunityId: string;
|
|
12
|
+
amount: string;
|
|
13
|
+
description?: string;
|
|
14
|
+
vehicleId: string;
|
|
15
|
+
organizationId: string;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
export type NewOpportunityPayment = BaseOpportunityPayment & {
|
|
19
|
+
id?: undefined;
|
|
20
|
+
createdAt?: undefined;
|
|
21
|
+
createdBy?: undefined;
|
|
22
|
+
modifiedAt?: undefined;
|
|
23
|
+
modifiedBy?: undefined;
|
|
24
|
+
deletedAt?: undefined;
|
|
25
|
+
deletedBy?: undefined;
|
|
26
|
+
paidAt: string;
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
export type OpportunityPayment = BaseOpportunityPayment & {
|
|
30
|
+
id: string;
|
|
31
|
+
createdAt: string;
|
|
32
|
+
createdBy: string;
|
|
33
|
+
modifiedAt: string;
|
|
34
|
+
modifiedBy: string;
|
|
35
|
+
deletedAt?: string;
|
|
36
|
+
deletedBy?: string;
|
|
37
|
+
paidAt?: string;
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
export type OpportunityPaymentUpdate = {
|
|
41
|
+
description?: string;
|
|
42
|
+
amount?: string;
|
|
43
|
+
paidAt?: string;
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
export type OpportunityPaymentCreateEvent = {
|
|
47
|
+
payment: OpportunityPayment;
|
|
48
|
+
previousPayment?: undefined;
|
|
49
|
+
action: 'create';
|
|
50
|
+
actionAt: string;
|
|
51
|
+
userId: string;
|
|
52
|
+
tenantId: string;
|
|
53
|
+
branchId: string;
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
export type OpportunityPaymentUpdateEvent = {
|
|
57
|
+
payment: OpportunityPayment;
|
|
58
|
+
previousPayment: OpportunityPayment;
|
|
59
|
+
action: 'update';
|
|
60
|
+
actionAt: string;
|
|
61
|
+
userId: string;
|
|
62
|
+
tenantId: string;
|
|
63
|
+
branchId: string;
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
export type OpportunityPaymentDeleteEvent = {
|
|
67
|
+
payment?: undefined;
|
|
68
|
+
previousPayment: OpportunityPayment;
|
|
69
|
+
action: 'delete';
|
|
70
|
+
actionAt: string;
|
|
71
|
+
userId: string;
|
|
72
|
+
tenantId: string;
|
|
73
|
+
branchId: string;
|
|
74
|
+
};
|
|
75
|
+
|
|
76
|
+
export type OpportunityPaymentEvent = BaseEvent &
|
|
77
|
+
(OpportunityPaymentCreateEvent | OpportunityPaymentUpdateEvent | OpportunityPaymentDeleteEvent);
|
|
@@ -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
|
package/src/types/payments.ts
CHANGED
|
@@ -1,131 +1,29 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
export type Payment = BasePayment & {
|
|
31
|
-
id: string;
|
|
32
|
-
createdAt: string;
|
|
33
|
-
createdBy: string;
|
|
34
|
-
modifiedAt: string;
|
|
35
|
-
modifiedBy: string;
|
|
36
|
-
deletedAt?: string;
|
|
37
|
-
deletedBy?: string;
|
|
38
|
-
paidAt?: string;
|
|
39
|
-
};
|
|
40
|
-
|
|
41
|
-
export type PaymentUpdate = {
|
|
42
|
-
description?: string;
|
|
43
|
-
amount?: string;
|
|
44
|
-
paidAt?: string;
|
|
45
|
-
};
|
|
46
|
-
|
|
47
|
-
export type PaymentCreateEvent = {
|
|
48
|
-
payment: Payment;
|
|
49
|
-
previousPayment?: undefined;
|
|
50
|
-
action: 'create';
|
|
51
|
-
actionAt: string;
|
|
52
|
-
userId: string;
|
|
53
|
-
tenantId: string;
|
|
54
|
-
branchId: string;
|
|
55
|
-
};
|
|
56
|
-
|
|
57
|
-
export type PaymentUpdateEvent = {
|
|
58
|
-
payment: Payment;
|
|
59
|
-
previousPayment: Payment;
|
|
60
|
-
action: 'update';
|
|
61
|
-
actionAt: string;
|
|
62
|
-
userId: string;
|
|
63
|
-
tenantId: string;
|
|
64
|
-
branchId: string;
|
|
65
|
-
};
|
|
66
|
-
|
|
67
|
-
export type PaymentDeleteEvent = {
|
|
68
|
-
payment?: undefined;
|
|
69
|
-
previousPayment: Payment;
|
|
70
|
-
action: 'delete';
|
|
71
|
-
actionAt: string;
|
|
72
|
-
userId: string;
|
|
73
|
-
tenantId: string;
|
|
74
|
-
branchId: string;
|
|
75
|
-
};
|
|
76
|
-
|
|
77
|
-
export type PaymentEvent = BaseEvent &
|
|
78
|
-
(PaymentCreateEvent | PaymentUpdateEvent | PaymentDeleteEvent);
|
|
79
|
-
|
|
80
|
-
export type NewVehiclePurchasePayment = {
|
|
81
|
-
vehicleId: string;
|
|
82
|
-
amount: string;
|
|
83
|
-
description?: string;
|
|
84
|
-
paidAt?: string;
|
|
85
|
-
paidBy?: string;
|
|
86
|
-
};
|
|
87
|
-
|
|
88
|
-
export type VehiclePurchasePayment = NewVehiclePurchasePayment & {
|
|
89
|
-
id: string;
|
|
90
|
-
createdBy: string;
|
|
91
|
-
createdAt: string;
|
|
92
|
-
};
|
|
93
|
-
|
|
94
|
-
export type VehiclePurchasePaymentBff = {
|
|
95
|
-
payment: VehiclePurchasePayment;
|
|
96
|
-
vehicle: SearchVehicle;
|
|
97
|
-
};
|
|
98
|
-
|
|
99
|
-
export type VehiclePurchasePaymentCreateEvent = {
|
|
100
|
-
payment: VehiclePurchasePayment;
|
|
101
|
-
previousPayment?: undefined;
|
|
102
|
-
action: 'create';
|
|
103
|
-
actionAt: string;
|
|
104
|
-
userId: string;
|
|
105
|
-
tenantId: string;
|
|
106
|
-
};
|
|
107
|
-
|
|
108
|
-
export type VehiclePurchasePaymentUpdateEvent = {
|
|
109
|
-
payment: VehiclePurchasePayment;
|
|
110
|
-
previousPayment: VehiclePurchasePayment;
|
|
111
|
-
action: 'update';
|
|
112
|
-
actionAt: string;
|
|
113
|
-
userId: string;
|
|
114
|
-
tenantId: string;
|
|
115
|
-
};
|
|
116
|
-
|
|
117
|
-
export type VehiclePurchasePaymentDeleteEvent = {
|
|
118
|
-
payment?: undefined;
|
|
119
|
-
previousPayment: VehiclePurchasePayment;
|
|
120
|
-
action: 'delete';
|
|
121
|
-
actionAt: string;
|
|
122
|
-
userId: string;
|
|
123
|
-
tenantId: string;
|
|
124
|
-
};
|
|
125
|
-
|
|
126
|
-
export type VehiclePurchasePaymentEvent = BaseEvent &
|
|
127
|
-
(
|
|
128
|
-
| VehiclePurchasePaymentCreateEvent
|
|
129
|
-
| VehiclePurchasePaymentUpdateEvent
|
|
130
|
-
| VehiclePurchasePaymentDeleteEvent
|
|
131
|
-
);
|
|
1
|
+
/**
|
|
2
|
+
* @deprecated This module was split into `./opportunity-payments.js` (the generic "payment"
|
|
3
|
+
* entity, now called opportunity payment) and `./vehicle-purchase-payments.js`. It only
|
|
4
|
+
* re-exports the old names so consumers of the published SDK keep compiling; import from the
|
|
5
|
+
* new modules instead. Delete this file once bisondesk-client no longer imports it.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
export type {
|
|
9
|
+
NewOpportunityPayment as NewPayment,
|
|
10
|
+
OpportunityPayment as Payment,
|
|
11
|
+
OpportunityPaymentCreateEvent as PaymentCreateEvent,
|
|
12
|
+
OpportunityPaymentDeleteEvent as PaymentDeleteEvent,
|
|
13
|
+
OpportunityPaymentEvent as PaymentEvent,
|
|
14
|
+
OpportunityPaymentUpdate as PaymentUpdate,
|
|
15
|
+
OpportunityPaymentUpdateEvent as PaymentUpdateEvent,
|
|
16
|
+
} from './opportunity-payments.js';
|
|
17
|
+
export {
|
|
18
|
+
OPPORTUNITY_PAYMENT_NOTIFICATION_ORIGIN as PAYMENT_NOTIFICATION_ORIGIN,
|
|
19
|
+
OpportunityPaymentActions as PaymentActions,
|
|
20
|
+
} from './opportunity-payments.js';
|
|
21
|
+
export type {
|
|
22
|
+
NewVehiclePurchasePayment,
|
|
23
|
+
VehiclePurchasePayment,
|
|
24
|
+
VehiclePurchasePaymentBff,
|
|
25
|
+
VehiclePurchasePaymentCreateEvent,
|
|
26
|
+
VehiclePurchasePaymentDeleteEvent,
|
|
27
|
+
VehiclePurchasePaymentEvent,
|
|
28
|
+
VehiclePurchasePaymentUpdateEvent,
|
|
29
|
+
} from './vehicle-purchase-payments.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"picklists.js","sourceRoot":"","sources":["picklists.ts"],"names":[],"mappings":"AAAA,cAAc,kCAAkC,CAAC"}
|
package/src/types/prospects.ts
CHANGED
|
@@ -465,4 +465,11 @@ export type ProspectUpdatedEvent = BaseProspectEvent & {
|
|
|
465
465
|
previousProspect: Prospect;
|
|
466
466
|
};
|
|
467
467
|
|
|
468
|
-
export type
|
|
468
|
+
export type ProspectDeletedEvent = BaseProspectEvent & {
|
|
469
|
+
action: 'delete';
|
|
470
|
+
prospect?: undefined;
|
|
471
|
+
/** Snapshot of the prospect as it was at the moment of deletion. */
|
|
472
|
+
previousProspect: Prospect;
|
|
473
|
+
};
|
|
474
|
+
|
|
475
|
+
export type ProspectEvent = ProspectCreatedEvent | ProspectUpdatedEvent | ProspectDeletedEvent;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
export var QuoteActions;
|
|
2
|
+
(function (QuoteActions) {
|
|
3
|
+
QuoteActions["ACCEPT"] = "accept";
|
|
4
|
+
QuoteActions["VALIDATE"] = "validate";
|
|
5
|
+
QuoteActions["DONWLOAD_PDFS"] = "download-pdfs";
|
|
6
|
+
QuoteActions["CANCEL"] = "cancel";
|
|
7
|
+
})(QuoteActions || (QuoteActions = {}));
|
|
8
|
+
export var QuoteStatus;
|
|
9
|
+
(function (QuoteStatus) {
|
|
10
|
+
QuoteStatus["CREATED"] = "created";
|
|
11
|
+
QuoteStatus["VALIDATED"] = "validated";
|
|
12
|
+
QuoteStatus["INVALIDATED"] = "invalidated";
|
|
13
|
+
QuoteStatus["ACCEPTED"] = "accepted";
|
|
14
|
+
QuoteStatus["REJECTED"] = "rejected";
|
|
15
|
+
QuoteStatus["CANCELLED"] = "cancelled";
|
|
16
|
+
QuoteStatus["MANAGER_REJECTED"] = "managerRejected";
|
|
17
|
+
QuoteStatus["MANAGER_ACCEPTED"] = "managerAccepted";
|
|
18
|
+
})(QuoteStatus || (QuoteStatus = {}));
|
|
19
|
+
export var QuoteMetricsScore;
|
|
20
|
+
(function (QuoteMetricsScore) {
|
|
21
|
+
QuoteMetricsScore["DANGER"] = "danger";
|
|
22
|
+
QuoteMetricsScore["NEUTRAL"] = "neutral";
|
|
23
|
+
QuoteMetricsScore["GOOD"] = "good";
|
|
24
|
+
})(QuoteMetricsScore || (QuoteMetricsScore = {}));
|
|
25
|
+
export var DeliveryTypes;
|
|
26
|
+
(function (DeliveryTypes) {
|
|
27
|
+
DeliveryTypes["PICK_UP"] = "pickUp";
|
|
28
|
+
DeliveryTypes["ADDRESS"] = "address";
|
|
29
|
+
DeliveryTypes["PORT"] = "port";
|
|
30
|
+
})(DeliveryTypes || (DeliveryTypes = {}));
|
|
31
|
+
export var SpoilerInfo;
|
|
32
|
+
(function (SpoilerInfo) {
|
|
33
|
+
SpoilerInfo["MOUNT"] = "mount";
|
|
34
|
+
SpoilerInfo["UNMOUNT"] = "unmount";
|
|
35
|
+
SpoilerInfo["NO_ACTION"] = "noAction";
|
|
36
|
+
})(SpoilerInfo || (SpoilerInfo = {}));
|
|
37
|
+
export var TransportationMode;
|
|
38
|
+
(function (TransportationMode) {
|
|
39
|
+
TransportationMode["BY_ROAD"] = "byRoad";
|
|
40
|
+
TransportationMode["ON_LOW_BED"] = "onLowBed";
|
|
41
|
+
})(TransportationMode || (TransportationMode = {}));
|
|
42
|
+
//# sourceMappingURL=quotes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"recently-viewed.js","sourceRoot":"","sources":["recently-viewed.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reservations.js","sourceRoot":"","sources":["reservations.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,kBAEX;AAFD,WAAY,kBAAkB;IAC5B,kEAA4C,CAAA;AAC9C,CAAC,EAFW,kBAAkB,KAAlB,kBAAkB,QAE7B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"roi-ratings.js","sourceRoot":"","sources":["roi-ratings.ts"],"names":[],"mappings":"AAIA,MAAM,CAAN,IAAY,WAEX;AAFD,WAAY,WAAW;IACrB,2CAA4B,CAAA;AAC9B,CAAC,EAFW,WAAW,KAAX,WAAW,QAEtB"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export var SavedFiltersActions;
|
|
2
|
+
(function (SavedFiltersActions) {
|
|
3
|
+
SavedFiltersActions["Share"] = "share";
|
|
4
|
+
SavedFiltersActions["Update"] = "update";
|
|
5
|
+
SavedFiltersActions["Delete"] = "delete";
|
|
6
|
+
SavedFiltersActions["SetPersonalDefault"] = "set_own_default";
|
|
7
|
+
SavedFiltersActions["SetGlobalDefault"] = "set_global_default";
|
|
8
|
+
})(SavedFiltersActions || (SavedFiltersActions = {}));
|
|
9
|
+
//# sourceMappingURL=saved-filters.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"saved-filters.js","sourceRoot":"","sources":["saved-filters.ts"],"names":[],"mappings":"AAsBA,MAAM,CAAN,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,sCAAe,CAAA;IACf,wCAAiB,CAAA;IACjB,wCAAiB,CAAA;IACjB,6DAAsC,CAAA;IACtC,8DAAuC,CAAA;AACzC,CAAC,EANW,mBAAmB,KAAnB,mBAAmB,QAM9B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"search.js","sourceRoot":"","sources":["search.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"settings.js","sourceRoot":"","sources":["settings.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"templates.js","sourceRoot":"","sources":["templates.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export var TenantModule;
|
|
2
|
+
(function (TenantModule) {
|
|
3
|
+
TenantModule["Administration"] = "administration";
|
|
4
|
+
TenantModule["App"] = "app";
|
|
5
|
+
TenantModule["CRM"] = "crm";
|
|
6
|
+
TenantModule["Docs"] = "docs";
|
|
7
|
+
TenantModule["Leads"] = "leads";
|
|
8
|
+
TenantModule["Leasing"] = "leasing";
|
|
9
|
+
TenantModule["Marketing"] = "marketing";
|
|
10
|
+
TenantModule["Insights"] = "insights";
|
|
11
|
+
TenantModule["Opportunities"] = "opportunities";
|
|
12
|
+
TenantModule["Offers"] = "offers";
|
|
13
|
+
TenantModule["VehiclesMasterData"] = "vehicles_master_data";
|
|
14
|
+
TenantModule["Vehicles"] = "vehicles";
|
|
15
|
+
TenantModule["Tasks"] = "tasks";
|
|
16
|
+
TenantModule["TrackAndTrace"] = "track_and_trace";
|
|
17
|
+
TenantModule["Bootstrap"] = "bootstrap";
|
|
18
|
+
TenantModule["WhatsappNotifications"] = "whatsapp_notifications";
|
|
19
|
+
TenantModule["Hexon"] = "hexon";
|
|
20
|
+
})(TenantModule || (TenantModule = {}));
|
|
21
|
+
//# sourceMappingURL=tenants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tenants.js","sourceRoot":"","sources":["tenants.ts"],"names":[],"mappings":"AAgBA,MAAM,CAAN,IAAY,YAkBX;AAlBD,WAAY,YAAY;IACtB,iDAAiC,CAAA;IACjC,2BAAW,CAAA;IACX,2BAAW,CAAA;IACX,6BAAa,CAAA;IACb,+BAAe,CAAA;IACf,mCAAmB,CAAA;IACnB,uCAAuB,CAAA;IACvB,qCAAqB,CAAA;IACrB,+CAA+B,CAAA;IAC/B,iCAAiB,CAAA;IACjB,2DAA2C,CAAA;IAC3C,qCAAqB,CAAA;IACrB,+BAAe,CAAA;IACf,iDAAiC,CAAA;IACjC,uCAAuB,CAAA;IACvB,gEAAgD,CAAA;IAChD,+BAAe,CAAA;AACjB,CAAC,EAlBW,YAAY,KAAZ,YAAY,QAkBvB"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export var CommissionGrade;
|
|
2
|
+
(function (CommissionGrade) {
|
|
3
|
+
CommissionGrade["TooLow"] = "tooLow";
|
|
4
|
+
CommissionGrade["Low"] = "low";
|
|
5
|
+
CommissionGrade["OnTarget"] = "onTarget";
|
|
6
|
+
})(CommissionGrade || (CommissionGrade = {}));
|
|
7
|
+
//# sourceMappingURL=user-performance.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user-performance.js","sourceRoot":"","sources":["user-performance.ts"],"names":[],"mappings":"AAsCA,MAAM,CAAN,IAAY,eAIX;AAJD,WAAY,eAAe;IACzB,oCAAiB,CAAA;IACjB,8BAAW,CAAA;IACX,wCAAqB,CAAA;AACvB,CAAC,EAJW,eAAe,KAAf,eAAe,QAI1B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validation.js","sourceRoot":"","sources":["validation.ts"],"names":[],"mappings":""}
|