@star-insure/sdk 6.0.12 → 6.0.13

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 (354) hide show
  1. package/README.md +1 -1
  2. package/dist/index.d.ts +1828 -3
  3. package/dist/sdk.es10.js +31 -31
  4. package/dist/sdk.es100.js +12 -73
  5. package/dist/sdk.es100.js.map +1 -1
  6. package/dist/sdk.es101.js +10 -80
  7. package/dist/sdk.es101.js.map +1 -1
  8. package/dist/sdk.es102.js +44 -69
  9. package/dist/sdk.es102.js.map +1 -1
  10. package/dist/sdk.es103.js +44 -35
  11. package/dist/sdk.es103.js.map +1 -1
  12. package/dist/sdk.es104.js +46 -35
  13. package/dist/sdk.es104.js.map +1 -1
  14. package/dist/sdk.es105.js +25 -39
  15. package/dist/sdk.es105.js.map +1 -1
  16. package/dist/sdk.es106.js +24 -41
  17. package/dist/sdk.es106.js.map +1 -1
  18. package/dist/sdk.es107.js +48 -56
  19. package/dist/sdk.es107.js.map +1 -1
  20. package/dist/sdk.es108.js +50 -70
  21. package/dist/sdk.es108.js.map +1 -1
  22. package/dist/sdk.es109.js +59 -73
  23. package/dist/sdk.es109.js.map +1 -1
  24. package/dist/sdk.es110.js +62 -75
  25. package/dist/sdk.es110.js.map +1 -1
  26. package/dist/sdk.es111.js +38 -49
  27. package/dist/sdk.es111.js.map +1 -1
  28. package/dist/sdk.es112.js +39 -50
  29. package/dist/sdk.es112.js.map +1 -1
  30. package/dist/sdk.es113.js +38 -50
  31. package/dist/sdk.es113.js.map +1 -1
  32. package/dist/sdk.es114.js +28 -27
  33. package/dist/sdk.es114.js.map +1 -1
  34. package/dist/sdk.es115.js +68 -32
  35. package/dist/sdk.es115.js.map +1 -1
  36. package/dist/sdk.es116.js +81 -34
  37. package/dist/sdk.es116.js.map +1 -1
  38. package/dist/sdk.es117.js +82 -35
  39. package/dist/sdk.es117.js.map +1 -1
  40. package/dist/sdk.es118.js +81 -34
  41. package/dist/sdk.es118.js.map +1 -1
  42. package/dist/sdk.es119.js +50 -37
  43. package/dist/sdk.es119.js.map +1 -1
  44. package/dist/sdk.es120.js +49 -24
  45. package/dist/sdk.es120.js.map +1 -1
  46. package/dist/sdk.es121.js +49 -34
  47. package/dist/sdk.es121.js.map +1 -1
  48. package/dist/sdk.es122.js +38 -35
  49. package/dist/sdk.es122.js.map +1 -1
  50. package/dist/sdk.es123.js +39 -26
  51. package/dist/sdk.es123.js.map +1 -1
  52. package/dist/sdk.es124.js +41 -27
  53. package/dist/sdk.es124.js.map +1 -1
  54. package/dist/sdk.es125.js +47 -6
  55. package/dist/sdk.es125.js.map +1 -1
  56. package/dist/sdk.es126.js +46 -3675
  57. package/dist/sdk.es126.js.map +1 -1
  58. package/dist/sdk.es127.js +46 -2
  59. package/dist/sdk.es127.js.map +1 -1
  60. package/dist/sdk.es128.js +33 -66
  61. package/dist/sdk.es128.js.map +1 -1
  62. package/dist/sdk.es129.js +44 -31
  63. package/dist/sdk.es129.js.map +1 -1
  64. package/dist/sdk.es130.js +44 -11
  65. package/dist/sdk.es130.js.map +1 -1
  66. package/dist/sdk.es131.js +30 -118
  67. package/dist/sdk.es131.js.map +1 -1
  68. package/dist/sdk.es132.js +30 -83
  69. package/dist/sdk.es132.js.map +1 -1
  70. package/dist/sdk.es133.js +67 -40
  71. package/dist/sdk.es133.js.map +1 -1
  72. package/dist/sdk.es134.js +31 -2
  73. package/dist/sdk.es134.js.map +1 -1
  74. package/dist/sdk.es135.js +11 -8
  75. package/dist/sdk.es135.js.map +1 -1
  76. package/dist/sdk.es136.js +121 -11
  77. package/dist/sdk.es136.js.map +1 -1
  78. package/dist/sdk.es137.js +86 -14
  79. package/dist/sdk.es137.js.map +1 -1
  80. package/dist/sdk.es138.js +7 -13
  81. package/dist/sdk.es138.js.map +1 -1
  82. package/dist/sdk.es139.js +10 -5
  83. package/dist/sdk.es139.js.map +1 -1
  84. package/dist/sdk.es140.js +13 -5
  85. package/dist/sdk.es140.js.map +1 -1
  86. package/dist/sdk.es141.js +13 -5
  87. package/dist/sdk.es141.js.map +1 -1
  88. package/dist/sdk.es142.js +5 -10
  89. package/dist/sdk.es142.js.map +1 -1
  90. package/dist/sdk.es143.js +5 -7
  91. package/dist/sdk.es143.js.map +1 -1
  92. package/dist/sdk.es144.js +5 -6
  93. package/dist/sdk.es144.js.map +1 -1
  94. package/dist/sdk.es145.js +10 -24
  95. package/dist/sdk.es145.js.map +1 -1
  96. package/dist/sdk.es146.js +7 -99
  97. package/dist/sdk.es146.js.map +1 -1
  98. package/dist/sdk.es147.js +7 -47
  99. package/dist/sdk.es147.js.map +1 -1
  100. package/dist/sdk.es148.js +25 -10
  101. package/dist/sdk.es148.js.map +1 -1
  102. package/dist/sdk.es149.js +99 -9
  103. package/dist/sdk.es149.js.map +1 -1
  104. package/dist/sdk.es15.js +13 -13
  105. package/dist/sdk.es150.js +47 -14
  106. package/dist/sdk.es150.js.map +1 -1
  107. package/dist/sdk.es151.js +9 -10
  108. package/dist/sdk.es151.js.map +1 -1
  109. package/dist/sdk.es152.js +9 -6
  110. package/dist/sdk.es152.js.map +1 -1
  111. package/dist/sdk.es153.js +13 -14
  112. package/dist/sdk.es153.js.map +1 -1
  113. package/dist/sdk.es154.js +10 -28
  114. package/dist/sdk.es154.js.map +1 -1
  115. package/dist/sdk.es155.js +5 -14
  116. package/dist/sdk.es155.js.map +1 -1
  117. package/dist/sdk.es156.js +12 -51
  118. package/dist/sdk.es156.js.map +1 -1
  119. package/dist/sdk.es157.js +29 -10
  120. package/dist/sdk.es157.js.map +1 -1
  121. package/dist/sdk.es158.js +15 -19
  122. package/dist/sdk.es158.js.map +1 -1
  123. package/dist/sdk.es159.js +7 -7
  124. package/dist/sdk.es159.js.map +1 -1
  125. package/dist/sdk.es25.js +1 -1
  126. package/dist/sdk.es26.js +1 -1
  127. package/dist/sdk.es27.js +1 -1
  128. package/dist/sdk.es28.js +1 -1
  129. package/dist/sdk.es29.js +1 -1
  130. package/dist/sdk.es3.js +17 -17
  131. package/dist/sdk.es30.js +1 -1
  132. package/dist/sdk.es32.js +1 -1
  133. package/dist/sdk.es35.js +21 -21
  134. package/dist/sdk.es35.js.map +1 -1
  135. package/dist/sdk.es36.js +27 -27
  136. package/dist/sdk.es36.js.map +1 -1
  137. package/dist/sdk.es37.js +57 -57
  138. package/dist/sdk.es37.js.map +1 -1
  139. package/dist/sdk.es39.js +3 -3
  140. package/dist/sdk.es39.js.map +1 -1
  141. package/dist/sdk.es41.js.map +1 -1
  142. package/dist/sdk.es43.js +11 -11
  143. package/dist/sdk.es43.js.map +1 -1
  144. package/dist/sdk.es44.js +1 -1
  145. package/dist/sdk.es44.js.map +1 -1
  146. package/dist/sdk.es45.js +5 -2
  147. package/dist/sdk.es45.js.map +1 -1
  148. package/dist/sdk.es46.js +22 -2
  149. package/dist/sdk.es46.js.map +1 -1
  150. package/dist/sdk.es47.js +79 -4
  151. package/dist/sdk.es47.js.map +1 -1
  152. package/dist/sdk.es48.js +75 -7
  153. package/dist/sdk.es48.js.map +1 -1
  154. package/dist/sdk.es49.js +231 -6
  155. package/dist/sdk.es49.js.map +1 -1
  156. package/dist/sdk.es5.js.map +1 -1
  157. package/dist/sdk.es50.js +25 -8
  158. package/dist/sdk.es50.js.map +1 -1
  159. package/dist/sdk.es51.js +3 -7
  160. package/dist/sdk.es51.js.map +1 -1
  161. package/dist/sdk.es52.js +2 -8
  162. package/dist/sdk.es52.js.map +1 -1
  163. package/dist/sdk.es53.js +2 -5
  164. package/dist/sdk.es53.js.map +1 -1
  165. package/dist/sdk.es54.js +8 -15
  166. package/dist/sdk.es54.js.map +1 -1
  167. package/dist/sdk.es55.js +6 -8
  168. package/dist/sdk.es55.js.map +1 -1
  169. package/dist/sdk.es56.js +7 -9
  170. package/dist/sdk.es56.js.map +1 -1
  171. package/dist/sdk.es57.js +4 -8
  172. package/dist/sdk.es57.js.map +1 -1
  173. package/dist/sdk.es58.js +15 -636
  174. package/dist/sdk.es58.js.map +1 -1
  175. package/dist/sdk.es59.js +9 -74
  176. package/dist/sdk.es59.js.map +1 -1
  177. package/dist/sdk.es60.js +9 -4
  178. package/dist/sdk.es60.js.map +1 -1
  179. package/dist/sdk.es61.js +8 -19
  180. package/dist/sdk.es61.js.map +1 -1
  181. package/dist/sdk.es62.js +638 -4
  182. package/dist/sdk.es62.js.map +1 -1
  183. package/dist/sdk.es63.js +72 -16
  184. package/dist/sdk.es63.js.map +1 -1
  185. package/dist/sdk.es64.js +4 -5
  186. package/dist/sdk.es64.js.map +1 -1
  187. package/dist/sdk.es65.js +19 -8
  188. package/dist/sdk.es65.js.map +1 -1
  189. package/dist/sdk.es66.js +4 -48
  190. package/dist/sdk.es66.js.map +1 -1
  191. package/dist/sdk.es67.js +18 -8
  192. package/dist/sdk.es67.js.map +1 -1
  193. package/dist/sdk.es68.js +6 -57
  194. package/dist/sdk.es68.js.map +1 -1
  195. package/dist/sdk.es69.js +9 -65
  196. package/dist/sdk.es69.js.map +1 -1
  197. package/dist/sdk.es70.js +48 -8
  198. package/dist/sdk.es70.js.map +1 -1
  199. package/dist/sdk.es71.js +8 -4
  200. package/dist/sdk.es71.js.map +1 -1
  201. package/dist/sdk.es72.js +57 -3
  202. package/dist/sdk.es72.js.map +1 -1
  203. package/dist/sdk.es73.js +65 -5
  204. package/dist/sdk.es73.js.map +1 -1
  205. package/dist/sdk.es74.js +8 -21
  206. package/dist/sdk.es74.js.map +1 -1
  207. package/dist/sdk.es75.js +4 -79
  208. package/dist/sdk.es75.js.map +1 -1
  209. package/dist/sdk.es76.js +4 -76
  210. package/dist/sdk.es76.js.map +1 -1
  211. package/dist/sdk.es77.js +7 -231
  212. package/dist/sdk.es77.js.map +1 -1
  213. package/dist/sdk.es78.js +6 -25
  214. package/dist/sdk.es78.js.map +1 -1
  215. package/dist/sdk.es79.js +40 -2
  216. package/dist/sdk.es79.js.map +1 -1
  217. package/dist/sdk.es80.js +2 -11
  218. package/dist/sdk.es80.js.map +1 -1
  219. package/dist/sdk.es81.js +53 -10
  220. package/dist/sdk.es81.js.map +1 -1
  221. package/dist/sdk.es82.js +10 -13
  222. package/dist/sdk.es82.js.map +1 -1
  223. package/dist/sdk.es83.js +19 -10
  224. package/dist/sdk.es83.js.map +1 -1
  225. package/dist/sdk.es84.js +3674 -18
  226. package/dist/sdk.es84.js.map +1 -1
  227. package/dist/sdk.es85.js +5 -5
  228. package/dist/sdk.es85.js.map +1 -1
  229. package/dist/sdk.es86.js +2 -55
  230. package/dist/sdk.es86.js.map +1 -1
  231. package/dist/sdk.es87.js +10 -8
  232. package/dist/sdk.es87.js.map +1 -1
  233. package/dist/sdk.es88.js +10 -4
  234. package/dist/sdk.es88.js.map +1 -1
  235. package/dist/sdk.es89.js +12 -13
  236. package/dist/sdk.es89.js.map +1 -1
  237. package/dist/sdk.es90.js +9 -13
  238. package/dist/sdk.es90.js.map +1 -1
  239. package/dist/sdk.es91.js +18 -3
  240. package/dist/sdk.es91.js.map +1 -1
  241. package/dist/sdk.es92.js +5 -12
  242. package/dist/sdk.es92.js.map +1 -1
  243. package/dist/sdk.es93.js +55 -10
  244. package/dist/sdk.es93.js.map +1 -1
  245. package/dist/sdk.es94.js +2 -55
  246. package/dist/sdk.es94.js.map +1 -1
  247. package/dist/sdk.es95.js +8 -56
  248. package/dist/sdk.es95.js.map +1 -1
  249. package/dist/sdk.es96.js +5 -59
  250. package/dist/sdk.es96.js.map +1 -1
  251. package/dist/sdk.es97.js +13 -32
  252. package/dist/sdk.es97.js.map +1 -1
  253. package/dist/sdk.es98.js +15 -31
  254. package/dist/sdk.es98.js.map +1 -1
  255. package/dist/sdk.es99.js +4 -74
  256. package/dist/sdk.es99.js.map +1 -1
  257. package/package.json +1 -1
  258. package/dist/components/common/Button.d.ts +0 -15
  259. package/dist/components/common/Card.d.ts +0 -7
  260. package/dist/components/common/Modal.d.ts +0 -11
  261. package/dist/components/common/Pagination.d.ts +0 -10
  262. package/dist/components/common/SimplePagination.d.ts +0 -10
  263. package/dist/components/common/ToastItem.d.ts +0 -3
  264. package/dist/components/common/Toasts.d.ts +0 -2
  265. package/dist/components/common/index.d.ts +0 -8
  266. package/dist/components/filter/Action.d.ts +0 -3
  267. package/dist/components/filter/Back.d.ts +0 -5
  268. package/dist/components/filter/Dropdown.d.ts +0 -9
  269. package/dist/components/filter/FilterItem.d.ts +0 -6
  270. package/dist/components/filter/FilterOptions.d.ts +0 -5
  271. package/dist/components/filter/PageHeader.d.ts +0 -21
  272. package/dist/components/filter/SearchBar.d.ts +0 -10
  273. package/dist/components/filter/index.d.ts +0 -1
  274. package/dist/components/forms/DateOfBirthField.d.ts +0 -12
  275. package/dist/components/forms/ErrorList.d.ts +0 -10
  276. package/dist/components/forms/FormTester.d.ts +0 -6
  277. package/dist/components/forms/MoneyField.d.ts +0 -11
  278. package/dist/components/forms/RegistrationSearchField.d.ts +0 -29
  279. package/dist/components/forms/index.d.ts +0 -6
  280. package/dist/components/index.d.ts +0 -4
  281. package/dist/components/tables/Table.d.ts +0 -6
  282. package/dist/components/tables/TableActions.d.ts +0 -7
  283. package/dist/components/tables/TableBody.d.ts +0 -7
  284. package/dist/components/tables/TableCell.d.ts +0 -8
  285. package/dist/components/tables/TableHead.d.ts +0 -7
  286. package/dist/components/tables/TableHeader.d.ts +0 -10
  287. package/dist/components/tables/TableRow.d.ts +0 -8
  288. package/dist/components/tables/index.d.ts +0 -8
  289. package/dist/lib/addressFinder.d.ts +0 -54
  290. package/dist/lib/auth.d.ts +0 -2
  291. package/dist/lib/calculateAge.d.ts +0 -4
  292. package/dist/lib/calculatePricing.d.ts +0 -19
  293. package/dist/lib/clickOutside.d.ts +0 -1
  294. package/dist/lib/dates.d.ts +0 -20
  295. package/dist/lib/fetch.d.ts +0 -20
  296. package/dist/lib/index.d.ts +0 -14
  297. package/dist/lib/inertiaOptions.d.ts +0 -6
  298. package/dist/lib/localStorage.d.ts +0 -1
  299. package/dist/lib/money.d.ts +0 -32
  300. package/dist/lib/page.d.ts +0 -19
  301. package/dist/lib/quoteRequestForm.d.ts +0 -21
  302. package/dist/lib/quoteRequestOptions.d.ts +0 -11
  303. package/dist/lib/toast.d.ts +0 -10
  304. package/dist/lib/vehicles.d.ts +0 -2
  305. package/dist/tailwind-preset.d.cts +0 -2
  306. package/dist/types/api/auth.d.ts +0 -35
  307. package/dist/types/api/enums.d.ts +0 -4
  308. package/dist/types/api/index.d.ts +0 -31
  309. package/dist/types/api/responses/claimRequestActions.d.ts +0 -12
  310. package/dist/types/api/responses/index.d.ts +0 -1
  311. package/dist/types/index.d.ts +0 -3
  312. package/dist/types/misc/index.d.ts +0 -59
  313. package/dist/types/models/auth/Group.d.ts +0 -10
  314. package/dist/types/models/auth/Permission.d.ts +0 -4
  315. package/dist/types/models/auth/Role.d.ts +0 -8
  316. package/dist/types/models/auth/User.d.ts +0 -17
  317. package/dist/types/models/auth/index.d.ts +0 -4
  318. package/dist/types/models/claims/ClaimRequest.d.ts +0 -328
  319. package/dist/types/models/claims/index.d.ts +0 -1
  320. package/dist/types/models/index.d.ts +0 -6
  321. package/dist/types/models/oracle/Risk.d.ts +0 -8
  322. package/dist/types/models/oracle/TableData.d.ts +0 -9
  323. package/dist/types/models/oracle/index.d.ts +0 -2
  324. package/dist/types/models/payments/Gateways.d.ts +0 -1
  325. package/dist/types/models/payments/Payment.d.ts +0 -36
  326. package/dist/types/models/payments/index.d.ts +0 -2
  327. package/dist/types/models/quotes/Blacklist.d.ts +0 -20
  328. package/dist/types/models/quotes/Club.d.ts +0 -4
  329. package/dist/types/models/quotes/EmailContentOption.d.ts +0 -7
  330. package/dist/types/models/quotes/InformationRequest.d.ts +0 -34
  331. package/dist/types/models/quotes/Lead.d.ts +0 -17
  332. package/dist/types/models/quotes/MotorwebVehicle.d.ts +0 -120
  333. package/dist/types/models/quotes/PolicyBenefit.d.ts +0 -16
  334. package/dist/types/models/quotes/PolicyEnhancement.d.ts +0 -13
  335. package/dist/types/models/quotes/PostalAddress.d.ts +0 -7
  336. package/dist/types/models/quotes/PromoCode.d.ts +0 -18
  337. package/dist/types/models/quotes/QuoteRequest.d.ts +0 -112
  338. package/dist/types/models/quotes/QuoteRequestDeclaration.d.ts +0 -22
  339. package/dist/types/models/quotes/QuoteRequestForm.d.ts +0 -113
  340. package/dist/types/models/quotes/QuoteRequestIncident.d.ts +0 -6
  341. package/dist/types/models/quotes/QuoteRequestLog.d.ts +0 -11
  342. package/dist/types/models/quotes/QuoteRequestOptions.d.ts +0 -62
  343. package/dist/types/models/quotes/QuoteRequestPurchaseOption.d.ts +0 -38
  344. package/dist/types/models/quotes/QuoteRequestReferrer.d.ts +0 -9
  345. package/dist/types/models/quotes/QuoteRequestReferrerCategory.d.ts +0 -6
  346. package/dist/types/models/quotes/QuoteRequestVehicle.d.ts +0 -23
  347. package/dist/types/models/quotes/QuoteRequestVehicleDriver.d.ts +0 -11
  348. package/dist/types/models/quotes/RedbookVehicle.d.ts +0 -55
  349. package/dist/types/models/quotes/StreetAddress.d.ts +0 -8
  350. package/dist/types/models/quotes/index.d.ts +0 -23
  351. package/dist/types/models/sms-messages/SmsContentOption.d.ts +0 -7
  352. package/dist/types/models/sms-messages/SmsMessage.d.ts +0 -18
  353. package/dist/types/models/sms-messages/SmsMessageReply.d.ts +0 -10
  354. package/dist/types/models/sms-messages/index.d.ts +0 -3
