@bisondesk/core-sdk 1.0.238 → 1.0.240

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.
Files changed (48) hide show
  1. package/lib/cjs/constants.js +4 -2
  2. package/lib/cjs/constants.js.map +1 -1
  3. package/lib/cjs/types/delivery-settings.js +3 -0
  4. package/lib/cjs/types/delivery-settings.js.map +1 -0
  5. package/lib/cjs/types/leasing-debtors.js +3 -0
  6. package/lib/cjs/types/leasing-debtors.js.map +1 -0
  7. package/lib/cjs/types/opportunities.js.map +1 -1
  8. package/lib/cjs/types/quotes.js +27 -7
  9. package/lib/cjs/types/quotes.js.map +1 -1
  10. package/lib/esm/constants.js +2 -0
  11. package/lib/esm/constants.js.map +1 -1
  12. package/lib/esm/types/delivery-settings.js +2 -0
  13. package/lib/esm/types/delivery-settings.js.map +1 -0
  14. package/lib/esm/types/leasing-debtors.js +2 -0
  15. package/lib/esm/types/leasing-debtors.js.map +1 -0
  16. package/lib/esm/types/opportunities.js.map +1 -1
  17. package/lib/esm/types/quotes.js +26 -6
  18. package/lib/esm/types/quotes.js.map +1 -1
  19. package/lib/tsconfig.cjs.tsbuildinfo +1 -1
  20. package/lib/tsconfig.esm.tsbuildinfo +1 -1
  21. package/lib/types/constants.d.ts +2 -0
  22. package/lib/types/constants.d.ts.map +1 -1
  23. package/lib/types/types/delivery-settings.d.ts +57 -0
  24. package/lib/types/types/delivery-settings.d.ts.map +1 -0
  25. package/lib/types/types/leasing-debtors.d.ts +24 -0
  26. package/lib/types/types/leasing-debtors.d.ts.map +1 -0
  27. package/lib/types/types/leasing-search.d.ts +3 -0
  28. package/lib/types/types/leasing-search.d.ts.map +1 -1
  29. package/lib/types/types/leasing-settings.d.ts +18 -8
  30. package/lib/types/types/leasing-settings.d.ts.map +1 -1
  31. package/lib/types/types/opportunities.d.ts +142 -8
  32. package/lib/types/types/opportunities.d.ts.map +1 -1
  33. package/lib/types/types/quotes.d.ts +153 -19
  34. package/lib/types/types/quotes.d.ts.map +1 -1
  35. package/lib/types/types/settings.d.ts +4 -0
  36. package/lib/types/types/settings.d.ts.map +1 -1
  37. package/lib/types/types/tenants.d.ts +5 -1
  38. package/lib/types/types/tenants.d.ts.map +1 -1
  39. package/package.json +11 -6
  40. package/src/constants.ts +3 -0
  41. package/src/types/delivery-settings.ts +64 -0
  42. package/src/types/leasing-debtors.ts +28 -0
  43. package/src/types/leasing-search.ts +4 -0
  44. package/src/types/leasing-settings.ts +21 -8
  45. package/src/types/opportunities.ts +154 -8
  46. package/src/types/quotes.ts +162 -17
  47. package/src/types/settings.ts +4 -0
  48. package/src/types/tenants.ts +5 -1
