@bisondesk/core-sdk 1.0.345 → 1.0.347

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 (58) hide show
  1. package/lib/apis/crm.js.map +1 -1
  2. package/lib/apis/debtors.js.map +1 -1
  3. package/lib/apis/internet-vehicles.js.map +1 -1
  4. package/lib/apis/leasing-administration.js.map +1 -1
  5. package/lib/apis/leasing.js.map +1 -1
  6. package/lib/apis/opportunities.js.map +1 -1
  7. package/lib/apis/tenants.js.map +1 -1
  8. package/lib/apis/users.js.map +1 -1
  9. package/lib/apis/vehicles.js.map +1 -1
  10. package/lib/constants.d.ts +3 -1
  11. package/lib/constants.d.ts.map +1 -1
  12. package/lib/constants.js +8 -6
  13. package/lib/constants.js.map +1 -1
  14. package/lib/types/activities.js +2 -2
  15. package/lib/types/activities.js.map +1 -1
  16. package/lib/types/crm.js +3 -3
  17. package/lib/types/crm.js.map +1 -1
  18. package/lib/types/delivery-settings.js +1 -1
  19. package/lib/types/delivery-settings.js.map +1 -1
  20. package/lib/types/events.js +1 -1
  21. package/lib/types/events.js.map +1 -1
  22. package/lib/types/interests.js +1 -1
  23. package/lib/types/interests.js.map +1 -1
  24. package/lib/types/leasing-administration.d.ts +4 -0
  25. package/lib/types/leasing-administration.d.ts.map +1 -1
  26. package/lib/types/leasing-administration.js.map +1 -1
  27. package/lib/types/leasing-settings.js +1 -1
  28. package/lib/types/leasing-settings.js.map +1 -1
  29. package/lib/types/leasing.js +5 -5
  30. package/lib/types/leasing.js.map +1 -1
  31. package/lib/types/opportunities.js +8 -8
  32. package/lib/types/opportunities.js.map +1 -1
  33. package/lib/types/payments.js +1 -1
  34. package/lib/types/payments.js.map +1 -1
  35. package/lib/types/quotes.js +6 -6
  36. package/lib/types/quotes.js.map +1 -1
  37. package/lib/types/reservations.js +1 -1
  38. package/lib/types/reservations.js.map +1 -1
  39. package/lib/types/roi-ratings.js +1 -1
  40. package/lib/types/roi-ratings.js.map +1 -1
  41. package/lib/types/saved-filters.js +1 -1
  42. package/lib/types/saved-filters.js.map +1 -1
  43. package/lib/types/tenants.js +1 -1
  44. package/lib/types/tenants.js.map +1 -1
  45. package/lib/types/vehicles.js +7 -7
  46. package/lib/types/vehicles.js.map +1 -1
  47. package/lib/utils/forms.js.map +1 -1
  48. package/lib/utils/opportunities.js.map +1 -1
  49. package/lib/utils/search.js.map +1 -1
  50. package/lib/utils/tenants.js.map +1 -1
  51. package/lib/utils/vehicles.d.ts +3 -3
  52. package/lib/utils/vehicles.d.ts.map +1 -1
  53. package/lib/utils/vehicles.js.map +1 -1
  54. package/package.json +1 -1
  55. package/src/constants.ts +2 -0
  56. package/src/types/leasing-administration.ts +4 -0
  57. package/tsconfig.deploy.tsbuildinfo +1 -1
  58. package/tsconfig.tsbuildinfo +1 -1
package/src/constants.ts CHANGED
@@ -127,8 +127,10 @@ export enum LeasingAdminUploadErrors {
127
127
  Publish = 'leasing-administration.upload.publish-failed',
128
128
  UnknownVehicle = 'leasing-administration.belfius.unknown-vehicle',
129
129
  MissingVehicle = 'leasing-administration.belfius.missing-vehicle',
130
+ MissingVehicleDLL = 'leasing-administration.dll.missing-vehicle',
130
131
  UnknownContractDLL = 'leasing-administration.dll.unknown-contract',
131
132
  Validation = 'leasing-administration.upload.invalid-request',
133
+ StockNumberMismatchDLL = 'leasing-administration.dll.stock-number-mismatch',
132
134
  }
133
135
 
134
136
  //
@@ -139,6 +139,7 @@ export type DLLRawInvoiceLine = {
139
139
  'PRINCIPAL AMOUNT': number;
140
140
  'INTEREST AMOUNT': number;
141
141
  'TOTAL INV AMOUNT': number;
142
+ 'CAPITAL INV AMOUNT': number;
142
143
  VAT: number;
143
144
  'DATE BEGIN PERIOD': Date;
144
145
  'DATE END PERIOD': Date;
@@ -147,7 +148,10 @@ export type DLLRawInvoiceLine = {
147
148
  export type DLLInvoiceLine = {
148
149
  capital: string;
149
150
  contractNumber: string;
151
+ slbNumber: string;
150
152
  interest: string;
153
+ administrativeCosts: string;
154
+ residual: string;
151
155
  invoiceNumber: string;
152
156
  totalAmount: string;
153
157
  totalAmountExlVat: string;