@nerdjs/sales-kit 2.0.35-alpha.2 → 2.0.37

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 (343) hide show
  1. package/dist/entities/appointmentIssue/appointmentIssue.d.ts +46 -0
  2. package/dist/entities/appointmentIssue/appointmentIssue.js +116 -0
  3. package/dist/entities/appointmentIssue/appointmentIssue.js.map +1 -0
  4. package/dist/entities/appointmentIssue/helper.d.ts +5 -0
  5. package/dist/entities/appointmentIssue/helper.js +16 -0
  6. package/dist/entities/appointmentIssue/helper.js.map +1 -0
  7. package/dist/entities/appointmentIssue/index.d.ts +2 -0
  8. package/dist/entities/appointmentIssue/index.js +3 -0
  9. package/dist/entities/appointmentIssue/index.js.map +1 -0
  10. package/dist/entities/appointmentIssueCategory/appointmentIssueCategory.d.ts +10 -0
  11. package/dist/entities/appointmentIssueCategory/appointmentIssueCategory.js +40 -0
  12. package/dist/entities/appointmentIssueCategory/appointmentIssueCategory.js.map +1 -0
  13. package/dist/entities/appointmentIssueCategory/helper.d.ts +5 -0
  14. package/dist/entities/appointmentIssueCategory/helper.js +16 -0
  15. package/dist/entities/appointmentIssueCategory/helper.js.map +1 -0
  16. package/dist/entities/appointmentIssueCategory/index.d.ts +2 -0
  17. package/dist/entities/appointmentIssueCategory/index.js +3 -0
  18. package/dist/entities/appointmentIssueCategory/index.js.map +1 -0
  19. package/dist/entities/appointmentIssueSubcategory/appointmentIssueSubcategory.d.ts +11 -0
  20. package/dist/entities/appointmentIssueSubcategory/appointmentIssueSubcategory.js +43 -0
  21. package/dist/entities/appointmentIssueSubcategory/appointmentIssueSubcategory.js.map +1 -0
  22. package/dist/entities/appointmentIssueSubcategory/helper.d.ts +5 -0
  23. package/dist/entities/appointmentIssueSubcategory/helper.js +16 -0
  24. package/dist/entities/appointmentIssueSubcategory/helper.js.map +1 -0
  25. package/dist/entities/appointmentIssueSubcategory/index.d.ts +2 -0
  26. package/dist/entities/appointmentIssueSubcategory/index.js +3 -0
  27. package/dist/entities/appointmentIssueSubcategory/index.js.map +1 -0
  28. package/dist/entities/appointmentNote/appointmentNote.d.ts +13 -0
  29. package/dist/entities/appointmentNote/appointmentNote.js +44 -0
  30. package/dist/entities/appointmentNote/appointmentNote.js.map +1 -0
  31. package/dist/entities/appointmentNote/helper.d.ts +5 -0
  32. package/dist/entities/appointmentNote/helper.js +16 -0
  33. package/dist/entities/appointmentNote/helper.js.map +1 -0
  34. package/dist/entities/appointmentNote/index.d.ts +2 -0
  35. package/dist/entities/appointmentNote/index.js +3 -0
  36. package/dist/entities/appointmentNote/index.js.map +1 -0
  37. package/dist/entities/appointmentNoteType/appointmentNoteType.d.ts +8 -0
  38. package/dist/entities/appointmentNoteType/appointmentNoteType.js +34 -0
  39. package/dist/entities/appointmentNoteType/appointmentNoteType.js.map +1 -0
  40. package/dist/entities/appointmentNoteType/helper.d.ts +5 -0
  41. package/dist/entities/appointmentNoteType/helper.js +16 -0
  42. package/dist/entities/appointmentNoteType/helper.js.map +1 -0
  43. package/dist/entities/appointmentNoteType/index.d.ts +2 -0
  44. package/dist/entities/appointmentNoteType/index.js +3 -0
  45. package/dist/entities/appointmentNoteType/index.js.map +1 -0
  46. package/dist/entities/archerFileV1/archerFileV1.d.ts +25 -0
  47. package/dist/entities/archerFileV1/archerFileV1.js +63 -0
  48. package/dist/entities/archerFileV1/archerFileV1.js.map +1 -0
  49. package/dist/entities/archerFileV1/helper.d.ts +5 -0
  50. package/dist/entities/archerFileV1/helper.js +16 -0
  51. package/dist/entities/archerFileV1/helper.js.map +1 -0
  52. package/dist/entities/archerFileV1/index.d.ts +2 -0
  53. package/dist/entities/archerFileV1/index.js +3 -0
  54. package/dist/entities/archerFileV1/index.js.map +1 -0
  55. package/dist/entities/carrierName/carrierName.d.ts +16 -0
  56. package/dist/entities/carrierName/carrierName.js +49 -0
  57. package/dist/entities/carrierName/carrierName.js.map +1 -0
  58. package/dist/entities/carrierName/helper.d.ts +5 -0
  59. package/dist/entities/carrierName/helper.js +16 -0
  60. package/dist/entities/carrierName/helper.js.map +1 -0
  61. package/dist/entities/carrierName/index.d.ts +2 -0
  62. package/dist/entities/carrierName/index.js +3 -0
  63. package/dist/entities/carrierName/index.js.map +1 -0
  64. package/dist/entities/commodityV1/commodityV1.d.ts +26 -0
  65. package/dist/entities/commodityV1/commodityV1.js +69 -0
  66. package/dist/entities/commodityV1/commodityV1.js.map +1 -0
  67. package/dist/entities/commodityV1/helper.d.ts +5 -0
  68. package/dist/entities/commodityV1/helper.js +16 -0
  69. package/dist/entities/commodityV1/helper.js.map +1 -0
  70. package/dist/entities/commodityV1/index.d.ts +2 -0
  71. package/dist/entities/commodityV1/index.js +3 -0
  72. package/dist/entities/commodityV1/index.js.map +1 -0
  73. package/dist/entities/driverName/driverName.d.ts +16 -0
  74. package/dist/entities/driverName/driverName.js +49 -0
  75. package/dist/entities/driverName/driverName.js.map +1 -0
  76. package/dist/entities/driverName/helper.d.ts +5 -0
  77. package/dist/entities/driverName/helper.js +16 -0
  78. package/dist/entities/driverName/helper.js.map +1 -0
  79. package/dist/entities/driverName/index.d.ts +2 -0
  80. package/dist/entities/driverName/index.js +3 -0
  81. package/dist/entities/driverName/index.js.map +1 -0
  82. package/dist/entities/index.d.ts +19 -0
  83. package/dist/entities/index.js +19 -0
  84. package/dist/entities/index.js.map +1 -1
  85. package/dist/entities/loadAdjustmentV1/helper.d.ts +5 -0
  86. package/dist/entities/loadAdjustmentV1/helper.js +16 -0
  87. package/dist/entities/loadAdjustmentV1/helper.js.map +1 -0
  88. package/dist/entities/loadAdjustmentV1/index.d.ts +2 -0
  89. package/dist/entities/loadAdjustmentV1/index.js +3 -0
  90. package/dist/entities/loadAdjustmentV1/index.js.map +1 -0
  91. package/dist/entities/loadAdjustmentV1/loadAdjustmentV1.d.ts +16 -0
  92. package/dist/entities/loadAdjustmentV1/loadAdjustmentV1.js +50 -0
  93. package/dist/entities/loadAdjustmentV1/loadAdjustmentV1.js.map +1 -0
  94. package/dist/entities/loadV1/helper.d.ts +6 -0
  95. package/dist/entities/loadV1/helper.js +35 -0
  96. package/dist/entities/loadV1/helper.js.map +1 -0
  97. package/dist/entities/loadV1/index.d.ts +2 -0
  98. package/dist/entities/loadV1/index.js +3 -0
  99. package/dist/entities/loadV1/index.js.map +1 -0
  100. package/dist/entities/loadV1/loadV1.d.ts +120 -0
  101. package/dist/entities/loadV1/loadV1.js +260 -0
  102. package/dist/entities/loadV1/loadV1.js.map +1 -0
  103. package/dist/entities/location/index.d.ts +1 -0
  104. package/dist/entities/location/index.js +1 -0
  105. package/dist/entities/location/index.js.map +1 -1
  106. package/dist/entities/location/location.d.ts +2 -1
  107. package/dist/entities/location/location.js +9 -2
  108. package/dist/entities/location/location.js.map +1 -1
  109. package/dist/entities/locationAccessorial/helper.d.ts +5 -0
  110. package/dist/entities/locationAccessorial/helper.js +16 -0
  111. package/dist/entities/locationAccessorial/helper.js.map +1 -0
  112. package/dist/entities/locationAccessorial/index.d.ts +2 -0
  113. package/dist/entities/locationAccessorial/index.js +3 -0
  114. package/dist/entities/locationAccessorial/index.js.map +1 -0
  115. package/dist/entities/locationAccessorial/locationAccessorial.d.ts +13 -0
  116. package/dist/entities/locationAccessorial/locationAccessorial.js +44 -0
  117. package/dist/entities/locationAccessorial/locationAccessorial.js.map +1 -0
  118. package/dist/entities/locationV1/helper.d.ts +5 -0
  119. package/dist/entities/locationV1/helper.js +16 -0
  120. package/dist/entities/locationV1/helper.js.map +1 -0
  121. package/dist/entities/locationV1/index.d.ts +2 -0
  122. package/dist/entities/locationV1/index.js +3 -0
  123. package/dist/entities/locationV1/index.js.map +1 -0
  124. package/dist/entities/locationV1/locationV1.d.ts +73 -0
  125. package/dist/entities/locationV1/locationV1.js +163 -0
  126. package/dist/entities/locationV1/locationV1.js.map +1 -0
  127. package/dist/entities/nmfcClass/helper.d.ts +5 -0
  128. package/dist/entities/nmfcClass/helper.js +16 -0
  129. package/dist/entities/nmfcClass/helper.js.map +1 -0
  130. package/dist/entities/nmfcClass/index.d.ts +2 -0
  131. package/dist/entities/nmfcClass/index.js +3 -0
  132. package/dist/entities/nmfcClass/index.js.map +1 -0
  133. package/dist/entities/nmfcClass/nmfcClass.d.ts +11 -0
  134. package/dist/entities/nmfcClass/nmfcClass.js +39 -0
  135. package/dist/entities/nmfcClass/nmfcClass.js.map +1 -0
  136. package/dist/entities/nodeName/helper.d.ts +5 -0
  137. package/dist/entities/nodeName/helper.js +16 -0
  138. package/dist/entities/nodeName/helper.js.map +1 -0
  139. package/dist/entities/nodeName/index.d.ts +2 -0
  140. package/dist/entities/nodeName/index.js +3 -0
  141. package/dist/entities/nodeName/index.js.map +1 -0
  142. package/dist/entities/nodeName/nodeName.d.ts +14 -0
  143. package/dist/entities/nodeName/nodeName.js +45 -0
  144. package/dist/entities/nodeName/nodeName.js.map +1 -0
  145. package/dist/entities/personName/helper.d.ts +5 -0
  146. package/dist/entities/personName/helper.js +16 -0
  147. package/dist/entities/personName/helper.js.map +1 -0
  148. package/dist/entities/personName/index.d.ts +2 -0
  149. package/dist/entities/personName/index.js +3 -0
  150. package/dist/entities/personName/index.js.map +1 -0
  151. package/dist/entities/personName/personName.d.ts +12 -0
  152. package/dist/entities/personName/personName.js +41 -0
  153. package/dist/entities/personName/personName.js.map +1 -0
  154. package/dist/entities/quote/quote.d.ts +0 -1
  155. package/dist/entities/quoteAccessorialV1/helper.d.ts +5 -0
  156. package/dist/entities/quoteAccessorialV1/helper.js +16 -0
  157. package/dist/entities/quoteAccessorialV1/helper.js.map +1 -0
  158. package/dist/entities/quoteAccessorialV1/index.d.ts +2 -0
  159. package/dist/entities/quoteAccessorialV1/index.js +3 -0
  160. package/dist/entities/quoteAccessorialV1/index.js.map +1 -0
  161. package/dist/entities/quoteAccessorialV1/quoteAccessorialV1.d.ts +34 -0
  162. package/dist/entities/quoteAccessorialV1/quoteAccessorialV1.js +86 -0
  163. package/dist/entities/quoteAccessorialV1/quoteAccessorialV1.js.map +1 -0
  164. package/dist/entities/quoteResponse/quoteResponse.d.ts +0 -1
  165. package/dist/entities/quoteResponse/quoteResponse.js.map +1 -1
  166. package/dist/entities/shipconV1/helper.d.ts +5 -0
  167. package/dist/entities/shipconV1/helper.js +16 -0
  168. package/dist/entities/shipconV1/helper.js.map +1 -0
  169. package/dist/entities/shipconV1/index.d.ts +2 -0
  170. package/dist/entities/shipconV1/index.js +3 -0
  171. package/dist/entities/shipconV1/index.js.map +1 -0
  172. package/dist/entities/shipconV1/shipconV1.d.ts +163 -0
  173. package/dist/entities/shipconV1/shipconV1.js +350 -0
  174. package/dist/entities/shipconV1/shipconV1.js.map +1 -0
  175. package/dist/entities/userNoteV1/helper.d.ts +5 -0
  176. package/dist/entities/userNoteV1/helper.js +16 -0
  177. package/dist/entities/userNoteV1/helper.js.map +1 -0
  178. package/dist/entities/userNoteV1/index.d.ts +2 -0
  179. package/dist/entities/userNoteV1/index.js +3 -0
  180. package/dist/entities/userNoteV1/index.js.map +1 -0
  181. package/dist/entities/userNoteV1/userNoteV1.d.ts +14 -0
  182. package/dist/entities/userNoteV1/userNoteV1.js +46 -0
  183. package/dist/entities/userNoteV1/userNoteV1.js.map +1 -0
  184. package/dist/hooks/locationsForm/locationsForm.d.ts +1 -0
  185. package/dist/hooks/locationsForm/locationsForm.js +7 -7
  186. package/dist/hooks/locationsForm/locationsForm.js.map +1 -1
  187. package/dist/hooks/locationsForm/locationsFormSales.d.ts +11 -0
  188. package/dist/hooks/locationsForm/locationsFormSales.js +826 -0
  189. package/dist/hooks/locationsForm/locationsFormSales.js.map +1 -0
  190. package/dist/hooks/quote/constants.d.ts +42 -2
  191. package/dist/hooks/quote/constants.js +39 -2
  192. package/dist/hooks/quote/constants.js.map +1 -1
  193. package/dist/hooks/quote/form.js +37 -46
  194. package/dist/hooks/quote/form.js.map +1 -1
  195. package/dist/hooks/quote/helpers.d.ts +12 -5
  196. package/dist/hooks/quote/helpers.js +76 -101
  197. package/dist/hooks/quote/helpers.js.map +1 -1
  198. package/dist/hooks/quote/result.js +19 -23
  199. package/dist/hooks/quote/result.js.map +1 -1
  200. package/dist/hooks/tender/form.js +84 -67
  201. package/dist/hooks/tender/form.js.map +1 -1
  202. package/dist/hooks/tender/helpers.d.ts +2 -1
  203. package/dist/hooks/tender/helpers.js +14 -17
  204. package/dist/hooks/tender/helpers.js.map +1 -1
  205. package/dist/redux/api/salesApi.d.ts +1 -1
  206. package/dist/redux/api/salesApi.js +24 -0
  207. package/dist/redux/api/salesApi.js.map +1 -1
  208. package/dist/redux/appointmentIssue/appointmentIssueEndpoints.d.ts +32 -0
  209. package/dist/redux/appointmentIssue/appointmentIssueEndpoints.js +66 -0
  210. package/dist/redux/appointmentIssue/appointmentIssueEndpoints.js.map +1 -0
  211. package/dist/redux/appointmentIssue/index.d.ts +2 -0
  212. package/dist/redux/appointmentIssue/index.js +3 -0
  213. package/dist/redux/appointmentIssue/index.js.map +1 -0
  214. package/dist/redux/appointmentIssueCategory/appointmentIssueCategoryEndpoints.d.ts +27 -0
  215. package/dist/redux/appointmentIssueCategory/appointmentIssueCategoryEndpoints.js +72 -0
  216. package/dist/redux/appointmentIssueCategory/appointmentIssueCategoryEndpoints.js.map +1 -0
  217. package/dist/redux/appointmentIssueCategory/index.d.ts +2 -0
  218. package/dist/redux/appointmentIssueCategory/index.js +3 -0
  219. package/dist/redux/appointmentIssueCategory/index.js.map +1 -0
  220. package/dist/redux/appointmentIssueSubcategory/appointmentIssueSubcategoryEndpoints.d.ts +26 -0
  221. package/dist/redux/appointmentIssueSubcategory/appointmentIssueSubcategoryEndpoints.js +66 -0
  222. package/dist/redux/appointmentIssueSubcategory/appointmentIssueSubcategoryEndpoints.js.map +1 -0
  223. package/dist/redux/appointmentIssueSubcategory/index.d.ts +2 -0
  224. package/dist/redux/appointmentIssueSubcategory/index.js +3 -0
  225. package/dist/redux/appointmentIssueSubcategory/index.js.map +1 -0
  226. package/dist/redux/appointmentNote/appointmentNoteEndpoints.d.ts +26 -0
  227. package/dist/redux/appointmentNote/appointmentNoteEndpoints.js +70 -0
  228. package/dist/redux/appointmentNote/appointmentNoteEndpoints.js.map +1 -0
  229. package/dist/redux/appointmentNote/index.d.ts +2 -0
  230. package/dist/redux/appointmentNote/index.js +3 -0
  231. package/dist/redux/appointmentNote/index.js.map +1 -0
  232. package/dist/redux/appointmentNoteType/appointmentNoteTypeEndpoints.d.ts +26 -0
  233. package/dist/redux/appointmentNoteType/appointmentNoteTypeEndpoints.js +75 -0
  234. package/dist/redux/appointmentNoteType/appointmentNoteTypeEndpoints.js.map +1 -0
  235. package/dist/redux/appointmentNoteType/index.d.ts +2 -0
  236. package/dist/redux/appointmentNoteType/index.js +3 -0
  237. package/dist/redux/appointmentNoteType/index.js.map +1 -0
  238. package/dist/redux/archerFile/archerFileEndpoints.d.ts +20 -0
  239. package/dist/redux/archerFile/archerFileEndpoints.js +61 -0
  240. package/dist/redux/archerFile/archerFileEndpoints.js.map +1 -0
  241. package/dist/redux/archerFile/index.d.ts +2 -0
  242. package/dist/redux/archerFile/index.js +3 -0
  243. package/dist/redux/archerFile/index.js.map +1 -0
  244. package/dist/redux/carrierName/carrierNameEndpoints.d.ts +25 -0
  245. package/dist/redux/carrierName/carrierNameEndpoints.js +76 -0
  246. package/dist/redux/carrierName/carrierNameEndpoints.js.map +1 -0
  247. package/dist/redux/carrierName/index.d.ts +2 -0
  248. package/dist/redux/carrierName/index.js +3 -0
  249. package/dist/redux/carrierName/index.js.map +1 -0
  250. package/dist/redux/commodityV1/commodityV1Endpoints.d.ts +33 -0
  251. package/dist/redux/commodityV1/commodityV1Endpoints.js +71 -0
  252. package/dist/redux/commodityV1/commodityV1Endpoints.js.map +1 -0
  253. package/dist/redux/commodityV1/index.d.ts +2 -0
  254. package/dist/redux/commodityV1/index.js +3 -0
  255. package/dist/redux/commodityV1/index.js.map +1 -0
  256. package/dist/redux/customer/customerEndpoints.d.ts +14 -14
  257. package/dist/redux/driverName/driverNameEndpoints.d.ts +24 -0
  258. package/dist/redux/driverName/driverNameEndpoints.js +67 -0
  259. package/dist/redux/driverName/driverNameEndpoints.js.map +1 -0
  260. package/dist/redux/driverName/index.d.ts +2 -0
  261. package/dist/redux/driverName/index.js +3 -0
  262. package/dist/redux/driverName/index.js.map +1 -0
  263. package/dist/redux/holiday/holidayEndpoints.d.ts +10 -10
  264. package/dist/redux/index.d.ts +17 -0
  265. package/dist/redux/index.js +17 -0
  266. package/dist/redux/index.js.map +1 -1
  267. package/dist/redux/load/loadEndpoints.d.ts +10 -10
  268. package/dist/redux/loadAdjustment/loadAdjustmentEndpoints.d.ts +10 -10
  269. package/dist/redux/loadAdjustmentV1/index.d.ts +2 -0
  270. package/dist/redux/loadAdjustmentV1/index.js +3 -0
  271. package/dist/redux/loadAdjustmentV1/index.js.map +1 -0
  272. package/dist/redux/loadAdjustmentV1/loadAdjustmentV1Endpoints.d.ts +32 -0
  273. package/dist/redux/loadAdjustmentV1/loadAdjustmentV1Endpoints.js +66 -0
  274. package/dist/redux/loadAdjustmentV1/loadAdjustmentV1Endpoints.js.map +1 -0
  275. package/dist/redux/loadV1/index.d.ts +2 -0
  276. package/dist/redux/loadV1/index.js +3 -0
  277. package/dist/redux/loadV1/index.js.map +1 -0
  278. package/dist/redux/loadV1/loadV1Endpoints.d.ts +43 -0
  279. package/dist/redux/loadV1/loadV1Endpoints.js +100 -0
  280. package/dist/redux/loadV1/loadV1Endpoints.js.map +1 -0
  281. package/dist/redux/location/locationEndpoints.d.ts +14 -14
  282. package/dist/redux/locationV1/index.d.ts +2 -0
  283. package/dist/redux/locationV1/index.js +3 -0
  284. package/dist/redux/locationV1/index.js.map +1 -0
  285. package/dist/redux/locationV1/locationV1Endpoints.d.ts +59 -0
  286. package/dist/redux/locationV1/locationV1Endpoints.js +115 -0
  287. package/dist/redux/locationV1/locationV1Endpoints.js.map +1 -0
  288. package/dist/redux/nmfcClass/index.d.ts +2 -0
  289. package/dist/redux/nmfcClass/index.js +3 -0
  290. package/dist/redux/nmfcClass/index.js.map +1 -0
  291. package/dist/redux/nmfcClass/nmfcClassEndpoints.d.ts +24 -0
  292. package/dist/redux/nmfcClass/nmfcClassEndpoints.js +64 -0
  293. package/dist/redux/nmfcClass/nmfcClassEndpoints.js.map +1 -0
  294. package/dist/redux/nodeName/index.d.ts +2 -0
  295. package/dist/redux/nodeName/index.js +3 -0
  296. package/dist/redux/nodeName/index.js.map +1 -0
  297. package/dist/redux/nodeName/nodeNameEndpoints.d.ts +26 -0
  298. package/dist/redux/nodeName/nodeNameEndpoints.js +67 -0
  299. package/dist/redux/nodeName/nodeNameEndpoints.js.map +1 -0
  300. package/dist/redux/personName/index.d.ts +2 -0
  301. package/dist/redux/personName/index.js +3 -0
  302. package/dist/redux/personName/index.js.map +1 -0
  303. package/dist/redux/personName/personNameEndpoints.d.ts +26 -0
  304. package/dist/redux/personName/personNameEndpoints.js +67 -0
  305. package/dist/redux/personName/personNameEndpoints.js.map +1 -0
  306. package/dist/redux/quote/quoteAction.d.ts +6 -2
  307. package/dist/redux/quote/quoteAction.js +9 -36
  308. package/dist/redux/quote/quoteAction.js.map +1 -1
  309. package/dist/redux/quote/quoteEndpoints.d.ts +22 -15
  310. package/dist/redux/quote/quoteEndpoints.js +26 -1
  311. package/dist/redux/quote/quoteEndpoints.js.map +1 -1
  312. package/dist/redux/quote/quoteHooks.d.ts +2 -2
  313. package/dist/redux/quote/quoteReducer.d.ts +0 -1
  314. package/dist/redux/quote/quoteReducer.js +27 -63
  315. package/dist/redux/quote/quoteReducer.js.map +1 -1
  316. package/dist/redux/quote/quoteSelector.d.ts +0 -1
  317. package/dist/redux/quote/quoteSelector.js +0 -12
  318. package/dist/redux/quote/quoteSelector.js.map +1 -1
  319. package/dist/redux/quoteAccessorial/quoteAccessorialEndpoints.d.ts +9 -9
  320. package/dist/redux/quoteAccessorialV1/index.d.ts +2 -0
  321. package/dist/redux/quoteAccessorialV1/index.js +3 -0
  322. package/dist/redux/quoteAccessorialV1/index.js.map +1 -0
  323. package/dist/redux/quoteAccessorialV1/quoteAccessorialV1Endpoints.d.ts +32 -0
  324. package/dist/redux/quoteAccessorialV1/quoteAccessorialV1Endpoints.js +67 -0
  325. package/dist/redux/quoteAccessorialV1/quoteAccessorialV1Endpoints.js.map +1 -0
  326. package/dist/redux/shipcon/shipconEndpoints.d.ts +10 -10
  327. package/dist/redux/shipconV1/index.d.ts +2 -0
  328. package/dist/redux/shipconV1/index.js +3 -0
  329. package/dist/redux/shipconV1/index.js.map +1 -0
  330. package/dist/redux/shipconV1/shipconV1Endpoints.d.ts +44 -0
  331. package/dist/redux/shipconV1/shipconV1Endpoints.js +75 -0
  332. package/dist/redux/shipconV1/shipconV1Endpoints.js.map +1 -0
  333. package/dist/redux/tender/tenderEndpoints.d.ts +9 -9
  334. package/dist/redux/tender/tenderSelector.d.ts +0 -2
  335. package/dist/redux/trailerAvailability/customerEndpoints.d.ts +4 -4
  336. package/dist/redux/types.d.ts +2 -2
  337. package/dist/redux/userNoteV1/index.d.ts +2 -0
  338. package/dist/redux/userNoteV1/index.js +3 -0
  339. package/dist/redux/userNoteV1/index.js.map +1 -0
  340. package/dist/redux/userNoteV1/userNoteV1Endpoints.d.ts +32 -0
  341. package/dist/redux/userNoteV1/userNoteV1Endpoints.js +65 -0
  342. package/dist/redux/userNoteV1/userNoteV1Endpoints.js.map +1 -0
  343. package/package.json +5 -5
