@nerdjs/sales-kit 2.1.8 → 2.2.0

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 (388) hide show
  1. package/dist/entities/driver/driver.d.ts +28 -7
  2. package/dist/entities/driver/driver.js +27 -11
  3. package/dist/entities/driver/driver.js.map +1 -1
  4. package/dist/entities/driver/helper.d.ts +1 -0
  5. package/dist/entities/driver/helper.js +3 -0
  6. package/dist/entities/driver/helper.js.map +1 -1
  7. package/dist/entities/driverV1/driverV1.d.ts +10 -0
  8. package/dist/entities/driverV1/driverV1.js +37 -0
  9. package/dist/entities/driverV1/driverV1.js.map +1 -0
  10. package/dist/entities/driverV1/helper.d.ts +5 -0
  11. package/dist/entities/driverV1/helper.js +16 -0
  12. package/dist/entities/driverV1/helper.js.map +1 -0
  13. package/dist/entities/driverV1/index.d.ts +2 -0
  14. package/dist/entities/driverV1/index.js +3 -0
  15. package/dist/entities/driverV1/index.js.map +1 -0
  16. package/dist/entities/index.d.ts +5 -1
  17. package/dist/entities/index.js +5 -1
  18. package/dist/entities/index.js.map +1 -1
  19. package/dist/entities/mapUpdate/helper.d.ts +1 -0
  20. package/dist/entities/mapUpdate/helper.js +9 -0
  21. package/dist/entities/mapUpdate/helper.js.map +1 -1
  22. package/dist/entities/mapUpdate/mapUpdate.d.ts +11 -22
  23. package/dist/entities/mapUpdate/mapUpdate.js +24 -28
  24. package/dist/entities/mapUpdate/mapUpdate.js.map +1 -1
  25. package/dist/entities/mapUpdateV1/helper.d.ts +5 -0
  26. package/dist/entities/mapUpdateV1/helper.js +16 -0
  27. package/dist/entities/mapUpdateV1/helper.js.map +1 -0
  28. package/dist/entities/mapUpdateV1/index.d.ts +2 -0
  29. package/dist/entities/mapUpdateV1/index.js +3 -0
  30. package/dist/entities/mapUpdateV1/index.js.map +1 -0
  31. package/dist/entities/mapUpdateV1/mapUpdateV1.d.ts +28 -0
  32. package/dist/entities/mapUpdateV1/mapUpdateV1.js +41 -0
  33. package/dist/entities/mapUpdateV1/mapUpdateV1.js.map +1 -0
  34. package/dist/entities/otrDispatch/otrDispatch.d.ts +1 -0
  35. package/dist/entities/otrDispatch/otrDispatch.js +2 -0
  36. package/dist/entities/otrDispatch/otrDispatch.js.map +1 -1
  37. package/dist/entities/quoteV1/helper.d.ts +5 -0
  38. package/dist/entities/quoteV1/helper.js +16 -0
  39. package/dist/entities/quoteV1/helper.js.map +1 -0
  40. package/dist/entities/quoteV1/index.d.ts +2 -0
  41. package/dist/entities/quoteV1/index.js +3 -0
  42. package/dist/entities/quoteV1/index.js.map +1 -0
  43. package/dist/entities/quoteV1/quoteV1.d.ts +126 -0
  44. package/dist/entities/quoteV1/quoteV1.js +279 -0
  45. package/dist/entities/quoteV1/quoteV1.js.map +1 -0
  46. package/dist/entities/rejectionReason/helper.d.ts +5 -0
  47. package/dist/entities/rejectionReason/helper.js +16 -0
  48. package/dist/entities/rejectionReason/helper.js.map +1 -0
  49. package/dist/entities/rejectionReason/index.d.ts +2 -0
  50. package/dist/entities/rejectionReason/index.js +3 -0
  51. package/dist/entities/rejectionReason/index.js.map +1 -0
  52. package/dist/entities/rejectionReason/rejectionReason.d.ts +8 -0
  53. package/dist/entities/rejectionReason/rejectionReason.js +33 -0
  54. package/dist/entities/rejectionReason/rejectionReason.js.map +1 -0
  55. package/dist/hooks/index.d.ts +1 -0
  56. package/dist/hooks/index.js +1 -0
  57. package/dist/hooks/index.js.map +1 -1
  58. package/dist/hooks/lep/checkList.d.ts +10 -0
  59. package/dist/hooks/lep/checkList.js +114 -0
  60. package/dist/hooks/lep/checkList.js.map +1 -0
  61. package/dist/hooks/lep/constants.d.ts +7 -0
  62. package/dist/hooks/lep/constants.js +56 -0
  63. package/dist/hooks/lep/constants.js.map +1 -0
  64. package/dist/hooks/lep/helpers.d.ts +4 -0
  65. package/dist/hooks/lep/helpers.js +45 -0
  66. package/dist/hooks/lep/helpers.js.map +1 -0
  67. package/dist/hooks/lep/index.d.ts +42 -0
  68. package/dist/hooks/lep/index.js +43 -0
  69. package/dist/hooks/lep/index.js.map +1 -0
  70. package/dist/hooks/lep/lepAccessorials.d.ts +7 -0
  71. package/dist/hooks/lep/lepAccessorials.js +213 -0
  72. package/dist/hooks/lep/lepAccessorials.js.map +1 -0
  73. package/dist/hooks/lep/lepActionBar.d.ts +10 -0
  74. package/dist/hooks/lep/lepActionBar.js +345 -0
  75. package/dist/hooks/lep/lepActionBar.js.map +1 -0
  76. package/dist/hooks/lep/lepAdjustments.d.ts +7 -0
  77. package/dist/hooks/lep/lepAdjustments.js +266 -0
  78. package/dist/hooks/lep/lepAdjustments.js.map +1 -0
  79. package/dist/hooks/lep/lepAppointmentArrivals.d.ts +6 -0
  80. package/dist/hooks/lep/lepAppointmentArrivals.js +103 -0
  81. package/dist/hooks/lep/lepAppointmentArrivals.js.map +1 -0
  82. package/dist/hooks/lep/lepClaims.d.ts +6 -0
  83. package/dist/hooks/lep/lepClaims.js +472 -0
  84. package/dist/hooks/lep/lepClaims.js.map +1 -0
  85. package/dist/hooks/lep/lepCommodities.d.ts +6 -0
  86. package/dist/hooks/lep/lepCommodities.js +473 -0
  87. package/dist/hooks/lep/lepCommodities.js.map +1 -0
  88. package/dist/hooks/lep/lepComponents.d.ts +7 -0
  89. package/dist/hooks/lep/lepComponents.js +13 -0
  90. package/dist/hooks/lep/lepComponents.js.map +1 -0
  91. package/dist/hooks/lep/lepConsolidations.d.ts +6 -0
  92. package/dist/hooks/lep/lepConsolidations.js +89 -0
  93. package/dist/hooks/lep/lepConsolidations.js.map +1 -0
  94. package/dist/hooks/lep/lepCustomerContacts.d.ts +6 -0
  95. package/dist/hooks/lep/lepCustomerContacts.js +418 -0
  96. package/dist/hooks/lep/lepCustomerContacts.js.map +1 -0
  97. package/dist/hooks/lep/lepCustomerInfo.d.ts +6 -0
  98. package/dist/hooks/lep/lepCustomerInfo.js +66 -0
  99. package/dist/hooks/lep/lepCustomerInfo.js.map +1 -0
  100. package/dist/hooks/lep/lepCustomerPeople.d.ts +6 -0
  101. package/dist/hooks/lep/lepCustomerPeople.js +293 -0
  102. package/dist/hooks/lep/lepCustomerPeople.js.map +1 -0
  103. package/dist/hooks/lep/lepCustomerSalesNotes.d.ts +6 -0
  104. package/dist/hooks/lep/lepCustomerSalesNotes.js +51 -0
  105. package/dist/hooks/lep/lepCustomerSalesNotes.js.map +1 -0
  106. package/dist/hooks/lep/lepCustomersAccessorials.d.ts +5 -0
  107. package/dist/hooks/lep/lepCustomersAccessorials.js +160 -0
  108. package/dist/hooks/lep/lepCustomersAccessorials.js.map +1 -0
  109. package/dist/hooks/lep/lepDateInputCell.d.ts +8 -0
  110. package/dist/hooks/lep/lepDateInputCell.js +48 -0
  111. package/dist/hooks/lep/lepDateInputCell.js.map +1 -0
  112. package/dist/hooks/lep/lepDispatches.d.ts +13 -0
  113. package/dist/hooks/lep/lepDispatches.js +206 -0
  114. package/dist/hooks/lep/lepDispatches.js.map +1 -0
  115. package/dist/hooks/lep/lepDocuments.d.ts +6 -0
  116. package/dist/hooks/lep/lepDocuments.js +304 -0
  117. package/dist/hooks/lep/lepDocuments.js.map +1 -0
  118. package/dist/hooks/lep/lepEDI.d.ts +11 -0
  119. package/dist/hooks/lep/lepEDI.js +226 -0
  120. package/dist/hooks/lep/lepEDI.js.map +1 -0
  121. package/dist/hooks/lep/lepHosLogs.d.ts +4 -0
  122. package/dist/hooks/lep/lepHosLogs.js +134 -0
  123. package/dist/hooks/lep/lepHosLogs.js.map +1 -0
  124. package/dist/hooks/lep/lepInvoiceAdjustment.d.ts +1 -0
  125. package/dist/hooks/lep/lepInvoiceAdjustment.js +101 -0
  126. package/dist/hooks/lep/lepInvoiceAdjustment.js.map +1 -0
  127. package/dist/hooks/lep/lepInvoiceDetails.d.ts +1 -0
  128. package/dist/hooks/lep/lepInvoiceDetails.js +185 -0
  129. package/dist/hooks/lep/lepInvoiceDetails.js.map +1 -0
  130. package/dist/hooks/lep/lepInvoiceLineItems.d.ts +6 -0
  131. package/dist/hooks/lep/lepInvoiceLineItems.js +124 -0
  132. package/dist/hooks/lep/lepInvoiceLineItems.js.map +1 -0
  133. package/dist/hooks/lep/lepKickbacks.d.ts +6 -0
  134. package/dist/hooks/lep/lepKickbacks.js +436 -0
  135. package/dist/hooks/lep/lepKickbacks.js.map +1 -0
  136. package/dist/hooks/lep/lepLoadChanges.d.ts +6 -0
  137. package/dist/hooks/lep/lepLoadChanges.js +67 -0
  138. package/dist/hooks/lep/lepLoadChanges.js.map +1 -0
  139. package/dist/hooks/lep/lepLoadInfo.d.ts +6 -0
  140. package/dist/hooks/lep/lepLoadInfo.js +246 -0
  141. package/dist/hooks/lep/lepLoadInfo.js.map +1 -0
  142. package/dist/hooks/lep/lepLoadLocation.d.ts +1 -0
  143. package/dist/hooks/lep/lepLoadLocation.js +169 -0
  144. package/dist/hooks/lep/lepLoadLocation.js.map +1 -0
  145. package/dist/hooks/lep/lepLoadNotes.d.ts +6 -0
  146. package/dist/hooks/lep/lepLoadNotes.js +43 -0
  147. package/dist/hooks/lep/lepLoadNotes.js.map +1 -0
  148. package/dist/hooks/lep/lepNotifications.d.ts +6 -0
  149. package/dist/hooks/lep/lepNotifications.js +105 -0
  150. package/dist/hooks/lep/lepNotifications.js.map +1 -0
  151. package/dist/hooks/lep/lepPossibleIssues.d.ts +6 -0
  152. package/dist/hooks/lep/lepPossibleIssues.js +140 -0
  153. package/dist/hooks/lep/lepPossibleIssues.js.map +1 -0
  154. package/dist/hooks/lep/lepQuoteResult.d.ts +1 -0
  155. package/dist/hooks/lep/lepQuoteResult.js +58 -0
  156. package/dist/hooks/lep/lepQuoteResult.js.map +1 -0
  157. package/dist/hooks/lep/lepRateLogs.d.ts +6 -0
  158. package/dist/hooks/lep/lepRateLogs.js +216 -0
  159. package/dist/hooks/lep/lepRateLogs.js.map +1 -0
  160. package/dist/hooks/lep/lepRateReviews.d.ts +6 -0
  161. package/dist/hooks/lep/lepRateReviews.js +183 -0
  162. package/dist/hooks/lep/lepRateReviews.js.map +1 -0
  163. package/dist/hooks/lep/lepShipcons.d.ts +13 -0
  164. package/dist/hooks/lep/lepShipcons.js +1353 -0
  165. package/dist/hooks/lep/lepShipcons.js.map +1 -0
  166. package/dist/hooks/lep/lepStyledDataGrid.d.ts +10 -0
  167. package/dist/hooks/lep/lepStyledDataGrid.js +82 -0
  168. package/dist/hooks/lep/lepStyledDataGrid.js.map +1 -0
  169. package/dist/hooks/lep/lepTendersWidget.d.ts +6 -0
  170. package/dist/hooks/lep/lepTendersWidget.js +100 -0
  171. package/dist/hooks/lep/lepTendersWidget.js.map +1 -0
  172. package/dist/hooks/lep/lepTimeInputCell.d.ts +8 -0
  173. package/dist/hooks/lep/lepTimeInputCell.js +48 -0
  174. package/dist/hooks/lep/lepTimeInputCell.js.map +1 -0
  175. package/dist/hooks/lep/lepUserNotes.d.ts +13 -0
  176. package/dist/hooks/lep/lepUserNotes.js +185 -0
  177. package/dist/hooks/lep/lepUserNotes.js.map +1 -0
  178. package/dist/hooks/lep/lepWidget.d.ts +14 -0
  179. package/dist/hooks/lep/lepWidget.js +62 -0
  180. package/dist/hooks/lep/lepWidget.js.map +1 -0
  181. package/dist/hooks/lep/lepWorkflowEvents.d.ts +6 -0
  182. package/dist/hooks/lep/lepWorkflowEvents.js +85 -0
  183. package/dist/hooks/lep/lepWorkflowEvents.js.map +1 -0
  184. package/dist/hooks/lep/loadEditPanel.d.ts +9 -0
  185. package/dist/hooks/lep/loadEditPanel.js +580 -0
  186. package/dist/hooks/lep/loadEditPanel.js.map +1 -0
  187. package/dist/hooks/lep/nerdMap/mapOptions.d.ts +2 -0
  188. package/dist/hooks/lep/nerdMap/mapOptions.js +189 -0
  189. package/dist/hooks/lep/nerdMap/mapOptions.js.map +1 -0
  190. package/dist/hooks/lep/nerdMap/mapOptionsDarkMode.d.ts +2 -0
  191. package/dist/hooks/lep/nerdMap/mapOptionsDarkMode.js +175 -0
  192. package/dist/hooks/lep/nerdMap/mapOptionsDarkMode.js.map +1 -0
  193. package/dist/hooks/lep/nerdMap/nerdMap.d.ts +10 -0
  194. package/dist/hooks/lep/nerdMap/nerdMap.js +83 -0
  195. package/dist/hooks/lep/nerdMap/nerdMap.js.map +1 -0
  196. package/dist/hooks/lep/virtualizedAutocompleteList.d.ts +9 -0
  197. package/dist/hooks/lep/virtualizedAutocompleteList.js +42 -0
  198. package/dist/hooks/lep/virtualizedAutocompleteList.js.map +1 -0
  199. package/dist/hooks/load/loadDrawer.d.ts +4 -0
  200. package/dist/hooks/load/loadDrawer.js +7 -26
  201. package/dist/hooks/load/loadDrawer.js.map +1 -1
  202. package/dist/hooks/load/loadsSearchInput.js +43 -8
  203. package/dist/hooks/load/loadsSearchInput.js.map +1 -1
  204. package/dist/hooks/quote/form.js +3 -3
  205. package/dist/hooks/quote/form.js.map +1 -1
  206. package/dist/hooks/quote/helpers.js +1 -1
  207. package/dist/hooks/quote/helpers.js.map +1 -1
  208. package/dist/hooks/quote/result.js +2 -2
  209. package/dist/hooks/quote/result.js.map +1 -1
  210. package/dist/redux/api/salesApi.d.ts +1 -1
  211. package/dist/redux/api/salesApi.js +4 -0
  212. package/dist/redux/api/salesApi.js.map +1 -1
  213. package/dist/redux/apiTender/apiTenderEndpoints.d.ts +14 -10
  214. package/dist/redux/appointmentArrival/appointmentArrivalEndpoints.d.ts +16 -12
  215. package/dist/redux/appointmentIssue/appointmentIssueEndpoints.d.ts +14 -10
  216. package/dist/redux/appointmentIssueCategory/appointmentIssueCategoryEndpoints.d.ts +15 -11
  217. package/dist/redux/appointmentIssueSubcategory/appointmentIssueSubcategoryEndpoints.d.ts +14 -10
  218. package/dist/redux/appointmentNote/appointmentNoteEndpoints.d.ts +14 -10
  219. package/dist/redux/appointmentNoteType/appointmentNoteTypeEndpoints.d.ts +14 -10
  220. package/dist/redux/appointmentTrip/appointmentTripEndpoints.d.ts +14 -10
  221. package/dist/redux/archerFile/archerFileEndpoints.d.ts +13 -13
  222. package/dist/redux/asset/assetEndpoints.d.ts +20 -12
  223. package/dist/redux/billingKickback/billingKickbackEndpoints.d.ts +15 -11
  224. package/dist/redux/billingKickbackResponse/billingKickbackResponseEndpoints.d.ts +14 -10
  225. package/dist/redux/billingKickbackResponseAccessorial/billingKickbackResponseAccessorialEndpoints.d.ts +14 -10
  226. package/dist/redux/billingMessage/billingMessageEndpoints.d.ts +13 -9
  227. package/dist/redux/billingNote/billingNoteEndpoints.d.ts +14 -10
  228. package/dist/redux/cargoConsolidation/cargoConsolidationEndpoints.d.ts +23 -19
  229. package/dist/redux/cargoConsolidationCommodityPiece/cargoConsolidationCommodityPieceEndpoints.d.ts +14 -10
  230. package/dist/redux/carrierName/carrierNameEndpoints.d.ts +21 -13
  231. package/dist/redux/carrierPayContract/carrierPayContractEndpoints.d.ts +14 -10
  232. package/dist/redux/carrierTender/carrierTenderEndpoints.d.ts +30 -14
  233. package/dist/redux/carrierTender/carrierTenderEndpoints.js +29 -1
  234. package/dist/redux/carrierTender/carrierTenderEndpoints.js.map +1 -1
  235. package/dist/redux/carrierTenderAccessorial/carrierTenderAccessorialEndpoints.d.ts +14 -10
  236. package/dist/redux/carrierTenderDeduction/carrierTenderDeductionEndpoints.d.ts +14 -10
  237. package/dist/redux/carrierTenderEdge/carrierTenderEdgeEndpoints.d.ts +13 -9
  238. package/dist/redux/claim/claimEndpoints.d.ts +20 -16
  239. package/dist/redux/claimStatus/claimStatusEndpoints.d.ts +13 -9
  240. package/dist/redux/commoditiesTasksSlice/commoditiesTasksSelectors.d.ts +11 -0
  241. package/dist/redux/commoditiesTasksSlice/commoditiesTasksSelectors.js +6 -0
  242. package/dist/redux/commoditiesTasksSlice/commoditiesTasksSelectors.js.map +1 -0
  243. package/dist/redux/commoditiesTasksSlice/commoditiesTasksSlice.d.ts +19 -0
  244. package/dist/redux/commoditiesTasksSlice/commoditiesTasksSlice.js +22 -0
  245. package/dist/redux/commoditiesTasksSlice/commoditiesTasksSlice.js.map +1 -0
  246. package/dist/redux/commodity/commodityEndpoints.d.ts +14 -10
  247. package/dist/redux/commodityV1/commodityV1Endpoints.d.ts +15 -11
  248. package/dist/redux/companyLocation/companyLocationEndpoints.d.ts +14 -10
  249. package/dist/redux/contact/contactEndpoints.d.ts +10 -10
  250. package/dist/redux/contract/contractEndpoints.d.ts +14 -10
  251. package/dist/redux/contractsRecord/contractsRecordEndpoints.d.ts +16 -12
  252. package/dist/redux/customer/customerEndpoints.d.ts +21 -17
  253. package/dist/redux/customerContract/customerContractEndpoints.d.ts +14 -10
  254. package/dist/redux/customersAccessorial/customersAccessorialEndpoints.d.ts +9 -9
  255. package/dist/redux/deduction/deductionEndpoints.d.ts +13 -9
  256. package/dist/redux/departmentPhone/departmentPhoneEndpoints.d.ts +14 -10
  257. package/dist/redux/dispatch/dispatchEndpoints.d.ts +14 -10
  258. package/dist/redux/driver/driverEndpoints.d.ts +15 -9
  259. package/dist/redux/driver/driverEndpoints.js +14 -11
  260. package/dist/redux/driver/driverEndpoints.js.map +1 -1
  261. package/dist/redux/driverName/driverNameEndpoints.d.ts +13 -9
  262. package/dist/redux/driverV1/driverV1Endpoints.d.ts +29 -0
  263. package/dist/redux/driverV1/driverV1Endpoints.js +64 -0
  264. package/dist/redux/driverV1/driverV1Endpoints.js.map +1 -0
  265. package/dist/redux/driverV1/index.d.ts +2 -0
  266. package/dist/redux/driverV1/index.js +3 -0
  267. package/dist/redux/driverV1/index.js.map +1 -0
  268. package/dist/redux/employeeName/employeeNameEndpoints.d.ts +13 -9
  269. package/dist/redux/flag/flagEndpoints.d.ts +13 -9
  270. package/dist/redux/generalLedgerAccount/generalLedgerAccountEndpoints.d.ts +14 -10
  271. package/dist/redux/genericTender/genericTenderEndpoints.d.ts +16 -10
  272. package/dist/redux/genericTender/genericTenderEndpoints.js +3 -2
  273. package/dist/redux/genericTender/genericTenderEndpoints.js.map +1 -1
  274. package/dist/redux/holiday/holidayEndpoints.d.ts +14 -10
  275. package/dist/redux/index.d.ts +7 -0
  276. package/dist/redux/index.js +7 -0
  277. package/dist/redux/index.js.map +1 -1
  278. package/dist/redux/invoice/invoiceEndpoints.d.ts +14 -10
  279. package/dist/redux/invoiceAdjustment/invoiceAdjustmentEndpoints.d.ts +14 -10
  280. package/dist/redux/invoiceV1/invoiceV1Endpoints.d.ts +15 -11
  281. package/dist/redux/lep/index.d.ts +2 -0
  282. package/dist/redux/lep/index.js +3 -0
  283. package/dist/redux/lep/index.js.map +1 -0
  284. package/dist/redux/lep/lepSelectors.d.ts +38 -0
  285. package/dist/redux/lep/lepSelectors.js +43 -0
  286. package/dist/redux/lep/lepSelectors.js.map +1 -0
  287. package/dist/redux/lep/lepSlice.d.ts +24 -0
  288. package/dist/redux/lep/lepSlice.js +34 -0
  289. package/dist/redux/lep/lepSlice.js.map +1 -0
  290. package/dist/redux/load/loadDrawerSlice.d.ts +4 -5
  291. package/dist/redux/load/loadDrawerSlice.js +6 -6
  292. package/dist/redux/load/loadDrawerSlice.js.map +1 -1
  293. package/dist/redux/load/loadEndpoints.d.ts +16 -12
  294. package/dist/redux/loadAdjustment/loadAdjustmentEndpoints.d.ts +14 -10
  295. package/dist/redux/loadAdjustmentV1/loadAdjustmentV1Endpoints.d.ts +14 -10
  296. package/dist/redux/loadInfoTasksSlice/index.d.ts +2 -0
  297. package/dist/redux/loadInfoTasksSlice/index.js +3 -0
  298. package/dist/redux/loadInfoTasksSlice/index.js.map +1 -0
  299. package/dist/redux/loadInfoTasksSlice/loadInfoTasksSelectors.d.ts +11 -0
  300. package/dist/redux/loadInfoTasksSlice/loadInfoTasksSelectors.js +6 -0
  301. package/dist/redux/loadInfoTasksSlice/loadInfoTasksSelectors.js.map +1 -0
  302. package/dist/redux/loadInfoTasksSlice/loadInfoTasksSlice.d.ts +20 -0
  303. package/dist/redux/loadInfoTasksSlice/loadInfoTasksSlice.js +22 -0
  304. package/dist/redux/loadInfoTasksSlice/loadInfoTasksSlice.js.map +1 -0
  305. package/dist/redux/loadTender/loadTenderEndpoints.d.ts +16 -12
  306. package/dist/redux/loadTenderView/index.d.ts +2 -0
  307. package/dist/redux/loadTenderView/index.js +3 -0
  308. package/dist/redux/loadTenderView/index.js.map +1 -0
  309. package/dist/redux/loadTenderView/loadTenderViewEndpoints.d.ts +45 -0
  310. package/dist/redux/loadTenderView/loadTenderViewEndpoints.js +63 -0
  311. package/dist/redux/loadTenderView/loadTenderViewEndpoints.js.map +1 -0
  312. package/dist/redux/loadV1/loadV1Endpoints.d.ts +62 -58
  313. package/dist/redux/location/locationEndpoints.d.ts +19 -15
  314. package/dist/redux/locationV1/locationV1Endpoints.d.ts +23 -19
  315. package/dist/redux/manualCheckCall/manualCheckCallEndpoints.d.ts +14 -10
  316. package/dist/redux/mapUpdate/index.d.ts +2 -0
  317. package/dist/redux/mapUpdate/index.js +3 -0
  318. package/dist/redux/mapUpdate/index.js.map +1 -0
  319. package/dist/redux/mapUpdate/mapUpdateEndpoints.d.ts +6 -0
  320. package/dist/redux/mapUpdate/mapUpdateEndpoints.js +15 -0
  321. package/dist/redux/mapUpdate/mapUpdateEndpoints.js.map +1 -0
  322. package/dist/redux/nmfcClass/nmfcClassEndpoints.d.ts +13 -9
  323. package/dist/redux/nodeName/nodeNameEndpoints.d.ts +14 -10
  324. package/dist/redux/notification/notificationEndpoints.d.ts +17 -13
  325. package/dist/redux/otrDispatch/otrDispatchEndpoints.d.ts +36 -21
  326. package/dist/redux/otrDispatch/otrDispatchEndpoints.js +9 -1
  327. package/dist/redux/otrDispatch/otrDispatchEndpoints.js.map +1 -1
  328. package/dist/redux/person/personEndpoints.d.ts +16 -12
  329. package/dist/redux/personName/personNameEndpoints.d.ts +14 -10
  330. package/dist/redux/position/positionEndpoints.d.ts +14 -10
  331. package/dist/redux/possibleIssueItem/possibleIssueItemEndpoints.d.ts +13 -9
  332. package/dist/redux/quote/index.d.ts +3 -2
  333. package/dist/redux/quote/index.js +3 -2
  334. package/dist/redux/quote/index.js.map +1 -1
  335. package/dist/redux/quote/quoteAction.d.ts +10 -4
  336. package/dist/redux/quote/quoteAction.js +9 -0
  337. package/dist/redux/quote/quoteAction.js.map +1 -1
  338. package/dist/redux/quote/quoteCustomerPortalEndpoints.d.ts +38 -0
  339. package/dist/redux/quote/quoteCustomerPortalEndpoints.js +83 -0
  340. package/dist/redux/quote/quoteCustomerPortalEndpoints.js.map +1 -0
  341. package/dist/redux/quote/quoteHooks.d.ts +6 -21
  342. package/dist/redux/quote/quoteHooks.js +3 -3
  343. package/dist/redux/quote/quoteHooks.js.map +1 -1
  344. package/dist/redux/quote/quoteReducer.d.ts +27 -0
  345. package/dist/redux/quote/quoteReducer.js +6 -1
  346. package/dist/redux/quote/quoteReducer.js.map +1 -1
  347. package/dist/redux/quote/quoteSalesEndpoints.d.ts +70 -0
  348. package/dist/redux/quote/{quoteEndpoints.js → quoteSalesEndpoints.js} +23 -43
  349. package/dist/redux/quote/quoteSalesEndpoints.js.map +1 -0
  350. package/dist/redux/quote/{quoteSelector.d.ts → quoteSelectors.d.ts} +5 -0
  351. package/dist/redux/quote/{quoteSelector.js → quoteSelectors.js} +3 -1
  352. package/dist/redux/quote/quoteSelectors.js.map +1 -0
  353. package/dist/redux/quoteAccessorial/quoteAccessorialEndpoints.d.ts +9 -9
  354. package/dist/redux/quoteAccessorialV1/quoteAccessorialV1Endpoints.d.ts +14 -10
  355. package/dist/redux/rateReview/rateReviewEndpoints.d.ts +14 -10
  356. package/dist/redux/rejectionReason/index.d.ts +2 -0
  357. package/dist/redux/rejectionReason/index.js +3 -0
  358. package/dist/redux/rejectionReason/index.js.map +1 -0
  359. package/dist/redux/rejectionReason/rejectionReasonEndpoints.d.ts +29 -0
  360. package/dist/redux/rejectionReason/rejectionReasonEndpoints.js +67 -0
  361. package/dist/redux/rejectionReason/rejectionReasonEndpoints.js.map +1 -0
  362. package/dist/redux/relayCode/relayCodeEndpoints.d.ts +15 -11
  363. package/dist/redux/salesKitReducer.d.ts +12 -0
  364. package/dist/redux/salesKitReducer.js +8 -0
  365. package/dist/redux/salesKitReducer.js.map +1 -1
  366. package/dist/redux/shipConDispatch/shipConDispatchEndpoints.d.ts +15 -11
  367. package/dist/redux/shipConETA/shipConETAEndpoints.d.ts +14 -10
  368. package/dist/redux/shipcon/shipconEndpoints.d.ts +15 -11
  369. package/dist/redux/shipconV1/shipconV1Endpoints.d.ts +23 -19
  370. package/dist/redux/shipconV1/shipconV1Endpoints.js.map +1 -1
  371. package/dist/redux/shipconsTasksSlice/index.d.ts +2 -0
  372. package/dist/redux/shipconsTasksSlice/index.js +3 -0
  373. package/dist/redux/shipconsTasksSlice/index.js.map +1 -0
  374. package/dist/redux/shipconsTasksSlice/shipconsTasksSelectors.d.ts +11 -0
  375. package/dist/redux/shipconsTasksSlice/shipconsTasksSelectors.js +6 -0
  376. package/dist/redux/shipconsTasksSlice/shipconsTasksSelectors.js.map +1 -0
  377. package/dist/redux/shipconsTasksSlice/shipconsTasksSlice.d.ts +19 -0
  378. package/dist/redux/shipconsTasksSlice/shipconsTasksSlice.js +22 -0
  379. package/dist/redux/shipconsTasksSlice/shipconsTasksSlice.js.map +1 -0
  380. package/dist/redux/tender/tenderEndpoints.d.ts +9 -9
  381. package/dist/redux/trailerAvailability/customerEndpoints.d.ts +4 -4
  382. package/dist/redux/trailerCode/trailerCodeEndpoints.d.ts +13 -9
  383. package/dist/redux/unitV1/unitV1Endpoints.d.ts +13 -9
  384. package/dist/redux/userNoteV1/userNoteV1Endpoints.d.ts +14 -10
  385. package/package.json +5 -2
  386. package/dist/redux/quote/quoteEndpoints.d.ts +0 -82
  387. package/dist/redux/quote/quoteEndpoints.js.map +0 -1
  388. package/dist/redux/quote/quoteSelector.js.map +0 -1
