@bisondesk/core-sdk 1.0.317 → 1.0.319

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 (425) hide show
  1. package/lib/{types/apis → apis}/crm.d.ts +3 -3
  2. package/lib/apis/crm.d.ts.map +1 -0
  3. package/lib/{esm/apis → apis}/crm.js +3 -2
  4. package/lib/apis/crm.js.map +1 -0
  5. package/lib/{types/apis → apis}/internet-vehicles.d.ts +1 -1
  6. package/lib/{types/apis → apis}/internet-vehicles.d.ts.map +1 -1
  7. package/lib/apis/internet-vehicles.js.map +1 -0
  8. package/lib/{types/apis → apis}/leasing-administration.d.ts +1 -1
  9. package/lib/{types/apis → apis}/leasing-administration.d.ts.map +1 -1
  10. package/lib/apis/leasing-administration.js.map +1 -0
  11. package/lib/{types/apis → apis}/leasing.d.ts +2 -2
  12. package/lib/{types/apis → apis}/leasing.d.ts.map +1 -1
  13. package/lib/apis/leasing.js.map +1 -0
  14. package/lib/{types/apis → apis}/opportunities.d.ts +3 -3
  15. package/lib/{types/apis → apis}/opportunities.d.ts.map +1 -1
  16. package/lib/{esm/apis → apis}/opportunities.js +1 -2
  17. package/lib/{esm/apis → apis}/opportunities.js.map +1 -1
  18. package/lib/{types/apis → apis}/picklists.d.ts +1 -1
  19. package/lib/{types/apis → apis}/picklists.d.ts.map +1 -1
  20. package/lib/apis/picklists.js.map +1 -0
  21. package/lib/{types/apis → apis}/tenants.d.ts +1 -1
  22. package/lib/{types/apis → apis}/tenants.d.ts.map +1 -1
  23. package/lib/apis/tenants.js.map +1 -0
  24. package/lib/{types/apis → apis}/users.d.ts +1 -1
  25. package/lib/{types/apis → apis}/users.d.ts.map +1 -1
  26. package/lib/apis/users.js.map +1 -0
  27. package/lib/{types/apis → apis}/vehicles.d.ts +2 -2
  28. package/lib/{types/apis → apis}/vehicles.d.ts.map +1 -1
  29. package/lib/apis/vehicles.js.map +1 -0
  30. package/lib/{types/constants.d.ts → constants.d.ts} +1 -1
  31. package/lib/{types/constants.d.ts.map → constants.d.ts.map} +1 -1
  32. package/lib/{esm/constants.js → constants.js} +4 -4
  33. package/lib/{esm/constants.js.map → constants.js.map} +1 -1
  34. package/lib/types/{types/crm.d.ts → crm.d.ts} +3 -3
  35. package/lib/types/crm.d.ts.map +1 -0
  36. package/lib/types/crm.js.map +1 -0
  37. package/lib/types/{types/definitions.d.ts → definitions.d.ts} +2 -2
  38. package/lib/types/{types/definitions.d.ts.map → definitions.d.ts.map} +1 -1
  39. package/lib/types/definitions.js.map +1 -0
  40. package/lib/types/{types/delivery-settings.d.ts → delivery-settings.d.ts} +2 -2
  41. package/lib/types/delivery-settings.d.ts.map +1 -0
  42. package/lib/types/delivery-settings.js.map +1 -0
  43. package/lib/types/{types/insights.d.ts → insights.d.ts} +2 -2
  44. package/lib/types/insights.d.ts.map +1 -0
  45. package/lib/types/insights.js.map +1 -0
  46. package/lib/types/{types/interests.d.ts → interests.d.ts} +2 -2
  47. package/lib/types/interests.d.ts.map +1 -0
  48. package/lib/types/interests.js.map +1 -0
  49. package/lib/types/internet-opportunities.d.ts +31 -0
  50. package/lib/types/internet-opportunities.d.ts.map +1 -0
  51. package/lib/types/internet-opportunities.js +2 -0
  52. package/lib/types/internet-opportunities.js.map +1 -0
  53. package/lib/types/{types/internet-vehicles.d.ts → internet-vehicles.d.ts} +3 -3
  54. package/lib/types/internet-vehicles.d.ts.map +1 -0
  55. package/lib/types/internet-vehicles.js.map +1 -0
  56. package/lib/types/{types/leasing-administration.d.ts → leasing-administration.d.ts} +1 -1
  57. package/lib/types/leasing-administration.d.ts.map +1 -0
  58. package/lib/types/leasing-administration.js.map +1 -0
  59. package/lib/types/{types/leasing-debtors.d.ts → leasing-debtors.d.ts} +1 -1
  60. package/lib/types/{types/leasing-debtors.d.ts.map → leasing-debtors.d.ts.map} +1 -1
  61. package/lib/types/leasing-debtors.js.map +1 -0
  62. package/lib/types/{types/leasing-search.d.ts → leasing-search.d.ts} +4 -4
  63. package/lib/types/leasing-search.d.ts.map +1 -0
  64. package/lib/types/leasing-search.js.map +1 -0
  65. package/lib/types/{types/leasing-settings.d.ts → leasing-settings.d.ts} +2 -2
  66. package/lib/types/leasing-settings.d.ts.map +1 -0
  67. package/lib/{cjs/types → types}/leasing-settings.js.map +1 -1
  68. package/lib/types/{types/leasing.d.ts → leasing.d.ts} +17 -2
  69. package/lib/types/{types/leasing.d.ts.map → leasing.d.ts.map} +1 -1
  70. package/lib/types/leasing.js.map +1 -0
  71. package/lib/types/{types/opportunities.d.ts → opportunities.d.ts} +13 -10
  72. package/lib/types/opportunities.d.ts.map +1 -0
  73. package/lib/types/opportunities.js.map +1 -0
  74. package/lib/types/{types/quote-settings.d.ts → quote-settings.d.ts} +1 -1
  75. package/lib/types/{types/quote-settings.d.ts.map → quote-settings.d.ts.map} +1 -1
  76. package/lib/types/quote-settings.js.map +1 -0
  77. package/lib/types/{types/quotes.d.ts → quotes.d.ts} +4 -4
  78. package/lib/types/quotes.d.ts.map +1 -0
  79. package/lib/types/quotes.js.map +1 -0
  80. package/lib/types/{types/recently-viewed.d.ts → recently-viewed.d.ts} +1 -1
  81. package/lib/types/recently-viewed.d.ts.map +1 -0
  82. package/lib/types/recently-viewed.js.map +1 -0
  83. package/lib/types/{types/roi-ratings.d.ts → roi-ratings.d.ts} +3 -3
  84. package/lib/types/roi-ratings.d.ts.map +1 -0
  85. package/lib/types/roi-ratings.js.map +1 -0
  86. package/lib/types/{types/saved-filters.d.ts → saved-filters.d.ts} +2 -2
  87. package/lib/types/saved-filters.d.ts.map +1 -0
  88. package/lib/{cjs/types → types}/saved-filters.js.map +1 -1
  89. package/lib/types/{types/search.d.ts → search.d.ts} +8 -2
  90. package/lib/types/search.d.ts.map +1 -0
  91. package/lib/types/search.js.map +1 -0
  92. package/lib/types/{types/tenants.d.ts → tenants.d.ts} +2 -1
  93. package/lib/types/tenants.d.ts.map +1 -0
  94. package/lib/types/tenants.js.map +1 -0
  95. package/lib/types/{types/utils.d.ts → utils.d.ts} +1 -1
  96. package/lib/types/utils.d.ts.map +1 -0
  97. package/lib/types/utils.js.map +1 -0
  98. package/lib/types/{types/vehicles.d.ts → vehicles.d.ts} +1 -1
  99. package/lib/types/{types/vehicles.d.ts.map → vehicles.d.ts.map} +1 -1
  100. package/lib/types/vehicles.js.map +1 -0
  101. package/lib/{types/utils → utils}/forms.d.ts +1 -1
  102. package/lib/{types/utils → utils}/forms.d.ts.map +1 -1
  103. package/lib/{esm/utils → utils}/forms.js +2 -2
  104. package/lib/utils/forms.js.map +1 -0
  105. package/lib/{types/utils → utils}/leasing.d.ts +1 -1
  106. package/lib/utils/leasing.d.ts.map +1 -0
  107. package/lib/utils/leasing.js +5 -0
  108. package/lib/utils/leasing.js.map +1 -0
  109. package/lib/{types/utils → utils}/opportunities.d.ts +1 -1
  110. package/lib/{types/utils → utils}/opportunities.d.ts.map +1 -1
  111. package/lib/{esm/utils → utils}/opportunities.js +1 -1
  112. package/lib/utils/opportunities.js.map +1 -0
  113. package/lib/utils/slug.d.ts +3 -0
  114. package/lib/{types/utils → utils}/slug.d.ts.map +1 -1
  115. package/lib/{esm/utils → utils}/slug.js +1 -1
  116. package/lib/utils/slug.js.map +1 -0
  117. package/lib/{types/utils → utils}/tenants.d.ts +1 -1
  118. package/lib/{types/utils → utils}/tenants.d.ts.map +1 -1
  119. package/lib/{esm/utils → utils}/tenants.js +1 -1
  120. package/lib/utils/tenants.js.map +1 -0
  121. package/lib/{types/utils → utils}/vehicles.d.ts +1 -1
  122. package/lib/{types/utils → utils}/vehicles.d.ts.map +1 -1
  123. package/lib/{esm/utils → utils}/vehicles.js +1 -1
  124. package/lib/utils/vehicles.js.map +1 -0
  125. package/package.json +15 -24
  126. package/src/apis/crm.ts +16 -11
  127. package/src/apis/internet-vehicles.ts +1 -1
  128. package/src/apis/leasing-administration.ts +3 -3
  129. package/src/apis/leasing.ts +12 -12
  130. package/src/apis/opportunities.ts +4 -6
  131. package/src/apis/picklists.ts +3 -3
  132. package/src/apis/tenants.ts +6 -6
  133. package/src/apis/users.ts +2 -2
  134. package/src/apis/vehicles.ts +11 -11
  135. package/src/constants.ts +1 -1
  136. package/src/types/crm.ts +3 -3
  137. package/src/types/definitions.ts +2 -2
  138. package/src/types/delivery-settings.ts +2 -2
  139. package/src/types/insights.ts +2 -2
  140. package/src/types/interests.ts +2 -2
  141. package/src/types/internet-opportunities.ts +37 -0
  142. package/src/types/internet-vehicles.ts +3 -3
  143. package/src/types/leasing-administration.ts +1 -1
  144. package/src/types/leasing-debtors.ts +1 -1
  145. package/src/types/leasing-search.ts +4 -4
  146. package/src/types/leasing-settings.ts +2 -2
  147. package/src/types/leasing.ts +18 -2
  148. package/src/types/opportunities.ts +14 -10
  149. package/src/types/quote-settings.ts +1 -1
  150. package/src/types/quotes.ts +4 -4
  151. package/src/types/recently-viewed.ts +1 -1
  152. package/src/types/roi-ratings.ts +3 -3
  153. package/src/types/saved-filters.ts +2 -2
  154. package/src/types/search.ts +10 -2
  155. package/src/types/tenants.ts +2 -1
  156. package/src/types/utils.ts +1 -1
  157. package/src/types/vehicles.ts +1 -1
  158. package/src/utils/forms.ts +2 -2
  159. package/src/utils/leasing.ts +5 -4
  160. package/src/utils/opportunities.ts +1 -1
  161. package/src/utils/slug.ts +2 -2
  162. package/src/utils/tenants.ts +2 -2
  163. package/src/utils/vehicles.ts +2 -2
  164. package/tsconfig.deploy.json +5 -0
  165. package/tsconfig.deploy.tsbuildinfo +1 -0
  166. package/tsconfig.json +1 -2
  167. package/tsconfig.tsbuildinfo +1 -0
  168. package/lib/cjs/apis/crm.js +0 -199
  169. package/lib/cjs/apis/crm.js.map +0 -1
  170. package/lib/cjs/apis/documents.js +0 -55
  171. package/lib/cjs/apis/documents.js.map +0 -1
  172. package/lib/cjs/apis/internet-vehicles.js +0 -25
  173. package/lib/cjs/apis/internet-vehicles.js.map +0 -1
  174. package/lib/cjs/apis/leasing-administration.js +0 -47
  175. package/lib/cjs/apis/leasing-administration.js.map +0 -1
  176. package/lib/cjs/apis/leasing.js +0 -167
  177. package/lib/cjs/apis/leasing.js.map +0 -1
  178. package/lib/cjs/apis/opportunities.js +0 -66
  179. package/lib/cjs/apis/opportunities.js.map +0 -1
  180. package/lib/cjs/apis/picklists.js +0 -42
  181. package/lib/cjs/apis/picklists.js.map +0 -1
  182. package/lib/cjs/apis/tenants.js +0 -78
  183. package/lib/cjs/apis/tenants.js.map +0 -1
  184. package/lib/cjs/apis/users.js +0 -24
  185. package/lib/cjs/apis/users.js.map +0 -1
  186. package/lib/cjs/apis/vehicles.js +0 -183
  187. package/lib/cjs/apis/vehicles.js.map +0 -1
  188. package/lib/cjs/constants.js +0 -940
  189. package/lib/cjs/constants.js.map +0 -1
  190. package/lib/cjs/ddb-entities.js +0 -5
  191. package/lib/cjs/ddb-entities.js.map +0 -1
  192. package/lib/cjs/types/activities.js +0 -16
  193. package/lib/cjs/types/activities.js.map +0 -1
  194. package/lib/cjs/types/comparables.js +0 -3
  195. package/lib/cjs/types/crm.js +0 -19
  196. package/lib/cjs/types/crm.js.map +0 -1
  197. package/lib/cjs/types/definitions.js +0 -3
  198. package/lib/cjs/types/definitions.js.map +0 -1
  199. package/lib/cjs/types/delivery-settings.js +0 -9
  200. package/lib/cjs/types/delivery-settings.js.map +0 -1
  201. package/lib/cjs/types/documents.js +0 -9
  202. package/lib/cjs/types/documents.js.map +0 -1
  203. package/lib/cjs/types/events.js +0 -10
  204. package/lib/cjs/types/events.js.map +0 -1
  205. package/lib/cjs/types/fields.js +0 -29
  206. package/lib/cjs/types/fields.js.map +0 -1
  207. package/lib/cjs/types/insights.js +0 -3
  208. package/lib/cjs/types/insights.js.map +0 -1
  209. package/lib/cjs/types/interests.js +0 -10
  210. package/lib/cjs/types/interests.js.map +0 -1
  211. package/lib/cjs/types/internet-vehicles.js +0 -3
  212. package/lib/cjs/types/internet-vehicles.js.map +0 -1
  213. package/lib/cjs/types/leasing-administration.js +0 -3
  214. package/lib/cjs/types/leasing-administration.js.map +0 -1
  215. package/lib/cjs/types/leasing-debtors.js +0 -3
  216. package/lib/cjs/types/leasing-debtors.js.map +0 -1
  217. package/lib/cjs/types/leasing-search.js +0 -3
  218. package/lib/cjs/types/leasing-search.js.map +0 -1
  219. package/lib/cjs/types/leasing-settings.js +0 -10
  220. package/lib/cjs/types/leasing.js +0 -33
  221. package/lib/cjs/types/leasing.js.map +0 -1
  222. package/lib/cjs/types/machines.js +0 -3
  223. package/lib/cjs/types/opportunities.js +0 -95
  224. package/lib/cjs/types/opportunities.js.map +0 -1
  225. package/lib/cjs/types/payments.js +0 -10
  226. package/lib/cjs/types/payments.js.map +0 -1
  227. package/lib/cjs/types/picklists.js +0 -3
  228. package/lib/cjs/types/quote-settings.js +0 -3
  229. package/lib/cjs/types/quote-settings.js.map +0 -1
  230. package/lib/cjs/types/quotes.js +0 -45
  231. package/lib/cjs/types/quotes.js.map +0 -1
  232. package/lib/cjs/types/recently-viewed.js +0 -3
  233. package/lib/cjs/types/recently-viewed.js.map +0 -1
  234. package/lib/cjs/types/reservations.js +0 -8
  235. package/lib/cjs/types/reservations.js.map +0 -1
  236. package/lib/cjs/types/roi-ratings.js +0 -8
  237. package/lib/cjs/types/roi-ratings.js.map +0 -1
  238. package/lib/cjs/types/saved-filters.js +0 -12
  239. package/lib/cjs/types/search.js +0 -36
  240. package/lib/cjs/types/search.js.map +0 -1
  241. package/lib/cjs/types/settings.js +0 -3
  242. package/lib/cjs/types/storage.js +0 -5
  243. package/lib/cjs/types/storage.js.map +0 -1
  244. package/lib/cjs/types/templates.js +0 -3
  245. package/lib/cjs/types/tenants.js +0 -19
  246. package/lib/cjs/types/tenants.js.map +0 -1
  247. package/lib/cjs/types/users.js +0 -3
  248. package/lib/cjs/types/utils.js +0 -9
  249. package/lib/cjs/types/utils.js.map +0 -1
  250. package/lib/cjs/types/vehicles.js +0 -63
  251. package/lib/cjs/types/vehicles.js.map +0 -1
  252. package/lib/cjs/types/website.js +0 -3
  253. package/lib/cjs/utils/forms.js +0 -31
  254. package/lib/cjs/utils/forms.js.map +0 -1
  255. package/lib/cjs/utils/leasing.js +0 -8
  256. package/lib/cjs/utils/leasing.js.map +0 -1
  257. package/lib/cjs/utils/opportunities.js +0 -60
  258. package/lib/cjs/utils/opportunities.js.map +0 -1
  259. package/lib/cjs/utils/slug.js +0 -21
  260. package/lib/cjs/utils/slug.js.map +0 -1
  261. package/lib/cjs/utils/tenants.js +0 -21
  262. package/lib/cjs/utils/tenants.js.map +0 -1
  263. package/lib/cjs/utils/vehicles.js +0 -60
  264. package/lib/cjs/utils/vehicles.js.map +0 -1
  265. package/lib/esm/apis/crm.js.map +0 -1
  266. package/lib/esm/apis/documents.js +0 -49
  267. package/lib/esm/apis/documents.js.map +0 -1
  268. package/lib/esm/apis/internet-vehicles.js.map +0 -1
  269. package/lib/esm/apis/leasing-administration.js.map +0 -1
  270. package/lib/esm/apis/leasing.js.map +0 -1
  271. package/lib/esm/apis/picklists.js.map +0 -1
  272. package/lib/esm/apis/tenants.js.map +0 -1
  273. package/lib/esm/apis/users.js.map +0 -1
  274. package/lib/esm/apis/vehicles.js.map +0 -1
  275. package/lib/esm/types/comparables.js.map +0 -1
  276. package/lib/esm/types/crm.js.map +0 -1
  277. package/lib/esm/types/definitions.js.map +0 -1
  278. package/lib/esm/types/delivery-settings.js.map +0 -1
  279. package/lib/esm/types/documents.js +0 -6
  280. package/lib/esm/types/documents.js.map +0 -1
  281. package/lib/esm/types/insights.js.map +0 -1
  282. package/lib/esm/types/interests.js.map +0 -1
  283. package/lib/esm/types/internet-vehicles.js.map +0 -1
  284. package/lib/esm/types/leasing-administration.js.map +0 -1
  285. package/lib/esm/types/leasing-debtors.js.map +0 -1
  286. package/lib/esm/types/leasing-search.js.map +0 -1
  287. package/lib/esm/types/leasing-settings.js.map +0 -1
  288. package/lib/esm/types/leasing.js.map +0 -1
  289. package/lib/esm/types/machines.js.map +0 -1
  290. package/lib/esm/types/opportunities.js.map +0 -1
  291. package/lib/esm/types/picklists.js.map +0 -1
  292. package/lib/esm/types/quote-settings.js.map +0 -1
  293. package/lib/esm/types/quotes.js.map +0 -1
  294. package/lib/esm/types/recently-viewed.js.map +0 -1
  295. package/lib/esm/types/roi-ratings.js.map +0 -1
  296. package/lib/esm/types/saved-filters.js.map +0 -1
  297. package/lib/esm/types/search.js.map +0 -1
  298. package/lib/esm/types/settings.js.map +0 -1
  299. package/lib/esm/types/storage.js +0 -2
  300. package/lib/esm/types/storage.js.map +0 -1
  301. package/lib/esm/types/templates.js.map +0 -1
  302. package/lib/esm/types/tenants.js.map +0 -1
  303. package/lib/esm/types/users.js.map +0 -1
  304. package/lib/esm/types/utils.js.map +0 -1
  305. package/lib/esm/types/vehicles.js.map +0 -1
  306. package/lib/esm/types/website.js.map +0 -1
  307. package/lib/esm/utils/forms.js.map +0 -1
  308. package/lib/esm/utils/leasing.js +0 -4
  309. package/lib/esm/utils/leasing.js.map +0 -1
  310. package/lib/esm/utils/opportunities.js.map +0 -1
  311. package/lib/esm/utils/slug.js.map +0 -1
  312. package/lib/esm/utils/tenants.js.map +0 -1
  313. package/lib/esm/utils/vehicles.js.map +0 -1
  314. package/lib/tsconfig.cjs.tsbuildinfo +0 -1
  315. package/lib/tsconfig.esm.tsbuildinfo +0 -1
  316. package/lib/types/apis/crm.d.ts.map +0 -1
  317. package/lib/types/apis/documents.d.ts +0 -4
  318. package/lib/types/apis/documents.d.ts.map +0 -1
  319. package/lib/types/types/crm.d.ts.map +0 -1
  320. package/lib/types/types/delivery-settings.d.ts.map +0 -1
  321. package/lib/types/types/documents.d.ts +0 -140
  322. package/lib/types/types/documents.d.ts.map +0 -1
  323. package/lib/types/types/insights.d.ts.map +0 -1
  324. package/lib/types/types/interests.d.ts.map +0 -1
  325. package/lib/types/types/internet-vehicles.d.ts.map +0 -1
  326. package/lib/types/types/leasing-administration.d.ts.map +0 -1
  327. package/lib/types/types/leasing-search.d.ts.map +0 -1
  328. package/lib/types/types/leasing-settings.d.ts.map +0 -1
  329. package/lib/types/types/opportunities.d.ts.map +0 -1
  330. package/lib/types/types/quotes.d.ts.map +0 -1
  331. package/lib/types/types/recently-viewed.d.ts.map +0 -1
  332. package/lib/types/types/roi-ratings.d.ts.map +0 -1
  333. package/lib/types/types/saved-filters.d.ts.map +0 -1
  334. package/lib/types/types/search.d.ts.map +0 -1
  335. package/lib/types/types/storage.d.ts +0 -2
  336. package/lib/types/types/storage.d.ts.map +0 -1
  337. package/lib/types/types/tenants.d.ts.map +0 -1
  338. package/lib/types/types/utils.d.ts.map +0 -1
  339. package/lib/types/utils/leasing.d.ts.map +0 -1
  340. package/lib/types/utils/slug.d.ts +0 -3
  341. package/src/apis/documents.ts +0 -64
  342. package/src/types/documents.ts +0 -141
  343. package/src/types/storage.ts +0 -1
  344. package/tsconfig.cjs.json +0 -9
  345. package/tsconfig.esm.json +0 -9
  346. /package/lib/{esm/apis → apis}/internet-vehicles.js +0 -0
  347. /package/lib/{esm/apis → apis}/leasing-administration.js +0 -0
  348. /package/lib/{esm/apis → apis}/leasing.js +0 -0
  349. /package/lib/{esm/apis → apis}/picklists.js +0 -0
  350. /package/lib/{esm/apis → apis}/tenants.js +0 -0
  351. /package/lib/{esm/apis → apis}/users.js +0 -0
  352. /package/lib/{esm/apis → apis}/vehicles.js +0 -0
  353. /package/lib/{types/ddb-entities.d.ts → ddb-entities.d.ts} +0 -0
  354. /package/lib/{types/ddb-entities.d.ts.map → ddb-entities.d.ts.map} +0 -0
  355. /package/lib/{esm/ddb-entities.js → ddb-entities.js} +0 -0
  356. /package/lib/{esm/ddb-entities.js.map → ddb-entities.js.map} +0 -0
  357. /package/lib/types/{types/activities.d.ts → activities.d.ts} +0 -0
  358. /package/lib/types/{types/activities.d.ts.map → activities.d.ts.map} +0 -0
  359. /package/lib/{esm/types → types}/activities.js +0 -0
  360. /package/lib/{esm/types → types}/activities.js.map +0 -0
  361. /package/lib/types/{types/comparables.d.ts → comparables.d.ts} +0 -0
  362. /package/lib/types/{types/comparables.d.ts.map → comparables.d.ts.map} +0 -0
  363. /package/lib/{esm/types → types}/comparables.js +0 -0
  364. /package/lib/{cjs/types → types}/comparables.js.map +0 -0
  365. /package/lib/{esm/types → types}/crm.js +0 -0
  366. /package/lib/{esm/types → types}/definitions.js +0 -0
  367. /package/lib/{esm/types → types}/delivery-settings.js +0 -0
  368. /package/lib/types/{types/events.d.ts → events.d.ts} +0 -0
  369. /package/lib/types/{types/events.d.ts.map → events.d.ts.map} +0 -0
  370. /package/lib/{esm/types → types}/events.js +0 -0
  371. /package/lib/{esm/types → types}/events.js.map +0 -0
  372. /package/lib/types/{types/fields.d.ts → fields.d.ts} +0 -0
  373. /package/lib/types/{types/fields.d.ts.map → fields.d.ts.map} +0 -0
  374. /package/lib/{esm/types → types}/fields.js +0 -0
  375. /package/lib/{esm/types → types}/fields.js.map +0 -0
  376. /package/lib/{esm/types → types}/insights.js +0 -0
  377. /package/lib/{esm/types → types}/interests.js +0 -0
  378. /package/lib/{esm/types → types}/internet-vehicles.js +0 -0
  379. /package/lib/{esm/types → types}/leasing-administration.js +0 -0
  380. /package/lib/{esm/types → types}/leasing-debtors.js +0 -0
  381. /package/lib/{esm/types → types}/leasing-search.js +0 -0
  382. /package/lib/{esm/types → types}/leasing-settings.js +0 -0
  383. /package/lib/{esm/types → types}/leasing.js +0 -0
  384. /package/lib/types/{types/machines.d.ts → machines.d.ts} +0 -0
  385. /package/lib/types/{types/machines.d.ts.map → machines.d.ts.map} +0 -0
  386. /package/lib/{esm/types → types}/machines.js +0 -0
  387. /package/lib/{cjs/types → types}/machines.js.map +0 -0
  388. /package/lib/{esm/types → types}/opportunities.js +0 -0
  389. /package/lib/types/{types/payments.d.ts → payments.d.ts} +0 -0
  390. /package/lib/types/{types/payments.d.ts.map → payments.d.ts.map} +0 -0
  391. /package/lib/{esm/types → types}/payments.js +0 -0
  392. /package/lib/{esm/types → types}/payments.js.map +0 -0
  393. /package/lib/types/{types/picklists.d.ts → picklists.d.ts} +0 -0
  394. /package/lib/types/{types/picklists.d.ts.map → picklists.d.ts.map} +0 -0
  395. /package/lib/{esm/types → types}/picklists.js +0 -0
  396. /package/lib/{cjs/types → types}/picklists.js.map +0 -0
  397. /package/lib/{esm/types → types}/quote-settings.js +0 -0
  398. /package/lib/{esm/types → types}/quotes.js +0 -0
  399. /package/lib/{esm/types → types}/recently-viewed.js +0 -0
  400. /package/lib/types/{types/reservations.d.ts → reservations.d.ts} +0 -0
  401. /package/lib/types/{types/reservations.d.ts.map → reservations.d.ts.map} +0 -0
  402. /package/lib/{esm/types → types}/reservations.js +0 -0
  403. /package/lib/{esm/types → types}/reservations.js.map +0 -0
  404. /package/lib/{esm/types → types}/roi-ratings.js +0 -0
  405. /package/lib/{esm/types → types}/saved-filters.js +0 -0
  406. /package/lib/{esm/types → types}/search.js +0 -0
  407. /package/lib/types/{types/settings.d.ts → settings.d.ts} +0 -0
  408. /package/lib/types/{types/settings.d.ts.map → settings.d.ts.map} +0 -0
  409. /package/lib/{esm/types → types}/settings.js +0 -0
  410. /package/lib/{cjs/types → types}/settings.js.map +0 -0
  411. /package/lib/types/{types/templates.d.ts → templates.d.ts} +0 -0
  412. /package/lib/types/{types/templates.d.ts.map → templates.d.ts.map} +0 -0
  413. /package/lib/{esm/types → types}/templates.js +0 -0
  414. /package/lib/{cjs/types → types}/templates.js.map +0 -0
  415. /package/lib/{esm/types → types}/tenants.js +0 -0
  416. /package/lib/types/{types/users.d.ts → users.d.ts} +0 -0
  417. /package/lib/types/{types/users.d.ts.map → users.d.ts.map} +0 -0
  418. /package/lib/{esm/types → types}/users.js +0 -0
  419. /package/lib/{cjs/types → types}/users.js.map +0 -0
  420. /package/lib/{esm/types → types}/utils.js +0 -0
  421. /package/lib/{esm/types → types}/vehicles.js +0 -0
  422. /package/lib/types/{types/website.d.ts → website.d.ts} +0 -0
  423. /package/lib/types/{types/website.d.ts.map → website.d.ts.map} +0 -0
  424. /package/lib/{esm/types → types}/website.js +0 -0
  425. /package/lib/{cjs/types → types}/website.js.map +0 -0