@@ -1 +1 @@
1
- {"version":3,"file":"tenants.d.ts","sourceRoot":"","sources":["../../../src/types/tenants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAC;AAEtD,oBAAY,YAAY,GAAG;IACzB,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,EAAE,MAAM,CAAC;IACxB,eAAe,EAAE,MAAM,CAAC;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;CAInB,CAAC;AAEF,oBAAY,YAAY;IACtB,GAAG,QAAQ;IACX,IAAI,SAAS;IACb,KAAK,UAAU;IACf,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,aAAa,kBAAkB;IAC/B,kBAAkB,yBAAyB;CAC5C;AAED,oBAAY,MAAM,GAAG,YAAY,GAAG;IAClC,SAAS,EAAE,CAAC,MAAM,EAAE,GAAG,MAAM,EAAE,CAAC,CAAC;IACjC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,QAAQ,EAAE,CAAC,MAAM,EAAE,GAAG,MAAM,EAAE,CAAC,CAAC;IAChC,OAAO,EAAE,YAAY,EAAE,CAAC;CACzB,CAAC;AAEF,oBAAY,MAAM,GAAG;IACnB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,QAAQ,EAAE,MAAM,CAAC;IACjB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,iBAAiB,EAAE,MAAM,CAAC;CAC3B,CAAC;AAEF,oBAAY,gBAAgB,GAAG;IAC7B,MAAM,EAAE,OAAO,CAAC;CACjB,CAAC;AAEF,oBAAY,WAAW,GAAG;IACxB,MAAM,EAAE,OAAO,CAAC;CACjB,CAAC;AAEF,oBAAY,kBAAkB,GAAG;IAC/B,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,gBAAgB,GAAG,SAAS,CAAC;IAC3C,OAAO,EAAE,WAAW,GAAG,SAAS,CAAC;CAClC,CAAC"}
1
+ {"version":3,"file":"tenants.d.ts","sourceRoot":"","sources":["../../../src/types/tenants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAC;AAErE,oBAAY,YAAY,GAAG;IACzB,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,EAAE,MAAM,CAAC;IACxB,eAAe,EAAE,MAAM,CAAC;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;CAInB,CAAC;AAEF,oBAAY,YAAY;IACtB,GAAG,QAAQ;IACX,IAAI,SAAS;IACb,KAAK,UAAU;IACf,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,aAAa,kBAAkB;IAC/B,kBAAkB,yBAAyB;CAC5C;AAED,oBAAY,MAAM,GAAG,YAAY,GAAG;IAClC,SAAS,EAAE,CAAC,MAAM,EAAE,GAAG,MAAM,EAAE,CAAC,CAAC;IACjC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,QAAQ,EAAE,CAAC,MAAM,EAAE,GAAG,MAAM,EAAE,CAAC,CAAC;IAChC,OAAO,EAAE,YAAY,EAAE,CAAC;CACzB,CAAC;AAEF,oBAAY,MAAM,GAAG;IACnB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,QAAQ,EAAE,MAAM,CAAC;IACjB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,QAAQ,EAAE;QACR,QAAQ,EAAE,MAAM,CAAC;KAClB,CAAC;IACF,QAAQ,EAAE,aAAa,CAAC;CACzB,CAAC;AAEF,oBAAY,gBAAgB,GAAG;IAC7B,MAAM,EAAE,OAAO,CAAC;CACjB,CAAC;AAEF,oBAAY,WAAW,GAAG;IACxB,MAAM,EAAE,OAAO,CAAC;CACjB,CAAC;AAEF,oBAAY,kBAAkB,GAAG;IAC/B,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,gBAAgB,GAAG,SAAS,CAAC;IAC3C,OAAO,EAAE,WAAW,GAAG,SAAS,CAAC;CAClC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bisondesk/core-sdk",
3
- "version": "1.0.238",
3
+ "version": "1.0.240",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "clean": "rm -rf build dist lib *.tsbuildinfo",
@@ -11,7 +11,7 @@
11
11
  },
12
12
  "author": "TheTruckCompany",
13
13
  "dependencies": {
14
- "@bisondesk/commons-sdk": "1.0.238",
14
+ "@bisondesk/commons-sdk": "1.0.240",
15
15
  "joi": "17.4.0",
16
16
  "decimal.js": "10.3.1",
17
17
  "slugify": "1.6.5"
@@ -20,13 +20,18 @@
20
20
  "@types/node": "16.11.7",
21
21
  "typescript": "4.7.4"
22
22
  },
23
-
24
23
  "main": "./lib/cjs/*",
25
24
  "module": "./lib/esm/*",
26
25
  "exports": {
27
26
  "./*": {
28
- "import": ["./lib/esm/*.js", "./lib/esm/*/*.js"],
29
- "require": ["./lib/cjs/*.js", "./lib/cjs/*/*.js"]
27
+ "import": [
28
+ "./lib/esm/*.js",
29
+ "./lib/esm/*/*.js"
30
+ ],
31
+ "require": [
32
+ "./lib/cjs/*.js",
33
+ "./lib/cjs/*/*.js"
34
+ ]
30
35
  }
31
36
  },
32
37
  "typesVersions": {
@@ -36,4 +41,4 @@
36
41
  ]
37
42
  }
38
43
  }
