@nerdjs/sales-kit 2.0.69 → 2.0.71
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/companyLocation/companyLocation.d.ts +13 -0
- package/dist/entities/companyLocation/companyLocation.js +43 -0
- package/dist/entities/companyLocation/companyLocation.js.map +1 -0
- package/dist/entities/companyLocation/helper.d.ts +5 -0
- package/dist/entities/companyLocation/helper.js +16 -0
- package/dist/entities/companyLocation/helper.js.map +1 -0
- package/dist/entities/companyLocation/index.d.ts +2 -0
- package/dist/entities/companyLocation/index.js +3 -0
- package/dist/entities/companyLocation/index.js.map +1 -0
- package/dist/entities/departmentPhone/departmentPhone.d.ts +8 -0
- package/dist/entities/departmentPhone/departmentPhone.js +33 -0
- package/dist/entities/departmentPhone/departmentPhone.js.map +1 -0
- package/dist/entities/departmentPhone/helper.d.ts +5 -0
- package/dist/entities/departmentPhone/helper.js +16 -0
- package/dist/entities/departmentPhone/helper.js.map +1 -0
- package/dist/entities/departmentPhone/index.d.ts +2 -0
- package/dist/entities/departmentPhone/index.js +3 -0
- package/dist/entities/departmentPhone/index.js.map +1 -0
- package/dist/entities/driver/driver.d.ts +10 -0
- package/dist/entities/driver/driver.js +37 -0
- package/dist/entities/driver/driver.js.map +1 -0
- package/dist/entities/driver/helper.d.ts +5 -0
- package/dist/entities/driver/helper.js +16 -0
- package/dist/entities/driver/helper.js.map +1 -0
- package/dist/entities/driver/index.d.ts +2 -0
- package/dist/entities/driver/index.js +3 -0
- package/dist/entities/driver/index.js.map +1 -0
- package/dist/entities/index.d.ts +3 -0
- package/dist/entities/index.js +3 -0
- package/dist/entities/index.js.map +1 -1
- package/dist/entities/load/load.d.ts +1 -0
- package/dist/entities/load/load.js +2 -0
- package/dist/entities/load/load.js.map +1 -1
- package/dist/hooks/load/loadDetailsStatus.js +43 -42
- package/dist/hooks/load/loadDetailsStatus.js.map +1 -1
- package/dist/hooks/locationsForm/locationsFormSales.js +19 -23
- package/dist/hooks/locationsForm/locationsFormSales.js.map +1 -1
- package/dist/hooks/quote/helpers.js +7 -1
- package/dist/hooks/quote/helpers.js.map +1 -1
- package/dist/redux/api/salesApi.d.ts +1 -1
- package/dist/redux/api/salesApi.js +3 -0
- package/dist/redux/api/salesApi.js.map +1 -1
- package/dist/redux/apiTender/apiTenderEndpoints.d.ts +10 -10
- package/dist/redux/appointmentIssue/appointmentIssueEndpoints.d.ts +10 -10
- package/dist/redux/appointmentIssueCategory/appointmentIssueCategoryEndpoints.d.ts +11 -11
- package/dist/redux/appointmentIssueSubcategory/appointmentIssueSubcategoryEndpoints.d.ts +10 -10
- package/dist/redux/appointmentNote/appointmentNoteEndpoints.d.ts +10 -10
- package/dist/redux/appointmentNoteType/appointmentNoteTypeEndpoints.d.ts +10 -10
- package/dist/redux/archerFile/archerFileEndpoints.d.ts +13 -13
- package/dist/redux/billingKickback/billingKickbackEndpoints.d.ts +11 -11
- package/dist/redux/billingKickbackResponse/billingKickbackResponseEndpoints.d.ts +10 -10
- package/dist/redux/billingKickbackResponseAccessorial/billingKickbackResponseAccessorialEndpoints.d.ts +10 -10
- package/dist/redux/billingMessage/billingMessageEndpoints.d.ts +9 -9
- package/dist/redux/billingNote/billingNoteEndpoints.d.ts +10 -10
- package/dist/redux/carrierName/carrierNameEndpoints.d.ts +10 -10
- package/dist/redux/claim/claimEndpoints.d.ts +16 -16
- package/dist/redux/claimStatus/claimStatusEndpoints.d.ts +9 -9
- package/dist/redux/commodity/commodityEndpoints.d.ts +10 -10
- package/dist/redux/commodityV1/commodityV1Endpoints.d.ts +11 -11
- package/dist/redux/companyLocation/companyLocationEndpoints.d.ts +32 -0
- package/dist/redux/companyLocation/companyLocationEndpoints.js +64 -0
- package/dist/redux/companyLocation/companyLocationEndpoints.js.map +1 -0
- package/dist/redux/companyLocation/index.d.ts +2 -0
- package/dist/redux/companyLocation/index.js +3 -0
- package/dist/redux/companyLocation/index.js.map +1 -0
- package/dist/redux/contact/contactEndpoints.d.ts +10 -10
- package/dist/redux/customer/customerEndpoints.d.ts +17 -17
- package/dist/redux/customersAccessorial/customersAccessorialEndpoints.d.ts +9 -9
- package/dist/redux/departmentPhone/departmentPhoneEndpoints.d.ts +32 -0
- package/dist/redux/departmentPhone/departmentPhoneEndpoints.js +64 -0
- package/dist/redux/departmentPhone/departmentPhoneEndpoints.js.map +1 -0
- package/dist/redux/departmentPhone/index.d.ts +2 -0
- package/dist/redux/departmentPhone/index.js +3 -0
- package/dist/redux/departmentPhone/index.js.map +1 -0
- package/dist/redux/dispatch/dispatchEndpoints.d.ts +10 -10
- package/dist/redux/driver/driverEndpoints.d.ts +24 -0
- package/dist/redux/driver/driverEndpoints.js +64 -0
- package/dist/redux/driver/driverEndpoints.js.map +1 -0
- package/dist/redux/driver/index.d.ts +2 -0
- package/dist/redux/driver/index.js +3 -0
- package/dist/redux/driver/index.js.map +1 -0
- package/dist/redux/driverName/driverNameEndpoints.d.ts +9 -9
- package/dist/redux/flag/flagEndpoints.d.ts +9 -9
- package/dist/redux/generalLedgerAccount/generalLedgerAccountEndpoints.d.ts +10 -10
- package/dist/redux/genericTender/genericTenderEndpoints.d.ts +10 -10
- package/dist/redux/holiday/holidayEndpoints.d.ts +10 -10
- package/dist/redux/index.d.ts +3 -0
- package/dist/redux/index.js +3 -0
- package/dist/redux/index.js.map +1 -1
- package/dist/redux/invoice/invoiceEndpoints.d.ts +10 -10
- package/dist/redux/invoiceAdjustment/invoiceAdjustmentEndpoints.d.ts +10 -10
- package/dist/redux/invoiceV1/invoiceV1Endpoints.d.ts +11 -11
- package/dist/redux/load/loadEndpoints.d.ts +11 -11
- package/dist/redux/loadAdjustment/loadAdjustmentEndpoints.d.ts +10 -10
- package/dist/redux/loadAdjustmentV1/loadAdjustmentV1Endpoints.d.ts +10 -10
- package/dist/redux/loadTender/loadTenderEndpoints.d.ts +12 -12
- package/dist/redux/loadV1/loadV1Endpoints.d.ts +55 -55
- package/dist/redux/location/locationEndpoints.d.ts +15 -15
- package/dist/redux/locationV1/locationV1Endpoints.d.ts +19 -19
- package/dist/redux/nmfcClass/nmfcClassEndpoints.d.ts +9 -9
- package/dist/redux/nodeName/nodeNameEndpoints.d.ts +10 -10
- package/dist/redux/notification/notificationEndpoints.d.ts +13 -13
- package/dist/redux/person/personEndpoints.d.ts +12 -12
- package/dist/redux/personName/personNameEndpoints.d.ts +10 -10
- package/dist/redux/quote/quoteEndpoints.d.ts +21 -21
- package/dist/redux/quote/quoteHooks.d.ts +2 -2
- package/dist/redux/quoteAccessorial/quoteAccessorialEndpoints.d.ts +9 -9
- package/dist/redux/quoteAccessorialV1/quoteAccessorialV1Endpoints.d.ts +10 -10
- package/dist/redux/rateReview/rateReviewEndpoints.d.ts +10 -10
- package/dist/redux/shipcon/shipconEndpoints.d.ts +11 -11
- package/dist/redux/shipconV1/shipconV1Endpoints.d.ts +16 -16
- package/dist/redux/tender/tenderEndpoints.d.ts +9 -9
- package/dist/redux/trailerAvailability/customerEndpoints.d.ts +4 -4
- package/dist/redux/unitV1/unitV1Endpoints.d.ts +9 -9
- package/dist/redux/userNoteV1/userNoteV1Endpoints.d.ts +10 -10
- package/package.json +1 -1
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import { EntityState } from "@reduxjs/toolkit";
|
|
2
2
|
import { CommodityV1_Entity } from "../../entities";
|
|
3
3
|
export declare const commodityV1Endpoints: import("@reduxjs/toolkit/query").Api<(args: any, api: import("@reduxjs/toolkit/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}>>, {
|
|
4
|
-
getCommoditiesV1: import("@reduxjs/toolkit/query").QueryDefinition<void | Record<string, unknown>, (args: any, api: import("@reduxjs/toolkit/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/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" | "unitsV1" | "customersAccessorials" | "notifications" | "people" | "userSubscriptions" | "contacts" | "flags" | "rateReviews" | "loadRateReviews" | "genericTenders" | "loadTenders" | "dispatches" | "summary_dispatchesV1" | "summary_consolidationsV1" | "claims" | "claimResponses" | "claimStatuses" | "billingKickbacks" | "loadBillingKickbacks" | "billingKickbackResponses" | "billingKickbackResponsesByKickbackID" | "billingKickbackResponseAccessorials" | "billingMessages" | "invoicesV1" | "invoiceLineItems" | "invoices" | "billingNotes" | "generalLedgerAccounts" | "invoiceAdjustments" | "customerBillingNotes" | "commodities" | "loadFiles" | "locationsFiles" | "apiTenders" | "customerCredit", EntityState<CommodityV1_Entity>, "salesApi">;
|
|
5
|
-
getCommodityV1: import("@reduxjs/toolkit/query").QueryDefinition<number, (args: any, api: import("@reduxjs/toolkit/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/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" | "unitsV1" | "customersAccessorials" | "notifications" | "people" | "userSubscriptions" | "contacts" | "flags" | "rateReviews" | "loadRateReviews" | "genericTenders" | "loadTenders" | "dispatches" | "summary_dispatchesV1" | "summary_consolidationsV1" | "claims" | "claimResponses" | "claimStatuses" | "billingKickbacks" | "loadBillingKickbacks" | "billingKickbackResponses" | "billingKickbackResponsesByKickbackID" | "billingKickbackResponseAccessorials" | "billingMessages" | "invoicesV1" | "invoiceLineItems" | "invoices" | "billingNotes" | "generalLedgerAccounts" | "invoiceAdjustments" | "customerBillingNotes" | "commodities" | "loadFiles" | "locationsFiles" | "apiTenders" | "customerCredit", CommodityV1_Entity, "salesApi">;
|
|
4
|
+
getCommoditiesV1: import("@reduxjs/toolkit/query").QueryDefinition<void | Record<string, unknown>, (args: any, api: import("@reduxjs/toolkit/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/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" | "unitsV1" | "customersAccessorials" | "notifications" | "people" | "userSubscriptions" | "contacts" | "flags" | "rateReviews" | "loadRateReviews" | "genericTenders" | "loadTenders" | "dispatches" | "summary_dispatchesV1" | "summary_consolidationsV1" | "claims" | "claimResponses" | "claimStatuses" | "billingKickbacks" | "loadBillingKickbacks" | "billingKickbackResponses" | "billingKickbackResponsesByKickbackID" | "billingKickbackResponseAccessorials" | "billingMessages" | "invoicesV1" | "invoiceLineItems" | "invoices" | "billingNotes" | "generalLedgerAccounts" | "invoiceAdjustments" | "customerBillingNotes" | "commodities" | "loadFiles" | "locationsFiles" | "apiTenders" | "customerCredit" | "companyLocations" | "departmentPhones" | "drivers", EntityState<CommodityV1_Entity>, "salesApi">;
|
|
5
|
+
getCommodityV1: import("@reduxjs/toolkit/query").QueryDefinition<number, (args: any, api: import("@reduxjs/toolkit/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/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" | "unitsV1" | "customersAccessorials" | "notifications" | "people" | "userSubscriptions" | "contacts" | "flags" | "rateReviews" | "loadRateReviews" | "genericTenders" | "loadTenders" | "dispatches" | "summary_dispatchesV1" | "summary_consolidationsV1" | "claims" | "claimResponses" | "claimStatuses" | "billingKickbacks" | "loadBillingKickbacks" | "billingKickbackResponses" | "billingKickbackResponsesByKickbackID" | "billingKickbackResponseAccessorials" | "billingMessages" | "invoicesV1" | "invoiceLineItems" | "invoices" | "billingNotes" | "generalLedgerAccounts" | "invoiceAdjustments" | "customerBillingNotes" | "commodities" | "loadFiles" | "locationsFiles" | "apiTenders" | "customerCredit" | "companyLocations" | "departmentPhones" | "drivers", CommodityV1_Entity, "salesApi">;
|
|
6
6
|
createCommodityV1: import("@reduxjs/toolkit/query").MutationDefinition<{
|
|
7
7
|
commodity: Partial<CommodityV1_Entity>;
|
|
8
|
-
}, (args: any, api: import("@reduxjs/toolkit/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/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" | "unitsV1" | "customersAccessorials" | "notifications" | "people" | "userSubscriptions" | "contacts" | "flags" | "rateReviews" | "loadRateReviews" | "genericTenders" | "loadTenders" | "dispatches" | "summary_dispatchesV1" | "summary_consolidationsV1" | "claims" | "claimResponses" | "claimStatuses" | "billingKickbacks" | "loadBillingKickbacks" | "billingKickbackResponses" | "billingKickbackResponsesByKickbackID" | "billingKickbackResponseAccessorials" | "billingMessages" | "invoicesV1" | "invoiceLineItems" | "invoices" | "billingNotes" | "generalLedgerAccounts" | "invoiceAdjustments" | "customerBillingNotes" | "commodities" | "loadFiles" | "locationsFiles" | "apiTenders" | "customerCredit", CommodityV1_Entity, "salesApi">;
|
|
8
|
+
}, (args: any, api: import("@reduxjs/toolkit/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/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" | "unitsV1" | "customersAccessorials" | "notifications" | "people" | "userSubscriptions" | "contacts" | "flags" | "rateReviews" | "loadRateReviews" | "genericTenders" | "loadTenders" | "dispatches" | "summary_dispatchesV1" | "summary_consolidationsV1" | "claims" | "claimResponses" | "claimStatuses" | "billingKickbacks" | "loadBillingKickbacks" | "billingKickbackResponses" | "billingKickbackResponsesByKickbackID" | "billingKickbackResponseAccessorials" | "billingMessages" | "invoicesV1" | "invoiceLineItems" | "invoices" | "billingNotes" | "generalLedgerAccounts" | "invoiceAdjustments" | "customerBillingNotes" | "commodities" | "loadFiles" | "locationsFiles" | "apiTenders" | "customerCredit" | "companyLocations" | "departmentPhones" | "drivers", CommodityV1_Entity, "salesApi">;
|
|
9
9
|
updateCommodityV1: import("@reduxjs/toolkit/query").MutationDefinition<{
|
|
10
10
|
id: number;
|
|
11
11
|
body: {
|
|
12
12
|
commodity: Partial<CommodityV1_Entity>;
|
|
13
13
|
};
|
|
14
|
-
}, (args: any, api: import("@reduxjs/toolkit/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/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" | "unitsV1" | "customersAccessorials" | "notifications" | "people" | "userSubscriptions" | "contacts" | "flags" | "rateReviews" | "loadRateReviews" | "genericTenders" | "loadTenders" | "dispatches" | "summary_dispatchesV1" | "summary_consolidationsV1" | "claims" | "claimResponses" | "claimStatuses" | "billingKickbacks" | "loadBillingKickbacks" | "billingKickbackResponses" | "billingKickbackResponsesByKickbackID" | "billingKickbackResponseAccessorials" | "billingMessages" | "invoicesV1" | "invoiceLineItems" | "invoices" | "billingNotes" | "generalLedgerAccounts" | "invoiceAdjustments" | "customerBillingNotes" | "commodities" | "loadFiles" | "locationsFiles" | "apiTenders" | "customerCredit", void, "salesApi">;
|
|
15
|
-
deleteCommodityV1: import("@reduxjs/toolkit/query").MutationDefinition<number, (args: any, api: import("@reduxjs/toolkit/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/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" | "unitsV1" | "customersAccessorials" | "notifications" | "people" | "userSubscriptions" | "contacts" | "flags" | "rateReviews" | "loadRateReviews" | "genericTenders" | "loadTenders" | "dispatches" | "summary_dispatchesV1" | "summary_consolidationsV1" | "claims" | "claimResponses" | "claimStatuses" | "billingKickbacks" | "loadBillingKickbacks" | "billingKickbackResponses" | "billingKickbackResponsesByKickbackID" | "billingKickbackResponseAccessorials" | "billingMessages" | "invoicesV1" | "invoiceLineItems" | "invoices" | "billingNotes" | "generalLedgerAccounts" | "invoiceAdjustments" | "customerBillingNotes" | "commodities" | "loadFiles" | "locationsFiles" | "apiTenders" | "customerCredit", void, "salesApi">;
|
|
16
|
-
commodityForceUncomplete: import("@reduxjs/toolkit/query").QueryDefinition<number, (args: any, api: import("@reduxjs/toolkit/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/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" | "unitsV1" | "customersAccessorials" | "notifications" | "people" | "userSubscriptions" | "contacts" | "flags" | "rateReviews" | "loadRateReviews" | "genericTenders" | "loadTenders" | "dispatches" | "summary_dispatchesV1" | "summary_consolidationsV1" | "claims" | "claimResponses" | "claimStatuses" | "billingKickbacks" | "loadBillingKickbacks" | "billingKickbackResponses" | "billingKickbackResponsesByKickbackID" | "billingKickbackResponseAccessorials" | "billingMessages" | "invoicesV1" | "invoiceLineItems" | "invoices" | "billingNotes" | "generalLedgerAccounts" | "invoiceAdjustments" | "customerBillingNotes" | "commodities" | "loadFiles" | "locationsFiles" | "apiTenders" | "customerCredit", boolean, "salesApi">;
|
|
17
|
-
}, "salesApi", "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities" | "locationsV1" | "locationsV1Accessorials" | "archerFiles" | "appointmentNotes" | "appointmentNoteTypes" | "shipconsV1" | "loadShipcons" | "appointmentIssueCategories" | "appointmentIssueSubcategories" | "personNames" | "nodeNames" | "driverNames" | "carrierNames" | "appointmentIssues" | "loadsV1" | "nmfcClasses" | "commoditiesV1" | "loadCommodities" | "loadQuoteAccessorials" | "quoteAccessorialsV1" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "userNotesV1" | "loadUserNotesV1" | "unitsV1" | "customersAccessorials" | "notifications" | "people" | "userSubscriptions" | "contacts" | "flags" | "rateReviews" | "loadRateReviews" | "genericTenders" | "loadTenders" | "dispatches" | "summary_dispatchesV1" | "summary_consolidationsV1" | "claims" | "claimResponses" | "claimStatuses" | "billingKickbacks" | "loadBillingKickbacks" | "billingKickbackResponses" | "billingKickbackResponsesByKickbackID" | "billingKickbackResponseAccessorials" | "billingMessages" | "invoicesV1" | "invoiceLineItems" | "invoices" | "billingNotes" | "generalLedgerAccounts" | "invoiceAdjustments" | "customerBillingNotes" | "commodities" | "loadFiles" | "locationsFiles" | "apiTenders" | "customerCredit", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/dist/query/react").reactHooksModuleName>;
|
|
18
|
-
export declare const useGetCommodityV1Query: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/query").QueryDefinition<number, (args: any, api: import("@reduxjs/toolkit/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/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" | "unitsV1" | "customersAccessorials" | "notifications" | "people" | "userSubscriptions" | "contacts" | "flags" | "rateReviews" | "loadRateReviews" | "genericTenders" | "loadTenders" | "dispatches" | "summary_dispatchesV1" | "summary_consolidationsV1" | "claims" | "claimResponses" | "claimStatuses" | "billingKickbacks" | "loadBillingKickbacks" | "billingKickbackResponses" | "billingKickbackResponsesByKickbackID" | "billingKickbackResponseAccessorials" | "billingMessages" | "invoicesV1" | "invoiceLineItems" | "invoices" | "billingNotes" | "generalLedgerAccounts" | "invoiceAdjustments" | "customerBillingNotes" | "commodities" | "loadFiles" | "locationsFiles" | "apiTenders" | "customerCredit", CommodityV1_Entity, "salesApi">>, useGetCommoditiesV1Query: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/query").QueryDefinition<void | Record<string, unknown>, (args: any, api: import("@reduxjs/toolkit/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/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" | "unitsV1" | "customersAccessorials" | "notifications" | "people" | "userSubscriptions" | "contacts" | "flags" | "rateReviews" | "loadRateReviews" | "genericTenders" | "loadTenders" | "dispatches" | "summary_dispatchesV1" | "summary_consolidationsV1" | "claims" | "claimResponses" | "claimStatuses" | "billingKickbacks" | "loadBillingKickbacks" | "billingKickbackResponses" | "billingKickbackResponsesByKickbackID" | "billingKickbackResponseAccessorials" | "billingMessages" | "invoicesV1" | "invoiceLineItems" | "invoices" | "billingNotes" | "generalLedgerAccounts" | "invoiceAdjustments" | "customerBillingNotes" | "commodities" | "loadFiles" | "locationsFiles" | "apiTenders" | "customerCredit", EntityState<CommodityV1_Entity>, "salesApi">>, useLazyGetCommoditiesV1Query: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseLazyQuery<import("@reduxjs/toolkit/query").QueryDefinition<void | Record<string, unknown>, (args: any, api: import("@reduxjs/toolkit/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/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" | "unitsV1" | "customersAccessorials" | "notifications" | "people" | "userSubscriptions" | "contacts" | "flags" | "rateReviews" | "loadRateReviews" | "genericTenders" | "loadTenders" | "dispatches" | "summary_dispatchesV1" | "summary_consolidationsV1" | "claims" | "claimResponses" | "claimStatuses" | "billingKickbacks" | "loadBillingKickbacks" | "billingKickbackResponses" | "billingKickbackResponsesByKickbackID" | "billingKickbackResponseAccessorials" | "billingMessages" | "invoicesV1" | "invoiceLineItems" | "invoices" | "billingNotes" | "generalLedgerAccounts" | "invoiceAdjustments" | "customerBillingNotes" | "commodities" | "loadFiles" | "locationsFiles" | "apiTenders" | "customerCredit", EntityState<CommodityV1_Entity>, "salesApi">>, useLazyGetCommodityV1Query: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseLazyQuery<import("@reduxjs/toolkit/query").QueryDefinition<number, (args: any, api: import("@reduxjs/toolkit/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/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" | "unitsV1" | "customersAccessorials" | "notifications" | "people" | "userSubscriptions" | "contacts" | "flags" | "rateReviews" | "loadRateReviews" | "genericTenders" | "loadTenders" | "dispatches" | "summary_dispatchesV1" | "summary_consolidationsV1" | "claims" | "claimResponses" | "claimStatuses" | "billingKickbacks" | "loadBillingKickbacks" | "billingKickbackResponses" | "billingKickbackResponsesByKickbackID" | "billingKickbackResponseAccessorials" | "billingMessages" | "invoicesV1" | "invoiceLineItems" | "invoices" | "billingNotes" | "generalLedgerAccounts" | "invoiceAdjustments" | "customerBillingNotes" | "commodities" | "loadFiles" | "locationsFiles" | "apiTenders" | "customerCredit", CommodityV1_Entity, "salesApi">>, useCreateCommodityV1Mutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query").MutationDefinition<{
|
|
14
|
+
}, (args: any, api: import("@reduxjs/toolkit/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/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" | "unitsV1" | "customersAccessorials" | "notifications" | "people" | "userSubscriptions" | "contacts" | "flags" | "rateReviews" | "loadRateReviews" | "genericTenders" | "loadTenders" | "dispatches" | "summary_dispatchesV1" | "summary_consolidationsV1" | "claims" | "claimResponses" | "claimStatuses" | "billingKickbacks" | "loadBillingKickbacks" | "billingKickbackResponses" | "billingKickbackResponsesByKickbackID" | "billingKickbackResponseAccessorials" | "billingMessages" | "invoicesV1" | "invoiceLineItems" | "invoices" | "billingNotes" | "generalLedgerAccounts" | "invoiceAdjustments" | "customerBillingNotes" | "commodities" | "loadFiles" | "locationsFiles" | "apiTenders" | "customerCredit" | "companyLocations" | "departmentPhones" | "drivers", void, "salesApi">;
|
|
15
|
+
deleteCommodityV1: import("@reduxjs/toolkit/query").MutationDefinition<number, (args: any, api: import("@reduxjs/toolkit/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/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" | "unitsV1" | "customersAccessorials" | "notifications" | "people" | "userSubscriptions" | "contacts" | "flags" | "rateReviews" | "loadRateReviews" | "genericTenders" | "loadTenders" | "dispatches" | "summary_dispatchesV1" | "summary_consolidationsV1" | "claims" | "claimResponses" | "claimStatuses" | "billingKickbacks" | "loadBillingKickbacks" | "billingKickbackResponses" | "billingKickbackResponsesByKickbackID" | "billingKickbackResponseAccessorials" | "billingMessages" | "invoicesV1" | "invoiceLineItems" | "invoices" | "billingNotes" | "generalLedgerAccounts" | "invoiceAdjustments" | "customerBillingNotes" | "commodities" | "loadFiles" | "locationsFiles" | "apiTenders" | "customerCredit" | "companyLocations" | "departmentPhones" | "drivers", void, "salesApi">;
|
|
16
|
+
commodityForceUncomplete: import("@reduxjs/toolkit/query").QueryDefinition<number, (args: any, api: import("@reduxjs/toolkit/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/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" | "unitsV1" | "customersAccessorials" | "notifications" | "people" | "userSubscriptions" | "contacts" | "flags" | "rateReviews" | "loadRateReviews" | "genericTenders" | "loadTenders" | "dispatches" | "summary_dispatchesV1" | "summary_consolidationsV1" | "claims" | "claimResponses" | "claimStatuses" | "billingKickbacks" | "loadBillingKickbacks" | "billingKickbackResponses" | "billingKickbackResponsesByKickbackID" | "billingKickbackResponseAccessorials" | "billingMessages" | "invoicesV1" | "invoiceLineItems" | "invoices" | "billingNotes" | "generalLedgerAccounts" | "invoiceAdjustments" | "customerBillingNotes" | "commodities" | "loadFiles" | "locationsFiles" | "apiTenders" | "customerCredit" | "companyLocations" | "departmentPhones" | "drivers", boolean, "salesApi">;
|
|
17
|
+
}, "salesApi", "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities" | "locationsV1" | "locationsV1Accessorials" | "archerFiles" | "appointmentNotes" | "appointmentNoteTypes" | "shipconsV1" | "loadShipcons" | "appointmentIssueCategories" | "appointmentIssueSubcategories" | "personNames" | "nodeNames" | "driverNames" | "carrierNames" | "appointmentIssues" | "loadsV1" | "nmfcClasses" | "commoditiesV1" | "loadCommodities" | "loadQuoteAccessorials" | "quoteAccessorialsV1" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "userNotesV1" | "loadUserNotesV1" | "unitsV1" | "customersAccessorials" | "notifications" | "people" | "userSubscriptions" | "contacts" | "flags" | "rateReviews" | "loadRateReviews" | "genericTenders" | "loadTenders" | "dispatches" | "summary_dispatchesV1" | "summary_consolidationsV1" | "claims" | "claimResponses" | "claimStatuses" | "billingKickbacks" | "loadBillingKickbacks" | "billingKickbackResponses" | "billingKickbackResponsesByKickbackID" | "billingKickbackResponseAccessorials" | "billingMessages" | "invoicesV1" | "invoiceLineItems" | "invoices" | "billingNotes" | "generalLedgerAccounts" | "invoiceAdjustments" | "customerBillingNotes" | "commodities" | "loadFiles" | "locationsFiles" | "apiTenders" | "customerCredit" | "companyLocations" | "departmentPhones" | "drivers", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/dist/query/react").reactHooksModuleName>;
|
|
18
|
+
export declare const useGetCommodityV1Query: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/query").QueryDefinition<number, (args: any, api: import("@reduxjs/toolkit/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/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" | "unitsV1" | "customersAccessorials" | "notifications" | "people" | "userSubscriptions" | "contacts" | "flags" | "rateReviews" | "loadRateReviews" | "genericTenders" | "loadTenders" | "dispatches" | "summary_dispatchesV1" | "summary_consolidationsV1" | "claims" | "claimResponses" | "claimStatuses" | "billingKickbacks" | "loadBillingKickbacks" | "billingKickbackResponses" | "billingKickbackResponsesByKickbackID" | "billingKickbackResponseAccessorials" | "billingMessages" | "invoicesV1" | "invoiceLineItems" | "invoices" | "billingNotes" | "generalLedgerAccounts" | "invoiceAdjustments" | "customerBillingNotes" | "commodities" | "loadFiles" | "locationsFiles" | "apiTenders" | "customerCredit" | "companyLocations" | "departmentPhones" | "drivers", CommodityV1_Entity, "salesApi">>, useGetCommoditiesV1Query: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/query").QueryDefinition<void | Record<string, unknown>, (args: any, api: import("@reduxjs/toolkit/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/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" | "unitsV1" | "customersAccessorials" | "notifications" | "people" | "userSubscriptions" | "contacts" | "flags" | "rateReviews" | "loadRateReviews" | "genericTenders" | "loadTenders" | "dispatches" | "summary_dispatchesV1" | "summary_consolidationsV1" | "claims" | "claimResponses" | "claimStatuses" | "billingKickbacks" | "loadBillingKickbacks" | "billingKickbackResponses" | "billingKickbackResponsesByKickbackID" | "billingKickbackResponseAccessorials" | "billingMessages" | "invoicesV1" | "invoiceLineItems" | "invoices" | "billingNotes" | "generalLedgerAccounts" | "invoiceAdjustments" | "customerBillingNotes" | "commodities" | "loadFiles" | "locationsFiles" | "apiTenders" | "customerCredit" | "companyLocations" | "departmentPhones" | "drivers", EntityState<CommodityV1_Entity>, "salesApi">>, useLazyGetCommoditiesV1Query: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseLazyQuery<import("@reduxjs/toolkit/query").QueryDefinition<void | Record<string, unknown>, (args: any, api: import("@reduxjs/toolkit/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/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" | "unitsV1" | "customersAccessorials" | "notifications" | "people" | "userSubscriptions" | "contacts" | "flags" | "rateReviews" | "loadRateReviews" | "genericTenders" | "loadTenders" | "dispatches" | "summary_dispatchesV1" | "summary_consolidationsV1" | "claims" | "claimResponses" | "claimStatuses" | "billingKickbacks" | "loadBillingKickbacks" | "billingKickbackResponses" | "billingKickbackResponsesByKickbackID" | "billingKickbackResponseAccessorials" | "billingMessages" | "invoicesV1" | "invoiceLineItems" | "invoices" | "billingNotes" | "generalLedgerAccounts" | "invoiceAdjustments" | "customerBillingNotes" | "commodities" | "loadFiles" | "locationsFiles" | "apiTenders" | "customerCredit" | "companyLocations" | "departmentPhones" | "drivers", EntityState<CommodityV1_Entity>, "salesApi">>, useLazyGetCommodityV1Query: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseLazyQuery<import("@reduxjs/toolkit/query").QueryDefinition<number, (args: any, api: import("@reduxjs/toolkit/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/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" | "unitsV1" | "customersAccessorials" | "notifications" | "people" | "userSubscriptions" | "contacts" | "flags" | "rateReviews" | "loadRateReviews" | "genericTenders" | "loadTenders" | "dispatches" | "summary_dispatchesV1" | "summary_consolidationsV1" | "claims" | "claimResponses" | "claimStatuses" | "billingKickbacks" | "loadBillingKickbacks" | "billingKickbackResponses" | "billingKickbackResponsesByKickbackID" | "billingKickbackResponseAccessorials" | "billingMessages" | "invoicesV1" | "invoiceLineItems" | "invoices" | "billingNotes" | "generalLedgerAccounts" | "invoiceAdjustments" | "customerBillingNotes" | "commodities" | "loadFiles" | "locationsFiles" | "apiTenders" | "customerCredit" | "companyLocations" | "departmentPhones" | "drivers", CommodityV1_Entity, "salesApi">>, useCreateCommodityV1Mutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query").MutationDefinition<{
|
|
19
19
|
commodity: Partial<CommodityV1_Entity>;
|
|
20
|
-
}, (args: any, api: import("@reduxjs/toolkit/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/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" | "unitsV1" | "customersAccessorials" | "notifications" | "people" | "userSubscriptions" | "contacts" | "flags" | "rateReviews" | "loadRateReviews" | "genericTenders" | "loadTenders" | "dispatches" | "summary_dispatchesV1" | "summary_consolidationsV1" | "claims" | "claimResponses" | "claimStatuses" | "billingKickbacks" | "loadBillingKickbacks" | "billingKickbackResponses" | "billingKickbackResponsesByKickbackID" | "billingKickbackResponseAccessorials" | "billingMessages" | "invoicesV1" | "invoiceLineItems" | "invoices" | "billingNotes" | "generalLedgerAccounts" | "invoiceAdjustments" | "customerBillingNotes" | "commodities" | "loadFiles" | "locationsFiles" | "apiTenders" | "customerCredit", CommodityV1_Entity, "salesApi">>, useDeleteCommodityV1Mutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query").MutationDefinition<number, (args: any, api: import("@reduxjs/toolkit/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/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" | "unitsV1" | "customersAccessorials" | "notifications" | "people" | "userSubscriptions" | "contacts" | "flags" | "rateReviews" | "loadRateReviews" | "genericTenders" | "loadTenders" | "dispatches" | "summary_dispatchesV1" | "summary_consolidationsV1" | "claims" | "claimResponses" | "claimStatuses" | "billingKickbacks" | "loadBillingKickbacks" | "billingKickbackResponses" | "billingKickbackResponsesByKickbackID" | "billingKickbackResponseAccessorials" | "billingMessages" | "invoicesV1" | "invoiceLineItems" | "invoices" | "billingNotes" | "generalLedgerAccounts" | "invoiceAdjustments" | "customerBillingNotes" | "commodities" | "loadFiles" | "locationsFiles" | "apiTenders" | "customerCredit", void, "salesApi">>, useUpdateCommodityV1Mutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query").MutationDefinition<{
|
|
20
|
+
}, (args: any, api: import("@reduxjs/toolkit/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/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" | "unitsV1" | "customersAccessorials" | "notifications" | "people" | "userSubscriptions" | "contacts" | "flags" | "rateReviews" | "loadRateReviews" | "genericTenders" | "loadTenders" | "dispatches" | "summary_dispatchesV1" | "summary_consolidationsV1" | "claims" | "claimResponses" | "claimStatuses" | "billingKickbacks" | "loadBillingKickbacks" | "billingKickbackResponses" | "billingKickbackResponsesByKickbackID" | "billingKickbackResponseAccessorials" | "billingMessages" | "invoicesV1" | "invoiceLineItems" | "invoices" | "billingNotes" | "generalLedgerAccounts" | "invoiceAdjustments" | "customerBillingNotes" | "commodities" | "loadFiles" | "locationsFiles" | "apiTenders" | "customerCredit" | "companyLocations" | "departmentPhones" | "drivers", CommodityV1_Entity, "salesApi">>, useDeleteCommodityV1Mutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query").MutationDefinition<number, (args: any, api: import("@reduxjs/toolkit/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/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" | "unitsV1" | "customersAccessorials" | "notifications" | "people" | "userSubscriptions" | "contacts" | "flags" | "rateReviews" | "loadRateReviews" | "genericTenders" | "loadTenders" | "dispatches" | "summary_dispatchesV1" | "summary_consolidationsV1" | "claims" | "claimResponses" | "claimStatuses" | "billingKickbacks" | "loadBillingKickbacks" | "billingKickbackResponses" | "billingKickbackResponsesByKickbackID" | "billingKickbackResponseAccessorials" | "billingMessages" | "invoicesV1" | "invoiceLineItems" | "invoices" | "billingNotes" | "generalLedgerAccounts" | "invoiceAdjustments" | "customerBillingNotes" | "commodities" | "loadFiles" | "locationsFiles" | "apiTenders" | "customerCredit" | "companyLocations" | "departmentPhones" | "drivers", void, "salesApi">>, useUpdateCommodityV1Mutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query").MutationDefinition<{
|
|
21
21
|
id: number;
|
|
22
22
|
body: {
|
|
23
23
|
commodity: Partial<CommodityV1_Entity>;
|
|
24
24
|
};
|
|
25
|
-
}, (args: any, api: import("@reduxjs/toolkit/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/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" | "unitsV1" | "customersAccessorials" | "notifications" | "people" | "userSubscriptions" | "contacts" | "flags" | "rateReviews" | "loadRateReviews" | "genericTenders" | "loadTenders" | "dispatches" | "summary_dispatchesV1" | "summary_consolidationsV1" | "claims" | "claimResponses" | "claimStatuses" | "billingKickbacks" | "loadBillingKickbacks" | "billingKickbackResponses" | "billingKickbackResponsesByKickbackID" | "billingKickbackResponseAccessorials" | "billingMessages" | "invoicesV1" | "invoiceLineItems" | "invoices" | "billingNotes" | "generalLedgerAccounts" | "invoiceAdjustments" | "customerBillingNotes" | "commodities" | "loadFiles" | "locationsFiles" | "apiTenders" | "customerCredit", void, "salesApi">>, useCommodityForceUncompleteQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/query").QueryDefinition<number, (args: any, api: import("@reduxjs/toolkit/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/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" | "unitsV1" | "customersAccessorials" | "notifications" | "people" | "userSubscriptions" | "contacts" | "flags" | "rateReviews" | "loadRateReviews" | "genericTenders" | "loadTenders" | "dispatches" | "summary_dispatchesV1" | "summary_consolidationsV1" | "claims" | "claimResponses" | "claimStatuses" | "billingKickbacks" | "loadBillingKickbacks" | "billingKickbackResponses" | "billingKickbackResponsesByKickbackID" | "billingKickbackResponseAccessorials" | "billingMessages" | "invoicesV1" | "invoiceLineItems" | "invoices" | "billingNotes" | "generalLedgerAccounts" | "invoiceAdjustments" | "customerBillingNotes" | "commodities" | "loadFiles" | "locationsFiles" | "apiTenders" | "customerCredit", boolean, "salesApi">>, useLazyCommodityForceUncompleteQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseLazyQuery<import("@reduxjs/toolkit/query").QueryDefinition<number, (args: any, api: import("@reduxjs/toolkit/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/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" | "unitsV1" | "customersAccessorials" | "notifications" | "people" | "userSubscriptions" | "contacts" | "flags" | "rateReviews" | "loadRateReviews" | "genericTenders" | "loadTenders" | "dispatches" | "summary_dispatchesV1" | "summary_consolidationsV1" | "claims" | "claimResponses" | "claimStatuses" | "billingKickbacks" | "loadBillingKickbacks" | "billingKickbackResponses" | "billingKickbackResponsesByKickbackID" | "billingKickbackResponseAccessorials" | "billingMessages" | "invoicesV1" | "invoiceLineItems" | "invoices" | "billingNotes" | "generalLedgerAccounts" | "invoiceAdjustments" | "customerBillingNotes" | "commodities" | "loadFiles" | "locationsFiles" | "apiTenders" | "customerCredit", boolean, "salesApi">>;
|
|
25
|
+
}, (args: any, api: import("@reduxjs/toolkit/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/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" | "unitsV1" | "customersAccessorials" | "notifications" | "people" | "userSubscriptions" | "contacts" | "flags" | "rateReviews" | "loadRateReviews" | "genericTenders" | "loadTenders" | "dispatches" | "summary_dispatchesV1" | "summary_consolidationsV1" | "claims" | "claimResponses" | "claimStatuses" | "billingKickbacks" | "loadBillingKickbacks" | "billingKickbackResponses" | "billingKickbackResponsesByKickbackID" | "billingKickbackResponseAccessorials" | "billingMessages" | "invoicesV1" | "invoiceLineItems" | "invoices" | "billingNotes" | "generalLedgerAccounts" | "invoiceAdjustments" | "customerBillingNotes" | "commodities" | "loadFiles" | "locationsFiles" | "apiTenders" | "customerCredit" | "companyLocations" | "departmentPhones" | "drivers", void, "salesApi">>, useCommodityForceUncompleteQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/query").QueryDefinition<number, (args: any, api: import("@reduxjs/toolkit/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/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" | "unitsV1" | "customersAccessorials" | "notifications" | "people" | "userSubscriptions" | "contacts" | "flags" | "rateReviews" | "loadRateReviews" | "genericTenders" | "loadTenders" | "dispatches" | "summary_dispatchesV1" | "summary_consolidationsV1" | "claims" | "claimResponses" | "claimStatuses" | "billingKickbacks" | "loadBillingKickbacks" | "billingKickbackResponses" | "billingKickbackResponsesByKickbackID" | "billingKickbackResponseAccessorials" | "billingMessages" | "invoicesV1" | "invoiceLineItems" | "invoices" | "billingNotes" | "generalLedgerAccounts" | "invoiceAdjustments" | "customerBillingNotes" | "commodities" | "loadFiles" | "locationsFiles" | "apiTenders" | "customerCredit" | "companyLocations" | "departmentPhones" | "drivers", boolean, "salesApi">>, useLazyCommodityForceUncompleteQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseLazyQuery<import("@reduxjs/toolkit/query").QueryDefinition<number, (args: any, api: import("@reduxjs/toolkit/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/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" | "unitsV1" | "customersAccessorials" | "notifications" | "people" | "userSubscriptions" | "contacts" | "flags" | "rateReviews" | "loadRateReviews" | "genericTenders" | "loadTenders" | "dispatches" | "summary_dispatchesV1" | "summary_consolidationsV1" | "claims" | "claimResponses" | "claimStatuses" | "billingKickbacks" | "loadBillingKickbacks" | "billingKickbackResponses" | "billingKickbackResponsesByKickbackID" | "billingKickbackResponseAccessorials" | "billingMessages" | "invoicesV1" | "invoiceLineItems" | "invoices" | "billingNotes" | "generalLedgerAccounts" | "invoiceAdjustments" | "customerBillingNotes" | "commodities" | "loadFiles" | "locationsFiles" | "apiTenders" | "customerCredit" | "companyLocations" | "departmentPhones" | "drivers", boolean, "salesApi">>;
|
|
26
26
|
export default commodityV1Endpoints;
|
|
27
27
|
export declare const getCommoditiesV1Selectors: (params: Record<string, unknown> | void) => import("@reduxjs/toolkit").EntitySelectors<CommodityV1_Entity, {
|
|
28
|
-
salesApi: import("@reduxjs/toolkit/query").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" | "unitsV1" | "customersAccessorials" | "notifications" | "people" | "userSubscriptions" | "contacts" | "flags" | "rateReviews" | "loadRateReviews" | "genericTenders" | "loadTenders" | "dispatches" | "summary_dispatchesV1" | "summary_consolidationsV1" | "claims" | "claimResponses" | "claimStatuses" | "billingKickbacks" | "loadBillingKickbacks" | "billingKickbackResponses" | "billingKickbackResponsesByKickbackID" | "billingKickbackResponseAccessorials" | "billingMessages" | "invoicesV1" | "invoiceLineItems" | "invoices" | "billingNotes" | "generalLedgerAccounts" | "invoiceAdjustments" | "customerBillingNotes" | "commodities" | "loadFiles" | "locationsFiles" | "apiTenders" | "customerCredit", "salesApi">;
|
|
28
|
+
salesApi: import("@reduxjs/toolkit/query").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" | "unitsV1" | "customersAccessorials" | "notifications" | "people" | "userSubscriptions" | "contacts" | "flags" | "rateReviews" | "loadRateReviews" | "genericTenders" | "loadTenders" | "dispatches" | "summary_dispatchesV1" | "summary_consolidationsV1" | "claims" | "claimResponses" | "claimStatuses" | "billingKickbacks" | "loadBillingKickbacks" | "billingKickbackResponses" | "billingKickbackResponsesByKickbackID" | "billingKickbackResponseAccessorials" | "billingMessages" | "invoicesV1" | "invoiceLineItems" | "invoices" | "billingNotes" | "generalLedgerAccounts" | "invoiceAdjustments" | "customerBillingNotes" | "commodities" | "loadFiles" | "locationsFiles" | "apiTenders" | "customerCredit" | "companyLocations" | "departmentPhones" | "drivers", "salesApi">;
|
|
29
29
|
salesKitState: import("redux").CombinedState<{
|
|
30
30
|
quote: import("..").QuoteState;
|
|
31
31
|
tender: import("../tender/tenderSlice").TenderState;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { EntityState } from "@reduxjs/toolkit";
|
|
2
|
+
import { CompanyLocation_Entity } from "../../entities";
|
|
3
|
+
export declare const companyLocationEndpoints: import("@reduxjs/toolkit/query").Api<(args: any, api: import("@reduxjs/toolkit/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}>>, {
|
|
4
|
+
getCompanyLocations: import("@reduxjs/toolkit/query").QueryDefinition<void | Record<string, unknown>, (args: any, api: import("@reduxjs/toolkit/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/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" | "unitsV1" | "customersAccessorials" | "notifications" | "people" | "userSubscriptions" | "contacts" | "flags" | "rateReviews" | "loadRateReviews" | "genericTenders" | "loadTenders" | "dispatches" | "summary_dispatchesV1" | "summary_consolidationsV1" | "claims" | "claimResponses" | "claimStatuses" | "billingKickbacks" | "loadBillingKickbacks" | "billingKickbackResponses" | "billingKickbackResponsesByKickbackID" | "billingKickbackResponseAccessorials" | "billingMessages" | "invoicesV1" | "invoiceLineItems" | "invoices" | "billingNotes" | "generalLedgerAccounts" | "invoiceAdjustments" | "customerBillingNotes" | "commodities" | "loadFiles" | "locationsFiles" | "apiTenders" | "customerCredit" | "companyLocations" | "departmentPhones" | "drivers", EntityState<CompanyLocation_Entity>, "salesApi">;
|
|
5
|
+
getCompanyLocation: import("@reduxjs/toolkit/query").QueryDefinition<number, (args: any, api: import("@reduxjs/toolkit/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/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" | "unitsV1" | "customersAccessorials" | "notifications" | "people" | "userSubscriptions" | "contacts" | "flags" | "rateReviews" | "loadRateReviews" | "genericTenders" | "loadTenders" | "dispatches" | "summary_dispatchesV1" | "summary_consolidationsV1" | "claims" | "claimResponses" | "claimStatuses" | "billingKickbacks" | "loadBillingKickbacks" | "billingKickbackResponses" | "billingKickbackResponsesByKickbackID" | "billingKickbackResponseAccessorials" | "billingMessages" | "invoicesV1" | "invoiceLineItems" | "invoices" | "billingNotes" | "generalLedgerAccounts" | "invoiceAdjustments" | "customerBillingNotes" | "commodities" | "loadFiles" | "locationsFiles" | "apiTenders" | "customerCredit" | "companyLocations" | "departmentPhones" | "drivers", CompanyLocation_Entity, "salesApi">;
|
|
6
|
+
createCompanyLocation: import("@reduxjs/toolkit/query").MutationDefinition<{
|
|
7
|
+
companylocation: Partial<CompanyLocation_Entity>;
|
|
8
|
+
}, (args: any, api: import("@reduxjs/toolkit/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/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" | "unitsV1" | "customersAccessorials" | "notifications" | "people" | "userSubscriptions" | "contacts" | "flags" | "rateReviews" | "loadRateReviews" | "genericTenders" | "loadTenders" | "dispatches" | "summary_dispatchesV1" | "summary_consolidationsV1" | "claims" | "claimResponses" | "claimStatuses" | "billingKickbacks" | "loadBillingKickbacks" | "billingKickbackResponses" | "billingKickbackResponsesByKickbackID" | "billingKickbackResponseAccessorials" | "billingMessages" | "invoicesV1" | "invoiceLineItems" | "invoices" | "billingNotes" | "generalLedgerAccounts" | "invoiceAdjustments" | "customerBillingNotes" | "commodities" | "loadFiles" | "locationsFiles" | "apiTenders" | "customerCredit" | "companyLocations" | "departmentPhones" | "drivers", CompanyLocation_Entity, "salesApi">;
|
|
9
|
+
updateCompanyLocation: import("@reduxjs/toolkit/query").MutationDefinition<{
|
|
10
|
+
id: number;
|
|
11
|
+
body: {
|
|
12
|
+
companylocation: Partial<CompanyLocation_Entity>;
|
|
13
|
+
};
|
|
14
|
+
}, (args: any, api: import("@reduxjs/toolkit/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/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" | "unitsV1" | "customersAccessorials" | "notifications" | "people" | "userSubscriptions" | "contacts" | "flags" | "rateReviews" | "loadRateReviews" | "genericTenders" | "loadTenders" | "dispatches" | "summary_dispatchesV1" | "summary_consolidationsV1" | "claims" | "claimResponses" | "claimStatuses" | "billingKickbacks" | "loadBillingKickbacks" | "billingKickbackResponses" | "billingKickbackResponsesByKickbackID" | "billingKickbackResponseAccessorials" | "billingMessages" | "invoicesV1" | "invoiceLineItems" | "invoices" | "billingNotes" | "generalLedgerAccounts" | "invoiceAdjustments" | "customerBillingNotes" | "commodities" | "loadFiles" | "locationsFiles" | "apiTenders" | "customerCredit" | "companyLocations" | "departmentPhones" | "drivers", void, "salesApi">;
|
|
15
|
+
deleteCompanyLocation: import("@reduxjs/toolkit/query").MutationDefinition<number, (args: any, api: import("@reduxjs/toolkit/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/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" | "unitsV1" | "customersAccessorials" | "notifications" | "people" | "userSubscriptions" | "contacts" | "flags" | "rateReviews" | "loadRateReviews" | "genericTenders" | "loadTenders" | "dispatches" | "summary_dispatchesV1" | "summary_consolidationsV1" | "claims" | "claimResponses" | "claimStatuses" | "billingKickbacks" | "loadBillingKickbacks" | "billingKickbackResponses" | "billingKickbackResponsesByKickbackID" | "billingKickbackResponseAccessorials" | "billingMessages" | "invoicesV1" | "invoiceLineItems" | "invoices" | "billingNotes" | "generalLedgerAccounts" | "invoiceAdjustments" | "customerBillingNotes" | "commodities" | "loadFiles" | "locationsFiles" | "apiTenders" | "customerCredit" | "companyLocations" | "departmentPhones" | "drivers", void, "salesApi">;
|
|
16
|
+
}, "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" | "unitsV1" | "customersAccessorials" | "notifications" | "people" | "userSubscriptions" | "contacts" | "flags" | "rateReviews" | "loadRateReviews" | "genericTenders" | "loadTenders" | "dispatches" | "summary_dispatchesV1" | "summary_consolidationsV1" | "claims" | "claimResponses" | "claimStatuses" | "billingKickbacks" | "loadBillingKickbacks" | "billingKickbackResponses" | "billingKickbackResponsesByKickbackID" | "billingKickbackResponseAccessorials" | "billingMessages" | "invoicesV1" | "invoiceLineItems" | "invoices" | "billingNotes" | "generalLedgerAccounts" | "invoiceAdjustments" | "customerBillingNotes" | "commodities" | "loadFiles" | "locationsFiles" | "apiTenders" | "customerCredit" | "companyLocations" | "departmentPhones" | "drivers", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/dist/query/react").reactHooksModuleName>;
|
|
17
|
+
export declare const useGetCompanyLocationQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/query").QueryDefinition<number, (args: any, api: import("@reduxjs/toolkit/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/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" | "unitsV1" | "customersAccessorials" | "notifications" | "people" | "userSubscriptions" | "contacts" | "flags" | "rateReviews" | "loadRateReviews" | "genericTenders" | "loadTenders" | "dispatches" | "summary_dispatchesV1" | "summary_consolidationsV1" | "claims" | "claimResponses" | "claimStatuses" | "billingKickbacks" | "loadBillingKickbacks" | "billingKickbackResponses" | "billingKickbackResponsesByKickbackID" | "billingKickbackResponseAccessorials" | "billingMessages" | "invoicesV1" | "invoiceLineItems" | "invoices" | "billingNotes" | "generalLedgerAccounts" | "invoiceAdjustments" | "customerBillingNotes" | "commodities" | "loadFiles" | "locationsFiles" | "apiTenders" | "customerCredit" | "companyLocations" | "departmentPhones" | "drivers", CompanyLocation_Entity, "salesApi">>, useGetCompanyLocationsQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/query").QueryDefinition<void | Record<string, unknown>, (args: any, api: import("@reduxjs/toolkit/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/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" | "unitsV1" | "customersAccessorials" | "notifications" | "people" | "userSubscriptions" | "contacts" | "flags" | "rateReviews" | "loadRateReviews" | "genericTenders" | "loadTenders" | "dispatches" | "summary_dispatchesV1" | "summary_consolidationsV1" | "claims" | "claimResponses" | "claimStatuses" | "billingKickbacks" | "loadBillingKickbacks" | "billingKickbackResponses" | "billingKickbackResponsesByKickbackID" | "billingKickbackResponseAccessorials" | "billingMessages" | "invoicesV1" | "invoiceLineItems" | "invoices" | "billingNotes" | "generalLedgerAccounts" | "invoiceAdjustments" | "customerBillingNotes" | "commodities" | "loadFiles" | "locationsFiles" | "apiTenders" | "customerCredit" | "companyLocations" | "departmentPhones" | "drivers", EntityState<CompanyLocation_Entity>, "salesApi">>, useLazyGetCompanyLocationsQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseLazyQuery<import("@reduxjs/toolkit/query").QueryDefinition<void | Record<string, unknown>, (args: any, api: import("@reduxjs/toolkit/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/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" | "unitsV1" | "customersAccessorials" | "notifications" | "people" | "userSubscriptions" | "contacts" | "flags" | "rateReviews" | "loadRateReviews" | "genericTenders" | "loadTenders" | "dispatches" | "summary_dispatchesV1" | "summary_consolidationsV1" | "claims" | "claimResponses" | "claimStatuses" | "billingKickbacks" | "loadBillingKickbacks" | "billingKickbackResponses" | "billingKickbackResponsesByKickbackID" | "billingKickbackResponseAccessorials" | "billingMessages" | "invoicesV1" | "invoiceLineItems" | "invoices" | "billingNotes" | "generalLedgerAccounts" | "invoiceAdjustments" | "customerBillingNotes" | "commodities" | "loadFiles" | "locationsFiles" | "apiTenders" | "customerCredit" | "companyLocations" | "departmentPhones" | "drivers", EntityState<CompanyLocation_Entity>, "salesApi">>, useLazyGetCompanyLocationQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseLazyQuery<import("@reduxjs/toolkit/query").QueryDefinition<number, (args: any, api: import("@reduxjs/toolkit/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/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" | "unitsV1" | "customersAccessorials" | "notifications" | "people" | "userSubscriptions" | "contacts" | "flags" | "rateReviews" | "loadRateReviews" | "genericTenders" | "loadTenders" | "dispatches" | "summary_dispatchesV1" | "summary_consolidationsV1" | "claims" | "claimResponses" | "claimStatuses" | "billingKickbacks" | "loadBillingKickbacks" | "billingKickbackResponses" | "billingKickbackResponsesByKickbackID" | "billingKickbackResponseAccessorials" | "billingMessages" | "invoicesV1" | "invoiceLineItems" | "invoices" | "billingNotes" | "generalLedgerAccounts" | "invoiceAdjustments" | "customerBillingNotes" | "commodities" | "loadFiles" | "locationsFiles" | "apiTenders" | "customerCredit" | "companyLocations" | "departmentPhones" | "drivers", CompanyLocation_Entity, "salesApi">>, useCreateCompanyLocationMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query").MutationDefinition<{
|
|
18
|
+
companylocation: Partial<CompanyLocation_Entity>;
|
|
19
|
+
}, (args: any, api: import("@reduxjs/toolkit/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/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" | "unitsV1" | "customersAccessorials" | "notifications" | "people" | "userSubscriptions" | "contacts" | "flags" | "rateReviews" | "loadRateReviews" | "genericTenders" | "loadTenders" | "dispatches" | "summary_dispatchesV1" | "summary_consolidationsV1" | "claims" | "claimResponses" | "claimStatuses" | "billingKickbacks" | "loadBillingKickbacks" | "billingKickbackResponses" | "billingKickbackResponsesByKickbackID" | "billingKickbackResponseAccessorials" | "billingMessages" | "invoicesV1" | "invoiceLineItems" | "invoices" | "billingNotes" | "generalLedgerAccounts" | "invoiceAdjustments" | "customerBillingNotes" | "commodities" | "loadFiles" | "locationsFiles" | "apiTenders" | "customerCredit" | "companyLocations" | "departmentPhones" | "drivers", CompanyLocation_Entity, "salesApi">>, useDeleteCompanyLocationMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query").MutationDefinition<number, (args: any, api: import("@reduxjs/toolkit/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/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" | "unitsV1" | "customersAccessorials" | "notifications" | "people" | "userSubscriptions" | "contacts" | "flags" | "rateReviews" | "loadRateReviews" | "genericTenders" | "loadTenders" | "dispatches" | "summary_dispatchesV1" | "summary_consolidationsV1" | "claims" | "claimResponses" | "claimStatuses" | "billingKickbacks" | "loadBillingKickbacks" | "billingKickbackResponses" | "billingKickbackResponsesByKickbackID" | "billingKickbackResponseAccessorials" | "billingMessages" | "invoicesV1" | "invoiceLineItems" | "invoices" | "billingNotes" | "generalLedgerAccounts" | "invoiceAdjustments" | "customerBillingNotes" | "commodities" | "loadFiles" | "locationsFiles" | "apiTenders" | "customerCredit" | "companyLocations" | "departmentPhones" | "drivers", void, "salesApi">>, useUpdateCompanyLocationMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query").MutationDefinition<{
|
|
20
|
+
id: number;
|
|
21
|
+
body: {
|
|
22
|
+
companylocation: Partial<CompanyLocation_Entity>;
|
|
23
|
+
};
|
|
24
|
+
}, (args: any, api: import("@reduxjs/toolkit/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/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" | "unitsV1" | "customersAccessorials" | "notifications" | "people" | "userSubscriptions" | "contacts" | "flags" | "rateReviews" | "loadRateReviews" | "genericTenders" | "loadTenders" | "dispatches" | "summary_dispatchesV1" | "summary_consolidationsV1" | "claims" | "claimResponses" | "claimStatuses" | "billingKickbacks" | "loadBillingKickbacks" | "billingKickbackResponses" | "billingKickbackResponsesByKickbackID" | "billingKickbackResponseAccessorials" | "billingMessages" | "invoicesV1" | "invoiceLineItems" | "invoices" | "billingNotes" | "generalLedgerAccounts" | "invoiceAdjustments" | "customerBillingNotes" | "commodities" | "loadFiles" | "locationsFiles" | "apiTenders" | "customerCredit" | "companyLocations" | "departmentPhones" | "drivers", void, "salesApi">>;
|
|
25
|
+
export default companyLocationEndpoints;
|
|
26
|
+
export declare const getCompanyLocationsSelectors: (params: Record<string, unknown> | void) => import("@reduxjs/toolkit").EntitySelectors<CompanyLocation_Entity, {
|
|
27
|
+
salesApi: import("@reduxjs/toolkit/query").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" | "unitsV1" | "customersAccessorials" | "notifications" | "people" | "userSubscriptions" | "contacts" | "flags" | "rateReviews" | "loadRateReviews" | "genericTenders" | "loadTenders" | "dispatches" | "summary_dispatchesV1" | "summary_consolidationsV1" | "claims" | "claimResponses" | "claimStatuses" | "billingKickbacks" | "loadBillingKickbacks" | "billingKickbackResponses" | "billingKickbackResponsesByKickbackID" | "billingKickbackResponseAccessorials" | "billingMessages" | "invoicesV1" | "invoiceLineItems" | "invoices" | "billingNotes" | "generalLedgerAccounts" | "invoiceAdjustments" | "customerBillingNotes" | "commodities" | "loadFiles" | "locationsFiles" | "apiTenders" | "customerCredit" | "companyLocations" | "departmentPhones" | "drivers", "salesApi">;
|
|
28
|
+
salesKitState: import("redux").CombinedState<{
|
|
29
|
+
quote: import("..").QuoteState;
|
|
30
|
+
tender: import("../tender/tenderSlice").TenderState;
|
|
31
|
+
}>;
|
|
32
|
+
}>;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { createEntityAdapter, createSelector, } from "@reduxjs/toolkit";
|
|
2
|
+
import { salesApi } from "../api/salesApi";
|
|
3
|
+
const companyLocationsAdapter = createEntityAdapter();
|
|
4
|
+
const companyLocationsInitialState = companyLocationsAdapter.getInitialState();
|
|
5
|
+
export const companyLocationEndpoints = salesApi.injectEndpoints({
|
|
6
|
+
endpoints: (build) => ({
|
|
7
|
+
getCompanyLocations: build.query({
|
|
8
|
+
query: (args) => {
|
|
9
|
+
return {
|
|
10
|
+
url: `company_locations`,
|
|
11
|
+
params: args,
|
|
12
|
+
routePrefix: "/v1",
|
|
13
|
+
};
|
|
14
|
+
},
|
|
15
|
+
transformResponse: (responseData) => {
|
|
16
|
+
return companyLocationsAdapter.setAll(companyLocationsInitialState, responseData);
|
|
17
|
+
},
|
|
18
|
+
providesTags: ["companyLocations"],
|
|
19
|
+
}),
|
|
20
|
+
getCompanyLocation: build.query({
|
|
21
|
+
query: (id) => ({ url: `company_locations/${id}`, routePrefix: "/v1" }),
|
|
22
|
+
providesTags: (_result, _error, id) => [{ type: "companyLocations", id }],
|
|
23
|
+
}),
|
|
24
|
+
createCompanyLocation: build.mutation({
|
|
25
|
+
query: (body) => ({
|
|
26
|
+
method: "POST",
|
|
27
|
+
body,
|
|
28
|
+
url: `company_locations`,
|
|
29
|
+
routePrefix: "/v1",
|
|
30
|
+
}),
|
|
31
|
+
invalidatesTags: ["companyLocations"],
|
|
32
|
+
}),
|
|
33
|
+
updateCompanyLocation: build.mutation({
|
|
34
|
+
query: (args) => ({
|
|
35
|
+
method: "PUT",
|
|
36
|
+
body: args.body,
|
|
37
|
+
url: `company_locations/${args.id}`,
|
|
38
|
+
routePrefix: "/v1",
|
|
39
|
+
}),
|
|
40
|
+
invalidatesTags: (_result, _error, { id }) => [
|
|
41
|
+
{ type: "companyLocations", id },
|
|
42
|
+
"companyLocations",
|
|
43
|
+
],
|
|
44
|
+
}),
|
|
45
|
+
deleteCompanyLocation: build.mutation({
|
|
46
|
+
query: (id) => ({
|
|
47
|
+
method: "DELETE",
|
|
48
|
+
url: `company_locations/${id}`,
|
|
49
|
+
routePrefix: "/v1",
|
|
50
|
+
}),
|
|
51
|
+
invalidatesTags: ["companyLocations"],
|
|
52
|
+
}),
|
|
53
|
+
}),
|
|
54
|
+
});
|
|
55
|
+
export const { useGetCompanyLocationQuery, useGetCompanyLocationsQuery, useLazyGetCompanyLocationsQuery, useLazyGetCompanyLocationQuery, useCreateCompanyLocationMutation, useDeleteCompanyLocationMutation, useUpdateCompanyLocationMutation, } = companyLocationEndpoints;
|
|
56
|
+
export default companyLocationEndpoints;
|
|
57
|
+
export const getCompanyLocationsSelectors = (params) => {
|
|
58
|
+
return companyLocationsAdapter.getSelectors((state) => {
|
|
59
|
+
return (createSelector(companyLocationEndpoints.endpoints.getCompanyLocations.select(params), (companyLocationsResult) => {
|
|
60
|
+
return companyLocationsResult.data;
|
|
61
|
+
})(state) ?? companyLocationsInitialState);
|
|
62
|
+
});
|
|
63
|
+
};
|
|
64
|
+
//# sourceMappingURL=companyLocationEndpoints.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"companyLocationEndpoints.js","sourceRoot":"","sources":["../../../src/redux/companyLocation/companyLocationEndpoints.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EAEnB,cAAc,GACf,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAG3C,MAAM,uBAAuB,GAAG,mBAAmB,EAA0B,CAAC;AAC9E,MAAM,4BAA4B,GAAG,uBAAuB,CAAC,eAAe,EAAE,CAAC;AAE/E,MAAM,CAAC,MAAM,wBAAwB,GAAG,QAAQ,CAAC,eAAe,CAAC;IAC/D,SAAS,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;QACrB,mBAAmB,EAAE,KAAK,CAAC,KAAK,CAG9B;YACA,KAAK,EAAE,CAAC,IAAI,EAAE,EAAE;gBACd,OAAO;oBACL,GAAG,EAAE,mBAAmB;oBACxB,MAAM,EAAE,IAAI;oBACZ,WAAW,EAAE,KAAK;iBACnB,CAAC;YACJ,CAAC;YACD,iBAAiB,EAAE,CAAC,YAAsC,EAAE,EAAE;gBAC5D,OAAO,uBAAuB,CAAC,MAAM,CACnC,4BAA4B,EAC5B,YAAY,CACb,CAAC;YACJ,CAAC;YACD,YAAY,EAAE,CAAC,kBAAkB,CAAC;SACnC,CAAC;QACF,kBAAkB,EAAE,KAAK,CAAC,KAAK,CAAiC;YAC9D,KAAK,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,qBAAqB,EAAE,EAAE,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC;YACvE,YAAY,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,kBAAkB,EAAE,EAAE,EAAE,CAAC;SAC1E,CAAC;QACF,qBAAqB,EAAE,KAAK,CAAC,QAAQ,CAGnC;YACA,KAAK,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;gBAChB,MAAM,EAAE,MAAM;gBACd,IAAI;gBACJ,GAAG,EAAE,mBAAmB;gBACxB,WAAW,EAAE,KAAK;aACnB,CAAC;YACF,eAAe,EAAE,CAAC,kBAAkB,CAAC;SACtC,CAAC;QACF,qBAAqB,EAAE,KAAK,CAAC,QAAQ,CAGnC;YACA,KAAK,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;gBAChB,MAAM,EAAE,KAAK;gBACb,IAAI,EAAE,IAAI,CAAC,IAAI;gBACf,GAAG,EAAE,qBAAqB,IAAI,CAAC,EAAE,EAAE;gBACnC,WAAW,EAAE,KAAK;aACnB,CAAC;YACF,eAAe,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC;gBAC5C,EAAE,IAAI,EAAE,kBAAkB,EAAE,EAAE,EAAE;gBAChC,kBAAkB;aACnB;SACF,CAAC;QACF,qBAAqB,EAAE,KAAK,CAAC,QAAQ,CAAe;YAClD,KAAK,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;gBACd,MAAM,EAAE,QAAQ;gBAChB,GAAG,EAAE,qBAAqB,EAAE,EAAE;gBAC9B,WAAW,EAAE,KAAK;aACnB,CAAC;YACF,eAAe,EAAE,CAAC,kBAAkB,CAAC;SACtC,CAAC;KACH,CAAC;CACH,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,EACX,0BAA0B,EAC1B,2BAA2B,EAC3B,+BAA+B,EAC/B,8BAA8B,EAC9B,gCAAgC,EAChC,gCAAgC,EAChC,gCAAgC,GACjC,GAAG,wBAAwB,CAAC;AAE7B,eAAe,wBAAwB,CAAC;AAExC,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAC1C,MAAsC,EACtC,EAAE;IACF,OAAO,uBAAuB,CAAC,YAAY,CAAY,CAAC,KAAK,EAAE,EAAE;QAC/D,OAAO,CACL,cAAc,CACZ,wBAAwB,CAAC,SAAS,CAAC,mBAAmB,CAAC,MAAM,CAAC,MAAM,CAAC,EACrE,CAAC,sBAAsB,EAAE,EAAE;YACzB,OAAO,sBAAsB,CAAC,IAAI,CAAC;QACrC,CAAC,CACF,CAAC,KAAK,CAAC,IAAI,4BAA4B,CACzC,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/redux/companyLocation/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC;AAC3C,OAAO,EAAE,OAAO,IAAI,wBAAwB,EAAE,MAAM,4BAA4B,CAAC"}
|