@@ -0,0 +1,2 @@
1
+ export { default as QuoteV1 } from "./helper";
2
+ export { default as QuoteV1_Entity } from "./quoteV1";
@@ -0,0 +1,3 @@
1
+ export { default as QuoteV1 } from "./helper";
2
+ export { default as QuoteV1_Entity } from "./quoteV1";
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/entities/quoteV1/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,UAAU,CAAC;AAC9C,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,WAAW,CAAC"}
@@ -0,0 +1,126 @@
1
+ export default class QuoteV1_Entity {
2
+ static requiredFields: string[];
3
+ constructor(quoteV1Json: unknown);
4
+ id?: number;
5
+ load_id?: number;
6
+ load_type?: string;
7
+ service_level?: string;
8
+ api?: string;
9
+ api_version?: number;
10
+ name?: string;
11
+ person_id?: number;
12
+ personName?: string;
13
+ customer_id?: number;
14
+ customer_name?: string;
15
+ customerType?: string;
16
+ customer_discount?: string;
17
+ customer_credit?: number;
18
+ created_at?: string;
19
+ updated_at?: string;
20
+ weight?: number;
21
+ pallets?: number;
22
+ feet?: number;
23
+ height?: number;
24
+ reefer_temp?: string;
25
+ reefer_cont?: boolean;
26
+ commodity_description?: string;
27
+ pieces?: number;
28
+ nmfc_class_id?: number;
29
+ heading?: number;
30
+ total_miles?: number;
31
+ customer_miles?: number;
32
+ hours?: number;
33
+ transit_time?: number;
34
+ dryvan_only?: boolean;
35
+ active?: boolean;
36
+ truck_order_not_used?: boolean;
37
+ no_revenue?: boolean;
38
+ disable_rounding?: boolean;
39
+ empty_load?: boolean;
40
+ force_spot?: boolean;
41
+ do_not_break_seal?: boolean;
42
+ quote_path_option_id?: number;
43
+ quote_total?: number;
44
+ quote_baserate?: number;
45
+ quote_accessorial?: number;
46
+ quote_extra?: number;
47
+ quote_discount?: number;
48
+ quote_discount_description?: string;
49
+ quote_fuel_surcharge?: number;
50
+ cost_total?: number;
51
+ cost_baserate?: number;
52
+ cost_fuel_surcharge?: number;
53
+ extra_amount?: number;
54
+ extra_reason?: string;
55
+ extra_type?: string;
56
+ contract_baserate?: number;
57
+ contract_fuel_surcharge?: number;
58
+ contract_total?: number;
59
+ contract_rate_id?: number;
60
+ contract_rate_record_id?: number;
61
+ market_lane?: string;
62
+ market_days?: number;
63
+ market_baserate?: number;
64
+ market_fuel_surcharge?: number;
65
+ market_total?: number;
66
+ market_total_no_margin?: number;
67
+ market_linehaul_rate?: number;
68
+ market_fuel_percent?: number;
69
+ reefer_market_extra?: number;
70
+ reefer_market_margin?: string;
71
+ ltl_market_extra?: number;
72
+ ltl_market_margin?: string;
73
+ ltl_profit_margin?: string;
74
+ ltl_profit_type?: string;
75
+ tl_market_extra?: number;
76
+ tl_market_margin?: string;
77
+ tl_profit_margin?: string;
78
+ tl_profit_type?: string;
79
+ tl_reefer_profit_margin?: string;
80
+ tl_reefer_profit_type?: string;
81
+ czarlite_baserate?: number;
82
+ czarlite_fuel_surcharge?: number;
83
+ czarlite_total?: number;
84
+ czarlite_total_charge?: number;
85
+ czarlite_discount_percent?: number;
86
+ economy_contract_baserate?: number;
87
+ economy_contract_fuel_surcharge?: number;
88
+ economy_contract_rate_record_id?: number;
89
+ economy_contract_total?: number;
90
+ premium_contract_baserate?: number;
91
+ premium_contract_fuel_surcharge?: number;
92
+ premium_contract_rate_record_id?: number;
93
+ premium_contract_total?: number;
94
+ guaranteed_contract_baserate?: number;
95
+ guaranteed_contract_fuel_surcharge?: number;
96
+ guaranteed_contract_rate_record_id?: number;
97
+ guaranteed_contract_total?: number;
98
+ otr_miles?: number;
99
+ revision?: number;
100
+ extra_person_id?: number;
101
+ number_of_copies?: number;
102
+ parent_quote_id?: number;
103
+ recalculating?: boolean;
104
+ test_version?: boolean;
105
+ cached_margins?: boolean;
106
+ opt_flag_pickup_difference?: number;
107
+ opt_flag_delivery_difference?: number;
108
+ opt_acc_difference?: number;
109
+ opt_flag_id?: number;
110
+ opt_acc_id?: number;
111
+ real_cost_total?: number;
112
+ skip_market?: boolean;
113
+ bypass_location_check?: boolean;
114
+ uber_freight_quote_response_id?: number;
115
+ market_linehaul_total?: number;
116
+ market_miles?: number;
117
+ sub_area_lane_id?: number;
118
+ market_type?: string;
119
+ premiumOnly: boolean;
120
+ pickup_city?: string;
121
+ pickup_state?: string;
122
+ pickup_zip?: string;
123
+ delivery_city?: string;
124
+ delivery_state?: string;
125
+ delivery_zip?: string;
126
+ }
@@ -0,0 +1,279 @@
1
+ /**
2
+ * QuoteV1_Entity type guard.
3
+ *
4
+ * @param {unknown} quoteV1Json QuoteV1 object from API
5
+ * @returns {boolean} Return true if type is QuoteV1_Entity
6
+ */
7
+ function validator(quoteV1Json) {
8
+ if (typeof quoteV1Json === "object" && quoteV1Json != null) {
9
+ QuoteV1_Entity.requiredFields.forEach((element) => {
10
+ if (!Object.keys(quoteV1Json).includes(element))
11
+ throw new Error(`Field ${element} is null or undefined`);
12
+ });
13
+ }
14
+ return true;
15
+ }
16
+ export default class QuoteV1_Entity {
17
+ static requiredFields = ["premiumOnly"];
18
+ constructor(quoteV1Json) {
19
+ if (validator(quoteV1Json)) {
20
+ this.id = quoteV1Json.id;
21
+ this.load_id = quoteV1Json.load_id;
22
+ this.load_type = quoteV1Json.load_type;
23
+ this.service_level = quoteV1Json.service_level;
24
+ this.api = quoteV1Json.api;
25
+ this.api_version = quoteV1Json.api_version;
26
+ this.name = quoteV1Json.name;
27
+ this.person_id = quoteV1Json.person_id;
28
+ this.personName = quoteV1Json.personName;
29
+ this.customer_id = quoteV1Json.customer_id;
30
+ this.customer_name = quoteV1Json.customer_name;
31
+ this.customerType = quoteV1Json.customerType;
32
+ this.customer_discount = quoteV1Json.customer_discount;
33
+ this.customer_credit = quoteV1Json.customer_credit;
34
+ this.created_at = quoteV1Json.created_at;
35
+ this.updated_at = quoteV1Json.updated_at;
36
+ this.weight = quoteV1Json.weight;
37
+ this.pallets = quoteV1Json.pallets;
38
+ this.feet = quoteV1Json.feet;
39
+ this.height = quoteV1Json.height;
40
+ this.reefer_temp = quoteV1Json.reefer_temp;
41
+ this.reefer_cont = quoteV1Json.reefer_cont;
42
+ this.commodity_description = quoteV1Json.commodity_description;
43
+ this.pieces = quoteV1Json.pieces;
44
+ this.nmfc_class_id = quoteV1Json.nmfc_class_id;
45
+ this.heading = quoteV1Json.heading;
46
+ this.total_miles = quoteV1Json.total_miles;
47
+ this.customer_miles = quoteV1Json.customer_miles;
48
+ this.hours = quoteV1Json.hours;
49
+ this.transit_time = quoteV1Json.transit_time;
50
+ this.dryvan_only = quoteV1Json.dryvan_only;
51
+ this.active = quoteV1Json.active;
52
+ this.truck_order_not_used = quoteV1Json.truck_order_not_used;
53
+ this.no_revenue = quoteV1Json.no_revenue;
54
+ this.disable_rounding = quoteV1Json.disable_rounding;
55
+ this.empty_load = quoteV1Json.empty_load;
56
+ this.force_spot = quoteV1Json.force_spot;
57
+ this.do_not_break_seal = quoteV1Json.do_not_break_seal;
58
+ this.quote_path_option_id = quoteV1Json.quote_path_option_id;
59
+ this.quote_total = quoteV1Json.quote_total;
60
+ this.quote_baserate = quoteV1Json.quote_baserate;
61
+ this.quote_accessorial = quoteV1Json.quote_accessorial;
62
+ this.quote_extra = quoteV1Json.quote_extra;
63
+ this.quote_discount = quoteV1Json.quote_discount;
64
+ this.quote_discount_description = quoteV1Json.quote_discount_description;
65
+ this.quote_fuel_surcharge = quoteV1Json.quote_fuel_surcharge;
66
+ this.cost_total = quoteV1Json.cost_total;
67
+ this.cost_baserate = quoteV1Json.cost_baserate;
68
+ this.cost_fuel_surcharge = quoteV1Json.cost_fuel_surcharge;
69
+ this.extra_amount = quoteV1Json.extra_amount;
70
+ this.extra_reason = quoteV1Json.extra_reason;
71
+ this.extra_type = quoteV1Json.extra_type;
72
+ this.contract_baserate = quoteV1Json.contract_baserate;
73
+ this.contract_fuel_surcharge = quoteV1Json.contract_fuel_surcharge;
74
+ this.contract_total = quoteV1Json.contract_total;
75
+ this.contract_rate_id = quoteV1Json.contract_rate_id;
76
+ this.contract_rate_record_id = quoteV1Json.contract_rate_record_id;
77
+ this.market_lane = quoteV1Json.market_lane;
78
+ this.market_days = quoteV1Json.market_days;
79
+ this.market_baserate = quoteV1Json.market_baserate;
80
+ this.market_fuel_surcharge = quoteV1Json.market_fuel_surcharge;
81
+ this.market_total = quoteV1Json.market_total;
82
+ this.market_total_no_margin = quoteV1Json.market_total_no_margin;
83
+ this.market_linehaul_rate = quoteV1Json.market_linehaul_rate;
84
+ this.market_fuel_percent = quoteV1Json.market_fuel_percent;
85
+ this.reefer_market_extra = quoteV1Json.reefer_market_extra;
86
+ this.reefer_market_margin = quoteV1Json.reefer_market_margin;
87
+ this.ltl_market_extra = quoteV1Json.ltl_market_extra;
88
+ this.ltl_market_margin = quoteV1Json.ltl_market_margin;
89
+ this.ltl_profit_margin = quoteV1Json.ltl_profit_margin;
90
+ this.ltl_profit_type = quoteV1Json.ltl_profit_type;
91
+ this.tl_market_extra = quoteV1Json.tl_market_extra;
92
+ this.tl_market_margin = quoteV1Json.tl_market_margin;
93
+ this.tl_profit_margin = quoteV1Json.tl_profit_margin;
94
+ this.tl_profit_type = quoteV1Json.tl_profit_type;
95
+ this.tl_reefer_profit_margin = quoteV1Json.tl_reefer_profit_margin;
96
+ this.tl_reefer_profit_type = quoteV1Json.tl_reefer_profit_type;
97
+ this.czarlite_baserate = quoteV1Json.czarlite_baserate;
98
+ this.czarlite_fuel_surcharge = quoteV1Json.czarlite_fuel_surcharge;
99
+ this.czarlite_total = quoteV1Json.czarlite_total;
100
+ this.czarlite_total_charge = quoteV1Json.czarlite_total_charge;
101
+ this.czarlite_discount_percent = quoteV1Json.czarlite_discount_percent;
102
+ this.economy_contract_baserate = quoteV1Json.economy_contract_baserate;
103
+ this.economy_contract_fuel_surcharge =
104
+ quoteV1Json.economy_contract_fuel_surcharge;
105
+ this.economy_contract_rate_record_id =
106
+ quoteV1Json.economy_contract_rate_record_id;
107
+ this.economy_contract_total = quoteV1Json.economy_contract_total;
108
+ this.premium_contract_baserate = quoteV1Json.premium_contract_baserate;
109
+ this.premium_contract_fuel_surcharge =
110
+ quoteV1Json.premium_contract_fuel_surcharge;
111
+ this.premium_contract_rate_record_id =
112
+ quoteV1Json.premium_contract_rate_record_id;
113
+ this.premium_contract_total = quoteV1Json.premium_contract_total;
114
+ this.guaranteed_contract_baserate =
115
+ quoteV1Json.guaranteed_contract_baserate;
116
+ this.guaranteed_contract_fuel_surcharge =
117
+ quoteV1Json.guaranteed_contract_fuel_surcharge;
118
+ this.guaranteed_contract_rate_record_id =
119
+ quoteV1Json.guaranteed_contract_rate_record_id;
120
+ this.guaranteed_contract_total = quoteV1Json.guaranteed_contract_total;
121
+ this.otr_miles = quoteV1Json.otr_miles;
122
+ this.revision = quoteV1Json.revision;
123
+ this.extra_person_id = quoteV1Json.extra_person_id;
124
+ this.number_of_copies = quoteV1Json.number_of_copies;
125
+ this.parent_quote_id = quoteV1Json.parent_quote_id;
126
+ this.recalculating = quoteV1Json.recalculating;
127
+ this.test_version = quoteV1Json.test_version;
128
+ this.cached_margins = quoteV1Json.cached_margins;
129
+ this.opt_flag_pickup_difference = quoteV1Json.opt_flag_pickup_difference;
130
+ this.opt_flag_delivery_difference =
131
+ quoteV1Json.opt_flag_delivery_difference;
132
+ this.opt_acc_difference = quoteV1Json.opt_acc_difference;
133
+ this.opt_flag_id = quoteV1Json.opt_flag_id;
134
+ this.opt_acc_id = quoteV1Json.opt_acc_id;
135
+ this.real_cost_total = quoteV1Json.real_cost_total;
136
+ this.skip_market = quoteV1Json.skip_market;
137
+ this.bypass_location_check = quoteV1Json.bypass_location_check;
138
+ this.uber_freight_quote_response_id =
139
+ quoteV1Json.uber_freight_quote_response_id;
140
+ this.market_linehaul_total = quoteV1Json.market_linehaul_total;
141
+ this.market_miles = quoteV1Json.market_miles;
142
+ this.sub_area_lane_id = quoteV1Json.sub_area_lane_id;
143
+ this.market_type = quoteV1Json.market_type;
144
+ this.premiumOnly = quoteV1Json.premiumOnly;
145
+ this.pickup_city = quoteV1Json.pickup_city;
146
+ this.pickup_state = quoteV1Json.pickup_state;
147
+ this.pickup_zip = quoteV1Json.pickup_zip;
148
+ this.delivery_city = quoteV1Json.delivery_city;
149
+ this.delivery_state = quoteV1Json.delivery_state;
150
+ this.delivery_zip = quoteV1Json.delivery_zip;
151
+ }
152
+ else {
153
+ throw new Error(`Failed to create new instance of ${QuoteV1_Entity.name}`);
154
+ }
155
+ }
156
+ id;
157
+ load_id;
158
+ load_type;
159
+ service_level;
160
+ api;
161
+ api_version;
162
+ name;
163
+ person_id;
164
+ personName;
165
+ customer_id;
166
+ customer_name;
167
+ customerType;
168
+ customer_discount;
169
+ customer_credit;
170
+ created_at;
171
+ updated_at;
172
+ weight;
173
+ pallets;
174
+ feet;
175
+ height;
176
+ reefer_temp;
177
+ reefer_cont;
178
+ commodity_description;
179
+ pieces;
180
+ nmfc_class_id;
181
+ heading;
182
+ total_miles;
183
+ customer_miles;
184
+ hours;
185
+ transit_time;
186
+ dryvan_only;
187
+ active;
188
+ truck_order_not_used;
189
+ no_revenue;
190
+ disable_rounding;
191
+ empty_load;
192
+ force_spot;
193
+ do_not_break_seal;
194
+ quote_path_option_id;
195
+ quote_total;
196
+ quote_baserate;
197
+ quote_accessorial;
198
+ quote_extra;
199
+ quote_discount;
200
+ quote_discount_description;
201
+ quote_fuel_surcharge;
202
+ cost_total;
203
+ cost_baserate;
204
+ cost_fuel_surcharge;
205
+ extra_amount;
206
+ extra_reason;
207
+ extra_type;
208
+ contract_baserate;
209
+ contract_fuel_surcharge;
210
+ contract_total;
211
+ contract_rate_id;
212
+ contract_rate_record_id;
213
+ market_lane;
214
+ market_days;
215
+ market_baserate;
216
+ market_fuel_surcharge;
217
+ market_total;
218
+ market_total_no_margin;
219
+ market_linehaul_rate;
220
+ market_fuel_percent;
221
+ reefer_market_extra;
222
+ reefer_market_margin;
223
+ ltl_market_extra;
224
+ ltl_market_margin;
225
+ ltl_profit_margin;
226
+ ltl_profit_type;
227
+ tl_market_extra;
228
+ tl_market_margin;
229
+ tl_profit_margin;
230
+ tl_profit_type;
231
+ tl_reefer_profit_margin;
232
+ tl_reefer_profit_type;
233
+ czarlite_baserate;
234
+ czarlite_fuel_surcharge;
235
+ czarlite_total;
236
+ czarlite_total_charge;
237
+ czarlite_discount_percent;
238
+ economy_contract_baserate;
239
+ economy_contract_fuel_surcharge;
240
+ economy_contract_rate_record_id;
241
+ economy_contract_total;
242
+ premium_contract_baserate;
243
+ premium_contract_fuel_surcharge;
244
+ premium_contract_rate_record_id;
245
+ premium_contract_total;
246
+ guaranteed_contract_baserate;
247
+ guaranteed_contract_fuel_surcharge;
248
+ guaranteed_contract_rate_record_id;
249
+ guaranteed_contract_total;
250
+ otr_miles;
251
+ revision;
252
+ extra_person_id;
253
+ number_of_copies;
254
+ parent_quote_id;
255
+ recalculating;
256
+ test_version;
257
+ cached_margins;
258
+ opt_flag_pickup_difference;
259
+ opt_flag_delivery_difference;
260
+ opt_acc_difference;
261
+ opt_flag_id;
262
+ opt_acc_id;
263
+ real_cost_total;
264
+ skip_market;
265
+ bypass_location_check;
266
+ uber_freight_quote_response_id;
267
+ market_linehaul_total;
268
+ market_miles;
269
+ sub_area_lane_id;
270
+ market_type;
271
+ premiumOnly;
272
+ pickup_city;
273
+ pickup_state;
274
+ pickup_zip;
275
+ delivery_city;
276
+ delivery_state;
277
+ delivery_zip;
278
+ }
279
+ //# sourceMappingURL=quoteV1.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"quoteV1.js","sourceRoot":"","sources":["../../../src/entities/quoteV1/quoteV1.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,SAAS,SAAS,CAAC,WAAoB;IACrC,IAAI,OAAO,WAAW,KAAK,QAAQ,IAAI,WAAW,IAAI,IAAI,EAAE;QAC1D,cAAc,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;YAChD,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC;gBAC7C,MAAM,IAAI,KAAK,CAAC,SAAS,OAAO,uBAAuB,CAAC,CAAC;QAC7D,CAAC,CAAC,CAAC;KACJ;IACD,OAAO,IAAI,CAAC;AACd,CAAC;AAED,MAAM,CAAC,OAAO,OAAO,cAAc;IACjC,MA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iBAAiB,CAAU;IAC3B,uBAAuB,CAAU;IACjC,cAAc,CAAU;IACxB,qBAAqB,CAAU;IAC/B,yBAAyB,CAAU;IACnC,yBAAyB,CAAU;IACnC,+BAA+B,CAAU;IACzC,+BAA+B,CAAU;IACzC,sBAAsB,CAAU;IAChC,yBAAyB,CAAU;IACnC,+BAA+B,CAAU;IACzC,+BAA+B,CAAU;IACzC,sBAAsB,CAAU;IAChC,4BAA4B,CAAU;IACtC,kCAAkC,CAAU;IAC5C,kCAAkC,CAAU;IAC5C,yBAAyB,CAAU;IACnC,SAAS,CAAU;IACnB,QAAQ,CAAU;IAClB,eAAe,CAAU;IACzB,gBAAgB,CAAU;IAC1B,eAAe,CAAU;IACzB,aAAa,CAAW;IACxB,YAAY,CAAW;IACvB,cAAc,CAAW;IACzB,0BAA0B,CAAU;IACpC,4BAA4B,CAAU;IACtC,kBAAkB,CAAU;IAC5B,WAAW,CAAU;IACrB,UAAU,CAAU;IACpB,eAAe,CAAU;IACzB,WAAW,CAAW;IACtB,qBAAqB,CAAW;IAChC,8BAA8B,CAAU;IACxC,qBAAqB,CAAU;IAC/B,YAAY,CAAU;IACtB,gBAAgB,CAAU;IAC1B,WAAW,CAAU;IACrB,WAAW,CAAU;IACrB,WAAW,CAAU;IACrB,YAAY,CAAU;IACtB,UAAU,CAAU;IACpB,aAAa,CAAU;IACvB,cAAc,CAAU;IACxB,YAAY,CAAU"}
@@ -0,0 +1,5 @@
1
+ import RejectionReason_Entity from "./rejectionReason";
2
+ export default class RejectionReason extends RejectionReason_Entity {
3
+ static fromList(rejectionReasonsJSON: unknown): Array<RejectionReason>;
4
+ toJson(): string;
5
+ }
@@ -0,0 +1,16 @@
1
+ import RejectionReason_Entity from "./rejectionReason";
2
+ export default class RejectionReason extends RejectionReason_Entity {
3
+ static fromList(rejectionReasonsJSON) {
4
+ const rejectionReasons = [];
5
+ if (rejectionReasonsJSON)
6
+ Array.isArray(rejectionReasonsJSON) &&
7
+ rejectionReasonsJSON.forEach((rejectionReasonJSON) => {
8
+ rejectionReasons.push(new RejectionReason(rejectionReasonJSON));
9
+ });
10
+ return rejectionReasons;
11
+ }
12
+ toJson() {
13
+ return JSON.stringify(this);
14
+ }
15
+ }
16
+ //# sourceMappingURL=helper.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"helper.js","sourceRoot":"","sources":["../../../src/entities/rejectionReason/helper.ts"],"names":[],"mappings":"AAAA,OAAO,sBAAsB,MAAM,mBAAmB,CAAC;AACvD,MAAM,CAAC,OAAO,OAAO,eAAgB,SAAQ,sBAAsB;IACjE,MAAM,CAAC,QAAQ,CAAC,oBAA6B;QAC3C,MAAM,gBAAgB,GAAsB,EAAE,CAAC;QAC/C,IAAI,oBAAoB;YACtB,KAAK,CAAC,OAAO,CAAC,oBAAoB,CAAC;gBACjC,oBAAoB,CAAC,OAAO,CAAC,CAAC,mBAAmB,EAAE,EAAE;oBACnD,gBAAgB,CAAC,IAAI,CAAC,IAAI,eAAe,CAAC,mBAAmB,CAAC,CAAC,CAAC;gBAClE,CAAC,CAAC,CAAC;QACP,OAAO,gBAAgB,CAAC;IAC1B,CAAC;IAED,MAAM;QACJ,OAAO,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;IAC9B,CAAC;CACF"}
@@ -0,0 +1,2 @@
1
+ export { default as RejectionReason } from "./helper";
2
+ export { default as RejectionReason_Entity } from "./rejectionReason";
@@ -0,0 +1,3 @@
1
+ export { default as RejectionReason } from "./helper";
2
+ export { default as RejectionReason_Entity } from "./rejectionReason";
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/entities/rejectionReason/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,UAAU,CAAC;AACtD,OAAO,EAAE,OAAO,IAAI,sBAAsB,EAAE,MAAM,mBAAmB,CAAC"}
@@ -0,0 +1,8 @@
1
+ export default class RejectionReason_Entity {
2
+ static requiredFields: string[];
3
+ constructor(rejectionReasonJson: unknown);
4
+ id: number;
5
+ createdAt?: string;
6
+ updatedAt?: string;
7
+ name?: string;
8
+ }
@@ -0,0 +1,33 @@
1
+ /**
2
+ * RejectionReason_Entity type guard.
3
+ *
4
+ * @param {any} rejectionReasonJson RejectionReason object from API
5
+ * @returns {boolean} Return true if type is RejectionReason_Entity
6
+ */
7
+ function validator(rejectionReasonJson) {
8
+ if (typeof rejectionReasonJson === "object" && rejectionReasonJson != null) {
9
+ RejectionReason_Entity.requiredFields.forEach((element) => {
10
+ if (!Object.keys(rejectionReasonJson).includes(element))
11
+ throw new Error(`Field ${element} is null or undefined`);
12
+ });
13
+ }
14
+ return true;
15
+ }
16
+ export default class RejectionReason_Entity {
17
+ static requiredFields = ["id"];
18
+ constructor(rejectionReasonJson) {
19
+ if (validator(rejectionReasonJson)) {
20
+ this.id = rejectionReasonJson.id;
21
+ this.createdAt = rejectionReasonJson.createdAt;
22
+ this.updatedAt = rejectionReasonJson.updatedAt;
23
+ this.name = rejectionReasonJson.name;
24
+ }
25
+ else
26
+ throw new Error(`Failed to create new instance of ${RejectionReason_Entity.name}`);
27
+ }
28
+ id;
29
+ createdAt;
30
+ updatedAt;
31
+ name;
32
+ }
33
+ //# sourceMappingURL=rejectionReason.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rejectionReason.js","sourceRoot":"","sources":["../../../src/entities/rejectionReason/rejectionReason.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,SAAS,SAAS,CAChB,mBAA4B;IAE5B,IAAI,OAAO,mBAAmB,KAAK,QAAQ,IAAI,mBAAmB,IAAI,IAAI,EAAE;QAC1E,sBAAsB,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;YACxD,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC;gBACrD,MAAM,IAAI,KAAK,CAAC,SAAS,OAAO,uBAAuB,CAAC,CAAC;QAC7D,CAAC,CAAC,CAAC;KACJ;IACD,OAAO,IAAI,CAAC;AACd,CAAC;AAED,MAAM,CAAC,OAAO,OAAO,sBAAsB;IACzC,MAAM,CAAC,cAAc,GAAG,CAAC,IAAI,CAAC,CAAC;IAE/B,YAAY,mBAA4B;QACtC,IAAI,SAAS,CAAC,mBAAmB,CAAC,EAAE;YAClC,IAAI,CAAC,EAAE,GAAG,mBAAmB,CAAC,EAAE,CAAC;YACjC,IAAI,CAAC,SAAS,GAAG,mBAAmB,CAAC,SAAS,CAAC;YAC/C,IAAI,CAAC,SAAS,GAAG,mBAAmB,CAAC,SAAS,CAAC;YAC/C,IAAI,CAAC,IAAI,GAAG,mBAAmB,CAAC,IAAI,CAAC;SACtC;;YACC,MAAM,IAAI,KAAK,CACb,oCAAoC,sBAAsB,CAAC,IAAI,EAAE,CAClE,CAAC;IACN,CAAC;IAED,EAAE,CAAS;IACX,SAAS,CAAU;IACnB,SAAS,CAAU;IACnB,IAAI,CAAU"}
@@ -4,3 +4,4 @@ export * from "./locationsForm";
4
4
  export * from "./customer";
5
5
  export * from "./statusStepper";
6
6
  export * from "./load";
7
+ export * from "./lep";
@@ -4,4 +4,5 @@ export * from "./locationsForm";
4
4
  export * from "./customer";
5
5
  export * from "./statusStepper";
6
6
  export * from "./load";
7
+ export * from "./lep";
7
8
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,QAAQ,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,QAAQ,CAAC;AACvB,cAAc,OAAO,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { ReactElement } from "react";
2
+ export interface CheckListProps {
3
+ loading?: boolean;
4
+ }
5
+ /**
6
+ *
7
+ * @param {CheckListProps} props props
8
+ * @returns {ReactElement} CheckList
9
+ */
10
+ export declare function CheckList(props: CheckListProps): ReactElement;