39
- }
44
+ }
package/src/constants.ts CHANGED
@@ -27,6 +27,7 @@ export const TAILGATE_MAKE_PICKLIST_ID = 'tailgateMakes';
27
27
  export const VAT_PERCENTAGE_PICKLIST_ID = 'vatPercentages';
28
28
  export const CRANE_MAKE_PICKLIST_ID = 'craneMakes';
29
29
  export const ENGINEERING_DOCS_PICKLIST_ID = 'engineeringDocs';
30
+ export const SHIPPING_COMPANIES_PICKLIST_ID = 'shippingCompanies';
30
31
 
31
32
  //
32
33
  // STATIC PICKLIST ID VALUES
@@ -958,3 +959,5 @@ export const AXLE_CONFIG: { [config: string]: VehicleAxle[] } = {
958
959
  },
959
960
  ],
960
961
  };
962
+
963
+ export const DEBTORS_MONTHS_UNTIL_TODAY_COUNT = 6;
@@ -0,0 +1,64 @@
1
+ import { LocationValue } from '@bisondesk/commons-sdk/types';
2
+
3
+ type BaseDeliveryPort = {
4
+ name: string;
5
+ address: LocationValue;
6
+ };
7
+
8
+ export type NewDeliveryPort = BaseDeliveryPort & {
9
+ id: undefined;
10
+ };
11
+
12
+ export type DeliveryPort = BaseDeliveryPort & {
13
+ id: string;
14
+ };
15
+
16
+ type BaseTransportationToPort = {
17
+ portId: string;
18
+ branchId: string;
19
+ retailPrice: string;
20
+ costPrice: string;
21
+ };
22
+
23
+ export type NewTransportationToPort = BaseTransportationToPort & {
24
+ id?: undefined;
25
+ };
26
+
27
+ export type TransportationToPort = BaseTransportationToPort & {
28
+ id: string;
29
+ };
30
+
31
+ export type CurrencyInput = {
32
+ currency: string;
33
+ conversionRate: string;
34
+ };
35
+
36
+ export type DeliveryParams = {
37
+ id: string;
38
+ modifiedAt: string;
39
+ port: {
40
+ supplementCosts: string;
41
+ cleaningCosts: string;
42
+ dhlCosts: string;
43
+ looseTrailerCosts: string;
44
+ portToPortMargin: string;
45
+ };
46
+ address: {
47
+ priceKmCost: string;
48
+ priceKmRetail: string;
49
+ };
50
+ services: {
51
+ spoilerMountCost: string;
52
+ spoilerMountRetailPrice: string;
53
+ spoilerUnmountCost: string;
54
+ spoilerUnmountRetailPrice: string;
55
+ transportationLowBedCost: string;
56
+ transportationLowBedRetailPrice: string;
57
+ };
58
+ };
59
+
60
+ export type DeliverySettings = {
61
+ transportationToPort: TransportationToPort;
62
+ originPort: DeliveryPort;
63
+ destinationPort?: DeliveryPort;
64
+ };
@@ -0,0 +1,28 @@
1
+ import { Organization } from './crm';
2
+
3
+ export type MonthData = {
4
+ activeContractIds: string[];
5
+ date: string; // YYYY-MM
6
+ overdueAmount: string;
7
+ unpaidAmount: string;
8
+ overdueContractIds: string[];
9
+ overdueInvoiceIds: string[];
10
+ riskLevel: number;
11
+ };
12
+
13
+ export type DebtorInfo = {
14
+ clientId: string;
15
+ months: MonthData[];
16
+
17
+ // properties related to the current month
18
+ activeContracts: number;
19
+ overdueAmount: string;
20
+ unpaidAmount: string;
21
+ overdueContracts: number;
22
+ riskLevel: number;
23
+ };
24
+
25
+ export type SearchDebtorInfo = {
26
+ org: Organization;
27
+ debtor: DebtorInfo;
28
+ };
@@ -9,6 +9,10 @@ export type LeasingPublicSearchDefinitions = {
9
9
  searchLeasingContract: PublicSearchDefinition;
10
10
  };
