@nerdjs/sales-kit 2.0.35-alpha.1 → 2.0.36
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.
- package/dist/entities/appointmentIssue/appointmentIssue.d.ts +46 -0
- package/dist/entities/appointmentIssue/appointmentIssue.js +116 -0
- package/dist/entities/appointmentIssue/appointmentIssue.js.map +1 -0
- package/dist/entities/appointmentIssue/helper.d.ts +5 -0
- package/dist/entities/appointmentIssue/helper.js +16 -0
- package/dist/entities/appointmentIssue/helper.js.map +1 -0
- package/dist/entities/appointmentIssue/index.d.ts +2 -0
- package/dist/entities/appointmentIssue/index.js +3 -0
- package/dist/entities/appointmentIssue/index.js.map +1 -0
- package/dist/entities/appointmentIssueCategory/appointmentIssueCategory.d.ts +10 -0
- package/dist/entities/appointmentIssueCategory/appointmentIssueCategory.js +40 -0
- package/dist/entities/appointmentIssueCategory/appointmentIssueCategory.js.map +1 -0
- package/dist/entities/appointmentIssueCategory/helper.d.ts +5 -0
- package/dist/entities/appointmentIssueCategory/helper.js +16 -0
- package/dist/entities/appointmentIssueCategory/helper.js.map +1 -0
- package/dist/entities/appointmentIssueCategory/index.d.ts +2 -0
- package/dist/entities/appointmentIssueCategory/index.js +3 -0
- package/dist/entities/appointmentIssueCategory/index.js.map +1 -0
- package/dist/entities/appointmentIssueSubcategory/appointmentIssueSubcategory.d.ts +11 -0
- package/dist/entities/appointmentIssueSubcategory/appointmentIssueSubcategory.js +43 -0
- package/dist/entities/appointmentIssueSubcategory/appointmentIssueSubcategory.js.map +1 -0
- package/dist/entities/appointmentIssueSubcategory/helper.d.ts +5 -0
- package/dist/entities/appointmentIssueSubcategory/helper.js +16 -0
- package/dist/entities/appointmentIssueSubcategory/helper.js.map +1 -0
- package/dist/entities/appointmentIssueSubcategory/index.d.ts +2 -0
- package/dist/entities/appointmentIssueSubcategory/index.js +3 -0
- package/dist/entities/appointmentIssueSubcategory/index.js.map +1 -0
- package/dist/entities/appointmentNote/appointmentNote.d.ts +13 -0
- package/dist/entities/appointmentNote/appointmentNote.js +44 -0
- package/dist/entities/appointmentNote/appointmentNote.js.map +1 -0
- package/dist/entities/appointmentNote/helper.d.ts +5 -0
- package/dist/entities/appointmentNote/helper.js +16 -0
- package/dist/entities/appointmentNote/helper.js.map +1 -0
- package/dist/entities/appointmentNote/index.d.ts +2 -0
- package/dist/entities/appointmentNote/index.js +3 -0
- package/dist/entities/appointmentNote/index.js.map +1 -0
- package/dist/entities/appointmentNoteType/appointmentNoteType.d.ts +8 -0
- package/dist/entities/appointmentNoteType/appointmentNoteType.js +34 -0
- package/dist/entities/appointmentNoteType/appointmentNoteType.js.map +1 -0
- package/dist/entities/appointmentNoteType/helper.d.ts +5 -0
- package/dist/entities/appointmentNoteType/helper.js +16 -0
- package/dist/entities/appointmentNoteType/helper.js.map +1 -0
- package/dist/entities/appointmentNoteType/index.d.ts +2 -0
- package/dist/entities/appointmentNoteType/index.js +3 -0
- package/dist/entities/appointmentNoteType/index.js.map +1 -0
- package/dist/entities/archerFileV1/archerFileV1.d.ts +25 -0
- package/dist/entities/archerFileV1/archerFileV1.js +63 -0
- package/dist/entities/archerFileV1/archerFileV1.js.map +1 -0
- package/dist/entities/archerFileV1/helper.d.ts +5 -0
- package/dist/entities/archerFileV1/helper.js +16 -0
- package/dist/entities/archerFileV1/helper.js.map +1 -0
- package/dist/entities/archerFileV1/index.d.ts +2 -0
- package/dist/entities/archerFileV1/index.js +3 -0
- package/dist/entities/archerFileV1/index.js.map +1 -0
- package/dist/entities/carrierName/carrierName.d.ts +16 -0
- package/dist/entities/carrierName/carrierName.js +49 -0
- package/dist/entities/carrierName/carrierName.js.map +1 -0
- package/dist/entities/carrierName/helper.d.ts +5 -0
- package/dist/entities/carrierName/helper.js +16 -0
- package/dist/entities/carrierName/helper.js.map +1 -0
- package/dist/entities/carrierName/index.d.ts +2 -0
- package/dist/entities/carrierName/index.js +3 -0
- package/dist/entities/carrierName/index.js.map +1 -0
- package/dist/entities/commodityV1/commodityV1.d.ts +26 -0
- package/dist/entities/commodityV1/commodityV1.js +69 -0
- package/dist/entities/commodityV1/commodityV1.js.map +1 -0
- package/dist/entities/commodityV1/helper.d.ts +5 -0
- package/dist/entities/commodityV1/helper.js +16 -0
- package/dist/entities/commodityV1/helper.js.map +1 -0
- package/dist/entities/commodityV1/index.d.ts +2 -0
- package/dist/entities/commodityV1/index.js +3 -0
- package/dist/entities/commodityV1/index.js.map +1 -0
- package/dist/entities/driverName/driverName.d.ts +16 -0
- package/dist/entities/driverName/driverName.js +49 -0
- package/dist/entities/driverName/driverName.js.map +1 -0
- package/dist/entities/driverName/helper.d.ts +5 -0
- package/dist/entities/driverName/helper.js +16 -0
- package/dist/entities/driverName/helper.js.map +1 -0
- package/dist/entities/driverName/index.d.ts +2 -0
- package/dist/entities/driverName/index.js +3 -0
- package/dist/entities/driverName/index.js.map +1 -0
- package/dist/entities/index.d.ts +19 -0
- package/dist/entities/index.js +19 -0
- package/dist/entities/index.js.map +1 -1
- package/dist/entities/loadAdjustmentV1/helper.d.ts +5 -0
- package/dist/entities/loadAdjustmentV1/helper.js +16 -0
- package/dist/entities/loadAdjustmentV1/helper.js.map +1 -0
- package/dist/entities/loadAdjustmentV1/index.d.ts +2 -0
- package/dist/entities/loadAdjustmentV1/index.js +3 -0
- package/dist/entities/loadAdjustmentV1/index.js.map +1 -0
- package/dist/entities/loadAdjustmentV1/loadAdjustmentV1.d.ts +16 -0
- package/dist/entities/loadAdjustmentV1/loadAdjustmentV1.js +50 -0
- package/dist/entities/loadAdjustmentV1/loadAdjustmentV1.js.map +1 -0
- package/dist/entities/loadV1/helper.d.ts +6 -0
- package/dist/entities/loadV1/helper.js +35 -0
- package/dist/entities/loadV1/helper.js.map +1 -0
- package/dist/entities/loadV1/index.d.ts +2 -0
- package/dist/entities/loadV1/index.js +3 -0
- package/dist/entities/loadV1/index.js.map +1 -0
- package/dist/entities/loadV1/loadV1.d.ts +120 -0
- package/dist/entities/loadV1/loadV1.js +260 -0
- package/dist/entities/loadV1/loadV1.js.map +1 -0
- package/dist/entities/location/index.d.ts +1 -0
- package/dist/entities/location/index.js +1 -0
- package/dist/entities/location/index.js.map +1 -1
- package/dist/entities/location/location.d.ts +2 -1
- package/dist/entities/location/location.js +9 -2
- package/dist/entities/location/location.js.map +1 -1
- package/dist/entities/locationAccessorial/helper.d.ts +5 -0
- package/dist/entities/locationAccessorial/helper.js +16 -0
- package/dist/entities/locationAccessorial/helper.js.map +1 -0
- package/dist/entities/locationAccessorial/index.d.ts +2 -0
- package/dist/entities/locationAccessorial/index.js +3 -0
- package/dist/entities/locationAccessorial/index.js.map +1 -0
- package/dist/entities/locationAccessorial/locationAccessorial.d.ts +13 -0
- package/dist/entities/locationAccessorial/locationAccessorial.js +44 -0
- package/dist/entities/locationAccessorial/locationAccessorial.js.map +1 -0
- package/dist/entities/locationV1/helper.d.ts +5 -0
- package/dist/entities/locationV1/helper.js +16 -0
- package/dist/entities/locationV1/helper.js.map +1 -0
- package/dist/entities/locationV1/index.d.ts +2 -0
- package/dist/entities/locationV1/index.js +3 -0
- package/dist/entities/locationV1/index.js.map +1 -0
- package/dist/entities/locationV1/locationV1.d.ts +73 -0
- package/dist/entities/locationV1/locationV1.js +163 -0
- package/dist/entities/locationV1/locationV1.js.map +1 -0
- package/dist/entities/nmfcClass/helper.d.ts +5 -0
- package/dist/entities/nmfcClass/helper.js +16 -0
- package/dist/entities/nmfcClass/helper.js.map +1 -0
- package/dist/entities/nmfcClass/index.d.ts +2 -0
- package/dist/entities/nmfcClass/index.js +3 -0
- package/dist/entities/nmfcClass/index.js.map +1 -0
- package/dist/entities/nmfcClass/nmfcClass.d.ts +11 -0
- package/dist/entities/nmfcClass/nmfcClass.js +39 -0
- package/dist/entities/nmfcClass/nmfcClass.js.map +1 -0
- package/dist/entities/nodeName/helper.d.ts +5 -0
- package/dist/entities/nodeName/helper.js +16 -0
- package/dist/entities/nodeName/helper.js.map +1 -0
- package/dist/entities/nodeName/index.d.ts +2 -0
- package/dist/entities/nodeName/index.js +3 -0
- package/dist/entities/nodeName/index.js.map +1 -0
- package/dist/entities/nodeName/nodeName.d.ts +14 -0
- package/dist/entities/nodeName/nodeName.js +45 -0
- package/dist/entities/nodeName/nodeName.js.map +1 -0
- package/dist/entities/personName/helper.d.ts +5 -0
- package/dist/entities/personName/helper.js +16 -0
- package/dist/entities/personName/helper.js.map +1 -0
- package/dist/entities/personName/index.d.ts +2 -0
- package/dist/entities/personName/index.js +3 -0
- package/dist/entities/personName/index.js.map +1 -0
- package/dist/entities/personName/personName.d.ts +12 -0
- package/dist/entities/personName/personName.js +41 -0
- package/dist/entities/personName/personName.js.map +1 -0
- package/dist/entities/quoteAccessorialV1/helper.d.ts +5 -0
- package/dist/entities/quoteAccessorialV1/helper.js +16 -0
- package/dist/entities/quoteAccessorialV1/helper.js.map +1 -0
- package/dist/entities/quoteAccessorialV1/index.d.ts +2 -0
- package/dist/entities/quoteAccessorialV1/index.js +3 -0
- package/dist/entities/quoteAccessorialV1/index.js.map +1 -0
- package/dist/entities/quoteAccessorialV1/quoteAccessorialV1.d.ts +34 -0
- package/dist/entities/quoteAccessorialV1/quoteAccessorialV1.js +86 -0
- package/dist/entities/quoteAccessorialV1/quoteAccessorialV1.js.map +1 -0
- package/dist/entities/shipconV1/helper.d.ts +5 -0
- package/dist/entities/shipconV1/helper.js +16 -0
- package/dist/entities/shipconV1/helper.js.map +1 -0
- package/dist/entities/shipconV1/index.d.ts +2 -0
- package/dist/entities/shipconV1/index.js +3 -0
- package/dist/entities/shipconV1/index.js.map +1 -0
- package/dist/entities/shipconV1/shipconV1.d.ts +163 -0
- package/dist/entities/shipconV1/shipconV1.js +350 -0
- package/dist/entities/shipconV1/shipconV1.js.map +1 -0
- package/dist/entities/userNoteV1/helper.d.ts +5 -0
- package/dist/entities/userNoteV1/helper.js +16 -0
- package/dist/entities/userNoteV1/helper.js.map +1 -0
- package/dist/entities/userNoteV1/index.d.ts +2 -0
- package/dist/entities/userNoteV1/index.js +3 -0
- package/dist/entities/userNoteV1/index.js.map +1 -0
- package/dist/entities/userNoteV1/userNoteV1.d.ts +14 -0
- package/dist/entities/userNoteV1/userNoteV1.js +46 -0
- package/dist/entities/userNoteV1/userNoteV1.js.map +1 -0
- package/dist/hooks/locationsForm/locationsForm.d.ts +1 -0
- package/dist/hooks/locationsForm/locationsForm.js +7 -7
- package/dist/hooks/locationsForm/locationsForm.js.map +1 -1
- package/dist/hooks/locationsForm/locationsFormSales.d.ts +11 -0
- package/dist/hooks/locationsForm/locationsFormSales.js +826 -0
- package/dist/hooks/locationsForm/locationsFormSales.js.map +1 -0
- package/dist/hooks/quote/constants.d.ts +12 -1
- package/dist/hooks/quote/constants.js +36 -1
- package/dist/hooks/quote/constants.js.map +1 -1
- package/dist/hooks/quote/form.js +17 -23
- package/dist/hooks/quote/form.js.map +1 -1
- package/dist/hooks/quote/helpers.d.ts +11 -4
- package/dist/hooks/quote/helpers.js +67 -40
- package/dist/hooks/quote/helpers.js.map +1 -1
- package/dist/hooks/quote/result.js +19 -23
- package/dist/hooks/quote/result.js.map +1 -1
- package/dist/hooks/tender/form.js +84 -67
- package/dist/hooks/tender/form.js.map +1 -1
- package/dist/hooks/tender/helpers.d.ts +2 -1
- package/dist/hooks/tender/helpers.js +14 -17
- package/dist/hooks/tender/helpers.js.map +1 -1
- package/dist/redux/api/salesApi.d.ts +1 -1
- package/dist/redux/api/salesApi.js +24 -0
- package/dist/redux/api/salesApi.js.map +1 -1
- package/dist/redux/appointmentIssue/appointmentIssueEndpoints.d.ts +32 -0
- package/dist/redux/appointmentIssue/appointmentIssueEndpoints.js +66 -0
- package/dist/redux/appointmentIssue/appointmentIssueEndpoints.js.map +1 -0
- package/dist/redux/appointmentIssue/index.d.ts +2 -0
- package/dist/redux/appointmentIssue/index.js +3 -0
- package/dist/redux/appointmentIssue/index.js.map +1 -0
- package/dist/redux/appointmentIssueCategory/appointmentIssueCategoryEndpoints.d.ts +27 -0
- package/dist/redux/appointmentIssueCategory/appointmentIssueCategoryEndpoints.js +72 -0
- package/dist/redux/appointmentIssueCategory/appointmentIssueCategoryEndpoints.js.map +1 -0
- package/dist/redux/appointmentIssueCategory/index.d.ts +2 -0
- package/dist/redux/appointmentIssueCategory/index.js +3 -0
- package/dist/redux/appointmentIssueCategory/index.js.map +1 -0
- package/dist/redux/appointmentIssueSubcategory/appointmentIssueSubcategoryEndpoints.d.ts +26 -0
- package/dist/redux/appointmentIssueSubcategory/appointmentIssueSubcategoryEndpoints.js +66 -0
- package/dist/redux/appointmentIssueSubcategory/appointmentIssueSubcategoryEndpoints.js.map +1 -0
- package/dist/redux/appointmentIssueSubcategory/index.d.ts +2 -0
- package/dist/redux/appointmentIssueSubcategory/index.js +3 -0
- package/dist/redux/appointmentIssueSubcategory/index.js.map +1 -0
- package/dist/redux/appointmentNote/appointmentNoteEndpoints.d.ts +26 -0
- package/dist/redux/appointmentNote/appointmentNoteEndpoints.js +70 -0
- package/dist/redux/appointmentNote/appointmentNoteEndpoints.js.map +1 -0
- package/dist/redux/appointmentNote/index.d.ts +2 -0
- package/dist/redux/appointmentNote/index.js +3 -0
- package/dist/redux/appointmentNote/index.js.map +1 -0
- package/dist/redux/appointmentNoteType/appointmentNoteTypeEndpoints.d.ts +26 -0
- package/dist/redux/appointmentNoteType/appointmentNoteTypeEndpoints.js +75 -0
- package/dist/redux/appointmentNoteType/appointmentNoteTypeEndpoints.js.map +1 -0
- package/dist/redux/appointmentNoteType/index.d.ts +2 -0
- package/dist/redux/appointmentNoteType/index.js +3 -0
- package/dist/redux/appointmentNoteType/index.js.map +1 -0
- package/dist/redux/archerFile/archerFileEndpoints.d.ts +20 -0
- package/dist/redux/archerFile/archerFileEndpoints.js +61 -0
- package/dist/redux/archerFile/archerFileEndpoints.js.map +1 -0
- package/dist/redux/archerFile/index.d.ts +2 -0
- package/dist/redux/archerFile/index.js +3 -0
- package/dist/redux/archerFile/index.js.map +1 -0
- package/dist/redux/carrierName/carrierNameEndpoints.d.ts +25 -0
- package/dist/redux/carrierName/carrierNameEndpoints.js +76 -0
- package/dist/redux/carrierName/carrierNameEndpoints.js.map +1 -0
- package/dist/redux/carrierName/index.d.ts +2 -0
- package/dist/redux/carrierName/index.js +3 -0
- package/dist/redux/carrierName/index.js.map +1 -0
- package/dist/redux/commodityV1/commodityV1Endpoints.d.ts +33 -0
- package/dist/redux/commodityV1/commodityV1Endpoints.js +71 -0
- package/dist/redux/commodityV1/commodityV1Endpoints.js.map +1 -0
- package/dist/redux/commodityV1/index.d.ts +2 -0
- package/dist/redux/commodityV1/index.js +3 -0
- package/dist/redux/commodityV1/index.js.map +1 -0
- package/dist/redux/customer/customerEndpoints.d.ts +14 -14
- package/dist/redux/driverName/driverNameEndpoints.d.ts +24 -0
- package/dist/redux/driverName/driverNameEndpoints.js +67 -0
- package/dist/redux/driverName/driverNameEndpoints.js.map +1 -0
- package/dist/redux/driverName/index.d.ts +2 -0
- package/dist/redux/driverName/index.js +3 -0
- package/dist/redux/driverName/index.js.map +1 -0
- package/dist/redux/holiday/holidayEndpoints.d.ts +10 -10
- package/dist/redux/index.d.ts +17 -0
- package/dist/redux/index.js +17 -0
- package/dist/redux/index.js.map +1 -1
- package/dist/redux/load/loadEndpoints.d.ts +10 -10
- package/dist/redux/loadAdjustment/loadAdjustmentEndpoints.d.ts +10 -10
- package/dist/redux/loadAdjustmentV1/index.d.ts +2 -0
- package/dist/redux/loadAdjustmentV1/index.js +3 -0
- package/dist/redux/loadAdjustmentV1/index.js.map +1 -0
- package/dist/redux/loadAdjustmentV1/loadAdjustmentV1Endpoints.d.ts +32 -0
- package/dist/redux/loadAdjustmentV1/loadAdjustmentV1Endpoints.js +66 -0
- package/dist/redux/loadAdjustmentV1/loadAdjustmentV1Endpoints.js.map +1 -0
- package/dist/redux/loadV1/index.d.ts +2 -0
- package/dist/redux/loadV1/index.js +3 -0
- package/dist/redux/loadV1/index.js.map +1 -0
- package/dist/redux/loadV1/loadV1Endpoints.d.ts +43 -0
- package/dist/redux/loadV1/loadV1Endpoints.js +100 -0
- package/dist/redux/loadV1/loadV1Endpoints.js.map +1 -0
- package/dist/redux/location/locationEndpoints.d.ts +14 -14
- package/dist/redux/locationV1/index.d.ts +2 -0
- package/dist/redux/locationV1/index.js +3 -0
- package/dist/redux/locationV1/index.js.map +1 -0
- package/dist/redux/locationV1/locationV1Endpoints.d.ts +59 -0
- package/dist/redux/locationV1/locationV1Endpoints.js +115 -0
- package/dist/redux/locationV1/locationV1Endpoints.js.map +1 -0
- package/dist/redux/nmfcClass/index.d.ts +2 -0
- package/dist/redux/nmfcClass/index.js +3 -0
- package/dist/redux/nmfcClass/index.js.map +1 -0
- package/dist/redux/nmfcClass/nmfcClassEndpoints.d.ts +24 -0
- package/dist/redux/nmfcClass/nmfcClassEndpoints.js +64 -0
- package/dist/redux/nmfcClass/nmfcClassEndpoints.js.map +1 -0
- package/dist/redux/nodeName/index.d.ts +2 -0
- package/dist/redux/nodeName/index.js +3 -0
- package/dist/redux/nodeName/index.js.map +1 -0
- package/dist/redux/nodeName/nodeNameEndpoints.d.ts +26 -0
- package/dist/redux/nodeName/nodeNameEndpoints.js +67 -0
- package/dist/redux/nodeName/nodeNameEndpoints.js.map +1 -0
- package/dist/redux/personName/index.d.ts +2 -0
- package/dist/redux/personName/index.js +3 -0
- package/dist/redux/personName/index.js.map +1 -0
- package/dist/redux/personName/personNameEndpoints.d.ts +26 -0
- package/dist/redux/personName/personNameEndpoints.js +67 -0
- package/dist/redux/personName/personNameEndpoints.js.map +1 -0
- package/dist/redux/quote/quoteEndpoints.d.ts +22 -15
- package/dist/redux/quote/quoteEndpoints.js +26 -1
- package/dist/redux/quote/quoteEndpoints.js.map +1 -1
- package/dist/redux/quote/quoteHooks.d.ts +2 -2
- package/dist/redux/quoteAccessorial/quoteAccessorialEndpoints.d.ts +9 -9
- package/dist/redux/quoteAccessorialV1/index.d.ts +2 -0
- package/dist/redux/quoteAccessorialV1/index.js +3 -0
- package/dist/redux/quoteAccessorialV1/index.js.map +1 -0
- package/dist/redux/quoteAccessorialV1/quoteAccessorialV1Endpoints.d.ts +32 -0
- package/dist/redux/quoteAccessorialV1/quoteAccessorialV1Endpoints.js +67 -0
- package/dist/redux/quoteAccessorialV1/quoteAccessorialV1Endpoints.js.map +1 -0
- package/dist/redux/shipcon/shipconEndpoints.d.ts +10 -10
- package/dist/redux/shipconV1/index.d.ts +2 -0
- package/dist/redux/shipconV1/index.js +3 -0
- package/dist/redux/shipconV1/index.js.map +1 -0
- package/dist/redux/shipconV1/shipconV1Endpoints.d.ts +44 -0
- package/dist/redux/shipconV1/shipconV1Endpoints.js +75 -0
- package/dist/redux/shipconV1/shipconV1Endpoints.js.map +1 -0
- package/dist/redux/tender/tenderEndpoints.d.ts +9 -9
- package/dist/redux/trailerAvailability/customerEndpoints.d.ts +4 -4
- package/dist/redux/types.d.ts +2 -2
- package/dist/redux/userNoteV1/index.d.ts +2 -0
- package/dist/redux/userNoteV1/index.js +3 -0
- package/dist/redux/userNoteV1/index.js.map +1 -0
- package/dist/redux/userNoteV1/userNoteV1Endpoints.d.ts +32 -0
- package/dist/redux/userNoteV1/userNoteV1Endpoints.js +65 -0
- package/dist/redux/userNoteV1/userNoteV1Endpoints.js.map +1 -0
- package/package.json +5 -5
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { createEntityAdapter, createSelector, } from "@reduxjs/toolkit";
|
|
2
|
+
import { salesApi } from "../api/salesApi";
|
|
3
|
+
const loadsV1Adapter = createEntityAdapter();
|
|
4
|
+
const loadsV1InitialState = loadsV1Adapter.getInitialState();
|
|
5
|
+
export const loadV1Endpoints = salesApi.injectEndpoints({
|
|
6
|
+
endpoints: (build) => ({
|
|
7
|
+
getLoadsV1: build.query({
|
|
8
|
+
query: (args) => {
|
|
9
|
+
return {
|
|
10
|
+
url: `loads`,
|
|
11
|
+
params: args,
|
|
12
|
+
routePrefix: "/v1",
|
|
13
|
+
};
|
|
14
|
+
},
|
|
15
|
+
transformResponse: (responseData) => {
|
|
16
|
+
return loadsV1Adapter.setAll(loadsV1InitialState, responseData);
|
|
17
|
+
},
|
|
18
|
+
providesTags: ["loadsV1"],
|
|
19
|
+
}),
|
|
20
|
+
getLoadV1: build.query({
|
|
21
|
+
query: (id) => ({ url: `loads/${id}`, routePrefix: "/v1" }),
|
|
22
|
+
providesTags: (_result, _error, id) => [{ type: "loadsV1", id }],
|
|
23
|
+
}),
|
|
24
|
+
createLoadV1: build.mutation({
|
|
25
|
+
query: (body) => ({
|
|
26
|
+
method: "POST",
|
|
27
|
+
body,
|
|
28
|
+
url: `loads`,
|
|
29
|
+
routePrefix: "/v1",
|
|
30
|
+
}),
|
|
31
|
+
invalidatesTags: ["loadsV1"],
|
|
32
|
+
}),
|
|
33
|
+
updateLoadV1: build.mutation({
|
|
34
|
+
query: (args) => ({
|
|
35
|
+
method: "PUT",
|
|
36
|
+
body: args.body,
|
|
37
|
+
url: `loads/${args.id}`,
|
|
38
|
+
routePrefix: "/v1",
|
|
39
|
+
}),
|
|
40
|
+
invalidatesTags: (_result, _error, { id }) => [
|
|
41
|
+
{ type: "loadsV1", id },
|
|
42
|
+
"loadsV1",
|
|
43
|
+
],
|
|
44
|
+
}),
|
|
45
|
+
deleteLoadV1: build.mutation({
|
|
46
|
+
query: (id) => ({
|
|
47
|
+
method: "DELETE",
|
|
48
|
+
url: { url: `loads/${id}`, routePrefix: "/v1" },
|
|
49
|
+
}),
|
|
50
|
+
invalidatesTags: ["loadsV1"],
|
|
51
|
+
}),
|
|
52
|
+
getLoadCommoditiesV1: build.query({
|
|
53
|
+
query: ({ params, loadID }) => {
|
|
54
|
+
return {
|
|
55
|
+
url: `loads/${loadID}/commodities`,
|
|
56
|
+
params,
|
|
57
|
+
routePrefix: "/v1",
|
|
58
|
+
};
|
|
59
|
+
},
|
|
60
|
+
providesTags: ["loadCommodities"],
|
|
61
|
+
}),
|
|
62
|
+
getLoadQuoteAccessorialsV1: build.query({
|
|
63
|
+
query: (loadID) => {
|
|
64
|
+
return {
|
|
65
|
+
url: `loads/${loadID}/quote_accessorials`,
|
|
66
|
+
routePrefix: "/v1",
|
|
67
|
+
};
|
|
68
|
+
},
|
|
69
|
+
providesTags: ["loadQuoteAccessorials"],
|
|
70
|
+
}),
|
|
71
|
+
getLoadAdjustmentsByLoadV1: build.query({
|
|
72
|
+
query: (loadID) => {
|
|
73
|
+
return {
|
|
74
|
+
url: `loads/${loadID}/load_adjustments`,
|
|
75
|
+
routePrefix: "/v1",
|
|
76
|
+
};
|
|
77
|
+
},
|
|
78
|
+
providesTags: ["loadAdjustmentsByLoad"],
|
|
79
|
+
}),
|
|
80
|
+
getLoadUserNotesV1: build.query({
|
|
81
|
+
query: (loadID) => {
|
|
82
|
+
return {
|
|
83
|
+
url: `loads/${loadID}/user_notes`,
|
|
84
|
+
routePrefix: "/v1",
|
|
85
|
+
};
|
|
86
|
+
},
|
|
87
|
+
providesTags: ["loadUserNotesV1"],
|
|
88
|
+
}),
|
|
89
|
+
}),
|
|
90
|
+
});
|
|
91
|
+
export const { useGetLoadV1Query, useGetLoadsV1Query, useLazyGetLoadsV1Query, useLazyGetLoadV1Query, useCreateLoadV1Mutation, useDeleteLoadV1Mutation, useUpdateLoadV1Mutation, useGetLoadCommoditiesV1Query, useLazyGetLoadCommoditiesV1Query, useGetLoadQuoteAccessorialsV1Query, useLazyGetLoadQuoteAccessorialsV1Query, useGetLoadAdjustmentsByLoadV1Query, useLazyGetLoadAdjustmentsByLoadV1Query, useGetLoadUserNotesV1Query, useLazyGetLoadUserNotesV1Query, } = loadV1Endpoints;
|
|
92
|
+
export default loadV1Endpoints;
|
|
93
|
+
export const getLoadsV1Selectors = (params) => {
|
|
94
|
+
return loadsV1Adapter.getSelectors((state) => {
|
|
95
|
+
return (createSelector(loadV1Endpoints.endpoints.getLoadsV1.select(params), (loadsV1Result) => {
|
|
96
|
+
return loadsV1Result.data;
|
|
97
|
+
})(state) ?? loadsV1InitialState);
|
|
98
|
+
});
|
|
99
|
+
};
|
|
100
|
+
//# sour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AAK,CAAC,IAAI,mBAAmB,CAChC,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC,CAAC"}
|
|
@@ -2,34 +2,34 @@ import { EntityState } from "@reduxjs/toolkit";
|
|
|
2
2
|
import { Location_Entity } from "../../entities";
|
|
3
3
|
import { SearchMetadata } from "@nerdjs/nerd-core";
|
|
4
4
|
export declare const locationEndpoints: 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, {}>>, {
|
|
5
|
-
getLocations: 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", EntityState<Location_Entity>, "salesApi">;
|
|
6
|
-
getLocation: 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", Location_Entity, "salesApi">;
|
|
7
|
-
createLocation: import("@reduxjs/toolkit/dist/query").MutationDefinition<Partial<Location_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", Location_Entity, "salesApi">;
|
|
5
|
+
getLocations: 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<Location_Entity>, "salesApi">;
|
|
6
|
+
getLocation: 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", Location_Entity, "salesApi">;
|
|
7
|
+
createLocation: import("@reduxjs/toolkit/dist/query").MutationDefinition<Partial<Location_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", Location_Entity, "salesApi">;
|
|
8
8
|
updateLocation: import("@reduxjs/toolkit/dist/query").MutationDefinition<{
|
|
9
9
|
id: number;
|
|
10
10
|
body: Partial<Location_Entity>;
|
|
11
|
-
}, (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", void, "salesApi">;
|
|
12
|
-
deleteLocation: 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", void, "salesApi">;
|
|
13
|
-
getLocationSearchMetadata: import("@reduxjs/toolkit/dist/query").QueryDefinition<void, (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", SearchMetadata, "salesApi">;
|
|
14
|
-
searchExistingLocation: import("@reduxjs/toolkit/dist/query").QueryDefinition<string, (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", Location_Entity[], "salesApi">;
|
|
11
|
+
}, (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
|
+
deleteLocation: 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">;
|
|
13
|
+
getLocationSearchMetadata: import("@reduxjs/toolkit/dist/query").QueryDefinition<void, (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", SearchMetadata, "salesApi">;
|
|
14
|
+
searchExistingLocation: import("@reduxjs/toolkit/dist/query").QueryDefinition<string, (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", Location_Entity[], "salesApi">;
|
|
15
15
|
searchLocation: import("@reduxjs/toolkit/dist/query").QueryDefinition<{
|
|
16
16
|
zip: string;
|
|
17
17
|
location: string;
|
|
18
|
-
}, (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", Location_Entity[], "salesApi">;
|
|
19
|
-
}, "salesApi", "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities", typeof import("@reduxjs/toolkit/dist/query/core/module").coreModuleName | typeof import("@reduxjs/toolkit/dist/query/react/module").reactHooksModuleName>;
|
|
20
|
-
export declare const useGetLocationQuery: 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", Location_Entity, "salesApi">>, useGetLocationsQuery: 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", EntityState<Location_Entity>, "salesApi">>, useGetLocationSearchMetadataQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/dist/query").QueryDefinition<void, (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", SearchMetadata, "salesApi">>, useLazyGetLocationsQuery: 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", EntityState<Location_Entity>, "salesApi">>, useLazyGetLocationQuery: 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", Location_Entity, "salesApi">>, useLazyGetLocationSearchMetadataQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseLazyQuery<import("@reduxjs/toolkit/dist/query").QueryDefinition<void, (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", SearchMetadata, "salesApi">>, useCreateLocationMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/dist/query").MutationDefinition<Partial<Location_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", Location_Entity, "salesApi">>, useDeleteLocationMutation: 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", void, "salesApi">>, useUpdateLocationMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/dist/query").MutationDefinition<{
|
|
18
|
+
}, (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", Location_Entity[], "salesApi">;
|
|
19
|
+
}, "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>;
|
|
20
|
+
export declare const useGetLocationQuery: 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", Location_Entity, "salesApi">>, useGetLocationsQuery: 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<Location_Entity>, "salesApi">>, useGetLocationSearchMetadataQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/dist/query").QueryDefinition<void, (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", SearchMetadata, "salesApi">>, useLazyGetLocationsQuery: 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<Location_Entity>, "salesApi">>, useLazyGetLocationQuery: 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", Location_Entity, "salesApi">>, useLazyGetLocationSearchMetadataQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseLazyQuery<import("@reduxjs/toolkit/dist/query").QueryDefinition<void, (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", SearchMetadata, "salesApi">>, useCreateLocationMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/dist/query").MutationDefinition<Partial<Location_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", Location_Entity, "salesApi">>, useDeleteLocationMutation: 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">>, useUpdateLocationMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/dist/query").MutationDefinition<{
|
|
21
21
|
id: number;
|
|
22
22
|
body: Partial<Location_Entity>;
|
|
23
|
-
}, (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", void, "salesApi">>, useLazySearchExistingLocationQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseLazyQuery<import("@reduxjs/toolkit/dist/query").QueryDefinition<string, (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", Location_Entity[], "salesApi">>, useLazySearchLocationQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseLazyQuery<import("@reduxjs/toolkit/dist/query").QueryDefinition<{
|
|
23
|
+
}, (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">>, useLazySearchExistingLocationQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseLazyQuery<import("@reduxjs/toolkit/dist/query").QueryDefinition<string, (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", Location_Entity[], "salesApi">>, useLazySearchLocationQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseLazyQuery<import("@reduxjs/toolkit/dist/query").QueryDefinition<{
|
|
24
24
|
zip: string;
|
|
25
25
|
location: string;
|
|
26
|
-
}, (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", Location_Entity[], "salesApi">>, useSearchExistingLocationQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/dist/query").QueryDefinition<string, (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", Location_Entity[], "salesApi">>, useSearchLocationQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/dist/query").QueryDefinition<{
|
|
26
|
+
}, (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", Location_Entity[], "salesApi">>, useSearchExistingLocationQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/dist/query").QueryDefinition<string, (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", Location_Entity[], "salesApi">>, useSearchLocationQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/dist/query").QueryDefinition<{
|
|
27
27
|
zip: string;
|
|
28
28
|
location: string;
|
|
29
|
-
}, (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", Location_Entity[], "salesApi">>;
|
|
29
|
+
}, (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", Location_Entity[], "salesApi">>;
|
|
30
30
|
export default locationEndpoints;
|
|
31
31
|
export declare const getLocationsSelectors: (params: Record<string, unknown> | void) => import("@reduxjs/toolkit").EntitySelectors<Location_Entity, {
|
|
32
|
-
salesApi: import("@reduxjs/toolkit/dist/query/core/apiState").CombinedState<{}, "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities", "salesApi">;
|
|
32
|
+
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">;
|
|
33
33
|
salesKitState: import("redux").CombinedState<{
|
|
34
34
|
quote: import("..").QuoteState;
|
|
35
35
|
tender: import("../tender/tenderSlice").TenderState;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/redux/locationV1/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,uBAAuB,CAAC"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { EntityState } from "@reduxjs/toolkit";
|
|
2
|
+
import { LocationV1_Entity } from "../../entities";
|
|
3
|
+
import { SearchMetadata } from "@nerdjs/nerd-core";
|
|
4
|
+
import { LocationAccessorial_Entity } from "../../entities/locationAccessorial";
|
|
5
|
+
export declare const locationV1Endpoints: 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, {}>>, {
|
|
6
|
+
getLocationsV1: 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<LocationV1_Entity>, "salesApi">;
|
|
7
|
+
getLocationV1: 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", LocationV1_Entity, "salesApi">;
|
|
8
|
+
createLocationV1: import("@reduxjs/toolkit/dist/query").MutationDefinition<Partial<LocationV1_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", LocationV1_Entity, "salesApi">;
|
|
9
|
+
updateLocationV1: import("@reduxjs/toolkit/dist/query").MutationDefinition<{
|
|
10
|
+
id: number;
|
|
11
|
+
body: {
|
|
12
|
+
location: Partial<LocationV1_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
|
+
deleteLocationV1: 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
|
+
getLocationV1SearchMetadata: import("@reduxjs/toolkit/dist/query").QueryDefinition<void, (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", SearchMetadata, "salesApi">;
|
|
17
|
+
getAccessorialsV1: 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", LocationAccessorial_Entity[], "salesApi">;
|
|
18
|
+
getLocationAccessorialsV1: import("@reduxjs/toolkit/dist/query").QueryDefinition<{
|
|
19
|
+
id: number;
|
|
20
|
+
params?: Record<string, unknown> | undefined;
|
|
21
|
+
}, (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", LocationAccessorial_Entity[], "salesApi">;
|
|
22
|
+
createLocationAccessorialV1: import("@reduxjs/toolkit/dist/query").MutationDefinition<{
|
|
23
|
+
locationaccessorial: Partial<LocationAccessorial_Entity>;
|
|
24
|
+
}, (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", LocationAccessorial_Entity, "salesApi">;
|
|
25
|
+
updateLocationAccessorialsV1: import("@reduxjs/toolkit/dist/query").MutationDefinition<{
|
|
26
|
+
id: number;
|
|
27
|
+
body: {
|
|
28
|
+
locationaccessorial: Partial<LocationAccessorial_Entity>;
|
|
29
|
+
};
|
|
30
|
+
}, (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">;
|
|
31
|
+
deleteLocationAccessorialsV1: 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">;
|
|
32
|
+
}, "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>;
|
|
33
|
+
export declare const useGetLocationV1Query: 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", LocationV1_Entity, "salesApi">>, useGetLocationsV1Query: 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<LocationV1_Entity>, "salesApi">>, useGetLocationV1SearchMetadataQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/dist/query").QueryDefinition<void, (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", SearchMetadata, "salesApi">>, useLazyGetLocationsV1Query: 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<LocationV1_Entity>, "salesApi">>, useLazyGetLocationV1Query: 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", LocationV1_Entity, "salesApi">>, useLazyGetLocationV1SearchMetadataQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseLazyQuery<import("@reduxjs/toolkit/dist/query").QueryDefinition<void, (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", SearchMetadata, "salesApi">>, useCreateLocationV1Mutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/dist/query").MutationDefinition<Partial<LocationV1_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", LocationV1_Entity, "salesApi">>, useDeleteLocationV1Mutation: 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">>, useUpdateLocationV1Mutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/dist/query").MutationDefinition<{
|
|
34
|
+
id: number;
|
|
35
|
+
body: {
|
|
36
|
+
location: Partial<LocationV1_Entity>;
|
|
37
|
+
};
|
|
38
|
+
}, (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">>, useDeleteLocationAccessorialsV1Mutation: 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">>, useGetLocationAccessorialsV1Query: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/dist/query").QueryDefinition<{
|
|
39
|
+
id: number;
|
|
40
|
+
params?: Record<string, unknown> | undefined;
|
|
41
|
+
}, (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", LocationAccessorial_Entity[], "salesApi">>, useLazyGetLocationAccessorialsV1Query: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseLazyQuery<import("@reduxjs/toolkit/dist/query").QueryDefinition<{
|
|
42
|
+
id: number;
|
|
43
|
+
params?: Record<string, unknown> | undefined;
|
|
44
|
+
}, (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", LocationAccessorial_Entity[], "salesApi">>, useUpdateLocationAccessorialsV1Mutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/dist/query").MutationDefinition<{
|
|
45
|
+
id: number;
|
|
46
|
+
body: {
|
|
47
|
+
locationaccessorial: Partial<LocationAccessorial_Entity>;
|
|
48
|
+
};
|
|
49
|
+
}, (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">>, useGetAccessorialsV1Query: 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", LocationAccessorial_Entity[], "salesApi">>, useLazyGetAccessorialsV1Query: 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", LocationAccessorial_Entity[], "salesApi">>, useCreateLocationAccessorialV1Mutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/dist/query").MutationDefinition<{
|
|
50
|
+
locationaccessorial: Partial<LocationAccessorial_Entity>;
|
|
51
|
+
}, (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", LocationAccessorial_Entity, "salesApi">>;
|
|
52
|
+
export default locationV1Endpoints;
|
|
53
|
+
export declare const getLocationsV1Selectors: (params: Record<string, unknown> | void) => import("@reduxjs/toolkit").EntitySelectors<LocationV1_Entity, {
|
|
54
|
+
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">;
|
|
55
|
+
salesKitState: import("redux").CombinedState<{
|
|
56
|
+
quote: import("..").QuoteState;
|
|
57
|
+
tender: import("../tender/tenderSlice").TenderState;
|
|
58
|
+
}>;
|
|
59
|
+
}>;
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import { createEntityAdapter, createSelector, } from "@reduxjs/toolkit";
|
|
2
|
+
import { salesApi } from "../api/salesApi";
|
|
3
|
+
const locationsV1Adapter = createEntityAdapter();
|
|
4
|
+
const locationsV1InitialState = locationsV1Adapter.getInitialState();
|
|
5
|
+
export const locationV1Endpoints = salesApi.injectEndpoints({
|
|
6
|
+
endpoints: (build) => ({
|
|
7
|
+
getLocationsV1: build.query({
|
|
8
|
+
query: (args) => {
|
|
9
|
+
return {
|
|
10
|
+
url: `locations`,
|
|
11
|
+
params: args,
|
|
12
|
+
routePrefix: "/v1",
|
|
13
|
+
};
|
|
14
|
+
},
|
|
15
|
+
transformResponse: (responseData) => {
|
|
16
|
+
return locationsV1Adapter.setAll(locationsV1InitialState, responseData);
|
|
17
|
+
},
|
|
18
|
+
providesTags: ["locationsV1"],
|
|
19
|
+
}),
|
|
20
|
+
getLocationV1: build.query({
|
|
21
|
+
query: (id) => ({ url: `locations/${id}`, routePrefix: "/v1" }),
|
|
22
|
+
providesTags: (_result, _error, id) => [{ type: "locationsV1", id }],
|
|
23
|
+
}),
|
|
24
|
+
createLocationV1: build.mutation({
|
|
25
|
+
query: (body) => ({
|
|
26
|
+
method: "POST",
|
|
27
|
+
body,
|
|
28
|
+
url: `locations`,
|
|
29
|
+
routePrefix: "/v1",
|
|
30
|
+
}),
|
|
31
|
+
invalidatesTags: ["locationsV1"],
|
|
32
|
+
}),
|
|
33
|
+
updateLocationV1: build.mutation({
|
|
34
|
+
query: (args) => ({
|
|
35
|
+
method: "PUT",
|
|
36
|
+
body: args.body,
|
|
37
|
+
url: `locations/${args.id}`,
|
|
38
|
+
routePrefix: "/v1",
|
|
39
|
+
}),
|
|
40
|
+
invalidatesTags: (_result, _error, { id }) => [
|
|
41
|
+
{ type: "locationsV1", id },
|
|
42
|
+
"locationsV1",
|
|
43
|
+
],
|
|
44
|
+
}),
|
|
45
|
+
deleteLocationV1: build.mutation({
|
|
46
|
+
query: (id) => ({
|
|
47
|
+
method: "DELETE",
|
|
48
|
+
url: `locations/${id}`,
|
|
49
|
+
routePrefix: "/v1",
|
|
50
|
+
}),
|
|
51
|
+
invalidatesTags: ["locationsV1"],
|
|
52
|
+
}),
|
|
53
|
+
getLocationV1SearchMetadata: build.query({
|
|
54
|
+
query: () => ({ url: `locations/searchMetadata`, routePrefix: "/v1" }),
|
|
55
|
+
}),
|
|
56
|
+
getAccessorialsV1: build.query({
|
|
57
|
+
query: (args) => {
|
|
58
|
+
return {
|
|
59
|
+
url: `accessorials`,
|
|
60
|
+
params: args,
|
|
61
|
+
routePrefix: "/v1",
|
|
62
|
+
};
|
|
63
|
+
},
|
|
64
|
+
}),
|
|
65
|
+
getLocationAccessorialsV1: build.query({
|
|
66
|
+
query: (args) => {
|
|
67
|
+
return {
|
|
68
|
+
url: `locations/${args.id}/location_accessorials`,
|
|
69
|
+
params: args.params,
|
|
70
|
+
routePrefix: "/v1",
|
|
71
|
+
};
|
|
72
|
+
},
|
|
73
|
+
providesTags: ["locationsV1Accessorials"],
|
|
74
|
+
}),
|
|
75
|
+
createLocationAccessorialV1: build.mutation({
|
|
76
|
+
query: (body) => ({
|
|
77
|
+
method: "POST",
|
|
78
|
+
body,
|
|
79
|
+
url: `location_accessorials`,
|
|
80
|
+
routePrefix: "/v1",
|
|
81
|
+
}),
|
|
82
|
+
invalidatesTags: ["locationsV1Accessorials"],
|
|
83
|
+
}),
|
|
84
|
+
updateLocationAccessorialsV1: build.mutation({
|
|
85
|
+
query: (args) => ({
|
|
86
|
+
method: "PUT",
|
|
87
|
+
body: args.body,
|
|
88
|
+
url: `location_accessorials/${args.id}`,
|
|
89
|
+
routePrefix: "/v1",
|
|
90
|
+
}),
|
|
91
|
+
invalidatesTags: (_result, _error, { id }) => [
|
|
92
|
+
{ type: "locationsV1Accessorials", id },
|
|
93
|
+
"locationsV1Accessorials",
|
|
94
|
+
],
|
|
95
|
+
}),
|
|
96
|
+
deleteLocationAccessorialsV1: build.mutation({
|
|
97
|
+
query: (id) => ({
|
|
98
|
+
method: "DELETE",
|
|
99
|
+
url: `location_accessorials/${id}`,
|
|
100
|
+
routePrefix: "/v1",
|
|
101
|
+
}),
|
|
102
|
+
invalidatesTags: ["locationsV1Accessorials"],
|
|
103
|
+
}),
|
|
104
|
+
}),
|
|
105
|
+
});
|
|
106
|
+
export const { useGetLocationV1Query, useGetLocationsV1Query, useGetLocationV1SearchMetadataQuery, useLazyGetLocationsV1Query, useLazyGetLocationV1Query, useLazyGetLocationV1SearchMetadataQuery, useCreateLocationV1Mutation, useDeleteLocationV1Mutation, useUpdateLocationV1Mutation, useDeleteLocationAccessorialsV1Mutation, useGetLocationAccessorialsV1Query, useLazyGetLocationAccessorialsV1Query, useUpdateLocationAccessorialsV1Mutation, useGetAccessorialsV1Query, useLazyGetAccessorialsV1Query, useCreateLocationAccessorialV1Mutation, } = locationV1Endpoints;
|
|
107
|
+
export default locationV1Endpoints;
|
|
108
|
+
export const getLocationsV1Selectors = (params) => {
|
|
109
|
+
return locationsV1Adapter.getSelectors((state) => {
|
|
110
|
+
return (createSelector(locationV1Endpoints.endpoints.getLocationsV1.select(params), (locationsV1Result) => {
|
|
111
|
+
return locationsV1Result.data;
|
|
112
|
+
})(state) ?? locationsV1InitialState);
|
|
113
|
+
});
|
|
114
|
+
};
|
|
115
|
+
//# sourceMappingURL=locationV1Endpoints.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"locationV1Endpoints.js","sourceRoot":"","sources":["../../../src/redux/locationV1/locationV1Endpoints.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EAEnB,cAAc,GACf,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAK3C,MAAM,kBAAkB,GAAG,mBAAmB,EAAqB,CAAC;AACpE,MAAM,uBAAuB,GAAG,kBAAkB,CAAC,eAAe,EAAE,CAAC;AAErE,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,WAAW;oBAChB,MAAM,EAAE,IAAI;oBACZ,WAAW,EAAE,KAAK;iBACnB,CAAC;YACJ,CAAC;YACD,iBAAiB,EAAE,CAAC,YAAiC,EAAE,EAAE;gBACvD,OAAO,kBAAkB,CAAC,MAAM,CAAC,uBAAuB,EAAE,YAAY,CAAC,CAAC;YAC1E,CAAC;YACD,YAAY,EAAE,CAAC,aAAa,CAAC;SAC9B,CAAC;QACF,aAAa,EAAE,KAAK,CAAC,KAAK,CAA4B;YACpD,KAAK,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,aAAa,EAAE,EAAE,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC;YAC/D,YAAY,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,aAAa,EAAE,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