@@ -1 +0,0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/vehicles';\n\nexport { BusinessEntityIds } from '@bisondesk/commons-sdk/constants';\n\n//\n// STATIC PICKLIST IDS\n//\nexport const APP_LANGUAGES_PICKLIST_ID = 'appLanguages';\nexport const CLIENT_LANGUAGES_PICKLIST_ID = 'clientLanguages';\nexport const TIMEZONES_PICKLIST_ID = 'timezones';\nexport const COUNTRIES_PICKLIST_ID = 'countries';\nexport const VEHICLE_MAIN_FEATURES_PICKLIST_ID = 'vehicleMainFeatures';\nexport const VEHICLE_STATE_FILTERS_PICKLIST_ID = 'vehicleStateFilters';\nexport const VEHICLE_SALE_DEAL_STATUS_PICKLIST_ID = 'vehicleSaleDealStatus';\nexport const VEHICLE_ROLES_PICKLIST_ID = 'vehicleRoles';\nexport const MARKETING_PLATFORMS_PICKLIST_ID = 'marketingPlatforms';\nexport const OPPORTUNITY_STATUS_PICKLIST_ID = 'opportunityStatus';\nexport const OPPORTUNITY_DEAL_STATUS_PICKLIST_ID = 'opportunityDealStatus';\nexport const OPPORTUNITY_PAYMENT_STATUS_PICKLIST_ID = 'opportunityPaymentStatus';\nexport const OPPORTUNITY_LOGISTIC_STATUS_PICKLIST_ID = 'opportunityLogisticStatus';\nexport const OPPORTUNITY_SOURCE_PICKLIST_ID = 'opportunity_source';\nexport const ORGANIZATION_RISK_TAGS_PICKLIST_ID = 'organizationRiskTags';\nexport const DEPARTMENT_PICKLIST_ID = 'department';\nexport const AXLE_TIRE_SIZE_PICKLIST_ID = 'axleTireSize';\nexport const GEARBOX_MAKE_PICKLIST_ID = 'gearboxMake';\nexport const LOCATION_PICKLIST_ID = 'location';\nexport const SUPPLIER_VAT_RATE_PICKLIST_ID = 'supplierVATRate';\nexport const AXLE_MAKE_PICKLIST_ID = 'axleMake';\nexport const TAILGATE_MAKE_PICKLIST_ID = 'tailgateMakes';\nexport const VAT_PERCENTAGE_PICKLIST_ID = 'vatPercentages';\nexport const CRANE_MAKE_PICKLIST_ID = 'craneMakes';\nexport const ENGINEERING_DOCS_PICKLIST_ID = 'engineeringDocs';\nexport const SHIPPING_COMPANIES_PICKLIST_ID = 'shippingCompanies';\nexport const SLB_PARTNERS_PICKLIST_ID = 'slb_partners';\nexport const PURCHASE_LOGISTICS_STATUS_PICKLIST_ID = 'purchaseLogisticsStatus';\nexport const QUOTE_STATUS_PICKLIST_ID = 'quoteStatus';\n\nexport const PICKLIST_FALLBACK_LOCALE = 'en';\n\n//\n// STATIC PICKLIST ID VALUES\nexport const WEBSITE_MARKETING_PLATFORM_ID = 'PUBLIC_WEBSITE';\n\n//\n// STATIC PICKLIST IDS FROM HyperDMS\n//\nexport const BODYWORKS_PICKLIST_ID = 'bodywork';\nexport const CABINS_PICKLIST_ID = 'cabin';\nexport const CATEGORIES_PICKLIST_ID = 'category';\nexport const CONFIGURATIONS_PICKLIST_ID = 'configuration';\nexport const EURONORMS_PICKLIST_ID = 'euronorm';\nexport const TRANSMISSIONS_PICKLIST_ID = 'gearbox';\nexport const MAKES_PICKLIST_ID = 'make';\nexport const MAKE_MODELS_PICKLIST_ID = 'make_model';\nexport const MAKE_MODEL_TYPES_PICKLIST_ID = 'make_model_type';\nexport const SUSPENSIONS_PICKLIST_ID = 'suspension';\nexport const ORG_SEGMENTS_PICKLIST_ID = 'segment';\nexport const HEIGTHENED_PICKLIST_ID = 'extended_height_dimension';\nexport const EXTENDED_PICKLIST_ID = 'extended_length_dimension';\nexport const JOB_CATEGORIES_PICKLIST_ID = 'job_category';\nexport const DOCUMENT_TYPES_PICKLIST_ID = 'document_types';\n\n//\n// STATIC VALUES FOR VEHICLE CATEGORIES\n//\nexport enum Categories {\n TractorHead = 'Tractor Head',\n Truck = 'Truck',\n Trailer = 'Trailer',\n SemiTrailer = 'Semi-Trailer',\n Van = 'Van',\n Machine = 'Machine',\n Car = 'Car',\n Superstructure = 'Superstructure',\n}\n\n//\n// PICKLIST CONSTANTS\n//\nexport const MAX_SORT_PRIORITY = 10_000;\nexport const MIN_SORT_PRIORITY = 1;\n\n//\n// SEARCH\n//\nexport const FILTER_RANGE_SEPARATOR = '__';\nexport const FILTER_MULTIPLE_SEPARATOR = '__';\n\n//\n// Lead interests\n//\nexport const MAX_AGE = 15;\nexport const MAX_KM = 1_000_000;\nexport const MAX_PRICE = 100_000;\nexport const PRICE_ROUNDING = 1000;\nexport const KM_ROUNDING = 100_000;\n\n//\n// Leasing administration\n//\nexport enum LeasingAdminUploadHandlers {\n DhondtMonthly = 'dhondt-monthly-invoice',\n DhondtProrata = 'dhondt-prorata-invoice',\n Belfius = 'belfius-monthly-invoice',\n ING = 'ing-monthly-invoice',\n}\n\nexport enum LeasingAdminEntities {\n Dhondt = 'dhondt',\n Becris = 'becris',\n ING = 'ing',\n}\n\nexport enum LeasingAdminUploadErrors {\n DuplicatedFile = 'leasing-administration.file-already-exists',\n FetchCurrentFile = 'leasing-administration.diff.fetch-current-file-failed',\n InvalidAttachment = 'leasing-administration.invalid-attachment',\n InvalidBelfiusXlsx = 'leasing-administration.belfius.invalid-xlsx',\n InvalidHandlerId = 'leasing-administration.invalid-handler',\n InvalidInvoiceFormat = 'leasing-administration.upload.invalid-invoice',\n NegativeAmount = 'leasing-administration.negative-amount',\n OngoingUpload = 'leasing-administration.ongoing-upload',\n Publish = 'leasing-administration.upload.publish-failed',\n UnknownVehicle = 'leasing-administration.belfius.unknown-vehicle',\n MissingVehicle = 'leasing-administration.belfius.missing-vehicle',\n Validation = 'leasing-administration.upload.invalid-request',\n}\n\n//\n// Lead interests\n//\nexport const INTERNET_VEHICLES_ANALYSIS_ALL_DATA = 'all';\n\n//\n// Opportunities\n//\nexport enum OpportunityType {\n LEASING = 'leasing',\n SALES = 'sales',\n}\n\n//\n// VEHICLES\n//\nexport const UNKNOWN_MAKE = 'other';\n\nexport const AXLE_CONFIG: { [config: string]: VehicleAxle[] } = {\n '4x2': [\n {\n nr: 1,\n position: 'Front',\n steering: true,\n powered: false,\n twinWheels: false,\n },\n {\n nr: 2,\n position: 'Back',\n steering: false,\n powered: true,\n twinWheels: true,\n },\n ],\n '4x4': [\n {\n nr: 1,\n position: 'Front',\n steering: true,\n powered: true,\n twinWheels: false,\n },\n {\n nr: 2,\n position: 'Back',\n steering: false,\n powered: true,\n twinWheels: true,\n },\n ],\n '6x2': [\n {\n nr: 1,\n position: 'Front',\n steering: true,\n powered: false,\n twinWheels: false,\n },\n {\n nr: 2,\n position: 'Back',\n steering: false,\n powered: true,\n twinWheels: false,\n },\n {\n nr: 3,\n position: 'Back',\n steering: false,\n powered: false,\n twinWheels: true,\n },\n ],\n '6x4': [\n {\n nr: 1,\n position: 'Front',\n steering: true,\n powered: false,\n twinWheels: false,\n },\n {\n nr: 2,\n position: 'Back',\n steering: false,\n powered: true,\n twinWheels: true,\n },\n {\n nr: 3,\n position: 'Back',\n steering: false,\n powered: true,\n twinWheels: true,\n },\n ],\n '6x6': [\n {\n nr: 1,\n position: 'Front',\n steering: true,\n powered: true,\n twinWheels: false,\n },\n {\n nr: 2,\n position: 'Back',\n steering: false,\n powered: true,\n twinWheels: true,\n },\n {\n nr: 3,\n position: 'Back',\n steering: false,\n powered: true,\n twinWheels: true,\n },\n ],\n '8x2': [\n {\n nr: 1,\n position: 'Front',\n steering: true,\n powered: false,\n twinWheels: false,\n },\n {\n nr: 2,\n position: 'Front',\n steering: true,\n powered: false,\n twinWheels: false,\n },\n {\n nr: 3,\n position: 'Back',\n steering: false,\n powered: true,\n twinWheels: false,\n },\n {\n nr: 4,\n position: 'Back',\n steering: false,\n powered: false,\n twinWheels: true,\n },\n ],\n '8x4': [\n {\n nr: 1,\n position: 'Front',\n steering: true,\n powered: false,\n twinWheels: false,\n },\n {\n nr: 2,\n position: 'Front',\n steering: true,\n powered: false,\n twinWheels: false,\n },\n {\n nr: 3,\n position: 'Back',\n steering: false,\n powered: true,\n twinWheels: true,\n },\n {\n nr: 4,\n position: 'Back',\n steering: false,\n powered: true,\n twinWheels: true,\n },\n ],\n '8x6': [\n {\n nr: 1,\n position: 'Front',\n steering: true,\n powered: true,\n twinWheels: false,\n },\n {\n nr: 2,\n position: 'Front',\n steering: true,\n powered: false,\n twinWheels: false,\n },\n {\n nr: 3,\n position: 'Back',\n steering: false,\n powered: true,\n twinWheels: true,\n },\n {\n nr: 4,\n position: 'Back',\n steering: false,\n powered: true,\n twinWheels: true,\n },\n ],\n '8x8': [\n {\n nr: 1,\n position: 'Front',\n steering: true,\n powered: true,\n twinWheels: false,\n },\n {\n nr: 2,\n position: 'Front',\n steering: true,\n powered: true,\n twinWheels: false,\n },\n {\n nr: 3,\n position: 'Back',\n steering: false,\n powered: true,\n twinWheels: true,\n },\n {\n nr: 4,\n position: 'Back',\n steering: false,\n powered: true,\n twinWheels: true,\n },\n ],\n '10x4': [\n {\n nr: 1,\n position: 'Front',\n steering: true,\n powered: false,\n twinWheels: false,\n },\n {\n nr: 2,\n position: 'Front',\n steering: true,\n powered: false,\n twinWheels: false,\n },\n {\n nr: 3,\n position: 'Front',\n steering: true,\n powered: false,\n twinWheels: false,\n },\n {\n nr: 4,\n position: 'Back',\n steering: false,\n powered: true,\n twinWheels: true,\n },\n {\n nr: 5,\n position: 'Back',\n steering: false,\n powered: true,\n twinWheels: true,\n },\n ],\n '10x6': [\n {\n nr: 1,\n position: 'Front',\n steering: true,\n powered: false,\n twinWheels: false,\n },\n {\n nr: 2,\n position: 'Front',\n steering: true,\n powered: false,\n twinWheels: false,\n },\n {\n nr: 3,\n position: 'Back',\n steering: false,\n powered: true,\n twinWheels: false,\n },\n {\n nr: 4,\n position: 'Back',\n steering: false,\n powered: true,\n twinWheels: true,\n },\n {\n nr: 5,\n position: 'Back',\n steering: false,\n powered: true,\n twinWheels: true,\n },\n ],\n '10x8': [\n {\n nr: 1,\n position: 'Front',\n steering: true,\n powered: true,\n twinWheels: false,\n },\n {\n nr: 2,\n position: 'Front',\n steering: true,\n powered: true,\n twinWheels: false,\n },\n {\n nr: 3,\n position: 'Front',\n steering: true,\n powered: false,\n twinWheels: false,\n },\n {\n nr: 4,\n position: 'Back',\n steering: false,\n powered: true,\n twinWheels: true,\n },\n {\n nr: 5,\n position: 'Back',\n steering: false,\n powered: true,\n twinWheels: true,\n },\n ],\n '10x10': [\n {\n nr: 1,\n position: 'Front',\n steering: true,\n powered: true,\n twinWheels: false,\n },\n {\n nr: 2,\n position: 'Front',\n steering: true,\n powered: true,\n twinWheels: false,\n },\n {\n nr: 3,\n position: 'Front',\n steering: true,\n powered: true,\n twinWheels: false,\n },\n {\n nr: 4,\n position: 'Back',\n steering: false,\n powered: true,\n twinWheels: true,\n },\n {\n nr: 5,\n position: 'Back',\n steering: false,\n powered: true,\n twinWheels: true,\n },\n ],\n '1 axle': [\n {\n nr: 1,\n position: 'Back',\n steering: false,\n powered: false,\n twinWheels: false,\n },\n ],\n '2 axles': [\n {\n nr: 1,\n position: 'Back',\n steering: false,\n powered: false,\n twinWheels: false,\n },\n {\n nr: 2,\n position: 'Back',\n steering: false,\n powered: false,\n twinWheels: false,\n },\n ],\n '3 axles': [\n {\n nr: 1,\n position: 'Back',\n steering: false,\n powered: false,\n twinWheels: false,\n },\n {\n nr: 2,\n position: 'Back',\n steering: false,\n powered: false,\n twinWheels: false,\n },\n {\n nr: 3,\n position: 'Back',\n steering: false,\n powered: false,\n twinWheels: false,\n },\n ],\n '4 axles': [\n {\n nr: 1,\n position: 'Back',\n steering: false,\n powered: false,\n twinWheels: false,\n },\n {\n nr: 2,\n position: 'Back',\n steering: false,\n powered: false,\n twinWheels: false,\n },\n {\n nr: 3,\n position: 'Back',\n steering: false,\n powered: false,\n twinWheels: false,\n },\n {\n nr: 4,\n position: 'Back',\n steering: false,\n powered: false,\n twinWheels: false,\n },\n ],\n '5 axles': [\n {\n nr: 1,\n position: 'Back',\n steering: false,\n powered: false,\n twinWheels: false,\n },\n {\n nr: 2,\n position: 'Back',\n steering: false,\n powered: false,\n twinWheels: false,\n },\n {\n nr: 3,\n position: 'Back',\n steering: false,\n powered: false,\n twinWheels: false,\n },\n {\n nr: 4,\n position: 'Back',\n steering: false,\n powered: false,\n twinWheels: false,\n },\n {\n nr: 5,\n position: 'Back',\n steering: false,\n powered: false,\n twinWheels: false,\n },\n ],\n '6 axles': [\n {\n nr: 1,\n position: 'Back',\n steering: false,\n powered: false,\n twinWheels: false,\n },\n {\n nr: 2,\n position: 'Back',\n steering: false,\n powered: false,\n twinWheels: false,\n },\n {\n nr: 3,\n position: 'Back',\n steering: false,\n powered: false,\n twinWheels: false,\n },\n {\n nr: 4,\n position: 'Back',\n steering: false,\n powered: false,\n twinWheels: false,\n },\n {\n nr: 5,\n position: 'Back',\n steering: false,\n powered: false,\n twinWheels: false,\n },\n {\n nr: 6,\n position: 'Back',\n steering: false,\n powered: false,\n twinWheels: false,\n },\n ],\n '7 axles': [\n {\n nr: 1,\n position: 'Back',\n steering: false,\n powered: false,\n twinWheels: false,\n },\n {\n nr: 2,\n position: 'Back',\n steering: false,\n powered: false,\n twinWheels: false,\n },\n {\n nr: 3,\n position: 'Back',\n steering: false,\n powered: false,\n twinWheels: false,\n },\n {\n nr: 4,\n position: 'Back',\n steering: false,\n powered: false,\n twinWheels: false,\n },\n {\n nr: 5,\n position: 'Back',\n steering: false,\n powered: false,\n twinWheels: false,\n },\n {\n nr: 6,\n position: 'Back',\n steering: false,\n powered: false,\n twinWheels: false,\n },\n {\n nr: 7,\n position: 'Back',\n steering: false,\n powered: false,\n twinWheels: false,\n },\n ],\n '8 axles': [\n {\n nr: 1,\n position: 'Back',\n steering: false,\n powered: false,\n twinWheels: false,\n },\n {\n nr: 2,\n position: 'Back',\n steering: false,\n powered: false,\n twinWheels: false,\n },\n {\n nr: 3,\n position: 'Back',\n steering: false,\n powered: false,\n twinWheels: false,\n },\n {\n nr: 4,\n position: 'Back',\n steering: false,\n powered: false,\n twinWheels: false,\n },\n {\n nr: 5,\n position: 'Back',\n steering: false,\n powered: false,\n twinWheels: false,\n },\n {\n nr: 6,\n position: 'Back',\n steering: false,\n powered: false,\n twinWheels: false,\n },\n {\n nr: 7,\n position: 'Back',\n steering: false,\n powered: false,\n twinWheels: false,\n },\n {\n nr: 8,\n position: 'Back',\n steering: false,\n powered: false,\n twinWheels: false,\n },\n ],\n '1 front, 1 rear': [\n {\n nr: 1,\n position: 'Front',\n steering: false,\n powered: false,\n twinWheels: false,\n },\n {\n nr: 2,\n position: 'Back',\n steering: false,\n powered: false,\n twinWheels: false,\n },\n ],\n '1 front, 2 rear': [\n {\n nr: 1,\n position: 'Front',\n steering: false,\n powered: false,\n twinWheels: false,\n },\n {\n nr: 2,\n position: 'Back',\n steering: false,\n powered: false,\n twinWheels: false,\n },\n {\n nr: 3,\n position: 'Back',\n steering: false,\n powered: false,\n twinWheels: false,\n },\n ],\n '1 front, 3 rear': [\n {\n nr: 1,\n position: 'Front',\n steering: false,\n powered: false,\n twinWheels: false,\n },\n {\n nr: 2,\n position: 'Back',\n steering: false,\n powered: false,\n twinWheels: false,\n },\n {\n nr: 3,\n position: 'Back',\n steering: false,\n powered: false,\n twinWheels: false,\n },\n {\n nr: 4,\n position: 'Back',\n steering: false,\n powered: false,\n twinWheels: false,\n },\n ],\n '2 front, 2 rear': [\n {\n nr: 1,\n position: 'Front',\n steering: false,\n powered: false,\n twinWheels: false,\n },\n {\n nr: 2,\n position: 'Front',\n steering: false,\n powered: false,\n twinWheels: false,\n },\n {\n nr: 3,\n position: 'Back',\n steering: false,\n powered: false,\n twinWheels: false,\n },\n {\n nr: 4,\n position: 'Back',\n steering: false,\n powered: false,\n twinWheels: false,\n },\n ],\n '2 front, 3 rear': [\n {\n nr: 1,\n position: 'Front',\n steering: false,\n powered: false,\n twinWheels: false,\n },\n {\n nr: 2,\n position: 'Front',\n steering: false,\n powered: false,\n twinWheels: false,\n },\n {\n nr: 3,\n position: 'Back',\n steering: false,\n powered: false,\n twinWheels: false,\n },\n {\n nr: 4,\n position: 'Back',\n steering: false,\n powered: false,\n twinWheels: false,\n },\n {\n nr: 5,\n position: 'Back',\n steering: false,\n powered: false,\n twinWheels: false,\n },\n ],\n '1 middle': [\n {\n nr: 1,\n position: 'Middle',\n steering: false,\n powered: false,\n twinWheels: false,\n },\n ],\n '2 middle': [\n {\n nr: 1,\n position: 'Middle',\n steering: false,\n powered: false,\n twinWheels: false,\n },\n {\n nr: 2,\n position: 'Middle',\n steering: false,\n powered: false,\n twinWheels: false,\n },\n ],\n '3 middle': [\n {\n nr: 1,\n position: 'Middle',\n steering: false,\n powered: false,\n twinWheels: false,\n },\n {\n nr: 2,\n position: 'Middle',\n steering: false,\n powered: false,\n twinWheels: false,\n },\n {\n nr: 3,\n position: 'Middle',\n steering: false,\n powered: false,\n twinWheels: false,\n },\n ],\n};\n\nexport const DEBTORS_MONTHS_UNTIL_TODAY_COUNT = 6;\n\n// Email Template IDs\nexport const VEHICLE_SHARE_TEMPLATE_ID = 'vehicle-share';\nexport const SIGNATURE_EMAIL_TEMPLATE_ID = 'signature-email';\n\nexport enum WarningHints {\n INFO = 'info',\n WARNING = 'warning',\n ERROR = 'error',\n}\n"]}
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ITEM_VIEWS_KEY = void 0;
4
- exports.ITEM_VIEWS_KEY = 'views';
5
- //# sourceMappingURL=ddb-entities.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ddb-entities.js","sourceRoot":"/","sources":["ddb-entities.ts"],"names":[],"mappings":";;;AAAa,QAAA,cAAc,GAAG,OAAO,CAAC","sourcesContent":["export const ITEM_VIEWS_KEY = 'views';\n"]}
@@ -1,16 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ActivityActions = exports.ActivityType = void 0;
4
- var ActivityType;
5
- (function (ActivityType) {
6
- ActivityType["CALL"] = "call";
7
- ActivityType["MEETING"] = "meeting";
8
- ActivityType["EMAIL"] = "email";
9
- ActivityType["CHAT"] = "chat";
10
- })(ActivityType = exports.ActivityType || (exports.ActivityType = {}));
11
- var ActivityActions;
12
- (function (ActivityActions) {
13
- ActivityActions["DELETE"] = "delete";
14
- ActivityActions["EDIT"] = "edit";
15
- })(ActivityActions = exports.ActivityActions || (exports.ActivityActions = {}));
16
- //# sourceMappingURL=activities.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"activities.js","sourceRoot":"/","sources":["types/activities.ts"],"names":[],"mappings":";;;AAAA,IAAY,YAKX;AALD,WAAY,YAAY;IACtB,6BAAa,CAAA;IACb,mCAAmB,CAAA;IACnB,+BAAe,CAAA;IACf,6BAAa,CAAA;AACf,CAAC,EALW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAKvB;AAED,IAAY,eAGX;AAHD,WAAY,eAAe;IACzB,oCAAiB,CAAA;IACjB,gCAAa,CAAA;AACf,CAAC,EAHW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAG1B","sourcesContent":["export enum ActivityType {\n CALL = 'call',\n MEETING = 'meeting',\n EMAIL = 'email',\n CHAT = 'chat',\n}\n\nexport enum ActivityActions {\n DELETE = 'delete',\n EDIT = 'edit',\n}\n\ntype BaseActivity = {\n type: ActivityType;\n opportunityId: string;\n description?: string;\n readonly?: boolean;\n};\n\nexport type NewActivity = BaseActivity & {\n id?: undefined;\n createdAt?: undefined;\n createdBy?: undefined;\n modifiedAt?: undefined;\n modifiedBy?: undefined;\n activityAt?: string;\n};\n\nexport type Activity = BaseActivity & {\n id: string;\n createdAt: string;\n createdBy: string;\n modifiedAt: string;\n modifiedBy: string;\n activityAt: string;\n};\n\nexport type ActivityUpdate = {\n description?: string;\n type?: ActivityType;\n activityAt?: string;\n};\n"]}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=comparables.js.map
@@ -1,19 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CrmSearchScope = exports.SaveOrgResolution = exports.SaveContactResolution = void 0;
4
- var SaveContactResolution;
5
- (function (SaveContactResolution) {
6
- SaveContactResolution["IgnoreDuplicates"] = "IGNORE_DUPLICATES";
7
- SaveContactResolution["BlockDuplicates"] = "BLOCK_DUPLICATES";
8
- })(SaveContactResolution = exports.SaveContactResolution || (exports.SaveContactResolution = {}));
9
- var SaveOrgResolution;
10
- (function (SaveOrgResolution) {
11
- SaveOrgResolution["IgnoreDuplicates"] = "IGNORE_DUPLICATES";
12
- SaveOrgResolution["BlockDuplicates"] = "BLOCK_DUPLICATES";
13
- })(SaveOrgResolution = exports.SaveOrgResolution || (exports.SaveOrgResolution = {}));
14
- var CrmSearchScope;
15
- (function (CrmSearchScope) {
16
- CrmSearchScope["Tenant"] = "tenant";
17
- CrmSearchScope["Conglomerate"] = "conglomerate";
18
- })(CrmSearchScope = exports.CrmSearchScope || (exports.CrmSearchScope = {}));
19
- //# sourceMappingURL=crm.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"crm.js","sourceRoot":"/","sources":["types/crm.ts"],"names":[],"mappings":";;;AAmIA,IAAY,qBAGX;AAHD,WAAY,qBAAqB;IAC/B,+DAAsC,CAAA;IACtC,6DAAoC,CAAA;AACtC,CAAC,EAHW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAGhC;AAED,IAAY,iBAGX;AAHD,WAAY,iBAAiB;IAC3B,2DAAsC,CAAA;IACtC,yDAAoC,CAAA;AACtC,CAAC,EAHW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAG5B;AAED,IAAY,cAGX;AAHD,WAAY,cAAc;IACxB,mCAAiB,CAAA;IACjB,+CAA6B,CAAA;AAC/B,CAAC,EAHW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAGzB","sourcesContent":["import {\n Document,\n LocationValue,\n PhoneNumberRawValue,\n PhoneNumberValue,\n SearchPermissions,\n} from '@bisondesk/commons-sdk/types';\nimport { PublicSearchDefinition } from './definitions';\nimport { LeasingContract } from './leasing';\nimport { ReferenceData } from './utils';\n\nexport type CrmEvent = CrmOrganizationEvent | CrmContactEvent;\n\nexport type CrmContactEvent = {\n contactId: string;\n organizationId?: string;\n action: 'upsert' | 'delete';\n actionAt: string;\n userId: string;\n tenantId: string;\n};\n\nexport type CrmOrganizationEvent = {\n organizationId: string;\n action: 'upsert' | 'delete';\n actionAt: string;\n userId: string;\n tenantId: string;\n};\n\ntype BaseOrganization = {\n inUse: boolean;\n countryCode: string;\n syncedAt: string;\n name: string;\n segment?: string;\n type?: 'COMPANY' | 'INDIVIDUAL';\n vatNumber?: string;\n addresses?: {\n legal?: LocationValue;\n transport?: LocationValue;\n };\n accountManagers: string[];\n billingEmails?: string[];\n skipPaymentReminders?: boolean;\n trustworthy?: boolean;\n conglomerate?: boolean;\n riskTags?: string[];\n};\n\nexport type NewOrganization = BaseOrganization & {\n id?: undefined;\n externalId?: undefined;\n createdAt?: undefined;\n createdBy?: undefined;\n};\n\nexport type Organization = BaseOrganization & {\n createdAt: string;\n externalId: number;\n createdBy: string;\n id: string;\n debt?: OrganizationDebtInfo;\n blocked?: boolean;\n blockedAt?: string;\n blockedBy?: string;\n blockedReason?: string;\n documents?: Document[];\n};\n\nexport type OrganizationDebtInfo = {\n overdueSince?: string;\n overdueInvoices: number;\n overdueAmount: string;\n unpaidInvoices: number;\n unpaidAmount: string;\n};\n\nexport type SearchOrganization = {\n org: Organization;\n contract: LeasingContract[]; // important for the logic regarding leasing overdue reminders\n};\n\nexport type PotentialDuplicatesReferenceData = ReferenceData & { blockIgnore?: boolean };\n\nexport type InputSearchOrganization = SearchOrganization & {\n permissions: SearchPermissions;\n};\n\nexport type SearchContact = {\n contact: Contact;\n org?: Organization;\n};\n\nexport type InputSearchContact = SearchContact & {\n permissions: SearchPermissions;\n};\n\nexport type CrmPublicSearchDefinitions = {\n searchOrg: PublicSearchDefinition;\n searchContact: PublicSearchDefinition;\n};\n\ntype BaseContact = {\n accountManager?: string;\n countryCode?: string;\n language?: string;\n emails: string[];\n job?: string;\n /** either firstName or lastName should be filled in */\n firstName?: string;\n lastName?: string;\n organizationId?: string;\n /** will not be filled if organizationId is present */\n orgName?: string;\n};\n\nexport type NewContact = BaseContact & {\n id?: undefined;\n createdAt?: undefined;\n createdBy?: undefined;\n phones: Array<PhoneNumberValue | PhoneNumberRawValue>;\n};\n\nexport type Contact = BaseContact & {\n id: string;\n createdAt: string;\n createdBy: string;\n phones: PhoneNumberValue[];\n};\n\nexport enum SaveContactResolution {\n IgnoreDuplicates = 'IGNORE_DUPLICATES',\n BlockDuplicates = 'BLOCK_DUPLICATES',\n}\n\nexport enum SaveOrgResolution {\n IgnoreDuplicates = 'IGNORE_DUPLICATES',\n BlockDuplicates = 'BLOCK_DUPLICATES',\n}\n\nexport enum CrmSearchScope {\n Tenant = 'tenant',\n Conglomerate = 'conglomerate',\n}\n"]}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=definitions.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"definitions.js","sourceRoot":"/","sources":["types/definitions.ts"],"names":[],"mappings":"","sourcesContent":["import { SUPPORTED_LANGUAGES } from '@bisondesk/commons-sdk/constants';\nimport { FieldTypeInfo } from './fields';\nimport { Aggregation } from './search';\n\n//\n// These definitions are sent to the UI\n//\nexport type PublicSearchDefinition = {\n fields: { [fieldId: string]: SearchField };\n aggs: Aggregation[];\n};\n\n//\n// These definitions are for internal consumption\n//\nexport type SearchDefinition = {\n fields: { [fieldId: string]: SearchField };\n};\n\nexport type SearchField = {\n id: string;\n titles: { [lang: string]: string } & (\n | { [local in (typeof SUPPORTED_LANGUAGES)[number]]: string }\n | { key: string }\n );\n} & FieldTypeInfo;\n\nexport type EsDefinitionField = {\n esMapping: unknown;\n sortKey?: string;\n};\n\nexport type EsDefinition = {\n name: string;\n nestedEsPaths: string[];\n fields: {\n [fieldId: string]: EsDefinitionField;\n };\n};\n\nexport type EsFullTextSearchDefinition = ((lang: string) => string)[];\n\nexport type EsAggregationsDefinition = Aggregation[];\n"]}
@@ -1,9 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TransitPlateCountries = void 0;
4
- var TransitPlateCountries;
5
- (function (TransitPlateCountries) {
6
- TransitPlateCountries["BE"] = "be";
7
- TransitPlateCountries["AT"] = "at";
8
- })(TransitPlateCountries = exports.TransitPlateCountries || (exports.TransitPlateCountries = {}));
9
- //# sourceMappingURL=delivery-settings.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"delivery-settings.js","sourceRoot":"/","sources":["types/delivery-settings.ts"],"names":[],"mappings":";;;AAGA,IAAkB,qBAGjB;AAHD,WAAkB,qBAAqB;IACrC,kCAAS,CAAA;IACT,kCAAS,CAAA;AACX,CAAC,EAHiB,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAGtC","sourcesContent":["import { LocationValue } from '@bisondesk/commons-sdk/types';\nimport { Categories } from '../constants';\n\nexport const enum TransitPlateCountries {\n BE = 'be',\n AT = 'at',\n}\n\ntype BaseDeliveryPort = {\n name: string;\n address: LocationValue;\n};\n\nexport type NewDeliveryPort = BaseDeliveryPort & {\n id: undefined;\n};\n\nexport type DeliveryPort = BaseDeliveryPort & {\n id: string;\n};\n\ntype BaseTransportationToPort = {\n portId: string;\n branchId: string;\n retailPrice: string;\n costPrice: string;\n};\n\nexport type NewTransportationToPort = BaseTransportationToPort & {\n id?: undefined;\n};\n\nexport type TransportationToPort = BaseTransportationToPort & {\n id: string;\n};\n\nexport type CurrencyInput = {\n currency: string;\n conversionRate: string;\n};\n\nexport type DeliveryParams = {\n id: string;\n modifiedAt: string;\n port: {\n supplementDestinationPortCosts: string;\n cleaningCosts: string;\n looseTrailerCosts: string;\n portToPortMargin: string;\n };\n address: {\n priceKmCost: string;\n priceKmRetail: string;\n };\n services: {\n spoilerMountCost: string;\n spoilerMountRetailPrice: string;\n spoilerUnmountCost: string;\n spoilerUnmountRetailPrice: string;\n stackingVehicleCost: string;\n stackingVehicleRetailPrice: string;\n technicalControl: {\n [vehicleCategory in Categories]?: { cost: string; retailPrice: string };\n };\n transitPlate: {\n [country in TransitPlateCountries]?: { cost: string; retailPrice: string };\n };\n };\n};\n\nexport type QuotePortDelivery = {\n transportationToPort: TransportationToPort;\n originPort: DeliveryPort;\n destinationPort?: DeliveryPort;\n};\n"]}
@@ -1,9 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FinanceDocumentActions = void 0;
4
- var FinanceDocumentActions;
5
- (function (FinanceDocumentActions) {
6
- FinanceDocumentActions["PAY_FINANCE_DOCUMENT"] = "pay_finance_document";
7
- FinanceDocumentActions["DELETE_FINANCE_DOCUMENT"] = "delete_finance_document";
8
- })(FinanceDocumentActions = exports.FinanceDocumentActions || (exports.FinanceDocumentActions = {}));
9
- //# sourceMappingURL=documents.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"documents.js","sourceRoot":"/","sources":["types/documents.ts"],"names":[],"mappings":";;;AAIA,IAAY,sBAGX;AAHD,WAAY,sBAAsB;IAChC,uEAA6C,CAAA;IAC7C,6EAAmD,CAAA;AACrD,CAAC,EAHW,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAGjC","sourcesContent":["import { AttachmentValue, SearchPermissions } from '@bisondesk/commons-sdk/types';\nimport { Organization } from './crm';\nimport { PublicSearchDefinition } from './definitions';\n\nexport enum FinanceDocumentActions {\n PAY_FINANCE_DOCUMENT = 'pay_finance_document',\n DELETE_FINANCE_DOCUMENT = 'delete_finance_document',\n}\n\nexport type FinanceLine = {\n associations: {\n others: { vehicleId: string; label: string }[];\n sales: { id: string; vehicleId: string; label: string }[];\n purchases: { id: string; vehicleId: string; label: string }[];\n };\n description: string;\n id: string;\n lineCode: string;\n quantity: string;\n unitPriceExclusive: string;\n vatCode: string;\n vatCoefficient: string;\n};\n\nexport type NewExistingLeasingFinanceDocument = {\n id?: undefined;\n type: 'Sale Finance';\n subtype: 'Invoice' | 'Credit Note';\n issueDate: string;\n contractId: string;\n amount: string;\n paidAt?: string;\n dueDate?: string;\n attachment: AttachmentValue;\n invoiceNumber: string;\n vatPercentage: string;\n period: string;\n description: string;\n};\n\nexport type FinanceDocument = {\n id: string;\n branchId: string;\n\n type: 'Sale Finance' | 'Purchase Finance';\n subtype: 'Invoice' | 'Credit Note' | 'Proforma' | 'Purchase Order';\n reference: string;\n\n attachment: AttachmentValue;\n lines: FinanceLine[];\n notes?: string;\n\n createdAt: string;\n createdBy: string;\n issueDate: string;\n paidAt?: string;\n paymentNotes?: string;\n amount?: string;\n dueDate?: string;\n\n organizationSummary?: {\n id: string;\n code: string;\n name: string;\n country: string;\n vatNumber?: string;\n\n addressLine1?: string;\n addressLine2?: string;\n addressLine3?: string;\n postcode?: string;\n city?: string;\n\n email?: string;\n phone?: string;\n fax?: string;\n };\n};\n\nexport type FinanceDocumentEvent = {\n id: string;\n actionAt: string;\n action: 'upsert' | 'delete';\n userId: string;\n tenantId: string;\n type: 'Sale Finance' | 'Purchase Finance';\n subtype: string; // Invoice, Credit Note, etc.\n};\n\nexport type FinanceBookingEvent = {\n id: string;\n branchId: string;\n actionAt: string;\n userId: string;\n tenantId: string;\n type: 'Sale Finance' | 'Purchase Finance';\n};\n\nexport type FinanceBooking = {\n branchId: string; // same tenantId can have different companies\n bookingNumber: string; // same booking number can and will exist across different \"branches\", unique => BranchId / Journal / Booking Number\n documentId: string;\n\n booked: true;\n journal?: string;\n amount?: string;\n reportingPeriod?: number;\n reportingYear?: number;\n paid: boolean;\n\n createdAt: string;\n createdBy: string;\n modifiedAt: string;\n modifiedBy: string;\n};\n\nexport type SearchDocumentVehicleRef = {\n id: string;\n stockNumber: string;\n administrativeNumber?: string;\n};\n\nexport type SearchFinanceDocument = {\n org?: Organization;\n doc: FinanceDocument;\n booking?: FinanceBooking;\n vehicle?: SearchDocumentVehicleRef[];\n};\n\nexport type InputSearchFinanceDocument = SearchFinanceDocument & {\n permissions: SearchPermissions;\n};\n\nexport type DocsSearchDefinitions = {\n searchFinanceDoc: PublicSearchDefinition;\n};\n\nexport type FinanceDocumentPayment = { documentId: string } & (\n | { paid: true; paidAt: string; comment?: string }\n | { paid: false; paidAt?: undefined; comment?: undefined }\n);\n"]}
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RecordAction = void 0;
4
- var RecordAction;
5
- (function (RecordAction) {
6
- RecordAction["Create"] = "content.records.create";
7
- RecordAction["Update"] = "content.records.update";
8
- RecordAction["Delete"] = "content.records.delete";
9
- })(RecordAction = exports.RecordAction || (exports.RecordAction = {}));
10
- //# sourceMappingURL=events.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"events.js","sourceRoot":"/","sources":["types/events.ts"],"names":[],"mappings":";;;AAAA,IAAY,YAKX;AALD,WAAY,YAAY;IAEtB,iDAAiC,CAAA;IACjC,iDAAiC,CAAA;IACjC,iDAAiC,CAAA;AACnC,CAAC,EALW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAKvB","sourcesContent":["export enum RecordAction {\n // if you rename this, you also need to adjust the SNS subscription filters\n Create = 'content.records.create',\n Update = 'content.records.update',\n Delete = 'content.records.delete',\n}\n\nexport type ActionMessage = {\n id: string;\n action: RecordAction;\n actionAt: string;\n userId: string;\n tenantId: string;\n businessEntityId: string;\n recordId: string;\n fieldIds?: string[];\n};\n"]}
@@ -1,29 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DateGranularity = exports.FieldTypes = void 0;
4
- var FieldTypes;
5
- (function (FieldTypes) {
6
- FieldTypes["attachment"] = "attachment";
7
- FieldTypes["checkbox"] = "checkbox";
8
- FieldTypes["collaborator"] = "collaborator";
9
- FieldTypes["date"] = "date";
10
- FieldTypes["email"] = "email";
11
- FieldTypes["image"] = "image";
12
- FieldTypes["link"] = "link";
13
- FieldTypes["location"] = "location";
14
- FieldTypes["multilang"] = "multilang";
15
- FieldTypes["multiline"] = "multiline";
16
- FieldTypes["number"] = "number";
17
- FieldTypes["phoneNumber"] = "phoneNumber";
18
- FieldTypes["picklist"] = "picklist";
19
- FieldTypes["rating"] = "rating";
20
- FieldTypes["text"] = "text";
21
- })(FieldTypes = exports.FieldTypes || (exports.FieldTypes = {}));
22
- var DateGranularity;
23
- (function (DateGranularity) {
24
- DateGranularity["year"] = "year";
25
- DateGranularity["yearMonth"] = "yearMonth";
26
- DateGranularity["yearMonthDay"] = "yearMonthDay";
27
- DateGranularity["yearMonthDayTime"] = "yearMonthDayTime";
28
- })(DateGranularity = exports.DateGranularity || (exports.DateGranularity = {}));
29
- //# sourceMappingURL=fields.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"fields.js","sourceRoot":"/","sources":["types/fields.ts"],"names":[],"mappings":";;;AAAA,IAAY,UAgBX;AAhBD,WAAY,UAAU;IACpB,uCAAyB,CAAA;IACzB,mCAAqB,CAAA;IACrB,2CAA6B,CAAA;IAC7B,2BAAa,CAAA;IACb,6BAAe,CAAA;IACf,6BAAe,CAAA;IACf,2BAAa,CAAA;IACb,mCAAqB,CAAA;IACrB,qCAAuB,CAAA;IACvB,qCAAuB,CAAA;IACvB,+BAAiB,CAAA;IACjB,yCAA2B,CAAA;IAC3B,mCAAqB,CAAA;IACrB,+BAAiB,CAAA;IACjB,2BAAa,CAAA;AACf,CAAC,EAhBW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAgBrB;AAKD,IAAY,eAKX;AALD,WAAY,eAAe;IACzB,gCAAa,CAAA;IACb,0CAAuB,CAAA;IACvB,gDAA6B,CAAA;IAC7B,wDAAqC,CAAA;AACvC,CAAC,EALW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAK1B","sourcesContent":["export enum FieldTypes {\n attachment = 'attachment',\n checkbox = 'checkbox',\n collaborator = 'collaborator',\n date = 'date',\n email = 'email',\n image = 'image',\n link = 'link',\n location = 'location',\n multilang = 'multilang',\n multiline = 'multiline',\n number = 'number',\n phoneNumber = 'phoneNumber',\n picklist = 'picklist',\n rating = 'rating',\n text = 'text',\n}\n\n//\n// Field values\n//\nexport enum DateGranularity {\n year = 'year',\n yearMonth = 'yearMonth',\n yearMonthDay = 'yearMonthDay',\n yearMonthDayTime = 'yearMonthDayTime',\n}\n\n//\n// Field metas\n//\ntype BaseMeta = {};\n\ntype NumberUnit =\n | 'acre'\n | 'bit'\n | 'byte'\n | 'celsius'\n | 'centimeter'\n | 'day'\n | 'degree'\n | 'fahrenheit'\n | 'fluid-ounce'\n | 'foot'\n | 'gallon'\n | 'gigabit'\n | 'gigabyte'\n | 'gram'\n | 'hectare'\n | 'hour'\n | 'inch'\n | 'kilobit'\n | 'kilobyte'\n | 'kilogram'\n | 'kilometer'\n | 'liter'\n | 'megabit'\n | 'megabyte'\n | 'meter'\n | 'mile'\n | 'mile-scandinavian'\n | 'milliliter'\n | 'millimeter'\n | 'millisecond'\n | 'minute'\n | 'month'\n | 'ounce'\n | 'percent'\n | 'petabyte'\n | 'pound'\n | 'second'\n | 'stone'\n | 'terabit'\n | 'terabyte'\n | 'week'\n | 'yard'\n | 'year';\n\ntype BaseNumberMeta = {\n minimumFractionDigits?: number;\n maximumFractionDigits?: number;\n useGrouping?: boolean;\n} & (\n | {\n style: 'unit';\n unit: NumberUnit;\n }\n | {\n style?: 'currency' | 'decimal' | 'percent';\n unit?: NumberUnit;\n }\n);\n\nexport type NumberMeta = BaseMeta & BaseNumberMeta;\n\nexport type DateMeta = BaseMeta & {\n granularity: DateGranularity;\n};\n\nexport type RatingMeta = BaseMeta & {\n max: number;\n};\n\nexport type PicklistMeta = BaseMeta & {\n picklistId: string;\n};\n\nexport type FieldTypeInfo =\n | { type: FieldTypes.attachment }\n | { type: FieldTypes.checkbox }\n | { type: FieldTypes.date; meta: DateMeta }\n | { type: FieldTypes.email }\n | { type: FieldTypes.image }\n | { type: FieldTypes.link }\n | { type: FieldTypes.location }\n | { type: FieldTypes.multilang }\n | { type: FieldTypes.multiline }\n | { type: FieldTypes.number; meta: NumberMeta }\n | { type: FieldTypes.phoneNumber }\n | { type: FieldTypes.picklist; meta: PicklistMeta }\n | { type: FieldTypes.rating; meta: RatingMeta }\n | { type: FieldTypes.text }\n | { type: FieldTypes.collaborator };\n"]}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=insights.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"insights.js","sourceRoot":"/","sources":["types/insights.ts"],"names":[],"mappings":"","sourcesContent":["import { ComparableSpecs } from './comparables';\nimport { ReferenceData } from './utils';\n\nexport type SimilarVehiclesRequest = {\n offset: number;\n limit: number;\n};\n\nexport type InsightsSimilarRequest = {\n comparable: InsightsComparableSpecs;\n limit: number;\n nextToken?: string;\n};\n\nexport type InsightsResponse = {\n insights: Insights;\n comparable: InsightsComparableSpecs;\n};\n\nexport type InsightsVehicleComparableResponse = {\n comparable: InsightsComparableSpecs;\n meta: ReferenceData;\n};\n\n// here we are considering only specs that we can use to filter Market vehicles\nexport interface InsightsComparableSpecs extends ComparableSpecs {\n vehicleId: string;\n}\n\nexport type InsightsOptions = {\n months?: number;\n};\n\nexport type InsightsOnlineTrends = {\n date: string;\n count: number;\n avgDays: number | null;\n avgPrice: number | null;\n};\n\nexport type Percentiles = {\n [key: string]: number | null;\n};\n\nexport type InsightsPriceHistogram = {\n from: number | undefined;\n to: number | undefined;\n count: number;\n}[];\n\nexport type Insights = {\n trends: InsightsOnlineTrends[];\n online: {\n count: number;\n histogramPrices: InsightsPriceHistogram;\n avgPrice: number | null;\n percentilesDays: Percentiles;\n avgDays: number | null;\n percentilesPrices: Percentiles;\n minPrice: number;\n };\n sold: {\n count: number;\n avgPrice: number | null;\n percentilesPrices: Percentiles;\n percentilesDays: Percentiles;\n avgDays: number | null;\n histogramPrices: InsightsPriceHistogram;\n minPrice: number;\n };\n};\n"]}
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.isOpportunityInterest = exports.InterestActions = void 0;
4
- var InterestActions;
5
- (function (InterestActions) {
6
- InterestActions["SET_INTEREST"] = "set_interest";
7
- })(InterestActions = exports.InterestActions || (exports.InterestActions = {}));
8
- const isOpportunityInterest = (interest) => 'opportunityId' in interest;
9
- exports.isOpportunityInterest = isOpportunityInterest;
10
- //# sourceMappingURL=interests.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"interests.js","sourceRoot":"/","sources":["types/interests.ts"],"names":[],"mappings":";;;AAGA,IAAY,eAEX;AAFD,WAAY,eAAe;IACzB,gDAA6B,CAAA;AAC/B,CAAC,EAFW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAE1B;AAwBM,MAAM,qBAAqB,GAAG,CAAC,QAAkB,EAAmC,EAAE,CAC3F,eAAe,IAAI,QAAQ,CAAC;AADjB,QAAA,qBAAqB,yBACJ","sourcesContent":["import { ComparableSpecs } from './comparables';\nimport { ReferenceData } from './utils';\n\nexport enum InterestActions {\n SET_INTEREST = 'set_interest',\n}\n\nexport type InterestBffMeta = ReferenceData;\n\n// here we are considering specs that we can use to filter Stock vehicles\n// Interest is a simplified spec representation specific to a client/opportunity interest\nexport interface Interest\n extends Omit<ComparableSpecs, 'horsepower' | 'kilometers' | 'price' | 'year'> {\n age?: number; // year the interest was generated minus spec max year\n price?: number; // in a spec this would be the max price\n horsepower?: number; // in a spec this would be the min horsepower\n kilometers?: number; // in a spec this would be the max kilometers\n}\n\nexport interface OpportunityInterest extends Interest {\n opportunityId: string;\n contactId: string;\n organizationId?: string;\n}\n\nexport interface HdmsInterest extends Interest {\n hdmsSaleId: string;\n}\n\nexport const isOpportunityInterest = (interest: Interest): interest is OpportunityInterest =>\n 'opportunityId' in interest;\n\nexport type LeadUpdate =\n | {\n dismissed: true;\n }\n | {\n contacted: true;\n };\n\nexport type InterestLead = {\n createdAt?: string;\n\n contactId: string;\n vehicleId: string;\n interestId: string;\n opportunityId?: string;\n organizationId?: string;\n\n score: number;\n scoreDetails: { name: string; value: number }[];\n\n accountManagers: string[];\n\n vehicleData: {\n title: string;\n mainPictureUrl?: string;\n stockNumber?: string;\n\n advertisingYear?: number;\n km?: number;\n emissionsClass?: string;\n configuration?: string;\n suspension?: string;\n };\n\n customerData: {\n name: string;\n countryCode: string;\n\n lastInteractionAt?: string;\n numPastSales?: number; // TODO\n };\n\n dismissedAt?: string;\n contactedAt?: string;\n updatedBy?: string;\n};\n\nexport type InterestSearchRequest = { interest: Interest; limit: number; nextToken?: string };\n\nexport type VehicleInterestAutocompleteRequest = { vehicleId: string };\n\nexport type VehicleInterestResponse = {\n interest: Interest;\n meta: ReferenceData;\n};\n"]}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=internet-vehicles.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"internet-vehicles.js","sourceRoot":"/","sources":["types/internet-vehicles.ts"],"names":[],"mappings":"","sourcesContent":["import { LocationValue, PhoneNumberValue } from '@bisondesk/commons-sdk/types';\nimport { PublicSearchDefinition } from './definitions';\nimport { AggregationRequest } from './search';\nimport { Vehicle } from './vehicles';\n\nexport type InternetVehicleInternalInfo = {\n createdAt: string;\n updatedAt: string;\n description: {\n title: string;\n remarks?: string;\n };\n};\n\nexport type InternetVehiclePublicSearchDefinitions = {\n searchInternetVehicle: PublicSearchDefinition;\n};\n\nexport type InternetVehicleSellerType = 'Dealer' | 'Private';\n\nexport type PriceChange = {\n price: string | undefined;\n priceAt: string;\n};\n\nexport type InternetVehiclePortal = {\n name: string;\n originalUrl: string;\n pingedAt: string;\n available: boolean;\n};\n\nexport type InternetVehicleSeller = {\n id: string;\n name?: string;\n address: LocationValue;\n type?: InternetVehicleSellerType;\n gps?: {\n lat: number;\n lon: number;\n };\n phones: PhoneNumberValue[];\n};\n\nexport type InternetVehicle = Vehicle<InternetVehicleInternalInfo>;\n\nexport type SearchInternetVehicle = {\n vehicle: InternetVehicle;\n seller: InternetVehicleSeller;\n alternativeIds: string[];\n priceEvolution: PriceChange[];\n portal: InternetVehiclePortal;\n custom: {\n features: string[];\n };\n};\n\nexport type AnalysisResponse = {\n [sellerId: string]: { x: string; y: number }[];\n all: { x: string; y: number }[];\n};\n\nexport type AnalysisRequest = AggregationRequest & {\n sellerIds: string[];\n range: '1M' | '3M' | '6M' | '1y';\n granularity: '1w' | '1M';\n};\n"]}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=leasing-administration.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"leasing-administration.js","sourceRoot":"/","sources":["types/leasing-administration.ts"],"names":[],"mappings":"","sourcesContent":["import { AttachmentValue } from '@bisondesk/commons-sdk/types';\nimport { LeasingAdminUploadHandlers } from '../constants';\n\nexport type LeasingAdminUploadStatus = 'success' | 'processing' | 'error';\n\nexport type LeasingAdminUploadMetadata = { [key in string]?: unknown };\nexport type LeasingAdminUploadAttachments = { [key in string]?: AttachmentValue };\n\nexport type LeasingAdminUploadEvent<\n M extends LeasingAdminUploadMetadata = {},\n A extends LeasingAdminUploadAttachments = {}\n> = LeasingAdminUpload<M, A> & { tenantId: string };\n\nexport type LeasingAdminUpload<\n M extends LeasingAdminUploadMetadata = {},\n A extends LeasingAdminUploadAttachments = {}\n> = {\n id: string;\n updatedAt: string;\n createdAt: string;\n createdBy: string;\n\n status: LeasingAdminUploadStatus;\n attachments: A;\n metadata: M;\n handlerId: LeasingAdminUploadHandlers;\n};\n\nexport type NewLeasingAdminUploadRequest<\n M extends LeasingAdminUploadMetadata = {},\n A extends LeasingAdminUploadAttachments = {}\n> = {\n attachments: A;\n metadata: M;\n handlerId: LeasingAdminUploadHandlers;\n};\n\nexport type DhondtAttachments = {\n json: AttachmentValue;\n};\n\nexport type BelfiusAttachments = {\n xlsx: AttachmentValue;\n json?: AttachmentValue; // json version of the xlsx file\n};\n\nexport type BelfiusMetadata = {\n totalLines: number;\n totalIncludingVat: string;\n};\n\nexport type DhondtMetadata = {\n invoiceNumber: string;\n invoiceDate: string;\n};\n\nexport type DhondtInvoiceLine = {\n BrutoPremie: number;\n Chassisnummer: string;\n Datum: string;\n NettoPremie: number;\n Plaatnummer: string;\n Taksen: number;\n VoertuigVlootNummer: string | undefined;\n};\n\nexport type INGMetadata = {\n capital: string;\n emailId?: string;\n interest: string;\n invoiceDate: string;\n invoiceNumber: string;\n pdfUrl: string;\n stockNumber: string;\n yearlyFee?: string;\n};\n\nexport type INGAttachments = {\n email?: AttachmentValue; // like the emailId, can be missing if the invoices are uploaded manually\n};\n\nexport type DiffableDhondtInvoiceLine = DhondtInvoiceLine;\n\nexport type BelfiusRawInvoiceLine = {\n 'Additional info': string;\n Amortization: number;\n 'Amount including tax': number;\n Avenant: number;\n Contract: number;\n Currency: string;\n Customer: string;\n Description: string;\n 'Due date': Date;\n 'Interest Amount': number;\n 'Invoice Date': Date;\n 'Invoice Number': number;\n 'Rent amount': number;\n 'VAT amount': number;\n 'VAT number': string;\n 'VAT rate': number;\n};\n\nexport type BelfiusInvoiceLine = {\n capital: string;\n contractNr: string;\n interest: string;\n invoiceNr: string;\n invoiceDate: string;\n rentExcl: string;\n rentIncl: string;\n vatAmount: string;\n vehicleId: string;\n stockNumber: string;\n};\n\nexport type DiffableBelfiusInvoiceLine = Omit<\n BelfiusInvoiceLine,\n 'invoiceNr' | 'invoiceDate' | 'capital' | 'interest'\n>;\n\nexport type LineDiff<T> = {\n [Property in keyof T]: {\n value: T[Property];\n before: T[Property];\n };\n};\n\nexport type Diff<T> = {\n added: T[];\n removed: T[];\n changed: LineDiff<T>[];\n};\n"]}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=leasing-debtors.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"leasing-debtors.js","sourceRoot":"/","sources":["types/leasing-debtors.ts"],"names":[],"mappings":"","sourcesContent":["import { Contact, Organization } from './crm';\n\nexport type MonthData = {\n activeContractIds: string[];\n date: string; // YYYY-MM\n overdueAmount: string;\n unpaidAmount: string;\n overdueContractIds: string[];\n overdueInvoiceIds: string[];\n riskLevel: number;\n monthlyInvoicedAmount: string;\n};\n\nexport type DebtorInfo = {\n clientId: string;\n months: MonthData[];\n\n // properties related to the current month\n activeContracts: number;\n overdueAmount: string;\n unpaidAmount: string;\n overdueContracts: number;\n riskLevel: number;\n monthlyInvoicedAmount: string;\n};\n\nexport type SearchDebtorInfo = {\n org: Organization;\n contact?: Contact;\n debtor: DebtorInfo;\n custom: {\n riskLevelLabel: string;\n hasActiveContracts: boolean;\n };\n};\n"]}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=leasing-search.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"leasing-search.js","sourceRoot":"/","sources":["types/leasing-search.ts"],"names":[],"mappings":"","sourcesContent":["import { InsuranceEntry } from '@bisondesk/commons-sdk/insurance';\nimport { SearchPermissions } from '@bisondesk/commons-sdk/types';\nimport { Contact, Organization } from './crm';\nimport { PublicSearchDefinition } from './definitions';\nimport { LeasingContract } from './leasing';\nimport { Vehicle } from './vehicles';\n\nexport type LeasingPublicSearchDefinitions = {\n searchLeasingContract: PublicSearchDefinition;\n};\n\nexport type LeasingDebtorsSearchDefinitions = {\n debtors: PublicSearchDefinition;\n};\n\nexport type SearchLeasingContract = {\n contract: LeasingContract;\n org: Organization;\n contact?: Contact;\n debt: LeasingContractDebtInfo;\n vehicle: Vehicle;\n custom: {\n active: boolean;\n insurance?: InsuranceEntry;\n };\n};\n\nexport type LeasingContractDebtInfo = {\n overdueSince?: string;\n overdueInvoices: number;\n overdueAmount: string;\n unpaidInvoices: number;\n unpaidAmount: string;\n};\n\nexport type InputSearchLeasingContract = SearchLeasingContract & {\n permissions: SearchPermissions;\n};\n"]}
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.LeasingItemsPaymentSplit = void 0;
4
- var LeasingItemsPaymentSplit;
5
- (function (LeasingItemsPaymentSplit) {
6
- LeasingItemsPaymentSplit["Customer"] = "customer";
7
- LeasingItemsPaymentSplit["Split"] = "split";
8
- LeasingItemsPaymentSplit["Company"] = "company";
9
- })(LeasingItemsPaymentSplit = exports.LeasingItemsPaymentSplit || (exports.LeasingItemsPaymentSplit = {}));
10
- //# sourceMappingURL=leasing-settings.js.map
@@ -1,33 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.LEASING_EXPORT_TYPES = exports.LeasingRemindersSortableColumns = exports.LeasingContractStatus = exports.LeasingContractSource = exports.LeasingContractActions = void 0;
4
- var LeasingContractActions;
5
- (function (LeasingContractActions) {
6
- LeasingContractActions["CREATE_FINANCE_DOCUMENT"] = "create_finance_document";
7
- })(LeasingContractActions = exports.LeasingContractActions || (exports.LeasingContractActions = {}));
8
- var LeasingContractSource;
9
- (function (LeasingContractSource) {
10
- LeasingContractSource["HYPERPORTAL"] = "hyperportal";
11
- LeasingContractSource["BISONDESK"] = "bisondesk";
12
- })(LeasingContractSource = exports.LeasingContractSource || (exports.LeasingContractSource = {}));
13
- var LeasingContractStatus;
14
- (function (LeasingContractStatus) {
15
- LeasingContractStatus["DRAFT"] = "draft";
16
- LeasingContractStatus["DISCARDED"] = "discarded";
17
- LeasingContractStatus["PAUSED"] = "paused";
18
- LeasingContractStatus["ACTIVE"] = "active";
19
- LeasingContractStatus["ENDED"] = "ended";
20
- })(LeasingContractStatus = exports.LeasingContractStatus || (exports.LeasingContractStatus = {}));
21
- var LeasingRemindersSortableColumns;
22
- (function (LeasingRemindersSortableColumns) {
23
- LeasingRemindersSortableColumns["NextActionAt"] = "next_action_at";
24
- LeasingRemindersSortableColumns["OrganizationName"] = "organization_name";
25
- LeasingRemindersSortableColumns["RemindersCount"] = "reminders_count";
26
- LeasingRemindersSortableColumns["Status"] = "status";
27
- })(LeasingRemindersSortableColumns = exports.LeasingRemindersSortableColumns || (exports.LeasingRemindersSortableColumns = {}));
28
- var LEASING_EXPORT_TYPES;
29
- (function (LEASING_EXPORT_TYPES) {
30
- LEASING_EXPORT_TYPES["RENTAL_SOLUTIONS"] = "rental-solutions";
31
- LEASING_EXPORT_TYPES["DEFAULT"] = "default";
32
- })(LEASING_EXPORT_TYPES = exports.LEASING_EXPORT_TYPES || (exports.LEASING_EXPORT_TYPES = {}));
33
- //# sourceMappingURL=leasing.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"leasing.js","sourceRoot":"/","sources":["types/leasing.ts"],"names":[],"mappings":";;;AAKA,IAAY,sBAEX;AAFD,WAAY,sBAAsB;IAChC,6EAAmD,CAAA;AACrD,CAAC,EAFW,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAEjC;AAsDD,IAAY,qBAGX;AAHD,WAAY,qBAAqB;IAC/B,oDAA2B,CAAA;IAC3B,gDAAuB,CAAA;AACzB,CAAC,EAHW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAGhC;AAED,IAAY,qBAMX;AAND,WAAY,qBAAqB;IAC/B,wCAAe,CAAA;IACf,gDAAuB,CAAA;IACvB,0CAAiB,CAAA;IACjB,0CAAiB,CAAA;IACjB,wCAAe,CAAA;AACjB,CAAC,EANW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAMhC;AAkPD,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,GAA/B,uCAA+B,KAA/B,uCAA+B,QAK1C;AAuED,IAAY,oBAGX;AAHD,WAAY,oBAAoB;IAC9B,6DAAqC,CAAA;IACrC,2CAAmB,CAAA;AACrB,CAAC,EAHW,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAG/B","sourcesContent":["import { EmailMessage } from '@bisondesk/commons-sdk/messages';\nimport { AttachmentValue, Document, LinkValue, PaginatedList } from '@bisondesk/commons-sdk/types';\nimport { SortFilter } from './search';\nimport { ReferenceData } from './utils';\n\nexport enum LeasingContractActions {\n CREATE_FINANCE_DOCUMENT = 'create_finance_document',\n}\n\nexport type LeasingContractEvent = {\n id: string;\n action: 'create' | 'update' | 'delete';\n actionAt: string;\n userId: string;\n tenantId: string;\n contract: LeasingContract;\n};\n\nexport type LeasingContractImportEvent = {\n tenantId: string;\n};\n\nexport type LeasingConditionEvent = {\n id: string;\n action: 'create';\n actionAt: string;\n userId: string;\n tenantId: string;\n};\n\nexport type OverdueDossier = {\n id: string;\n organizationId: string;\n organizationName: string;\n status: 'ONGOING' | 'ERROR' | 'SUCCESS' | 'EXPIRED';\n emails: EmailMessage[];\n createdAt: string;\n modifiedAt: string;\n completedAt?: string;\n nextActionAt: string;\n riskLevel: number;\n};\n\nexport type LeasingContractClient = {\n organizationId: string;\n contactIds: string[];\n email?: string;\n since: string;\n takeoverId?: string;\n country: string;\n beEntityType?: 'Legal Person' | 'Natural Person';\n beForeignEntity?: boolean;\n\n /**\n * Used to overwrite the startDate in the context of a Becris declaration. This might be necessary\n * when due to some data-quality issue we do not report the contract at the right period and it is no\n * longer possible to resend the declaration for the corresponding month.\n */\n becrisStartDate?: string;\n};\n\nexport enum LeasingContractSource {\n HYPERPORTAL = 'hyperportal',\n BISONDESK = 'bisondesk',\n}\n\nexport enum LeasingContractStatus {\n DRAFT = 'draft',\n DISCARDED = 'discarded',\n PAUSED = 'paused',\n ACTIVE = 'active',\n ENDED = 'ended',\n}\n\nexport type LeasingContractHyperportal = {\n source: LeasingContractSource.HYPERPORTAL;\n /** oldest first **/\n conditions: ConditionsRef[];\n opportunities?: undefined;\n};\n\nexport type LeasingContractBisondesk = {\n source: LeasingContractSource.BISONDESK;\n conditions?: undefined;\n /** oldest first **/\n opportunities: OpportunityRef[];\n externalId?: string;\n};\n\ntype BaseLeasingContract<T = LeasingContractHyperportal | LeasingContractBisondesk> = {\n id: string;\n createdAt: string;\n updatedAt: string;\n contractNumber?: string;\n startDate: string;\n deliveryDate?: string;\n endDate?: string;\n slbPartner?: string;\n links?: LinkValue[];\n accountManager?: string;\n clients: LeasingContractClient[];\n hasSlbPartnerAmortisationTable?: boolean;\n slbContractNumber?: string;\n vehicle: {\n id: string;\n stockNumber: string;\n administrativeNumber?: string;\n };\n status: LeasingContractStatus;\n documents: Document[];\n} & T;\n\nexport type LeasingContract<T = LeasingContractHyperportal | LeasingContractBisondesk> =\n BaseLeasingContract<T> & {\n readonly expectedEndDate: string;\n };\n\nexport type NewLeasingContract<T = LeasingContractHyperportal | LeasingContractBisondesk> =\n BaseLeasingContract<T> & {\n readonly expectedEndDate?: undefined;\n };\n\nexport type NextLeasingRentRowRequest = {\n vehicleId: string;\n organizationId: string;\n issueDate: string;\n};\n\nexport type NextLeasingRentRowResponse = {\n capital: string;\n contract: string;\n insurance?: string;\n interest: string;\n other?: string; // insurance + taxes + others\n period: number;\n taxes?: string;\n total: string;\n};\n\ntype BaseRef = {\n id: string;\n depositAmount: string;\n durationInMonths: number;\n taxesAmount?: string;\n insuranceAmount?: string;\n saleAmount: string; // includes the extras\n interestRate: string; //TODO: In LC from BD value is percentage, in LC from HP value is decimal\n residualAmount: string;\n leasingMonthlyAmount: string; // excluding VAT\n otherMonthlyAmounts: string; // insurance + taxes + others (excluding VAT)\n totalMonthlyAmount: string; // excluding VAT\n};\n\nexport type ConditionsRef = BaseRef & {\n validSince: string;\n};\n\nexport type OpportunityRef = BaseRef & {\n createdAt: string;\n quoteId: string;\n //Since VAT is client specific and contracts can be transferred between clients, we always handle values without VAT\n};\n\nexport type ListOverdueRemindersResponse = PaginatedList<OverdueDossier, ReferenceData>;\nexport type ListOverdueRemindersRequest = {\n offset: number;\n limit: number;\n sortBy: SortFilter;\n};\n\nexport type NewLeasingConditions = {\n parameters: {\n yearlyRoadTax: string;\n civilLiability: string;\n oneTimeRoadTax: string;\n specialInsurance: string;\n allRisksPercentage: string;\n allRisksTaxPercentage: string;\n };\n\n inputs: {\n deposit: string;\n salesPrice: string;\n bankDeposit: string;\n purchasePrice: string;\n residualValue: string;\n insuranceAmount: string;\n durationInMonths: number;\n includesAllRisks: boolean;\n marginPercentage: string;\n bankResidualValue: string;\n bankDurationInMonths: number;\n startupFeePercentage: string;\n includesYearlyRoadTax: boolean;\n includesCivilLiability: boolean;\n includesOneTimeRoadTax: boolean;\n interestRatePercentage: string;\n includesSpecialInsurance: boolean;\n monthlyAdministrationFee: string;\n bankInterestRatePercentage: string;\n };\n\n outputs: {\n ROI: string;\n ROITarget: string;\n ROIPerYear: string;\n cashDeficit: string;\n totalProfit: string;\n ROIDifference: string;\n leasingAmount: string;\n leasingProfit: string;\n vehicleProfit: string;\n oneTimeTaxCost: string;\n financingAmount: string;\n bankContractValue: string;\n bankLeasingAmount: string;\n totalMonthlyPayment: string;\n leasingContractValue: string;\n monthlyTaxRetailPrice: string;\n allRisksInsuranceAmount: string;\n };\n\n cashIn: Array<{\n time: string;\n cashIn: string;\n deposit: string;\n startupFee: string;\n taxPayment: string;\n residualValue: string;\n cumulativeCash: string;\n insurancePayment: string;\n monthlyAdministrationFee: string;\n leasingAmountWithoutAdminFee: string;\n }>;\n\n cashOut: Array<{\n time: string;\n cashOut: string;\n deposit: string;\n taxPayment: string;\n leasingAmount: string;\n residualValue: string;\n cumulativeCash: string;\n insurancePayment: string;\n }>;\n};\n\nexport type LeasingConditions = NewLeasingConditions & {\n id: string;\n createdAt: string;\n createdBy: string;\n amortization: AmortizationTable;\n};\n\nexport type AmortizationRow = {\n period: number;\n /* An estimate of the date in which the period will happen\n based on the contract start date. Empty for period zero. */\n expectedPeriodDate?: string;\n buyOff: string;\n payment: string;\n capital: string;\n interest: string;\n totalInterest: string;\n balance: string;\n};\n\nexport type AmortizationTable = {\n annualInterestRate?: string;\n monthlyInterestRate?: string;\n rows: AmortizationRow[];\n};\n\nexport type AmortizationDocsEvent = {\n contractId: string;\n changedDocumentIds: string[];\n actionAt: string;\n userId: string;\n tenantId: string;\n};\n\nexport type AmortizationDocs = {\n contractId: string;\n period: number;\n documents: AmortizationDoc[];\n};\n\nexport type AmortizationDoc = {\n amount: string;\n bookingNumber: string;\n branchId: string;\n documentId: string;\n issueDate: string;\n subtype: 'Invoice' | 'Credit Note';\n clientExternalId: number;\n};\n\nexport type BecrisDeclaration = {\n createdAt: string;\n endDate: string;\n endingInstruments: number;\n existingInstruments: number;\n file: AttachmentValue;\n id: string;\n newInstruments: number;\n startDate: string;\n};\n\nexport type LeasingReportingSettings = {\n active: boolean;\n branchId: string;\n tenantId: string;\n};\n\nexport enum LeasingRemindersSortableColumns {\n NextActionAt = 'next_action_at',\n OrganizationName = 'organization_name',\n RemindersCount = 'reminders_count',\n Status = 'status',\n}\n\nexport type AmortizationTableRequest = {\n leasingAmount: string; // monthly amount\n deposit: string;\n salesPrice: string;\n duration: number; // in months\n residual: string;\n monthlyInterestRate: string; // the annual interest rate divided by 12\n startDate?: string; // should be filled in if you want an amortization table with expected period dates\n};\n\nexport type AmortizationTableTemplateData = {\n opportunity: {\n id: string;\n };\n v: {\n make: string;\n model: string;\n category: string;\n type?: string;\n vin: string;\n year?: string | number;\n stockNumber: string;\n };\n c: {\n clientNumber: number;\n company: string;\n fullName: string;\n vatNumber?: string;\n email?: string;\n phone?: string;\n address?: string;\n };\n leasing: {\n salesPrice: string;\n salesPriceVat: string;\n salesPriceExclVat: string;\n deposit: string;\n depositExclVat: string;\n depositVat: string;\n installment: string;\n installmentVat: string;\n installmentExclVat: string;\n duration: number;\n monthlyInsurance: string;\n monthlyTax: string;\n monthlyTaxesInsurance: string;\n residual: string;\n residualVat: string;\n residualExclVat: string;\n offerNumber: string;\n contractNumber: string;\n vatPercentage: string;\n };\n amortization: {\n period: number;\n periodStartDate: string;\n periodEndDate: string;\n deposit: string;\n startUpFee: string;\n monthlyAmount: string;\n capital: string;\n balance: string;\n interest: string;\n insurance: string;\n expirationDate: string;\n total: string;\n }[];\n};\n\nexport enum LEASING_EXPORT_TYPES {\n RENTAL_SOLUTIONS = 'rental-solutions',\n DEFAULT = 'default',\n}\n"]}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=machines.js.map
@@ -1,95 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.OPPORTUNITY_VEHICLE_DELIVERY_NOTIFICATION_ORIGIN = exports.OPPORTUNITY_VEHICLE_AVAILABLE_NOTIFICATION_ORIGIN = exports.QUOTE_VALIDATOR_FEEDBACK_NOTIFICATION_ORIGIN = exports.QUOTE_NEEDS_VALIDATION_NOTIFICATION_ORIGIN = exports.OpportunityLostReasonValues = exports.OpportunityKanbanEndColumns = exports.OpportunityKanbanColumns = exports.OpportunityWonColumnId = exports.OpportunityWarningsCode = exports.OpportunityRequirementsCode = exports.OpportunityLogisticStatus = exports.OpportunityStatusOrder = exports.OpportunityStatus = exports.OpportunityPaymentStatus = exports.OpportunityDealStatus = exports.OpportunityActions = void 0;
4
- var OpportunityActions;
5
- (function (OpportunityActions) {
6
- OpportunityActions["ADD_COMMISSION"] = "add_commission";
7
- OpportunityActions["CREATE_QUOTE"] = "create_quote";
8
- OpportunityActions["LOSE"] = "lose";
9
- OpportunityActions["REOPEN"] = "reopen";
10
- OpportunityActions["START_PREPARATION"] = "start_preparation";
11
- OpportunityActions["REVERT_PREPARATION"] = "revert_preparation";
12
- OpportunityActions["START_DELIVERY"] = "start_delivery";
13
- OpportunityActions["REVERT_DELIVERY"] = "revert_delivery";
14
- OpportunityActions["SET_CUSTOMER"] = "set_customer";
15
- OpportunityActions["SET_DOCUMENTS"] = "set_documents";
16
- OpportunityActions["SET_INTEREST"] = "set_interest";
17
- OpportunityActions["SET_METADATA"] = "set_metadata";
18
- OpportunityActions["SET_VEHICLE"] = "set_vehicle";
19
- OpportunityActions["ADD_ACTIVITY"] = "add_activity";
20
- OpportunityActions["ADD_PAYMENT"] = "add_payment";
21
- OpportunityActions["SWITCH_VEHICLE"] = "switch_vehicle";
22
- OpportunityActions["DELIVER_VEHICLE"] = "deliver_vehicle";
23
- OpportunityActions["UNDO_DELIVER_VEHICLE"] = "undo_deliver_vehicle";
24
- OpportunityActions["SET_DEAL_INFO"] = "update_deal_info";
25
- })(OpportunityActions = exports.OpportunityActions || (exports.OpportunityActions = {}));
26
- var OpportunityDealStatus;
27
- (function (OpportunityDealStatus) {
28
- OpportunityDealStatus["SALES_AGREED"] = "sales_agreed";
29
- OpportunityDealStatus["FIRST_PAYMENT"] = "first_payment";
30
- OpportunityDealStatus["FULL_PAYMENT"] = "full_payment";
31
- })(OpportunityDealStatus = exports.OpportunityDealStatus || (exports.OpportunityDealStatus = {}));
32
- var OpportunityPaymentStatus;
33
- (function (OpportunityPaymentStatus) {
34
- OpportunityPaymentStatus["PARTIAL_PAYMENT"] = "partial_payment";
35
- OpportunityPaymentStatus["FULL_PAYMENT"] = "full_payment";
36
- OpportunityPaymentStatus["NO_PAYMENT"] = "no_payment";
37
- })(OpportunityPaymentStatus = exports.OpportunityPaymentStatus || (exports.OpportunityPaymentStatus = {}));
38
- var OpportunityStatus;
39
- (function (OpportunityStatus) {
40
- OpportunityStatus["PROSPECTION"] = "prospection";
41
- OpportunityStatus["DISCOVERY"] = "discovery";
42
- OpportunityStatus["EVALUATION"] = "evaluation";
43
- OpportunityStatus["REVIEW"] = "review";
44
- OpportunityStatus["PREPARATION"] = "preparation";
45
- OpportunityStatus["DELIVERY"] = "delivery";
46
- })(OpportunityStatus = exports.OpportunityStatus || (exports.OpportunityStatus = {}));
47
- exports.OpportunityStatusOrder = [
48
- OpportunityStatus.PROSPECTION,
49
- OpportunityStatus.DISCOVERY,
50
- OpportunityStatus.EVALUATION,
51
- OpportunityStatus.REVIEW,
52
- OpportunityStatus.PREPARATION,
53
- OpportunityStatus.DELIVERY,
54
- ];
55
- var OpportunityLogisticStatus;
56
- (function (OpportunityLogisticStatus) {
57
- OpportunityLogisticStatus["AT_ORIGIN"] = "at_origin";
58
- OpportunityLogisticStatus["DELIVERED"] = "delivered";
59
- })(OpportunityLogisticStatus = exports.OpportunityLogisticStatus || (exports.OpportunityLogisticStatus = {}));
60
- var OpportunityRequirementsCode;
61
- (function (OpportunityRequirementsCode) {
62
- OpportunityRequirementsCode["VEHICLE_AT_ORIGIN"] = "vehicle_at_origin";
63
- OpportunityRequirementsCode["LEASING_SL_ACTION"] = "sl_action";
64
- })(OpportunityRequirementsCode = exports.OpportunityRequirementsCode || (exports.OpportunityRequirementsCode = {}));
65
- var OpportunityWarningsCode;
66
- (function (OpportunityWarningsCode) {
67
- OpportunityWarningsCode["QUOTE_PENDING_VALIDATION"] = "quote_pending_validation";
68
- OpportunityWarningsCode["QUOTE_PEDING_MANAGER_APPROVAL"] = "quote_pending_manager_approval";
69
- OpportunityWarningsCode["CONCURRENT_OPPORTUNITIES"] = "concurrent_opportunities";
70
- OpportunityWarningsCode["VEHICLE_RESERVED"] = "vehicle_reserved";
71
- OpportunityWarningsCode["OPPORTUNITY_NEEDS_SWITCH_VEHICLE"] = "opportunity_needs_switch_vehicle";
72
- OpportunityWarningsCode["VEHICLE_RESERVED_DATE_INFO"] = "vehicle_reserved_date_info";
73
- OpportunityWarningsCode["VEHICLE_RESERVED_INDEFINITELY"] = "vehicle_reserved_indefinitely";
74
- OpportunityWarningsCode["QUOTE_MISSING_DELIVERY_DETAILS"] = "quote_missing_delivery_details";
75
- })(OpportunityWarningsCode = exports.OpportunityWarningsCode || (exports.OpportunityWarningsCode = {}));
76
- exports.OpportunityWonColumnId = 'closed_won';
77
- exports.OpportunityKanbanColumns = [...exports.OpportunityStatusOrder, exports.OpportunityWonColumnId];
78
- exports.OpportunityKanbanEndColumns = [exports.OpportunityWonColumnId];
79
- var OpportunityLostReasonValues;
80
- (function (OpportunityLostReasonValues) {
81
- OpportunityLostReasonValues["Expensive"] = "expensive";
82
- OpportunityLostReasonValues["AlreadySold"] = "already_sold";
83
- OpportunityLostReasonValues["BadExperience"] = "bad_experience";
84
- OpportunityLostReasonValues["IncorrectVehicleCondition"] = "incorrect_vehicle_condition";
85
- OpportunityLostReasonValues["NoStock"] = "not_enough_stock";
86
- OpportunityLostReasonValues["SlowDelivery"] = "slow_delivery";
87
- OpportunityLostReasonValues["HighDeposit"] = "deposit_too_high";
88
- OpportunityLostReasonValues["NoAnswer"] = "client_not_answered";
89
- OpportunityLostReasonValues["Automatic"] = "automatic";
90
- })(OpportunityLostReasonValues = exports.OpportunityLostReasonValues || (exports.OpportunityLostReasonValues = {}));
91
- exports.QUOTE_NEEDS_VALIDATION_NOTIFICATION_ORIGIN = 'quote-validation';
92
- exports.QUOTE_VALIDATOR_FEEDBACK_NOTIFICATION_ORIGIN = 'quote-validation-feedback';
93
- exports.OPPORTUNITY_VEHICLE_AVAILABLE_NOTIFICATION_ORIGIN = 'opportunity-vehicle-available';
94
- exports.OPPORTUNITY_VEHICLE_DELIVERY_NOTIFICATION_ORIGIN = 'opportunity-vehicle-delivery';
95
- //# sourceMappingURL=opportunities.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"opportunities.js","sourceRoot":"/","sources":["types/opportunities.ts"],"names":[],"mappings":";;;AAWA,IAAY,kBAoBX;AApBD,WAAY,kBAAkB;IAC5B,uDAAiC,CAAA;IACjC,mDAA6B,CAAA;IAC7B,mCAAa,CAAA;IACb,uCAAiB,CAAA;IACjB,6DAAuC,CAAA;IACvC,+DAAyC,CAAA;IACzC,uDAAiC,CAAA;IACjC,yDAAmC,CAAA;IACnC,mDAA6B,CAAA;IAC7B,qDAA+B,CAAA;IAC/B,mDAA6B,CAAA;IAC7B,mDAA6B,CAAA;IAC7B,iDAA2B,CAAA;IAC3B,mDAA6B,CAAA;IAC7B,iDAA2B,CAAA;IAC3B,uDAAiC,CAAA;IACjC,yDAAmC,CAAA;IACnC,mEAA6C,CAAA;IAC7C,wDAAkC,CAAA;AACpC,CAAC,EApBW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAoB7B;AAED,IAAY,qBAIX;AAJD,WAAY,qBAAqB;IAC/B,sDAA6B,CAAA;IAC7B,wDAA+B,CAAA;IAC/B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C;AAEY,QAAA,sBAAsB,GAAG,YAAY,CAAC;AAEtC,QAAA,wBAAwB,GAAG,CAAC,GAAG,8BAAsB,EAAE,8BAAsB,CAAC,CAAC;AAE/E,QAAA,2BAA2B,GAAa,CAAC,8BAAsB,CAAC,CAAC;AAE9E,IAAY,2BAUX;AAVD,WAAY,2BAA2B;IACrC,sDAAuB,CAAA;IACvB,2DAA4B,CAAA;IAC5B,+DAAgC,CAAA;IAChC,wFAAyD,CAAA;IACzD,2DAA4B,CAAA;IAC5B,6DAA8B,CAAA;IAC9B,+DAAgC,CAAA;IAChC,+DAAgC,CAAA;IAChC,sDAAuB,CAAA;AACzB,CAAC,EAVW,2BAA2B,GAA3B,mCAA2B,KAA3B,mCAA2B,QAUtC;AA8MY,QAAA,0CAA0C,GAAG,kBAAkB,CAAC;AAChE,QAAA,4CAA4C,GAAG,2BAA2B,CAAC;AAC3E,QAAA,iDAAiD,GAAG,+BAA+B,CAAC;AACpF,QAAA,gDAAgD,GAAG,8BAA8B,CAAC","sourcesContent":["import { Document, NextList } from '@bisondesk/commons-sdk/types';\nimport { BusinessEntityIds, OpportunityType, WarningHints } from '../constants';\nimport { Contact, Organization } from './crm';\nimport type { InterestBffMeta, OpportunityInterest } from './interests';\nimport { Payment } from './payments';\nimport { Quote, QuoteStatus } from './quotes';\nimport { OpportunityReservation } from './reservations';\nimport { BaseSearchRequest } from './search';\nimport { DataRecord, ReferenceData } from './utils';\nimport { Vehicle } from './vehicles';\n\nexport enum OpportunityActions {\n ADD_COMMISSION = 'add_commission',\n CREATE_QUOTE = 'create_quote',\n LOSE = 'lose',\n REOPEN = 'reopen',\n START_PREPARATION = 'start_preparation',\n REVERT_PREPARATION = 'revert_preparation',\n START_DELIVERY = 'start_delivery',\n REVERT_DELIVERY = 'revert_delivery',\n SET_CUSTOMER = 'set_customer',\n SET_DOCUMENTS = 'set_documents',\n SET_INTEREST = 'set_interest',\n SET_METADATA = 'set_metadata',\n SET_VEHICLE = 'set_vehicle',\n ADD_ACTIVITY = 'add_activity',\n ADD_PAYMENT = 'add_payment',\n SWITCH_VEHICLE = 'switch_vehicle',\n DELIVER_VEHICLE = 'deliver_vehicle',\n UNDO_DELIVER_VEHICLE = 'undo_deliver_vehicle',\n SET_DEAL_INFO = 'update_deal_info',\n}\n\nexport enum OpportunityDealStatus {\n SALES_AGREED = 'sales_agreed',\n FIRST_PAYMENT = 'first_payment',\n FULL_PAYMENT = 'full_payment',\n}\n\nexport enum OpportunityPaymentStatus {\n PARTIAL_PAYMENT = 'partial_payment',\n FULL_PAYMENT = 'full_payment',\n NO_PAYMENT = 'no_payment',\n}\n\nexport enum OpportunityStatus {\n PROSPECTION = 'prospection',\n DISCOVERY = 'discovery',\n EVALUATION = 'evaluation',\n REVIEW = 'review',\n PREPARATION = 'preparation',\n DELIVERY = 'delivery',\n}\n\nexport const OpportunityStatusOrder: OpportunityStatus[] = [\n OpportunityStatus.PROSPECTION,\n OpportunityStatus.DISCOVERY,\n OpportunityStatus.EVALUATION,\n OpportunityStatus.REVIEW,\n OpportunityStatus.PREPARATION,\n OpportunityStatus.DELIVERY,\n];\n\nexport enum OpportunityLogisticStatus {\n AT_ORIGIN = 'at_origin',\n DELIVERED = 'delivered',\n}\n\nexport enum OpportunityRequirementsCode {\n VEHICLE_AT_ORIGIN = 'vehicle_at_origin',\n LEASING_SL_ACTION = 'sl_action',\n}\n\nexport enum OpportunityWarningsCode {\n QUOTE_PENDING_VALIDATION = 'quote_pending_validation',\n QUOTE_PEDING_MANAGER_APPROVAL = 'quote_pending_manager_approval',\n CONCURRENT_OPPORTUNITIES = 'concurrent_opportunities',\n VEHICLE_RESERVED = 'vehicle_reserved',\n OPPORTUNITY_NEEDS_SWITCH_VEHICLE = 'opportunity_needs_switch_vehicle',\n VEHICLE_RESERVED_DATE_INFO = 'vehicle_reserved_date_info',\n VEHICLE_RESERVED_INDEFINITELY = 'vehicle_reserved_indefinitely',\n QUOTE_MISSING_DELIVERY_DETAILS = 'quote_missing_delivery_details',\n}\n\nexport const OpportunityWonColumnId = 'closed_won';\n\nexport const OpportunityKanbanColumns = [...OpportunityStatusOrder, OpportunityWonColumnId];\n\nexport const OpportunityKanbanEndColumns: string[] = [OpportunityWonColumnId];\n\nexport enum OpportunityLostReasonValues {\n Expensive = 'expensive',\n AlreadySold = 'already_sold',\n BadExperience = 'bad_experience',\n IncorrectVehicleCondition = 'incorrect_vehicle_condition',\n NoStock = 'not_enough_stock',\n SlowDelivery = 'slow_delivery',\n HighDeposit = 'deposit_too_high',\n NoAnswer = 'client_not_answered',\n Automatic = 'automatic',\n}\n\ntype BaseBid = {\n vehicleId: string;\n opportunityId?: string;\n contactId: string;\n amount: string;\n};\n\nexport type NewBid = BaseBid & {};\n\nexport type Bid = BaseBid & {\n id: string;\n createdAt: string;\n createdBy: string;\n};\n\ntype BaseOpportunity = {\n accountManager?: string;\n administrativePerson?: string;\n type: OpportunityType;\n organizationId?: string;\n contactId?: string;\n vehicleId?: string;\n source?: string; // e.g. website, autoscout, mobile...\n branch: string;\n inquiry?: string;\n branchCountry: string;\n};\n\nexport type NewOpportunity = BaseOpportunity & {\n id?: undefined;\n createdAt?: undefined;\n createdBy?: undefined;\n modifiedAt?: undefined;\n modifiedBy?: undefined;\n};\n\nexport type Opportunity = BaseOpportunity & {\n id: string;\n createdAt: string;\n createdBy: string;\n modifiedAt: string;\n modifiedBy: string;\n engagedAt?: string;\n engagedBy?: string;\n validatedAt?: string;\n validatedBy?: string;\n acceptedAt?: string;\n acceptedBy?: string;\n lastActivityAt?: string; // last time we reached out to the customer, regardless of medium\n reviewedAt?: string;\n reviewedBy?: string;\n preparedAt?: string;\n preparedBy?: string;\n lastBidAt?: string;\n lostAt?: string;\n lostBy?: string;\n wonAt?: string;\n lostReason?: OpportunityLostReasonValues;\n deliveredAt?: string;\n deliveredBy?: string;\n status: OpportunityStatus;\n dealStatus?: OpportunityDealStatus;\n logisticStatus?: OpportunityLogisticStatus;\n activeQuoteId?: string;\n amount?: string;\n documents?: Document[];\n leasingContractId?: string;\n requirementsOverride?: {\n [code: string]: { override: true; reason?: string; actionAt: string; actionBy: string };\n };\n};\n\nexport type OpportunityUpdate = {\n vehicleId?: string | null;\n accountManager?: string | null;\n administrativePerson?: string | null;\n contactId?: string | null;\n activeQuoteId?: string | null;\n reviewed?: boolean;\n prepared?: boolean;\n lost?: boolean;\n delivered?: boolean;\n lostReason?: OpportunityLostReasonValues;\n documents?: Document[];\n branch?: string;\n branchCountry?: string;\n type?: OpportunityType;\n lastActivityAt?: string | null; // null gives the possibility to delete this field if all activities are deleted\n lastBidAt?: string;\n source?: string | null;\n requirementsOverride?: {\n [code: string]: { override: true; reason?: string; actionAt: string; actionBy: string };\n };\n};\n\nexport type PaymentSummary = {\n total: string;\n paid: string;\n entries: DataRecord<Payment>[];\n};\n\nexport type VehicleBffMetadata = {\n openOpportunities: number;\n otherRelatedVehicleIds: string[];\n};\n\nexport type OpportunityStatusRequirement = { code: OpportunityRequirementsCode; title?: string };\n\ntype OportunityWarningActionLink = {\n businessEntityId: BusinessEntityIds;\n recordId: string;\n};\n\ntype OportunityWarningActionData = { [key: string]: string | number };\n\nexport type OpportunityWarning = {\n code: OpportunityWarningsCode;\n level: WarningHints;\n link?: OportunityWarningActionLink;\n data?: OportunityWarningActionData;\n showAction?: boolean;\n};\n\nexport type OpportunityBffMeta = ReferenceData & {\n requirements: OpportunityStatusRequirement[];\n warnings: OpportunityWarning[];\n};\n\nexport type OpportunityBFF = {\n opportunity: DataRecord<Opportunity, OpportunityBffMeta>;\n vehicle?: DataRecord<Vehicle, VehicleBffMetadata>;\n interest?: DataRecord<OpportunityInterest, InterestBffMeta>;\n bids: DataRecord<Bid>[];\n quotes: DataRecord<Quote>[];\n activeQuote?: DataRecord<Quote>;\n payments: PaymentSummary | undefined;\n reservation?: DataRecord<OpportunityReservation>;\n customer?: {\n contact: DataRecord<Contact>;\n org?: DataRecord<Organization>;\n };\n};\n\ntype BaseOpportunityEvent = {\n actionAt: string;\n userId: string;\n tenantId: string;\n};\n\nexport type OpportunityCreateEvent = BaseOpportunityEvent & {\n opportunity: Opportunity;\n previousOpportunity?: undefined;\n action: 'create';\n};\n\nexport type OpportunityUpdateEvent = BaseOpportunityEvent & {\n opportunity: Opportunity;\n previousOpportunity: Opportunity;\n action: 'update';\n};\n\nexport type OpportunityDeleteEvent = BaseOpportunityEvent & {\n opportunity?: undefined;\n previousOpportunity: Opportunity;\n action: 'delete';\n};\n\nexport type OpportunityEvent =\n | OpportunityCreateEvent\n | OpportunityUpdateEvent\n | OpportunityDeleteEvent;\n\nexport type QuoteEvent = {\n quote: Quote;\n opportunity: Opportunity;\n action: 'create' | 'update' | 'delete';\n actionAt: string;\n userId: string;\n tenantId: string;\n};\n\n/* Quote summary with information that should be common to different types of quotes */\nexport type QuoteInfo = {\n status: QuoteStatus;\n roi: string;\n id: string;\n};\n\nexport type SearchOpportunity = {\n contact?: Contact;\n opportunity: Opportunity;\n org?: Organization;\n vehicle?: Vehicle;\n quote?: QuoteInfo;\n custom: {\n paymentStatus: OpportunityPaymentStatus;\n unassigned: boolean;\n lost: boolean;\n assignees: string[];\n vehicleCheckedIn: boolean;\n status: OpportunityStatus | 'won';\n };\n};\n\nexport const QUOTE_NEEDS_VALIDATION_NOTIFICATION_ORIGIN = 'quote-validation';\nexport const QUOTE_VALIDATOR_FEEDBACK_NOTIFICATION_ORIGIN = 'quote-validation-feedback';\nexport const OPPORTUNITY_VEHICLE_AVAILABLE_NOTIFICATION_ORIGIN = 'opportunity-vehicle-available';\nexport const OPPORTUNITY_VEHICLE_DELIVERY_NOTIFICATION_ORIGIN = 'opportunity-vehicle-delivery';\n\nexport type OpportunityNotificationData = {\n quoteVersion?: number;\n snippet?: string;\n};\n\nexport type LeasingQuoteTemplateData = {\n opportunity: {\n id: string;\n };\n currentDate: string;\n vehicle: {\n make: string;\n model: string;\n type?: string;\n km: string | number;\n vin: string;\n mainImage: string;\n localLicensePlate: boolean;\n description: string;\n year?: string | number;\n stockNumber?: string;\n };\n accountManager: {\n fullName: string;\n email: string;\n phone: string;\n };\n customer: {\n company: string;\n fullName: string;\n vatNumber?: string;\n address?: string;\n };\n settingId: string;\n leasing: {\n deposit: string;\n startupFee: string;\n totalExtras: string;\n totalBeforeDeliveryExclVat: string;\n totalBeforeDelivery: string;\n installment: string;\n duration: number;\n monthlyInsurance: string;\n monthlyTax: string;\n monthlyTaxesInsurance: string;\n residual: string;\n offerNumber: string;\n extras: { name: string }[];\n };\n};\n\nexport type LineItemPdfTemplate = {\n description: string;\n vat: string;\n quantity: number;\n unitPriceExclVat: string;\n amount: string;\n amountExclVat: string;\n};\n\nexport type LeasingProformaTemplateData = {\n opportunity: {\n id: string;\n offerNumber: string;\n };\n currentDate: string;\n accountManager: {\n fullName: string;\n email: string;\n phone: string;\n };\n vehicle: {\n line1: string;\n line2: string;\n stockNumber: string;\n };\n c: {\n organizationId?: string;\n clientId: string;\n company: string;\n fullName: string;\n vatNumber?: string;\n email?: string;\n phone?: string;\n address?: string;\n };\n i: LineItemPdfTemplate[];\n t: {\n totalExclVat: string;\n vatAmount: string;\n displayVatMessage: boolean;\n total: string;\n monthly: string;\n monthlyExclVat: string;\n residual: string;\n residualExclVat: string;\n duration: number;\n };\n};\n\nexport type SalesProformaTemplateData = {\n opportunity: {\n id: string;\n offerNumber: string;\n };\n currentDate: string;\n expirationDate: string;\n accountManager: {\n fullName: string;\n email: string;\n phone: string;\n };\n vehicle: {\n line1: string;\n line2: string;\n stockNumber: string;\n };\n c: {\n organizationId?: string;\n clientId: string;\n company: string;\n fullName: string;\n vatNumber?: string;\n email?: string;\n phone?: string;\n address?: string;\n };\n i: LineItemPdfTemplate[];\n t: {\n totalExclVat: string;\n vatAmount: string;\n total: string;\n };\n};\n\nexport type SalesAgreementTemplateData = {\n opportunity: {\n id: string;\n offerNumber: string;\n };\n currentDate: string;\n accountManager: {\n fullName: string;\n email: string;\n phone: string;\n };\n vehicle: {\n line1: string;\n line2: string;\n stockNumber: string;\n };\n c: {\n organizationId?: string;\n clientId: string;\n company: string;\n fullName: string;\n vatNumber?: string;\n email?: string;\n phone?: string;\n address?: string;\n };\n i: LineItemPdfTemplate[];\n t: {\n totalExclVat: string;\n vatAmount: string;\n total: string;\n };\n};\n\nexport type OpportunitiesKanbanColumn = {\n status: string;\n results: SearchOpportunity[];\n totalCount: number;\n totalValue: string;\n};\n\nexport type MSearchOpportunitiesKanbanColumn = {\n column: OpportunitiesKanbanColumn;\n nextToken?: string;\n};\n\nexport type HpLeasingDealRequest = {\n tenantId: string;\n initiatedBy: 'bisondesk';\n processMetaId: string;\n processRunData: {\n entityOwner: string;\n leasingContractOwner: string;\n foreseenDeliveryDate?: string;\n deliveryAddressLeasing?: string;\n nameSalesPerson: string;\n durationLeasingInMonths: number;\n vanCourier: boolean;\n newVehicle?: boolean;\n newTrailer?: boolean;\n registrationOnTtcoBe?: string;\n yearOfConstruction?: number;\n chassisnumber?: string;\n vehicleModel?: string;\n vehicleCategory2?: string;\n licencePlate?: string;\n vatPercentage?: number;\n\n opportunityContractId: string;\n opportunityId: string;\n\n company?: string;\n customerNumber?: number; //bisondesk external id\n //MrLease fields\n vehicle?: string;\n vehicleNewReferenceMl?: string;\n salesPriceEur: string;\n depositFullAmountExclVat: string;\n depositToBePrepaidExclVat: string;\n vehicleMake3?: string;\n\n //TTC fields\n vehicleOriginalReference?: string;\n salesPrice: string;\n depositFullAmount: string;\n depositAmountToBePrepaid: string;\n make?: string;\n\n //Extras\n garageExtrasCodes: string[];\n allExtrasDescriptions: string[];\n administrationExtrasCodes: string[];\n logisticExtrasCodes: string[];\n customRequestDescriptions: string[];\n };\n};\n\nexport type HpLeasingDealResponse = {\n entityId: string;\n id: string;\n status: string;\n leasingContractNumber?: string;\n};\n\nexport type HpLeasingContractRequest = {\n tenantId: string;\n initiatedBy: 'bisondesk';\n processMetaId: string;\n processRunData: {\n entityOwner: string;\n company?: string;\n vehicle?: string;\n ldNumber: number;\n vanCourier: boolean;\n startDate: number;\n opportunityContractId: string;\n data: {\n leasingParameter: {\n allRisksPercentage: number;\n allRisksTaxPercentage: number;\n civilLiability: number;\n entityId: string;\n oneTimeRoadTax: number;\n specialInsurance: number;\n yearlyRoadTax: number;\n countries: string[];\n vehicleCategory: string;\n };\n\n calculatorRequest: {\n bankDeposit: number;\n bankDurationInMonths: number;\n bankInterestRatePercentage: number;\n bankResidualValue: number;\n deposit: number;\n durationInMonths: number;\n includesAllRisks: boolean;\n includesCivilLiability: boolean;\n includesOneTimeRoadTax: boolean;\n includesSpecialInsurance: boolean;\n includesYearlyRoadTax: boolean;\n insuranceAmount: number;\n interestRatePercentage: number;\n marginPercentage: number;\n monthlyAdministrationFee: 0;\n purchasePrice: number;\n residualValue: number;\n salesPrice: number;\n startupFeePercentage: number;\n };\n\n calculatorResponse: {\n ROI: number;\n ROIDifference: number;\n ROIPerYear: number;\n ROITarget: number;\n allRisksInsuranceAmount: number;\n bankContractValue: number;\n bankLeasingAmount: number;\n cashDeficit: number;\n financingAmount: number;\n leasingAmount: number;\n leasingContractValue: number;\n leasingProfit: number;\n monthlyTaxRetailPrice: number;\n oneTimeTaxCost: number;\n totalMonthlyPayment: number;\n totalProfit: number;\n vehicleProfit: number;\n };\n\n cashInValues: CashInRow[];\n\n cashOutValues: CashOutRow[];\n };\n };\n};\n\nexport type HpLeasingContractResponse = {\n entityId: string;\n id: string;\n status: string;\n createdAt: string;\n updatedAt: string;\n dateOfFinalSettlement: string;\n startDate: string;\n email: string;\n contractNumber: string;\n};\n\nexport type CashInRow = {\n time: number;\n deposit: number;\n monthlyAdministrationFee: 0; //Legacy field - Should always be 0\n residualValue: number;\n startupFee: number;\n leasingAmountWithoutAdminFee: number;\n insurancePayment: number;\n taxPayment: number;\n cashIn: number;\n cumulativeCash: number;\n};\n\nexport type CashOutRow = {\n time: number;\n deposit: number;\n residualValue: number;\n leasingAmount: number;\n insurancePayment: number;\n taxPayment: number;\n cashOut: number;\n cumulativeCash: number;\n};\n\nexport type HpDeliveryFields = {\n detailsOfStacking?: string | null;\n technicalControlNeeded: boolean | null;\n\n //PickUP Delivery\n urgentDelivery?: boolean | null;\n dateOfPickUpByCustomer?: number | null;\n modeOfTransportPickUpByCustomer?: string | null; //entity Id\n detailsOfBorderCrossing?: string | null;\n insuranceNeeded: boolean | null;\n transitPlateNeeded: boolean | null;\n licensePlateNeeded: boolean | null;\n\n //Address Delivery\n address?: string | null;\n kmToAddressOfDelivery?: number | null;\n\n //To Port Delivery\n originPortText?: string | null; //entity Id\n shippingCompany?: string | null; //string Id\n destinationPort?: string | null;\n cleaningDegassingNeeded: boolean | null;\n};\n\nexport type HpIsaProcessRequest = {\n tenantId: string;\n initiatedBy: 'bisondesk';\n processMetaId: string;\n processRunData: HpDeliveryFields & {\n entityOwner: string;\n nameSalesPerson: string;\n\n company?: string; //entityId\n proofOfSaleCustomerAgreement?: string; //entityId\n\n vehicle?: string; //entityId\n bodywork?: string; //entityId\n vehicleCategory: string; //entityId\n\n amountOfCommissionPaid: number;\n dealValidated: boolean;\n dealCancelled: boolean;\n opportunityId: string;\n deliveryType: string; //entity Id\n directDelivery?: boolean | null;\n directDeliveryReason?: string | null;\n agreedPrice?: string;\n\n //Extras\n garageExtrasCodes: string[];\n logisticsExtrasCodes: string[];\n administrationExtrasCodes: string[];\n allExtrasDescriptions: string[];\n customRequestDescriptions: string[];\n infoSpoiler: string; // entity Id\n };\n};\n\nexport type HpIsaProcessResponse = {\n entityId: string;\n id: string;\n status: string;\n};\n\nexport type SwitchOpportunityVehicleRequest = {\n opportunityId: string;\n newVehicleId: string;\n};\n\nexport type KanbanOpportunitiesSearchRequest = BaseSearchRequest & {\n nextTokens?: Record<string, string | undefined>;\n};\n\nexport type KanbanOpportunitiesNextList = Omit<\n NextList<OpportunitiesKanbanColumn, ReferenceData>,\n 'nextToken'\n> & {\n nextTokens?: Record<string, string | undefined>;\n};\n"]}