11
11
 
12
+ export type LeasingDebtorsSearchDefinitions = {
13
+ debtors: PublicSearchDefinition;
14
+ };
15
+
12
16
  export type SearchLeasingContract = {
13
17
  contract: LeasingContract;
14
18
  org: Organization;
@@ -42,7 +42,7 @@ export type LeasingQuoteParams = { id: string; name: string; modifiedAt: string
42
42
  };
43
43
  };
44
44
 
45
- type BaseLeasingQuoteExtraSettings = {
45
+ type BaseQuoteExtraSettings = {
46
46
  referenceCode: string;
47
47
  active: boolean;
48
48
  costPrice: string;
@@ -58,7 +58,7 @@ type BaseLeasingQuoteExtraSettings = {
58
58
  opportunityTypeRestrictions: OpportunityType[];
59
59
  };
60
60
 
61
- export type BaseLeasingQuoteExtraInput = {
61
+ export type BaseQuoteExtraInput = {
62
62
  agreedPrice: string;
63
63
  costPrice: string;
64
64
  hint?: MultiLangValue;
@@ -70,11 +70,11 @@ export type BaseLeasingQuoteExtraInput = {
70
70
  departmentTitles?: { [department: string]: string };
71
71
  };
72
72
 
73
- export type NewLeasingQuoteExtraSettings = BaseLeasingQuoteExtraSettings & {
73
+ export type NewQuoteExtraSettings = BaseQuoteExtraSettings & {
74
74
  id?: undefined;
75
75
  };
76
76
 
77
- export type LeasingQuoteExtraSettings = BaseLeasingQuoteExtraSettings & {
77
+ export type QuoteExtraSettings = BaseQuoteExtraSettings & {
78
78
  id: string;
79
79
  };
80
80
 
@@ -84,20 +84,20 @@ export enum LeasingItemsPaymentSplit {
84
84
  Company = 'company',
85
85
  }
86
86
 
87
- export type LeasingDeliveryPackageInput = BaseLeasingQuoteExtraInput & { salesPrice: string };
87
+ export type LeasingDeliveryPackageInput = BaseQuoteExtraInput & { salesPrice: string };
88
88
 
89
- export type CustomLeasingQuoteExtraInput = BaseLeasingQuoteExtraInput & {
89
+ export type CustomLeasingQuoteExtraInput = BaseQuoteExtraInput & {
90
90
  paymentSplit: LeasingItemsPaymentSplit;
91
91
  leasingPercentage: string;
92
92
  };
93
93
 
94
- export type LeasingQuoteExtraInput = BaseLeasingQuoteExtraInput & {
94
+ export type LeasingQuoteExtraInput = BaseQuoteExtraInput & {
95
95
  salesPrice: string;
96
96
  paymentSplit: LeasingItemsPaymentSplit;
97
97
  leasingPercentage: string;
98
98
  };
99
99
 
100
- export type LeasingQuoteExtrasRequest = {
100
+ export type QuoteExtrasRequest = {
101
101
  deliveryPackage?: boolean;
102
102
  displayByDefault?: boolean;
103
103
  vehicleCategory?: Categories;
@@ -109,3 +109,16 @@ export type LeasingQuoteExtrasRequest = {
109
109
  sortBy?: SortFilter;
110
110
  opportunityType?: OpportunityType;
111
111
  };
112
+
113
+ export type InternalQuoteExtrasRequest = QuoteExtrasRequest & {
114
+ opportunityType?: OpportunityType;
115
+ };
116
+
117
+ export type SalesQuoteExtraInput = BaseQuoteExtraInput & {
118
+ salesPrice: string;
119
+ vatPercentage: string;
120
+ };
121
+
122
+ export type CustomSalesQuoteExtraInput = BaseQuoteExtraInput & {
123
+ vatPercentage: string;
124
+ };
@@ -3,7 +3,7 @@ import { OpportunityType } from '../constants';
3
3
  import { Contact, Organization } from './crm';
4
4
  import { Interest } from './leads';
5
5
  import { Payment } from './payments';
6
- import { LeasingQuote, QuoteStatus } from './quotes';
6
+ import { Quote, QuoteStatus } from './quotes';
7
7
  import { DataRecord, ReferenceData } from './utils';
8
8
  import { Vehicle } from './vehicles';
9
9
 
@@ -127,6 +127,8 @@ export type Opportunity = BaseOpportunity & {
127
127
  lostReason?: OpportunityLostReasonValues;
128
128
  deliveredAt?: string;
129
129
  deliveredBy?: string;
130
+ commercialReviewAt?: string;
131
+ commercialReviewBy?: string;
130
132
  status: OpportunityStatus;
131
133
  dealStatus?: OpportunityDealStatus;
132
134
  logisticStatus?: OpportunityLogisticStatus;
@@ -163,15 +165,20 @@ export type PaymentSummary = {
163
165
  entries: DataRecord<Payment>[];
164
166
  };
165
167
 
166
- export type OpportunityBFF = {
167
- related: {
168
- sameVehicleOpenOpportunities?: number;
168
+ export type VehicleBffMetadata = {
169
+ openOpportunities: {
170
+ total: number;
171
+ list: { id: string; status: OpportunityStatus; accountManager?: string }[];
169
172
  };
173
+ concurrentQuote: boolean;
174
+ };
175
+
176
+ export type OpportunityBFF = {
170
177
  opportunity: DataRecord<Opportunity, ReferenceData>;
171
- vehicle?: DataRecord<Vehicle>;
178
+ vehicle?: DataRecord<Vehicle, VehicleBffMetadata>;
172
179
  bids: DataRecord<Bid>[];
173
- quotes: DataRecord<LeasingQuote>[];
174
- activeQuote?: DataRecord<LeasingQuote>;
180
+ quotes: DataRecord<Quote>[];
181
+ activeQuote?: DataRecord<Quote>;
175
182
  payments: PaymentSummary | undefined;
176
183
  customer?: {
177
184
  contact: DataRecord<Contact>;
@@ -188,7 +195,7 @@ export type OpportunityEvent = {
188
195
  };
189
196
 
190
197
  export type QuoteEvent = {
191
- quote: LeasingQuote;
198
+ quote: Quote;
192
199
  opportunity: Opportunity;
193
200
  action: 'create' | 'update' | 'delete';
194
201
  actionAt: string;
@@ -316,6 +323,88 @@ export type LeasingProformaTemplateData = {
316
323
  };
317
324
  };
318
325
 
326
+ export type SalesProformaTemplateData = {
327
+ opportunity: {
328
+ id: string;
329
+ offerNumber: string;
330
+ };
331
+ currentDate: string;
332
+ accountManager: {
333
+ fullName: string;
334
+ email: string;
335
+ phone: string;
336
+ };
337
+ vehicle: {
338
+ line1: string;
339
+ line2: string;
340
+ stockNumber: string;
341
+ };
342
+ c: {
343
+ organizationId?: string;
344
+ clientNumber: number;
345
+ company: string;
346
+ fullName: string;
347
+ vatNumber?: string;
348
+ email?: string;
349
+ phone?: string;
350
+ address?: string;
351
+ };
352
+ i: {
353
+ description: string;
354
+ vat: string;
355
+ quantity: number;
356
+ unitPriceExclVat: string;
357
+ amount: string;
358
+ amountExclVat: string;
359
+ }[];
360
+ t: {
361
+ totalExclVat: string;
362
+ vatAmount: string;
363
+ total: string;
364
+ };
365
+ };
366
+
367
+ export type SalesAgreementTemplateData = {
368
+ opportunity: {
369
+ id: string;
370
+ offerNumber: string;
371
+ };
372
+ currentDate: string;
373
+ accountManager: {
374
+ fullName: string;
375
+ email: string;
376
+ phone: string;
377
+ };
378
+ vehicle: {
379
+ line1: string;
380
+ line2: string;
381
+ stockNumber: string;
382
+ };
383
+ c: {
384
+ organizationId?: string;
385
+ clientNumber: number;
386
+ company: string;
387
+ fullName: string;
388
+ vatNumber?: string;
389
+ email?: string;
390
+ phone?: string;
391
+ address?: string;
392
+ };
393
+ i: {
394
+ description: string;
395
+ vat: string;
396
+ quantity: number;
397
+ unitPriceExclVat: string;
398
+ amount: string;
399
+ amountExclVat: string;
400
+ }[];
401
+ t: {
402
+ totalExclVat: string;
403
+ vatAmount: string;
404
+ total: string;
405
+ };
406
+ };
407
+
319
408
  export type OpportunitiesKanbanColumn = {
320
409
  status: string;
321
410
  results: SearchOpportunity[];
@@ -490,6 +579,63 @@ export type CashOutRow = {
490
579
  cumulativeCash: number;
491
580
  };
492
581
 
582
+ export type HpIsaProcessRequest = {
583
+ tenantId: string;
584
+ initiatedBy: 'bisondesk';
585
+ processMetaId: string;
586
+ processRunData: {
587
+ entityOwner: string;
588
+
589
+ company?: string; //entityId
590
+ proofOfSaleCustomerAgreement?: string; //entityId
591
+
592
+ vehicle?: string; //entityId
593
+ bodywork?: string; //entityId
594
+ vehicleCategory: string; //entityId
595
+
596
+ amountOfCommissionPaid: number;
597
+ dealValidated: boolean;
598
+ dealCancelled: boolean;
599
+ opportunityId: string;
600
+ typeOfDelivery: string; //entity Id
601
+
602
+ //PickUP Delivery
603
+ urgentDelivery?: boolean;
604
+ dateOfPickUpByCustomer?: number;
605
+ modeOfTransportPickUpByCustomer?: string; //entity Id
606
+ detailsOfStacking?: string; //entity Id
607
+ detailsOfBorderCrossing?: string;
608
+ technicalControlNeeded?: boolean;
609
+ insuranceNeeded?: boolean;
610
+ licensePlateNeeded?: boolean;
611
+ transitPlateNeeded?: boolean;
612
+
613
+ //Address Delivery
614
+ addressOfDelivery?: string;
615
+ kmToAddressOfDelivery?: number;
616
+
617
+ //To Port Delivery
618
+ portOfDelivery?: string; //entity Id
619
+ shippingCompany?: string; //string Id
620
+ destinationPort?: string;
621
+ cleaningDegassingNeeded?: boolean;
622
+ agreedPrice?: string;
623
+
624
+ //Extras
625
+ garageExtrasCodes: string[];
626
+ logisticsExtrasCodes: string[];
627
+ administrationExtrasCodes: string[];
628
+ allExtrasDescriptions: string[];
629
+ customRequestDescriptions: string[];
630
+ };
631
+ };
632
+
633
+ export type HpIsaProcessResponse = {
634
+ entityId: string;
635
+ id: string;
636
+ status: string;
637
+ };
638
+
493
639
  export type SwitchOpportunityVehicleRequest = {
494
640
  opportunityId: string;
495
641
  newVehicleId: string;