@@ -0,0 +1,2 @@
1
+ export * from "./appointmentNoteTypeEndpoints";
2
+ export { default as AppointmentNoteTypeEndpoints } from "./appointmentNoteTypeEndpoints";
@@ -0,0 +1,3 @@
1
+ export * from "./appointmentNoteTypeEndpoints";
2
+ export { default as AppointmentNoteTypeEndpoints } from "./appointmentNoteTypeEndpoints";
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/redux/appointmentNoteType/index.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAC;AAC/C,OAAO,EAAE,OAAO,IAAI,4BAA4B,EAAE,MAAM,gCAAgC,CAAC"}
@@ -0,0 +1,20 @@
1
+ import { ArcherFileV1_Entity } from "../../entities";
2
+ export declare const archerFileEndpoints: import("@reduxjs/toolkit/dist/query").Api<(args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/query").FetchBaseQueryError, {}>>, {
3
+ getArcherFiles: import("@reduxjs/toolkit/dist/query").QueryDefinition<void | Record<string, unknown>, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/query").FetchBaseQueryError, {}>>, "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities" | "locationsV1" | "locationsV1Accessorials" | "archerFiles" | "appointmentNotes" | "appointmentNoteTypes" | "shipconsV1" | "loadShipcons" | "appointmentIssueCategories" | "appointmentIssueSubcategories" | "personNames" | "nodeNames" | "driverNames" | "carrierNames" | "appointmentIssues" | "loadsV1" | "nmfcClasses" | "commoditiesV1" | "loadCommodities" | "loadQuoteAccessorials" | "quoteAccessorialsV1" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "userNotesV1" | "loadUserNotesV1", ArcherFileV1_Entity[], "salesApi">;
4
+ uploadArcherFile: import("@reduxjs/toolkit/dist/query").MutationDefinition<{
5
+ modelType: string;
6
+ modelID: number;
7
+ file: File;
8
+ description: string;
9
+ }, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/query").FetchBaseQueryError, {}>>, "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities" | "locationsV1" | "locationsV1Accessorials" | "archerFiles" | "appointmentNotes" | "appointmentNoteTypes" | "shipconsV1" | "loadShipcons" | "appointmentIssueCategories" | "appointmentIssueSubcategories" | "personNames" | "nodeNames" | "driverNames" | "carrierNames" | "appointmentIssues" | "loadsV1" | "nmfcClasses" | "commoditiesV1" | "loadCommodities" | "loadQuoteAccessorials" | "quoteAccessorialsV1" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "userNotesV1" | "loadUserNotesV1", ArcherFileV1_Entity, "salesApi">;
10
+ deleteArcherFile: import("@reduxjs/toolkit/dist/query").MutationDefinition<number, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/query").FetchBaseQueryError, {}>>, "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities" | "locationsV1" | "locationsV1Accessorials" | "archerFiles" | "appointmentNotes" | "appointmentNoteTypes" | "shipconsV1" | "loadShipcons" | "appointmentIssueCategories" | "appointmentIssueSubcategories" | "personNames" | "nodeNames" | "driverNames" | "carrierNames" | "appointmentIssues" | "loadsV1" | "nmfcClasses" | "commoditiesV1" | "loadCommodities" | "loadQuoteAccessorials" | "quoteAccessorialsV1" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "userNotesV1" | "loadUserNotesV1", void, "salesApi">;
11
+ shareArcherFile: import("@reduxjs/toolkit/dist/query").MutationDefinition<number, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/query").FetchBaseQueryError, {}>>, "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities" | "locationsV1" | "locationsV1Accessorials" | "archerFiles" | "appointmentNotes" | "appointmentNoteTypes" | "shipconsV1" | "loadShipcons" | "appointmentIssueCategories" | "appointmentIssueSubcategories" | "personNames" | "nodeNames" | "driverNames" | "carrierNames" | "appointmentIssues" | "loadsV1" | "nmfcClasses" | "commoditiesV1" | "loadCommodities" | "loadQuoteAccessorials" | "quoteAccessorialsV1" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "userNotesV1" | "loadUserNotesV1", ArcherFileV1_Entity, "salesApi">;
12
+ unshareArcherFile: import("@reduxjs/toolkit/dist/query").MutationDefinition<number, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/query").FetchBaseQueryError, {}>>, "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities" | "locationsV1" | "locationsV1Accessorials" | "archerFiles" | "appointmentNotes" | "appointmentNoteTypes" | "shipconsV1" | "loadShipcons" | "appointmentIssueCategories" | "appointmentIssueSubcategories" | "personNames" | "nodeNames" | "driverNames" | "carrierNames" | "appointmentIssues" | "loadsV1" | "nmfcClasses" | "commoditiesV1" | "loadCommodities" | "loadQuoteAccessorials" | "quoteAccessorialsV1" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "userNotesV1" | "loadUserNotesV1", ArcherFileV1_Entity, "salesApi">;
13
+ }, "salesApi", "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities" | "locationsV1" | "locationsV1Accessorials" | "archerFiles" | "appointmentNotes" | "appointmentNoteTypes" | "shipconsV1" | "loadShipcons" | "appointmentIssueCategories" | "appointmentIssueSubcategories" | "personNames" | "nodeNames" | "driverNames" | "carrierNames" | "appointmentIssues" | "loadsV1" | "nmfcClasses" | "commoditiesV1" | "loadCommodities" | "loadQuoteAccessorials" | "quoteAccessorialsV1" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "userNotesV1" | "loadUserNotesV1", typeof import("@reduxjs/toolkit/dist/query/core/module").coreModuleName | typeof import("@reduxjs/toolkit/dist/query/react/module").reactHooksModuleName>;
14
+ export declare const useGetArcherFilesQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/dist/query").QueryDefinition<void | Record<string, unknown>, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/query").FetchBaseQueryError, {}>>, "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities" | "locationsV1" | "locationsV1Accessorials" | "archerFiles" | "appointmentNotes" | "appointmentNoteTypes" | "shipconsV1" | "loadShipcons" | "appointmentIssueCategories" | "appointmentIssueSubcategories" | "personNames" | "nodeNames" | "driverNames" | "carrierNames" | "appointmentIssues" | "loadsV1" | "nmfcClasses" | "commoditiesV1" | "loadCommodities" | "loadQuoteAccessorials" | "quoteAccessorialsV1" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "userNotesV1" | "loadUserNotesV1", ArcherFileV1_Entity[], "salesApi">>, useLazyGetArcherFilesQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseLazyQuery<import("@reduxjs/toolkit/dist/query").QueryDefinition<void | Record<string, unknown>, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/query").FetchBaseQueryError, {}>>, "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities" | "locationsV1" | "locationsV1Accessorials" | "archerFiles" | "appointmentNotes" | "appointmentNoteTypes" | "shipconsV1" | "loadShipcons" | "appointmentIssueCategories" | "appointmentIssueSubcategories" | "personNames" | "nodeNames" | "driverNames" | "carrierNames" | "appointmentIssues" | "loadsV1" | "nmfcClasses" | "commoditiesV1" | "loadCommodities" | "loadQuoteAccessorials" | "quoteAccessorialsV1" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "userNotesV1" | "loadUserNotesV1", ArcherFileV1_Entity[], "salesApi">>, useDeleteArcherFileMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/dist/query").MutationDefinition<number, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/query").FetchBaseQueryError, {}>>, "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities" | "locationsV1" | "locationsV1Accessorials" | "archerFiles" | "appointmentNotes" | "appointmentNoteTypes" | "shipconsV1" | "loadShipcons" | "appointmentIssueCategories" | "appointmentIssueSubcategories" | "personNames" | "nodeNames" | "driverNames" | "carrierNames" | "appointmentIssues" | "loadsV1" | "nmfcClasses" | "commoditiesV1" | "loadCommodities" | "loadQuoteAccessorials" | "quoteAccessorialsV1" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "userNotesV1" | "loadUserNotesV1", void, "salesApi">>, useUploadArcherFileMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/dist/query").MutationDefinition<{
15
+ modelType: string;
16
+ modelID: number;
17
+ file: File;
18
+ description: string;
19
+ }, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/query").FetchBaseQueryError, {}>>, "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities" | "locationsV1" | "locationsV1Accessorials" | "archerFiles" | "appointmentNotes" | "appointmentNoteTypes" | "shipconsV1" | "loadShipcons" | "appointmentIssueCategories" | "appointmentIssueSubcategories" | "personNames" | "nodeNames" | "driverNames" | "carrierNames" | "appointmentIssues" | "loadsV1" | "nmfcClasses" | "commoditiesV1" | "loadCommodities" | "loadQuoteAccessorials" | "quoteAccessorialsV1" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "userNotesV1" | "loadUserNotesV1", ArcherFileV1_Entity, "salesApi">>, useShareArcherFileMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/dist/query").MutationDefinition<number, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/query").FetchBaseQueryError, {}>>, "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities" | "locationsV1" | "locationsV1Accessorials" | "archerFiles" | "appointmentNotes" | "appointmentNoteTypes" | "shipconsV1" | "loadShipcons" | "appointmentIssueCategories" | "appointmentIssueSubcategories" | "personNames" | "nodeNames" | "driverNames" | "carrierNames" | "appointmentIssues" | "loadsV1" | "nmfcClasses" | "commoditiesV1" | "loadCommodities" | "loadQuoteAccessorials" | "quoteAccessorialsV1" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "userNotesV1" | "loadUserNotesV1", ArcherFileV1_Entity, "salesApi">>, useUnshareArcherFileMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/dist/query").MutationDefinition<number, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/query").FetchBaseQueryError, {}>>, "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities" | "locationsV1" | "locationsV1Accessorials" | "archerFiles" | "appointmentNotes" | "appointmentNoteTypes" | "shipconsV1" | "loadShipcons" | "appointmentIssueCategories" | "appointmentIssueSubcategories" | "personNames" | "nodeNames" | "driverNames" | "carrierNames" | "appointmentIssues" | "loadsV1" | "nmfcClasses" | "commoditiesV1" | "loadCommodities" | "loadQuoteAccessorials" | "quoteAccessorialsV1" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "userNotesV1" | "loadUserNotesV1", ArcherFileV1_Entity, "salesApi">>;
20
+ export default archerFileEndpoints;
@@ -0,0 +1,61 @@
1
+ import { salesApi } from "../api/salesApi";
2
+ export const archerFileEndpoints = salesApi.injectEndpoints({
3
+ endpoints: (build) => ({
4
+ getArcherFiles: build.query({
5
+ query: (args) => {
6
+ return {
7
+ url: `archer_files`,
8
+ params: args,
9
+ routePrefix: "/v1",
10
+ };
11
+ },
12
+ providesTags: ["archerFiles"],
13
+ }),
14
+ uploadArcherFile: build.mutation({
15
+ query: (args) => {
16
+ const body = new FormData();
17
+ body.append("archerfile[model_type]", args.modelType);
18
+ body.append("archerfile[model_id]", args.modelID.toString());
19
+ body.append("archerfile[description]", args.description);
20
+ body.append("archerfile[file]", args.file);
21
+ body.append("filename", args.file.name);
22
+ return {
23
+ method: "POST",
24
+ body,
25
+ url: `file-service/archer_files/upload`,
26
+ headers: {
27
+ "Content-Type": "multipart/form-data",
28
+ },
29
+ };
30
+ },
31
+ invalidatesTags: ["archerFiles"],
32
+ }),
33
+ deleteArcherFile: build.mutation({
34
+ query: (id) => ({
35
+ method: "DELETE",
36
+ url: `archer_files/${id}`,
37
+ routePrefix: "/v1",
38
+ }),
39
+ invalidatesTags: ["archerFiles"],
40
+ }),
41
+ shareArcherFile: build.mutation({
42
+ query: (id) => ({
43
+ method: "GET",
44
+ url: `archer_files/${id}/share_file.json?share=true`,
45
+ routePrefix: "/v1",
46
+ invalidatesTags: ["archerFiles"],
47
+ }),
48
+ }),
49
+ unshareArcherFile: build.mutation({
50
+ query: (id) => ({
51
+ method: "GET",
52
+ url: `archer_files/${id}/share_file.json?share=false`,
53
+ routePrefix: "/v1",
54
+ invalidatesTags: ["archerFiles"],
55
+ }),
56
+ }),
57
+ }),
58
+ });
59
+ export const { useGetArcherFilesQuery, useLazyGetArcherFilesQuery, useDeleteArcherFileMutation, useUploadArcherFileMutation, useShareArcherFileMutation, useUnshareArcherFileMutation, } = archerFileEndpoints;
60
+ export default archerFileEndpoints;
61
+ //# sourceMappingURL=archerFileEndpoints.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"archerFileEndpoints.js","sourceRoot":"","sources":["../../../src/redux/archerFile/archerFileEndpoints.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,MAAM,CAAC,MAAM,mBAAmB,GAAG,QAAQ,CAAC,eAAe,CAAC;IAC1D,SAAS,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;QACrB,cAAc,EAAE,KAAK,CAAC,KAAK,CAGzB;YACA,KAAK,EAAE,CAAC,IAAI,EAAE,EAAE;gBACd,OAAO;oBACL,GAAG,EAAE,cAAc;oBACnB,MAAM,EAAE,IAAI;oBACZ,WAAW,EAAE,KAAK;iBACnB,CAAC;YACJ,CAAC;YACD,YAAY,EAAE,CAAC,aAAa,CAAC;SAC9B,CAAC;QACF,gBAAgB,EAAE,KAAK,CAAC,QAAQ,CAG9B;YACA,KAAK,EAAE,CAAC,IAAI,EAAE,EAAE;gBACd,MAAM,IAAI,GAAG,IAAI,QAAQ,EAAE,CAAC;gBAC5B,IAAI,CAAC,MAAM,CAAC,wBAAwB,EAAE,IAAI,CAAC,SAAS,CAAC,CAAC;gBACtD,IAAI,CAAC,MAAM,CAAC,sBAAsB,EAAE,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC,CAAC;gBAC7D,IAAI,CAAC,MAAM,CAAC,yBAAyB,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC;gBACzD,IAAI,CAAC,MAAM,CAAC,kBAAkB,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;gBAC3C,IAAI,CAAC,MAAM,CAAC,UAAU,EAAE,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;gBACxC,OAAO;oBACL,MAAM,EAAE,MAAM;oBACd,IAAI;oBACJ,GAAG,EAAE,kCAAkC;oBACvC,OAAO,EAAE;wBACP,cAAc,EAAE,qBAAqB;qBACtC;iBACF,CAAC;YACJ,CAAC;YACD,eAAe,EAAE,CAAC,aAAa,CAAC;SACjC,CAAC;QACF,gBAAgB,EAAE,KAAK,CAAC,QAAQ,CAAe;YAC7C,KAAK,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;gBACd,MAAM,EAAE,QAAQ;gBAChB,GAAG,EAAE,gBAAgB,EAAE,EAAE;gBACzB,WAAW,EAAE,KAAK;aACnB,CAAC;YACF,eAAe,EAAE,CAAC,aAAa,CAAC;SACjC,CAAC;QACF,eAAe,EAAE,KAAK,CAAC,QAAQ,CAA8B;YAC3D,KAAK,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;gBACd,MAAM,EAAE,KAAK;gBACb,GAAG,EAAE,gBAAgB,EAAE,6BAA6B;gBACpD,WAAW,EAAE,KAAK;gBAClB,eAAe,EAAE,CAAC,aAAa,CAAC;aACjC,CAAC;SACH,CAAC;QACF,iBAAiB,EAAE,KAAK,CAAC,QAAQ,CAA8B;YAC7D,KAAK,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;gBACd,MAAM,EAAE,KAAK;gBACb,GAAG,EAAE,gBAAgB,EAAE,8BAA8B;gBACrD,WAAW,EAAE,KAAK;gBAClB,eAAe,EAAE,CAAC,aAAa,CAAC;aACjC,CAAC;SACH,CAAC;KACH,CAAC;CACH,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,EACX,sBAAsB,EACtB,0BAA0B,EAC1B,2BAA2B,EAC3B,2BAA2B,EAC3B,0BAA0B,EAC1B,4BAA4B,GAC7B,GAAG,mBAAmB,CAAC;AAExB,eAAe,mBAAmB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from "./archerFileEndpoints";
2
+ export { default as ArcherFileEndpoints } from "./archerFileEndpoints";
@@ -0,0 +1,3 @@
1
+ export * from "./archerFileEndpoints";
2
+ export { default as ArcherFileEndpoints } from "./archerFileEndpoints";
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/redux/archerFile/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,uBAAuB,CAAC"}
@@ -0,0 +1,25 @@
1
+ import { EntityState } from "@reduxjs/toolkit";
2
+ import { CarrierName_Entity } from "../../entities";
3
+ export declare const carrierNameEndpoints: import("@reduxjs/toolkit/dist/query").Api<(args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/query").FetchBaseQueryError, {}>>, {
4
+ getCarrierNames: import("@reduxjs/toolkit/dist/query").QueryDefinition<void | Record<string, unknown>, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/query").FetchBaseQueryError, {}>>, "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities" | "locationsV1" | "locationsV1Accessorials" | "archerFiles" | "appointmentNotes" | "appointmentNoteTypes" | "shipconsV1" | "loadShipcons" | "appointmentIssueCategories" | "appointmentIssueSubcategories" | "personNames" | "nodeNames" | "driverNames" | "carrierNames" | "appointmentIssues" | "loadsV1" | "nmfcClasses" | "commoditiesV1" | "loadCommodities" | "loadQuoteAccessorials" | "quoteAccessorialsV1" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "userNotesV1" | "loadUserNotesV1", EntityState<CarrierName_Entity>, "salesApi">;
5
+ getCarrierName: import("@reduxjs/toolkit/dist/query").QueryDefinition<number, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/query").FetchBaseQueryError, {}>>, "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities" | "locationsV1" | "locationsV1Accessorials" | "archerFiles" | "appointmentNotes" | "appointmentNoteTypes" | "shipconsV1" | "loadShipcons" | "appointmentIssueCategories" | "appointmentIssueSubcategories" | "personNames" | "nodeNames" | "driverNames" | "carrierNames" | "appointmentIssues" | "loadsV1" | "nmfcClasses" | "commoditiesV1" | "loadCommodities" | "loadQuoteAccessorials" | "quoteAccessorialsV1" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "userNotesV1" | "loadUserNotesV1", CarrierName_Entity, "salesApi">;
6
+ createCarrierName: import("@reduxjs/toolkit/dist/query").MutationDefinition<Partial<CarrierName_Entity>, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/query").FetchBaseQueryError, {}>>, "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities" | "locationsV1" | "locationsV1Accessorials" | "archerFiles" | "appointmentNotes" | "appointmentNoteTypes" | "shipconsV1" | "loadShipcons" | "appointmentIssueCategories" | "appointmentIssueSubcategories" | "personNames" | "nodeNames" | "driverNames" | "carrierNames" | "appointmentIssues" | "loadsV1" | "nmfcClasses" | "commoditiesV1" | "loadCommodities" | "loadQuoteAccessorials" | "quoteAccessorialsV1" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "userNotesV1" | "loadUserNotesV1", CarrierName_Entity, "salesApi">;
7
+ updateCarrierName: import("@reduxjs/toolkit/dist/query").MutationDefinition<{
8
+ id: number;
9
+ body: Partial<CarrierName_Entity>;
10
+ }, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/query").FetchBaseQueryError, {}>>, "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities" | "locationsV1" | "locationsV1Accessorials" | "archerFiles" | "appointmentNotes" | "appointmentNoteTypes" | "shipconsV1" | "loadShipcons" | "appointmentIssueCategories" | "appointmentIssueSubcategories" | "personNames" | "nodeNames" | "driverNames" | "carrierNames" | "appointmentIssues" | "loadsV1" | "nmfcClasses" | "commoditiesV1" | "loadCommodities" | "loadQuoteAccessorials" | "quoteAccessorialsV1" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "userNotesV1" | "loadUserNotesV1", void, "salesApi">;
11
+ deleteCarrierName: import("@reduxjs/toolkit/dist/query").MutationDefinition<number, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/query").FetchBaseQueryError, {}>>, "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities" | "locationsV1" | "locationsV1Accessorials" | "archerFiles" | "appointmentNotes" | "appointmentNoteTypes" | "shipconsV1" | "loadShipcons" | "appointmentIssueCategories" | "appointmentIssueSubcategories" | "personNames" | "nodeNames" | "driverNames" | "carrierNames" | "appointmentIssues" | "loadsV1" | "nmfcClasses" | "commoditiesV1" | "loadCommodities" | "loadQuoteAccessorials" | "quoteAccessorialsV1" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "userNotesV1" | "loadUserNotesV1", void, "salesApi">;
12
+ getCarrierNamesLite: import("@reduxjs/toolkit/dist/query").QueryDefinition<void | Record<string, unknown>, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/query").FetchBaseQueryError, {}>>, "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities" | "locationsV1" | "locationsV1Accessorials" | "archerFiles" | "appointmentNotes" | "appointmentNoteTypes" | "shipconsV1" | "loadShipcons" | "appointmentIssueCategories" | "appointmentIssueSubcategories" | "personNames" | "nodeNames" | "driverNames" | "carrierNames" | "appointmentIssues" | "loadsV1" | "nmfcClasses" | "commoditiesV1" | "loadCommodities" | "loadQuoteAccessorials" | "quoteAccessorialsV1" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "userNotesV1" | "loadUserNotesV1", CarrierName_Entity[], "salesApi">;
13
+ }, "salesApi", "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities" | "locationsV1" | "locationsV1Accessorials" | "archerFiles" | "appointmentNotes" | "appointmentNoteTypes" | "shipconsV1" | "loadShipcons" | "appointmentIssueCategories" | "appointmentIssueSubcategories" | "personNames" | "nodeNames" | "driverNames" | "carrierNames" | "appointmentIssues" | "loadsV1" | "nmfcClasses" | "commoditiesV1" | "loadCommodities" | "loadQuoteAccessorials" | "quoteAccessorialsV1" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "userNotesV1" | "loadUserNotesV1", typeof import("@reduxjs/toolkit/dist/query/core/module").coreModuleName | typeof import("@reduxjs/toolkit/dist/query/react/module").reactHooksModuleName>;
14
+ export declare const useGetCarrierNameQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/dist/query").QueryDefinition<number, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/query").FetchBaseQueryError, {}>>, "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities" | "locationsV1" | "locationsV1Accessorials" | "archerFiles" | "appointmentNotes" | "appointmentNoteTypes" | "shipconsV1" | "loadShipcons" | "appointmentIssueCategories" | "appointmentIssueSubcategories" | "personNames" | "nodeNames" | "driverNames" | "carrierNames" | "appointmentIssues" | "loadsV1" | "nmfcClasses" | "commoditiesV1" | "loadCommodities" | "loadQuoteAccessorials" | "quoteAccessorialsV1" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "userNotesV1" | "loadUserNotesV1", CarrierName_Entity, "salesApi">>, useGetCarrierNamesQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/dist/query").QueryDefinition<void | Record<string, unknown>, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/query").FetchBaseQueryError, {}>>, "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities" | "locationsV1" | "locationsV1Accessorials" | "archerFiles" | "appointmentNotes" | "appointmentNoteTypes" | "shipconsV1" | "loadShipcons" | "appointmentIssueCategories" | "appointmentIssueSubcategories" | "personNames" | "nodeNames" | "driverNames" | "carrierNames" | "appointmentIssues" | "loadsV1" | "nmfcClasses" | "commoditiesV1" | "loadCommodities" | "loadQuoteAccessorials" | "quoteAccessorialsV1" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "userNotesV1" | "loadUserNotesV1", EntityState<CarrierName_Entity>, "salesApi">>, useLazyGetCarrierNamesQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseLazyQuery<import("@reduxjs/toolkit/dist/query").QueryDefinition<void | Record<string, unknown>, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/query").FetchBaseQueryError, {}>>, "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities" | "locationsV1" | "locationsV1Accessorials" | "archerFiles" | "appointmentNotes" | "appointmentNoteTypes" | "shipconsV1" | "loadShipcons" | "appointmentIssueCategories" | "appointmentIssueSubcategories" | "personNames" | "nodeNames" | "driverNames" | "carrierNames" | "appointmentIssues" | "loadsV1" | "nmfcClasses" | "commoditiesV1" | "loadCommodities" | "loadQuoteAccessorials" | "quoteAccessorialsV1" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "userNotesV1" | "loadUserNotesV1", EntityState<CarrierName_Entity>, "salesApi">>, useLazyGetCarrierNameQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseLazyQuery<import("@reduxjs/toolkit/dist/query").QueryDefinition<number, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/query").FetchBaseQueryError, {}>>, "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities" | "locationsV1" | "locationsV1Accessorials" | "archerFiles" | "appointmentNotes" | "appointmentNoteTypes" | "shipconsV1" | "loadShipcons" | "appointmentIssueCategories" | "appointmentIssueSubcategories" | "personNames" | "nodeNames" | "driverNames" | "carrierNames" | "appointmentIssues" | "loadsV1" | "nmfcClasses" | "commoditiesV1" | "loadCommodities" | "loadQuoteAccessorials" | "quoteAccessorialsV1" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "userNotesV1" | "loadUserNotesV1", CarrierName_Entity, "salesApi">>, useCreateCarrierNameMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/dist/query").MutationDefinition<Partial<CarrierName_Entity>, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/query").FetchBaseQueryError, {}>>, "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities" | "locationsV1" | "locationsV1Accessorials" | "archerFiles" | "appointmentNotes" | "appointmentNoteTypes" | "shipconsV1" | "loadShipcons" | "appointmentIssueCategories" | "appointmentIssueSubcategories" | "personNames" | "nodeNames" | "driverNames" | "carrierNames" | "appointmentIssues" | "loadsV1" | "nmfcClasses" | "commoditiesV1" | "loadCommodities" | "loadQuoteAccessorials" | "quoteAccessorialsV1" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "userNotesV1" | "loadUserNotesV1", CarrierName_Entity, "salesApi">>, useDeleteCarrierNameMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/dist/query").MutationDefinition<number, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/query").FetchBaseQueryError, {}>>, "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities" | "locationsV1" | "locationsV1Accessorials" | "archerFiles" | "appointmentNotes" | "appointmentNoteTypes" | "shipconsV1" | "loadShipcons" | "appointmentIssueCategories" | "appointmentIssueSubcategories" | "personNames" | "nodeNames" | "driverNames" | "carrierNames" | "appointmentIssues" | "loadsV1" | "nmfcClasses" | "commoditiesV1" | "loadCommodities" | "loadQuoteAccessorials" | "quoteAccessorialsV1" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "userNotesV1" | "loadUserNotesV1", void, "salesApi">>, useUpdateCarrierNameMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/dist/query").MutationDefinition<{
15
+ id: number;
16
+ body: Partial<CarrierName_Entity>;
17
+ }, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/query").FetchBaseQueryError, {}>>, "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities" | "locationsV1" | "locationsV1Accessorials" | "archerFiles" | "appointmentNotes" | "appointmentNoteTypes" | "shipconsV1" | "loadShipcons" | "appointmentIssueCategories" | "appointmentIssueSubcategories" | "personNames" | "nodeNames" | "driverNames" | "carrierNames" | "appointmentIssues" | "loadsV1" | "nmfcClasses" | "commoditiesV1" | "loadCommodities" | "loadQuoteAccessorials" | "quoteAccessorialsV1" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "userNotesV1" | "loadUserNotesV1", void, "salesApi">>, useGetCarrierNamesLiteQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/dist/query").QueryDefinition<void | Record<string, unknown>, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/query").FetchBaseQueryError, {}>>, "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities" | "locationsV1" | "locationsV1Accessorials" | "archerFiles" | "appointmentNotes" | "appointmentNoteTypes" | "shipconsV1" | "loadShipcons" | "appointmentIssueCategories" | "appointmentIssueSubcategories" | "personNames" | "nodeNames" | "driverNames" | "carrierNames" | "appointmentIssues" | "loadsV1" | "nmfcClasses" | "commoditiesV1" | "loadCommodities" | "loadQuoteAccessorials" | "quoteAccessorialsV1" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "userNotesV1" | "loadUserNotesV1", CarrierName_Entity[], "salesApi">>, useLazyGetCarrierNamesLiteQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseLazyQuery<import("@reduxjs/toolkit/dist/query").QueryDefinition<void | Record<string, unknown>, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/query").FetchBaseQueryError, {}>>, "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities" | "locationsV1" | "locationsV1Accessorials" | "archerFiles" | "appointmentNotes" | "appointmentNoteTypes" | "shipconsV1" | "loadShipcons" | "appointmentIssueCategories" | "appointmentIssueSubcategories" | "personNames" | "nodeNames" | "driverNames" | "carrierNames" | "appointmentIssues" | "loadsV1" | "nmfcClasses" | "commoditiesV1" | "loadCommodities" | "loadQuoteAccessorials" | "quoteAccessorialsV1" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "userNotesV1" | "loadUserNotesV1", CarrierName_Entity[], "salesApi">>;
18
+ export default carrierNameEndpoints;
19
+ export declare const getCarrierNamesSelectors: (params: Record<string, unknown> | void) => import("@reduxjs/toolkit").EntitySelectors<CarrierName_Entity, {
20
+ salesApi: import("@reduxjs/toolkit/dist/query/core/apiState").CombinedState<{}, "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities" | "locationsV1" | "locationsV1Accessorials" | "archerFiles" | "appointmentNotes" | "appointmentNoteTypes" | "shipconsV1" | "loadShipcons" | "appointmentIssueCategories" | "appointmentIssueSubcategories" | "personNames" | "nodeNames" | "driverNames" | "carrierNames" | "appointmentIssues" | "loadsV1" | "nmfcClasses" | "commoditiesV1" | "loadCommodities" | "loadQuoteAccessorials" | "quoteAccessorialsV1" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "userNotesV1" | "loadUserNotesV1", "salesApi">;
21
+ salesKitState: import("redux").CombinedState<{
22
+ quote: import("..").QuoteState;
23
+ tender: import("../tender/tenderSlice").TenderState;
24
+ }>;
25
+ }>;
@@ -0,0 +1,76 @@
1
+ import { createEntityAdapter, createSelector, } from "@reduxjs/toolkit";
2
+ import { salesApi } from "../api/salesApi";
3
+ const carrierNamesAdapter = createEntityAdapter();
4
+ const carrierNamesInitialState = carrierNamesAdapter.getInitialState();
5
+ export const carrierNameEndpoints = salesApi.injectEndpoints({
6
+ endpoints: (build) => ({
7
+ getCarrierNames: build.query({
8
+ query: (args) => {
9
+ return {
10
+ url: `carriers/carrier_names`,
11
+ params: args,
12
+ routePrefix: "/v1",
13
+ };
14
+ },
15
+ transformResponse: (responseData) => {
16
+ return carrierNamesAdapter.setAll(carrierNamesInitialState, responseData);
17
+ },
18
+ providesTags: ["carrierNames"],
19
+ }),
20
+ getCarrierName: build.query({
21
+ query: (id) => ({
22
+ ur: `carriers/carrier_names/${id}`,
23
+ routePrefix: "/v1",
24
+ }),
25
+ providesTags: (_result, _error, id) => [{ type: "carrierNames", id }],
26
+ }),
27
+ createCarrierName: build.mutation({
28
+ query: (body) => ({
29
+ method: "POST",
30
+ body,
31
+ url: `carriers/carrier_names`,
32
+ routePrefix: "/v1",
33
+ }),
34
+ invalidatesTags: ["carrierNames"],
35
+ }),
36
+ updateCarrierName: build.mutation({
37
+ query: (args) => ({
38
+ method: "PUT",
39
+ body: args.body,
40
+ url: `carriers/carrier_names/${args.id}`,
41
+ routePrefix: "/v1",
42
+ }),
43
+ invalidatesTags: (_result, _error, { id }) => [
44
+ { type: "carrierNames", id },
45
+ "carrierNames",
46
+ ],
47
+ }),
48
+ deleteCarrierName: build.mutation({
49
+ query: (id) => ({
50
+ method: "DELETE",
51
+ url: `carriers/carrier_names/${id}`,
52
+ routePrefix: "/v1",
53
+ }),
54
+ invalidatesTags: ["carrierNames"],
55
+ }),
56
+ getCarrierNamesLite: build.query({
57
+ query: (args) => {
58
+ return {
59
+ url: `carriers/names_lite`,
60
+ params: args,
61
+ routePrefix: "/v1",
62
+ };
63
+ },
64
+ }),
65
+ }),
66
+ });
67
+ export const { useGetCarrierNameQuery, useGetCarrierNamesQuery, useLazyGetCarrierNamesQuery, useLazyGetCarrierNameQuery, useCreateCarrierNameMutation, useDeleteCarrierNameMutation, useUpdateCarrierNameMutation, useGetCarrierNamesLiteQuery, useLazyGetCarrierNamesLiteQuery, } = carrierNameEndpoints;
68
+ export default carrierNameEndpoints;
69
+ export const getCarrierNamesSelectors = (params) => {
70
+ return carrierNamesAdapter.getSelectors((state) => {
71
+ return (createSelector(carrierNameEndpoints.endpoints.getCarrierNames.select(params), (carrierNamesResult) => {
72
+ return carrierNamesResult.data;
73
+ })(state) ?? carrierNamesInitialState);
74
+ });
75
+ };
76
+ //# sourceMappingURL=carrierNameEndpoints.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"carrierNameEndpoints.js","sourceRoot":"","sources":["../../../src/redux/carrierName/carrierNameEndpoints.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,2 @@
1
+ export * from "./carrierNameEndpoints";
2
+ export { default as CarrierNameEndpoints } from "./carrierNameEndpoints";
@@ -0,0 +1,3 @@
1
+ export * from "./carrierNameEndpoints";
2
+ export { default as CarrierNameEndpoints } from "./carrierNameEndpoints";
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/redux/carrierName/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,wBAAwB,CAAC"}
@@ -0,0 +1,33 @@
1
+ import { EntityState } from "@reduxjs/toolkit";
2
+ import { CommodityV1_Entity } from "../../entities";
3
+ export declare const commodityV1Endpoints: import("@reduxjs/toolkit/dist/query").Api<(args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/query").FetchBaseQueryError, {}>>, {
4
+ getCommoditiesV1: import("@reduxjs/toolkit/dist/query").QueryDefinition<void | Record<string, unknown>, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/query").FetchBaseQueryError, {}>>, "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities" | "locationsV1" | "locationsV1Accessorials" | "archerFiles" | "appointmentNotes" | "appointmentNoteTypes" | "shipconsV1" | "loadShipcons" | "appointmentIssueCategories" | "appointmentIssueSubcategories" | "personNames" | "nodeNames" | "driverNames" | "carrierNames" | "appointmentIssues" | "loadsV1" | "nmfcClasses" | "commoditiesV1" | "loadCommodities" | "loadQuoteAccessorials" | "quoteAccessorialsV1" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "userNotesV1" | "loadUserNotesV1", EntityState<CommodityV1_Entity>, "salesApi">;
5
+ getCommodityV1: import("@reduxjs/toolkit/dist/query").QueryDefinition<number, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/query").FetchBaseQueryError, {}>>, "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities" | "locationsV1" | "locationsV1Accessorials" | "archerFiles" | "appointmentNotes" | "appointmentNoteTypes" | "shipconsV1" | "loadShipcons" | "appointmentIssueCategories" | "appointmentIssueSubcategories" | "personNames" | "nodeNames" | "driverNames" | "carrierNames" | "appointmentIssues" | "loadsV1" | "nmfcClasses" | "commoditiesV1" | "loadCommodities" | "loadQuoteAccessorials" | "quoteAccessorialsV1" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "userNotesV1" | "loadUserNotesV1", CommodityV1_Entity, "salesApi">;
6
+ createCommodityV1: import("@reduxjs/toolkit/dist/query").MutationDefinition<{
7
+ commodity: Partial<CommodityV1_Entity>;
8
+ }, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/query").FetchBaseQueryError, {}>>, "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities" | "locationsV1" | "locationsV1Accessorials" | "archerFiles" | "appointmentNotes" | "appointmentNoteTypes" | "shipconsV1" | "loadShipcons" | "appointmentIssueCategories" | "appointmentIssueSubcategories" | "personNames" | "nodeNames" | "driverNames" | "carrierNames" | "appointmentIssues" | "loadsV1" | "nmfcClasses" | "commoditiesV1" | "loadCommodities" | "loadQuoteAccessorials" | "quoteAccessorialsV1" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "userNotesV1" | "loadUserNotesV1", CommodityV1_Entity, "salesApi">;
9
+ updateCommodityV1: import("@reduxjs/toolkit/dist/query").MutationDefinition<{
10
+ id: number;
11
+ body: {
12
+ commodity: Partial<CommodityV1_Entity>;
13
+ };
14
+ }, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/query").FetchBaseQueryError, {}>>, "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities" | "locationsV1" | "locationsV1Accessorials" | "archerFiles" | "appointmentNotes" | "appointmentNoteTypes" | "shipconsV1" | "loadShipcons" | "appointmentIssueCategories" | "appointmentIssueSubcategories" | "personNames" | "nodeNames" | "driverNames" | "carrierNames" | "appointmentIssues" | "loadsV1" | "nmfcClasses" | "commoditiesV1" | "loadCommodities" | "loadQuoteAccessorials" | "quoteAccessorialsV1" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "userNotesV1" | "loadUserNotesV1", void, "salesApi">;
15
+ deleteCommodityV1: import("@reduxjs/toolkit/dist/query").MutationDefinition<number, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/query").FetchBaseQueryError, {}>>, "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities" | "locationsV1" | "locationsV1Accessorials" | "archerFiles" | "appointmentNotes" | "appointmentNoteTypes" | "shipconsV1" | "loadShipcons" | "appointmentIssueCategories" | "appointmentIssueSubcategories" | "personNames" | "nodeNames" | "driverNames" | "carrierNames" | "appointmentIssues" | "loadsV1" | "nmfcClasses" | "commoditiesV1" | "loadCommodities" | "loadQuoteAccessorials" | "quoteAccessorialsV1" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "userNotesV1" | "loadUserNotesV1", void, "salesApi">;
16
+ commodityForceUncomplete: import("@reduxjs/toolkit/dist/query").QueryDefinition<number, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/query").FetchBaseQueryError, {}>>, "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities" | "locationsV1" | "locationsV1Accessorials" | "archerFiles" | "appointmentNotes" | "appointmentNoteTypes" | "shipconsV1" | "loadShipcons" | "appointmentIssueCategories" | "appointmentIssueSubcategories" | "personNames" | "nodeNames" | "driverNames" | "carrierNames" | "appointmentIssues" | "loadsV1" | "nmfcClasses" | "commoditiesV1" | "loadCommodities" | "loadQuoteAccessorials" | "quoteAccessorialsV1" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "userNotesV1" | "loadUserNotesV1", boolean, "salesApi">;
17
+ }, "salesApi", "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities" | "locationsV1" | "locationsV1Accessorials" | "archerFiles" | "appointmentNotes" | "appointmentNoteTypes" | "shipconsV1" | "loadShipcons" | "appointmentIssueCategories" | "appointmentIssueSubcategories" | "personNames" | "nodeNames" | "driverNames" | "carrierNames" | "appointmentIssues" | "loadsV1" | "nmfcClasses" | "commoditiesV1" | "loadCommodities" | "loadQuoteAccessorials" | "quoteAccessorialsV1" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "userNotesV1" | "loadUserNotesV1", typeof import("@reduxjs/toolkit/dist/query/core/module").coreModuleName | typeof import("@reduxjs/toolkit/dist/query/react/module").reactHooksModuleName>;
18
+ export declare const useGetCommodityV1Query: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/dist/query").QueryDefinition<number, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/query").FetchBaseQueryError, {}>>, "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities" | "locationsV1" | "locationsV1Accessorials" | "archerFiles" | "appointmentNotes" | "appointmentNoteTypes" | "shipconsV1" | "loadShipcons" | "appointmentIssueCategories" | "appointmentIssueSubcategories" | "personNames" | "nodeNames" | "driverNames" | "carrierNames" | "appointmentIssues" | "loadsV1" | "nmfcClasses" | "commoditiesV1" | "loadCommodities" | "loadQuoteAccessorials" | "quoteAccessorialsV1" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "userNotesV1" | "loadUserNotesV1", CommodityV1_Entity, "salesApi">>, useGetCommoditiesV1Query: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/dist/query").QueryDefinition<void | Record<string, unknown>, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/query").FetchBaseQueryError, {}>>, "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities" | "locationsV1" | "locationsV1Accessorials" | "archerFiles" | "appointmentNotes" | "appointmentNoteTypes" | "shipconsV1" | "loadShipcons" | "appointmentIssueCategories" | "appointmentIssueSubcategories" | "personNames" | "nodeNames" | "driverNames" | "carrierNames" | "appointmentIssues" | "loadsV1" | "nmfcClasses" | "commoditiesV1" | "loadCommodities" | "loadQuoteAccessorials" | "quoteAccessorialsV1" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "userNotesV1" | "loadUserNotesV1", EntityState<CommodityV1_Entity>, "salesApi">>, useLazyGetCommoditiesV1Query: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseLazyQuery<import("@reduxjs/toolkit/dist/query").QueryDefinition<void | Record<string, unknown>, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/query").FetchBaseQueryError, {}>>, "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities" | "locationsV1" | "locationsV1Accessorials" | "archerFiles" | "appointmentNotes" | "appointmentNoteTypes" | "shipconsV1" | "loadShipcons" | "appointmentIssueCategories" | "appointmentIssueSubcategories" | "personNames" | "nodeNames" | "driverNames" | "carrierNames" | "appointmentIssues" | "loadsV1" | "nmfcClasses" | "commoditiesV1" | "loadCommodities" | "loadQuoteAccessorials" | "quoteAccessorialsV1" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "userNotesV1" | "loadUserNotesV1", EntityState<CommodityV1_Entity>, "salesApi">>, useLazyGetCommodityV1Query: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseLazyQuery<import("@reduxjs/toolkit/dist/query").QueryDefinition<number, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/query").FetchBaseQueryError, {}>>, "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities" | "locationsV1" | "locationsV1Accessorials" | "archerFiles" | "appointmentNotes" | "appointmentNoteTypes" | "shipconsV1" | "loadShipcons" | "appointmentIssueCategories" | "appointmentIssueSubcategories" | "personNames" | "nodeNames" | "driverNames" | "carrierNames" | "appointmentIssues" | "loadsV1" | "nmfcClasses" | "commoditiesV1" | "loadCommodities" | "loadQuoteAccessorials" | "quoteAccessorialsV1" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "userNotesV1" | "loadUserNotesV1", CommodityV1_Entity, "salesApi">>, useCreateCommodityV1Mutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/dist/query").MutationDefinition<{
19
+ commodity: Partial<CommodityV1_Entity>;
20
+ }, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/query").FetchBaseQueryError, {}>>, "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities" | "locationsV1" | "locationsV1Accessorials" | "archerFiles" | "appointmentNotes" | "appointmentNoteTypes" | "shipconsV1" | "loadShipcons" | "appointmentIssueCategories" | "appointmentIssueSubcategories" | "personNames" | "nodeNames" | "driverNames" | "carrierNames" | "appointmentIssues" | "loadsV1" | "nmfcClasses" | "commoditiesV1" | "loadCommodities" | "loadQuoteAccessorials" | "quoteAccessorialsV1" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "userNotesV1" | "loadUserNotesV1", CommodityV1_Entity, "salesApi">>, useDeleteCommodityV1Mutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/dist/query").MutationDefinition<number, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/query").FetchBaseQueryError, {}>>, "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities" | "locationsV1" | "locationsV1Accessorials" | "archerFiles" | "appointmentNotes" | "appointmentNoteTypes" | "shipconsV1" | "loadShipcons" | "appointmentIssueCategories" | "appointmentIssueSubcategories" | "personNames" | "nodeNames" | "driverNames" | "carrierNames" | "appointmentIssues" | "loadsV1" | "nmfcClasses" | "commoditiesV1" | "loadCommodities" | "loadQuoteAccessorials" | "quoteAccessorialsV1" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "userNotesV1" | "loadUserNotesV1", void, "salesApi">>, useUpdateCommodityV1Mutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/dist/query").MutationDefinition<{
21
+ id: number;
22
+ body: {
23
+ commodity: Partial<CommodityV1_Entity>;
24
+ };
25
+ }, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/query").FetchBaseQueryError, {}>>, "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities" | "locationsV1" | "locationsV1Accessorials" | "archerFiles" | "appointmentNotes" | "appointmentNoteTypes" | "shipconsV1" | "loadShipcons" | "appointmentIssueCategories" | "appointmentIssueSubcategories" | "personNames" | "nodeNames" | "driverNames" | "carrierNames" | "appointmentIssues" | "loadsV1" | "nmfcClasses" | "commoditiesV1" | "loadCommodities" | "loadQuoteAccessorials" | "quoteAccessorialsV1" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "userNotesV1" | "loadUserNotesV1", void, "salesApi">>, useCommodityForceUncompleteQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/dist/query").QueryDefinition<number, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/query").FetchBaseQueryError, {}>>, "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities" | "locationsV1" | "locationsV1Accessorials" | "archerFiles" | "appointmentNotes" | "appointmentNoteTypes" | "shipconsV1" | "loadShipcons" | "appointmentIssueCategories" | "appointmentIssueSubcategories" | "personNames" | "nodeNames" | "driverNames" | "carrierNames" | "appointmentIssues" | "loadsV1" | "nmfcClasses" | "commoditiesV1" | "loadCommodities" | "loadQuoteAccessorials" | "quoteAccessorialsV1" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "userNotesV1" | "loadUserNotesV1", boolean, "salesApi">>, useLazyCommodityForceUncompleteQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseLazyQuery<import("@reduxjs/toolkit/dist/query").QueryDefinition<number, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/query").FetchBaseQueryError, {}>>, "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities" | "locationsV1" | "locationsV1Accessorials" | "archerFiles" | "appointmentNotes" | "appointmentNoteTypes" | "shipconsV1" | "loadShipcons" | "appointmentIssueCategories" | "appointmentIssueSubcategories" | "personNames" | "nodeNames" | "driverNames" | "carrierNames" | "appointmentIssues" | "loadsV1" | "nmfcClasses" | "commoditiesV1" | "loadCommodities" | "loadQuoteAccessorials" | "quoteAccessorialsV1" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "userNotesV1" | "loadUserNotesV1", boolean, "salesApi">>;
26
+ export default commodityV1Endpoints;
27
+ export declare const getCommoditiesV1Selectors: (params: Record<string, unknown> | void) => import("@reduxjs/toolkit").EntitySelectors<CommodityV1_Entity, {
28
+ salesApi: import("@reduxjs/toolkit/dist/query/core/apiState").CombinedState<{}, "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities" | "locationsV1" | "locationsV1Accessorials" | "archerFiles" | "appointmentNotes" | "appointmentNoteTypes" | "shipconsV1" | "loadShipcons" | "appointmentIssueCategories" | "appointmentIssueSubcategories" | "personNames" | "nodeNames" | "driverNames" | "carrierNames" | "appointmentIssues" | "loadsV1" | "nmfcClasses" | "commoditiesV1" | "loadCommodities" | "loadQuoteAccessorials" | "quoteAccessorialsV1" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "userNotesV1" | "loadUserNotesV1", "salesApi">;
29
+ salesKitState: import("redux").CombinedState<{
30
+ quote: import("..").QuoteState;
31
+ tender: import("../tender/tenderSlice").TenderState;
32
+ }>;
33
+ }>;
@@ -0,0 +1,71 @@
1
+ import { createEntityAdapter, createSelector, } from "@reduxjs/toolkit";
2
+ import { salesApi } from "../api/salesApi";
3
+ const commoditiesV1Adapter = createEntityAdapter();
4
+ const commoditiesV1InitialState = commoditiesV1Adapter.getInitialState();
5
+ export const commodityV1Endpoints = salesApi.injectEndpoints({
6
+ endpoints: (build) => ({
7
+ getCommoditiesV1: build.query({
8
+ query: (args) => {
9
+ return {
10
+ url: `commodities`,
11
+ params: args,
12
+ routePrefix: "/v1",
13
+ };
14
+ },
15
+ transformResponse: (responseData) => {
16
+ return commoditiesV1Adapter.setAll(commoditiesV1InitialState, responseData);
17
+ },
18
+ providesTags: ["commoditiesV1"],
19
+ }),
20
+ getCommodityV1: build.query({
21
+ query: (id) => ({ routePrefix: "/v1", url: `commodities/${id}` }),
22
+ providesTags: (_result, _error, id) => [{ type: "commoditiesV1", id }],
23
+ }),
24
+ createCommodityV1: build.mutation({
25
+ query: (body) => ({
26
+ method: "POST",
27
+ body,
28
+ url: `commodities`,
29
+ routePrefix: "/v1",
30
+ }),
31
+ invalidatesTags: ["commoditiesV1", "loadCommodities"],
32
+ }),
33
+ updateCommodityV1: build.mutation({
34
+ query: (args) => ({
35
+ method: "PUT",
36
+ body: args.body,
37
+ url: `commodities/${args.id}`,
38
+ routePrefix: "/v1",
39
+ }),
40
+ invalidatesTags: (_result, _error, { id }) => [
41
+ { type: "commoditiesV1", id },
42
+ "commoditiesV1",
43
+ { type: "loadCommodities", id },
44
+ ],
45
+ }),
46
+ deleteCommodityV1: build.mutation({
47
+ query: (id) => ({
48
+ method: "DELETE",
49
+ url: `commodities/${id}`,
50
+ routePrefix: "/v1",
51
+ }),
52
+ invalidatesTags: ["commoditiesV1", "loadCommodities"],
53
+ }),
54
+ commodityForceUncomplete: build.query({
55
+ query: (id) => ({
56
+ routePrefix: "/v1",
57
+ url: `commodities/${id}/force_uncomplete.json`,
58
+ }),
59
+ }),
60
+ }),
61
+ });
62
+ export const { useGetCommodityV1Query, useGetCommoditiesV1Query, useLazyGetCommoditiesV1Query, useLazyGetCommodityV1Query, useCreateCommodityV1Mutation, useDeleteCommodityV1Mutation, useUpdateCommodityV1Mutation, useCommodityForceUncompleteQuery, useLazyCommodityForceUncompleteQuery, } = commodityV1Endpoints;
63
+ export default commodityV1Endpoints;
64
+ export const getCommoditiesV1Selectors = (params) => {
65
+ return commoditiesV1Adapter.getSelectors((state) => {
66
+ return (createSelector(commodityV1Endpoints.endpoints.getCommoditiesV1.select(params), (commoditiesV1Result) => {
67
+ return commoditiesV1Result.data;
68
+ })(state) ?? commoditiesV1InitialState);
69
+ });
70
+ };
71
+ //# sourceMappingURL=commodityV1Endpoints.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"commodityV1Endpoints.js","sourceRoot":"","sources":["../../../src/redux/commodityV1/commodityV1Endpoints.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,2 @@
1
+ export * from "./commodityV1Endpoints";
2
+ export { default as CommodityV1Endpoints } from "./commodityV1Endpoints";
@@ -0,0 +1,3 @@
1
+ export * from "./commodityV1Endpoints";
2
+ export { default as CommodityV1Endpoints } from "./commodityV1Endpoints";
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/redux/commodityV1/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,wBAAwB,CAAC"}