@@ -1,328 +0,0 @@
1
- import { Condition, Frequency, VehicleType } from '../../api';
2
- export type ClaimRequestStatus = 'new' | 'draft' | 'in-progress' | 'exported';
3
- export interface ClaimRequest {
4
- 'id': string;
5
- 'reference'?: string;
6
- 'status'?: ClaimRequestStatus;
7
- 'submitted_at'?: string;
8
- 'reminder_sent_at'?: string;
9
- 'claim_number'?: string;
10
- 'policyholder'?: string;
11
- 'policy_number'?: string;
12
- 'policy_cover_number'?: string;
13
- 'policy_version_number'?: string;
14
- 'policy_contact_name'?: string;
15
- 'mobile'?: string;
16
- 'email'?: string;
17
- 'alternative_contact'?: string;
18
- 'broker_firm'?: string;
19
- 'broker_name'?: string;
20
- 'address'?: string;
21
- 'terms_accepted_by'?: string;
22
- 'loss_estimate'?: number;
23
- 'excess'?: number;
24
- 'excess_status'?: string;
25
- 'sum_insured'?: number;
26
- 'cover_type'?: string;
27
- 'reserve_expense'?: number;
28
- 'fault_flag'?: string;
29
- 'category'?: string;
30
- 'substatus'?: string;
31
- 'severity_code'?: string;
32
- 'action'?: string;
33
- 'vehicle_type_code'?: string;
34
- 'vehicle_make_code'?: string;
35
- 'eglobal_user_id'?: string;
36
- 'client_comments'?: string;
37
- 'insurer_comments'?: string;
38
- 'status_line'?: string;
39
- 'claim_summary'?: string;
40
- 'driver_gender'?: string;
41
- 'is_assessor_required'?: boolean;
42
- 'acceptance_code'?: string;
43
- 'client_number'?: string;
44
- 'attachments'?: ClaimRequestAttachment[];
45
- 'notes'?: string;
46
- }
47
- export interface ClaimRequestAttachment {
48
- 'id': number;
49
- 'created_at': string;
50
- 'updated_at': string;
51
- 'claim_request_id': ClaimRequest['id'];
52
- 'title': string;
53
- 'url': string;
54
- 'disk'?: string;
55
- 'claim_request_type'?: string;
56
- }
57
- export interface DamageClaimRequest extends ClaimRequest {
58
- 'claim_type': 'damage';
59
- 'vehicle_registration'?: string;
60
- 'vehicle_vin'?: string;
61
- 'vehicle_make_and_model'?: string;
62
- 'vehicle_make'?: string;
63
- 'vehicle_model'?: string;
64
- 'vehicle_year'?: string | number;
65
- 'vehicle_type'?: VehicleType;
66
- 'finance_company'?: string;
67
- 'finance_phone'?: string;
68
- 'driver_name'?: string;
69
- 'driver_dob'?: string;
70
- 'driver_relationship'?: string;
71
- 'driver_licence_number'?: string;
72
- 'driver_licence_version'?: string;
73
- 'driver_licence_issuer'?: string;
74
- 'was_intoxicated'?: boolean;
75
- 'intoxicated_details'?: string;
76
- 'has_conviction'?: boolean;
77
- 'conviction_details'?: string;
78
- 'has_recent_claim'?: boolean;
79
- 'incident_details'?: Incident[];
80
- 'was_disqualified'?: boolean;
81
- 'disqualified_details'?: string;
82
- 'was_vehicle_used_without_consent'?: boolean;
83
- 'vehicle_used_without_consent_details'?: string;
84
- 'has_existing_vehicle_damage'?: boolean;
85
- 'existing_vehicle_damage_details'?: string;
86
- 'was_refused_insurance'?: boolean;
87
- 'refused_insurance_details'?: string;
88
- 'has_additional_information'?: boolean;
89
- 'additional_information_details'?: string;
90
- 'accident_location'?: string;
91
- 'accident_suburb'?: string;
92
- 'loss_happened_at'?: string;
93
- 'accident_speed'?: string;
94
- 'impact_speed'?: string;
95
- 'road_surface'?: string;
96
- 'weather_conditions'?: string;
97
- 'had_passengers'?: boolean;
98
- 'passenger_details'?: Passenger[];
99
- 'has_witnesses'?: boolean;
100
- 'witness_details'?: Witness[];
101
- 'accident_description'?: string;
102
- 'vehicle_location'?: string;
103
- 'is_vehicle_drivable'?: boolean;
104
- 'vehicle_drivable_details'?: string;
105
- 'was_warning_given'?: boolean;
106
- 'warning_given_details'?: string;
107
- 'was_third_party_responsible'?: boolean;
108
- 'third_party_responsible_details'?: string;
109
- 'was_third_party_involved'?: boolean;
110
- 'third_party_vehicle_registration'?: string;
111
- 'third_party_vehicle_owner'?: string;
112
- 'third_party_vehicle_make'?: string;
113
- 'third_party_vehicle_model'?: string;
114
- 'third_party_vehicle_driver_name'?: string;
115
- 'third_party_vehicle_driver_mobile'?: string;
116
- 'third_party_vehicle_driver_phone'?: string;
117
- 'third_party_vehicle_driver_address'?: string;
118
- 'third_party_vehicle_insurance_company'?: string;
119
- 'third_party_vehicle_damage'?: string;
120
- 'third_party_details_provided'?: string;
121
- 'were_police_notified'?: boolean;
122
- 'did_police_attend'?: boolean;
123
- 'police_officer_name'?: string;
124
- 'police_officer_email'?: string;
125
- 'police_reference'?: string;
126
- 'police_station_address'?: string;
127
- 'police_did_test'?: boolean;
128
- 'police_issued_notice'?: boolean;
129
- 'repairer_name'?: string;
130
- 'repairer_phone'?: string;
131
- 'repairer_email'?: string;
132
- 'is_claiming_protective_gear'?: boolean;
133
- 'is_protective_gear_insured_elsewhere'?: boolean;
134
- 'protective_gear_details'?: ClaimItem[];
135
- 'is_claiming_contents'?: boolean;
136
- 'is_contents_insured_elsewhere'?: boolean;
137
- 'contents_details'?: ClaimItem[];
138
- }
139
- export interface Incident {
140
- 'year': string;
141
- 'month': string;
142
- 'description': string;
143
- }
144
- export interface Passenger {
145
- 'name': string;
146
- 'phone'?: string;
147
- 'email'?: string;
148
- 'address'?: string;
149
- }
150
- export interface Witness {
151
- 'name': string;
152
- 'phone'?: string;
153
- 'email'?: string;
154
- 'address'?: string;
155
- }
156
- export interface ClaimItem {
157
- 'description': string;
158
- 'purchased_from'?: string;
159
- 'age'?: string;
160
- 'purchase_price'?: string;
161
- 'replacement_cost'?: string;
162
- }
163
- export interface GlassClaimRequest extends ClaimRequest {
164
- 'claim_type': 'glass';
165
- 'vehicle_registration'?: string;
166
- 'vehicle_vin'?: string;
167
- 'vehicle_make_and_model'?: string;
168
- 'vehicle_make'?: string;
169
- 'vehicle_model'?: string;
170
- 'vehicle_year'?: string | number;
171
- 'accident_location'?: string;
172
- 'loss_happened_at'?: string;
173
- 'accident_description'?: string;
174
- 'repairer_name'?: string;
175
- 'repairer_phone'?: string;
176
- 'repairer_email'?: string;
177
- }
178
- export interface TheftClaimRequest extends ClaimRequest {
179
- 'claim_type': 'theft';
180
- 'is_registered_under_same_name'?: boolean;
181
- 'registered_name'?: string;
182
- 'registered_address'?: string;
183
- 'registered_phone'?: string;
184
- 'is_leased'?: boolean;
185
- 'lease_name'?: string;
186
- 'lease_address'?: string;
187
- 'lease_phone'?: string;
188
- 'lease_number'?: string;
189
- 'lease_payment_amount'?: string | number;
190
- 'lease_payment_frequency'?: Frequency;
191
- 'has_conviction'?: boolean;
192
- 'conviction_details'?: string;
193
- 'has_recent_claim'?: boolean;
194
- 'incident_details'?: Incident[];
195
- 'was_disqualified'?: boolean;
196
- 'disqualified_details'?: string;
197
- 'was_vehicle_used_without_consent'?: boolean;
198
- 'vehicle_used_without_consent_details'?: string;
199
- 'has_existing_vehicle_damage'?: boolean;
200
- 'existing_vehicle_damage_details'?: string;
201
- 'was_refused_insurance'?: boolean;
202
- 'refused_insurance_details'?: string;
203
- 'has_additional_information'?: boolean;
204
- 'additional_information_details'?: string;
205
- 'vehicle_registration'?: string;
206
- 'vehicle_vin'?: string;
207
- 'vehicle_make_and_model'?: string;
208
- 'vehicle_make'?: string;
209
- 'vehicle_model'?: string;
210
- 'vehicle_year'?: string | number;
211
- 'vehicle_type'?: VehicleType;
212
- 'finance_company'?: string;
213
- 'finance_phone'?: string;
214
- 'vehicle_purchased_on'?: string;
215
- 'vehicle_purchased_from'?: string;
216
- 'vehicle_purchased_price'?: string | number;
217
- 'vehicle_value'?: number;
218
- 'was_vehicle_for_sale'?: boolean;
219
- 'vehicle_first_asking_price'?: string | number;
220
- 'vehicle_last_asking_price'?: string | number;
221
- 'vehicle_sale_duration'?: string;
222
- 'vehicle_purchaser_name'?: string;
223
- 'vehicle_purchaser_address'?: string;
224
- 'vehicle_purchaser_phone'?: string;
225
- 'vehicle_hp_cc_rating'?: string;
226
- 'vehicle_transmission'?: string;
227
- 'vehicle_engine_number'?: string;
228
- 'vehicle_has_air_conditioning'?: boolean;
229
- 'vehicle_has_cng'?: boolean;
230
- 'vehicle_has_lpg'?: boolean;
231
- 'vehicle_colour'?: string;
232
- 'vehicle_colour_changes'?: string;
233
- 'was_vehicle_repaired'?: boolean;
234
- 'vehicle_repaired_damage_details'?: string;
235
- 'vehicle_repairer'?: string;
236
- 'vehicle_repaired_on'?: string;
237
- 'was_vehicle_damaged'?: boolean;
238
- 'vehicle_damage_details'?: string;
239
- 'vehicle_tyre_condition_front_right'?: Condition;
240
- 'vehicle_tyre_condition_front_left'?: Condition;
241
- 'vehicle_tyre_condition_rear_right'?: Condition;
242
- 'vehicle_tyre_condition_rear_left'?: Condition;
243
- 'vehicle_tyre_condition_spare'?: string;
244
- 'wheel_assembly_details'?: string;
245
- 'vehicle_radio_type'?: string;
246
- 'vehicle_radio_make'?: string;
247
- 'vehicle_radio_location'?: string;
248
- 'vehicle_radio_fixing'?: string;
249
- 'vehicle_speaker_make'?: string;
250
- 'has_additional_accessories'?: boolean;
251
- 'accessory_details'?: Accessory[];
252
- 'has_identifiable_contents'?: boolean;
253
- 'identifiable_contents_details'?: Contents[];
254
- 'vehicle_serviced_by'?: string;
255
- 'has_service_invoices'?: boolean;
256
- 'vehicle_wof_issued_by'?: string;
257
- 'vehicle_wof_issued_on'?: string;
258
- 'vehicle_wof_expires_on'?: string;
259
- 'vehicle_floor_type'?: string;
260
- 'vehicle_interior_details'?: string;
261
- 'vehicle_seatbelt_type'?: string;
262
- 'vehicle_seatbelt_condition'?: Condition;
263
- 'vehicle_engine_condition'?: Condition;
264
- 'vehicle_gearbox_condition'?: Condition;
265
- 'vehicle_transmission_condition'?: Condition;
266
- 'vehicle_suspension_condition'?: Condition;
267
- 'vehicle_steering_condition'?: Condition;
268
- 'vehicle_seats_condition'?: Condition;
269
- 'vehicle_trims_condition'?: Condition;
270
- 'vehicle_body_condition'?: Condition;
271
- 'vehicle_paint_condition'?: Condition;
272
- 'vehicle_dashboard_condition'?: Condition;
273
- 'did_engine_use_oil'?: boolean;
274
- 'vehicle_engine_oil_per_month'?: string;
275
- 'vehicle_ran_well'?: boolean;
276
- 'vehicle_ran_poorly_details'?: string;
277
- 'theft_details'?: string;
278
- 'loss_happened_at'?: string;
279
- 'theft_discovered_at'?: string;
280
- 'last_seen_at'?: string;
281
- 'vehicle_last_used_by'?: string;
282
- 'address_stolen_from'?: string;
283
- 'were_windows_up'?: boolean;
284
- 'windows_down_details'?: string;
285
- 'were_doors_locked'?: boolean;
286
- 'doors_unlocked_details'?: string;
287
- 'has_theft_evidence'?: boolean;
288
- 'theft_evidence_details'?: string;
289
- 'has_steering_lock'?: boolean;
290
- 'was_steering_lock_activated'?: boolean;
291
- 'has_alarm'?: boolean;
292
- 'was_alarm_active'?: boolean;
293
- 'alarm_inactive_details'?: string;
294
- 'was_boot_locked'?: boolean;
295
- 'boot_unlocked_details'?: string;
296
- 'keys_count'?: string;
297
- 'key_holder_name'?: string;
298
- 'key_holder_phone'?: string;
299
- 'key_holder_address'?: string;
300
- 'keys_location'?: string;
301
- 'policyholder_whereabouts_details'?: string;
302
- 'were_police_notified'?: boolean;
303
- 'did_police_attend'?: boolean;
304
- 'police_officer_name'?: string;
305
- 'police_officer_email'?: string;
306
- 'police_reference'?: string;
307
- 'police_station_address'?: string;
308
- 'police_not_notified_details'?: string;
309
- 'police_have_suspect'?: boolean;
310
- 'police_suspect_details'?: string;
311
- 'policyholder_has_suspect'?: boolean;
312
- 'policyholder_suspect_details'?: string;
313
- 'was_theft_witnessed'?: boolean;
314
- 'theft_witnessed_details'?: string;
315
- 'has_cctv_footage'?: boolean;
316
- 'cctv_footage_details'?: string;
317
- 'is_claiming_contents'?: boolean;
318
- 'is_contents_insured_elsewhere'?: boolean;
319
- 'contents_details'?: ClaimItem[];
320
- }
321
- export interface Accessory {
322
- 'description': string;
323
- 'age': string;
324
- 'condition': string;
325
- }
326
- export interface Contents {
327
- 'description': string;
328
- }
@@ -1 +0,0 @@
1
- export * from './ClaimRequest';
@@ -1,6 +0,0 @@
1
- export * from './auth';
2
- export * from './claims';
3
- export * from './oracle';
4
- export * from './quotes';
5
- export * from './sms-messages';
6
- export * from './payments';
@@ -1,8 +0,0 @@
1
- export interface RiskDisplayValue {
2
- id: number;
3
- created_at: string;
4
- updated_at: string;
5
- RI_CODE: string;
6
- RI_DESCRIPTION?: string;
7
- value: string;
8
- }
@@ -1,9 +0,0 @@
1
- export interface TableDataDisplayValue {
2
- id: number;
3
- created_at: string;
4
- updated_at: string;
5
- TBL_TYPE: string;
6
- TBL_CODE: string;
7
- TBL_FULLNAME?: string;
8
- value: string;
9
- }
@@ -1,2 +0,0 @@
1
- export * from './Risk';
2
- export * from './TableData';
@@ -1 +0,0 @@
1
- export type GatewayKey = 'SIS_Windcave_Account2Account' | 'SIS_Windcave_PxPayTradeMe' | 'SIS_Windcave_PxPayMonth' | 'SIS_Windcave_PxPayYear' | 'SIS_Windcave_PxPayStaff' | 'SIS_Windcave_PxPayTradeMeStaff' | 'bind' | 'invoice';
@@ -1,36 +0,0 @@
1
- import { User } from '../auth';
2
- import { QuoteRequest } from '../quotes';
3
- import { GatewayKey } from './Gateways';
4
- export type PaymentStatus = 'accepted' | 'incomplete' | 'declined';
5
- export type PaymentType = 'quote' | 'account' | 'auction';
6
- export interface Payment {
7
- id: string;
8
- created_at: string;
9
- updated_at: string;
10
- status: PaymentStatus;
11
- reference: string | null;
12
- client_number: string | null;
13
- amount: number;
14
- processing_fee: number | null;
15
- surcharge_percentage: number | null;
16
- name: string | null;
17
- email: string | null;
18
- phone: string | null;
19
- mobile: string | null;
20
- gateway_key: GatewayKey;
21
- gateway_reference: string;
22
- payment_type: PaymentType;
23
- quote_request_purchase_option_id: number | null;
24
- quote_request_id: string | null;
25
- email_sent_at: string | null;
26
- cardholder_name: string;
27
- card_name: string;
28
- card_number: string;
29
- card_expires_at: string;
30
- card_token: string | null;
31
- user_id: User['id'] | null;
32
- return_url: string | null;
33
- reason?: string;
34
- user?: User;
35
- quoteRequest?: QuoteRequest;
36
- }
@@ -1,2 +0,0 @@
1
- export * from './Payment';
2
- export * from './Gateways';
@@ -1,20 +0,0 @@
1
- import { User } from '../auth';
2
- export interface BlacklistEntry {
3
- id?: number;
4
- created_at?: string;
5
- name?: string;
6
- description?: string;
7
- profiles?: BlacklistEntryProfile[];
8
- user_id?: number;
9
- user?: User;
10
- }
11
- export interface BlacklistEntryProfile {
12
- id?: number;
13
- created_at?: string;
14
- email?: string;
15
- client_number?: string;
16
- phone?: string;
17
- mobile?: string;
18
- registration?: string;
19
- blacklist_entry_id: BlacklistEntry['id'];
20
- }
@@ -1,4 +0,0 @@
1
- export interface Club {
2
- id: number;
3
- name: string;
4
- }
@@ -1,7 +0,0 @@
1
- export interface EmailContentOption {
2
- id: number;
3
- created_at: string;
4
- updated_at: string;
5
- name: string;
6
- content: string;
7
- }
@@ -1,34 +0,0 @@
1
- import { User } from '../auth';
2
- export type InformationRequestStatus = 'open' | 'closed';
3
- export interface InformationRequest {
4
- id: string;
5
- created_at: string;
6
- updated_at: string;
7
- user_id: number | null;
8
- quote_request_id: string;
9
- subject: string;
10
- status: InformationRequestStatus;
11
- messages?: InformationRequestMessage[];
12
- user?: User;
13
- }
14
- export interface InformationRequestMessage {
15
- id: number;
16
- created_at: string;
17
- updated_at: string;
18
- information_request_id: string;
19
- user_id: number | null;
20
- content: string;
21
- has_been_read_by_customer: boolean;
22
- sent_at: string;
23
- received_at: string;
24
- user?: User;
25
- attachments?: InformationRequestAttachment[];
26
- }
27
- export interface InformationRequestAttachment {
28
- id: number;
29
- created_at: string;
30
- updated_at: string;
31
- information_request_message_id: string;
32
- title: string;
33
- url: string;
34
- }
@@ -1,17 +0,0 @@
1
- import { PostalAddress } from './PostalAddress';
2
- export interface Lead {
3
- id: number;
4
- first_name: string;
5
- last_name: string;
6
- email: string;
7
- mobile: string;
8
- status: string;
9
- source: string;
10
- postal_address_id: PostalAddress['id'];
11
- current_insurer: string | null;
12
- current_insurance_expires_at: string | null;
13
- current_insurance_is_monthly: boolean;
14
- vehicle_details: string | null;
15
- notes: string | null;
16
- import_data: string | null;
17
- }
@@ -1,120 +0,0 @@
1
- export interface MotorwebVehicleResponse {
2
- id: number;
3
- created_at: string;
4
- updated_at: string;
5
- check_type: 'bvi' | 'motorcheck' | 'valuation';
6
- plate_or_vin: string;
7
- data: MotorwebVehicle;
8
- }
9
- export interface MotorwebVehicle {
10
- '@attributes': Attributes;
11
- 'vehicle': BviCheck | MotorvehicleCheck;
12
- }
13
- interface Attributes {
14
- 'version'?: string;
15
- }
16
- interface FirstRegistrationDateOverseas {
17
- 'month'?: string;
18
- 'year'?: string;
19
- 'description'?: string;
20
- }
21
- interface Registration {
22
- 'previous-country-of-registration'?: string;
23
- 'first-registration-date-in-new-zealand'?: string;
24
- 'registration-status'?: string;
25
- 'cause-of-last-registration'?: string;
26
- 'registered-overseas'?: string;
27
- 'first-registration-date-overseas'?: FirstRegistrationDateOverseas;
28
- 'last-registration-date'?: string;
29
- }
30
- interface Licence {
31
- 'expiry-date'?: string;
32
- 'licence-type'?: string;
33
- 'issue-date'?: string;
34
- 'issue-time'?: string;
35
- 'continuous'?: string;
36
- }
37
- interface Wof {
38
- 'last-inspection-date'?: string;
39
- 'last-inspection-result'?: string;
40
- 'expiry-date'?: string;
41
- 'is-subject-to'?: string;
42
- }
43
- interface Cof {
44
- 'is-subject-to'?: string;
45
- }
46
- interface Attributes2 {
47
- 'data-retrieved'?: string;
48
- }
49
- interface Ruc {
50
- '@attributes': Attributes2;
51
- 'is-subject-to'?: string;
52
- }
53
- interface Attributes3 {
54
- 'current'?: string;
55
- 'past-plate'?: string;
56
- }
57
- interface Plate {
58
- '@attributes'?: Attributes3;
59
- 'plate-number'?: string;
60
- 'plate-type'?: string;
61
- 'effective-date'?: string;
62
- }
63
- interface Attributes4 {
64
- 'latest'?: string;
65
- }
66
- interface OdometerReading {
67
- '@attributes'?: Attributes4;
68
- 'reading'?: string;
69
- 'reading-date'?: string;
70
- 'reading-unit'?: string;
71
- 'source'?: string;
72
- }
73
- interface Transmission {
74
- 'type'?: string;
75
- }
76
- interface Attributes5 {
77
- 'current': string;
78
- 'owner-number': string;
79
- 'suppressed-reason': string;
80
- }
81
- interface Owner {
82
- '@attributes': Attributes5;
83
- 'ownership-date': string;
84
- 'owner-status': string;
85
- }
86
- interface BviCheck {
87
- 'registration'?: Registration;
88
- 'licence'?: Licence;
89
- 'wof'?: Wof;
90
- 'cof'?: Cof;
91
- 'ruc'?: Ruc;
92
- 'year-of-manufacture'?: string;
93
- 'make'?: string;
94
- 'model'?: string;
95
- 'mvr-model'?: string;
96
- 'body-style'?: string;
97
- 'vehicle-type'?: string;
98
- 'vin'?: string;
99
- 'chassis'?: string;
100
- 'engine-number'?: string;
101
- 'main-colour'?: string;
102
- 'cc-rating'?: string;
103
- 'country-of-origin'?: string;
104
- 'assembly-type'?: string;
105
- 'gross-vehicle-mass'?: string;
106
- 'number-of-seats'?: string;
107
- 'fuel-type'?: string;
108
- 'vehicle-usage'?: string;
109
- 'odometer-unit'?: string;
110
- 'plate'?: Plate;
111
- 'odometer-reading'?: OdometerReading;
112
- 'transmission'?: Transmission;
113
- 'model-code'?: string;
114
- 'model-variant'?: string;
115
- }
116
- interface MotorvehicleCheck extends BviCheck {
117
- 'number-of-owners'?: string;
118
- owner?: Owner;
119
- }
120
- export {};
@@ -1,16 +0,0 @@
1
- export interface PolicyBenefit {
2
- id?: number;
3
- name?: string;
4
- description?: string;
5
- sort_order?: number;
6
- icon?: string;
7
- auto_select?: boolean;
8
- template_id?: PolicyBenefitTemplate['id'];
9
- }
10
- export interface PolicyBenefitTemplate {
11
- id?: number;
12
- created_at?: string;
13
- updated_at?: string;
14
- name?: string;
15
- sort_order?: number;
16
- }
@@ -1,13 +0,0 @@
1
- import { QuoteRequestPurchaseOption } from './QuoteRequestPurchaseOption';
2
- export interface PolicyEnhancement {
3
- id?: number;
4
- name?: string;
5
- description?: string;
6
- premium?: number;
7
- monthly_premium?: number;
8
- disable_rounding?: boolean;
9
- auto_select?: boolean;
10
- sold_at?: string;
11
- purchase_option_id?: QuoteRequestPurchaseOption['id'];
12
- key?: string;
13
- }
@@ -1,7 +0,0 @@
1
- export interface PostalAddress {
2
- id?: number;
3
- postal_line_1?: string;
4
- postal_line_2?: string;
5
- postal_line_3?: string;
6
- postal_line_4?: string;
7
- }
@@ -1,18 +0,0 @@
1
- import { Group, User } from '../auth';
2
- import { QuoteRequestReferrer } from './QuoteRequestReferrer';
3
- import { QuoteRequestReferrerCategory } from './QuoteRequestReferrerCategory';
4
- export interface PromoCode {
5
- id?: number;
6
- created_at?: string;
7
- updated_at?: string;
8
- code?: string;
9
- user_id?: number;
10
- group_id?: number;
11
- referrer_id?: number;
12
- referrer_category_id?: number;
13
- advisor_type?: 'agent' | 'broker';
14
- user?: User;
15
- group?: Group;
16
- referrer?: QuoteRequestReferrer;
17
- category?: QuoteRequestReferrerCategory;
18
- }