@nerdjs/sales-kit 2.0.47 → 2.0.49
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/billingKickback/billingKickback.d.ts +19 -0
- package/dist/entities/billingKickback/billingKickback.js +55 -0
- package/dist/entities/billingKickback/billingKickback.js.map +1 -0
- package/dist/entities/billingKickback/helper.d.ts +5 -0
- package/dist/entities/billingKickback/helper.js +16 -0
- package/dist/entities/billingKickback/helper.js.map +1 -0
- package/dist/entities/billingKickback/index.d.ts +2 -0
- package/dist/entities/billingKickback/index.js +3 -0
- package/dist/entities/billingKickback/index.js.map +1 -0
- package/dist/entities/billingKickbackResponse/billingKickbackResponse.d.ts +15 -0
- package/dist/entities/billingKickbackResponse/billingKickbackResponse.js +49 -0
- package/dist/entities/billingKickbackResponse/billingKickbackResponse.js.map +1 -0
- package/dist/entities/billingKickbackResponse/helper.d.ts +5 -0
- package/dist/entities/billingKickbackResponse/helper.js +16 -0
- package/dist/entities/billingKickbackResponse/helper.js.map +1 -0
- package/dist/entities/billingKickbackResponse/index.d.ts +2 -0
- package/dist/entities/billingKickbackResponse/index.js +3 -0
- package/dist/entities/billingKickbackResponse/index.js.map +1 -0
- package/dist/entities/billingKickbackResponseAccessorial/billingKickbackResponseAccessorial.d.ts +8 -0
- package/dist/entities/billingKickbackResponseAccessorial/billingKickbackResponseAccessorial.js +35 -0
- package/dist/entities/billingKickbackResponseAccessorial/billingKickbackResponseAccessorial.js.map +1 -0
- package/dist/entities/billingKickbackResponseAccessorial/helper.d.ts +5 -0
- package/dist/entities/billingKickbackResponseAccessorial/helper.js +16 -0
- package/dist/entities/billingKickbackResponseAccessorial/helper.js.map +1 -0
- package/dist/entities/billingKickbackResponseAccessorial/index.d.ts +2 -0
- package/dist/entities/billingKickbackResponseAccessorial/index.js +3 -0
- package/dist/entities/billingKickbackResponseAccessorial/index.js.map +1 -0
- package/dist/entities/billingMessage/billingMessage.d.ts +7 -0
- package/dist/entities/billingMessage/billingMessage.js +31 -0
- package/dist/entities/billingMessage/billingMessage.js.map +1 -0
- package/dist/entities/billingMessage/helper.d.ts +5 -0
- package/dist/entities/billingMessage/helper.js +16 -0
- package/dist/entities/billingMessage/helper.js.map +1 -0
- package/dist/entities/billingMessage/index.d.ts +2 -0
- package/dist/entities/billingMessage/index.js +3 -0
- package/dist/entities/billingMessage/index.js.map +1 -0
- package/dist/entities/billingNote/billingNote.d.ts +11 -0
- package/dist/entities/billingNote/billingNote.js +39 -0
- package/dist/entities/billingNote/billingNote.js.map +1 -0
- package/dist/entities/billingNote/helper.d.ts +5 -0
- package/dist/entities/billingNote/helper.js +16 -0
- package/dist/entities/billingNote/helper.js.map +1 -0
- package/dist/entities/billingNote/index.d.ts +2 -0
- package/dist/entities/billingNote/index.js +3 -0
- package/dist/entities/billingNote/index.js.map +1 -0
- package/dist/entities/generalLedgerAccount/generalLedgerAccount.d.ts +19 -0
- package/dist/entities/generalLedgerAccount/generalLedgerAccount.js +58 -0
- package/dist/entities/generalLedgerAccount/generalLedgerAccount.js.map +1 -0
- package/dist/entities/generalLedgerAccount/helper.d.ts +5 -0
- package/dist/entities/generalLedgerAccount/helper.js +16 -0
- package/dist/entities/generalLedgerAccount/helper.js.map +1 -0
- package/dist/entities/generalLedgerAccount/index.d.ts +2 -0
- package/dist/entities/generalLedgerAccount/index.js +3 -0
- package/dist/entities/generalLedgerAccount/index.js.map +1 -0
- package/dist/entities/index.d.ts +11 -0
- package/dist/entities/index.js +11 -0
- package/dist/entities/index.js.map +1 -1
- package/dist/entities/invoice/helper.d.ts +5 -0
- package/dist/entities/invoice/helper.js +16 -0
- package/dist/entities/invoice/helper.js.map +1 -0
- package/dist/entities/invoice/index.d.ts +2 -0
- package/dist/entities/invoice/index.js +3 -0
- package/dist/entities/invoice/index.js.map +1 -0
- package/dist/entities/invoice/invoice.d.ts +44 -0
- package/dist/entities/invoice/invoice.js +86 -0
- package/dist/entities/invoice/invoice.js.map +1 -0
- package/dist/entities/invoiceAdjustment/helper.d.ts +5 -0
- package/dist/entities/invoiceAdjustment/helper.js +16 -0
- package/dist/entities/invoiceAdjustment/helper.js.map +1 -0
- package/dist/entities/invoiceAdjustment/index.d.ts +2 -0
- package/dist/entities/invoiceAdjustment/index.js +3 -0
- package/dist/entities/invoiceAdjustment/index.js.map +1 -0
- package/dist/entities/invoiceAdjustment/invoiceAdjustment.d.ts +20 -0
- package/dist/entities/invoiceAdjustment/invoiceAdjustment.js +59 -0
- package/dist/entities/invoiceAdjustment/invoiceAdjustment.js.map +1 -0
- package/dist/entities/invoiceLineItem/helper.d.ts +5 -0
- package/dist/entities/invoiceLineItem/helper.js +16 -0
- package/dist/entities/invoiceLineItem/helper.js.map +1 -0
- package/dist/entities/invoiceLineItem/index.d.ts +2 -0
- package/dist/entities/invoiceLineItem/index.js +3 -0
- package/dist/entities/invoiceLineItem/index.js.map +1 -0
- package/dist/entities/invoiceLineItem/invoiceLineItem.d.ts +9 -0
- package/dist/entities/invoiceLineItem/invoiceLineItem.js +35 -0
- package/dist/entities/invoiceLineItem/invoiceLineItem.js.map +1 -0
- package/dist/entities/invoiceV1/helper.d.ts +5 -0
- package/dist/entities/invoiceV1/helper.js +16 -0
- package/dist/entities/invoiceV1/helper.js.map +1 -0
- package/dist/entities/invoiceV1/index.d.ts +2 -0
- package/dist/entities/invoiceV1/index.js +3 -0
- package/dist/entities/invoiceV1/index.js.map +1 -0
- package/dist/entities/invoiceV1/invoiceV1.d.ts +68 -0
- package/dist/entities/invoiceV1/invoiceV1.js +153 -0
- package/dist/entities/invoiceV1/invoiceV1.js.map +1 -0
- 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/entities/payment/helper.d.ts +5 -0
- package/dist/entities/payment/helper.js +16 -0
- package/dist/entities/payment/helper.js.map +1 -0
- package/dist/entities/payment/index.d.ts +2 -0
- package/dist/entities/payment/index.js +3 -0
- package/dist/entities/payment/index.js.map +1 -0
- package/dist/entities/payment/payment.d.ts +13 -0
- package/dist/entities/payment/payment.js +43 -0
- package/dist/entities/payment/payment.js.map +1 -0
- package/dist/entities/transaction/helper.d.ts +5 -0
- package/dist/entities/transaction/helper.js +16 -0
- package/dist/entities/transaction/helper.js.map +1 -0
- package/dist/entities/transaction/index.d.ts +2 -0
- package/dist/entities/transaction/index.js +3 -0
- package/dist/entities/transaction/index.js.map +1 -0
- package/dist/entities/transaction/transaction.d.ts +16 -0
- package/dist/entities/transaction/transaction.js +49 -0
- package/dist/entities/transaction/transaction.js.map +1 -0
- package/dist/hooks/locationsForm/locationsFormSales.js +24 -5
- package/dist/hooks/locationsForm/locationsFormSales.js.map +1 -1
- package/dist/hooks/quote/form.js +13 -3
- package/dist/hooks/quote/form.js.map +1 -1
- package/dist/hooks/quote/helpers.d.ts +1 -1
- package/dist/hooks/quote/helpers.js +9 -5
- package/dist/hooks/quote/helpers.js.map +1 -1
- package/dist/hooks/quote/result.d.ts +2 -1
- package/dist/hooks/quote/result.js +1 -1
- package/dist/hooks/quote/result.js.map +1 -1
- package/dist/hooks/quote/template.d.ts +2 -1
- package/dist/hooks/quote/template.js.map +1 -1
- package/dist/redux/api/salesApi.d.ts +1 -1
- package/dist/redux/api/salesApi.js +13 -0
- package/dist/redux/api/salesApi.js.map +1 -1
- 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 +33 -0
- package/dist/redux/billingKickback/billingKickbackEndpoints.js +72 -0
- package/dist/redux/billingKickback/billingKickbackEndpoints.js.map +1 -0
- package/dist/redux/billingKickback/index.d.ts +2 -0
- package/dist/redux/billingKickback/index.js +3 -0
- package/dist/redux/billingKickback/index.js.map +1 -0
- package/dist/redux/billingKickbackResponse/billingKickbackResponseEndpoints.d.ts +32 -0
- package/dist/redux/billingKickbackResponse/billingKickbackResponseEndpoints.js +82 -0
- package/dist/redux/billingKickbackResponse/billingKickbackResponseEndpoints.js.map +1 -0
- package/dist/redux/billingKickbackResponse/index.d.ts +2 -0
- package/dist/redux/billingKickbackResponse/index.js +3 -0
- package/dist/redux/billingKickbackResponse/index.js.map +1 -0
- package/dist/redux/billingKickbackResponseAccessorial/billingKickbackResponseAccessorialEndpoints.d.ts +32 -0
- package/dist/redux/billingKickbackResponseAccessorial/billingKickbackResponseAccessorialEndpoints.js +76 -0
- package/dist/redux/billingKickbackResponseAccessorial/billingKickbackResponseAccessorialEndpoints.js.map +1 -0
- package/dist/redux/billingKickbackResponseAccessorial/index.d.ts +2 -0
- package/dist/redux/billingKickbackResponseAccessorial/index.js +3 -0
- package/dist/redux/billingKickbackResponseAccessorial/index.js.map +1 -0
- package/dist/redux/billingMessage/billingMessageEndpoints.d.ts +24 -0
- package/dist/redux/billingMessage/billingMessageEndpoints.js +64 -0
- package/dist/redux/billingMessage/billingMessageEndpoints.js.map +1 -0
- package/dist/redux/billingMessage/index.d.ts +2 -0
- package/dist/redux/billingMessage/index.js +3 -0
- package/dist/redux/billingMessage/index.js.map +1 -0
- package/dist/redux/billingNote/billingNoteEndpoints.d.ts +32 -0
- package/dist/redux/billingNote/billingNoteEndpoints.js +65 -0
- package/dist/redux/billingNote/billingNoteEndpoints.js.map +1 -0
- package/dist/redux/billingNote/index.d.ts +2 -0
- package/dist/redux/billingNote/index.js +3 -0
- package/dist/redux/billingNote/index.js.map +1 -0
- 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/commodityV1/commodityV1Endpoints.d.ts +11 -11
- package/dist/redux/contact/contactEndpoints.d.ts +10 -10
- package/dist/redux/customer/customerEndpoints.d.ts +18 -17
- package/dist/redux/customer/customerEndpoints.js +8 -1
- package/dist/redux/customer/customerEndpoints.js.map +1 -1
- package/dist/redux/customersAccessorial/customersAccessorialEndpoints.d.ts +9 -9
- package/dist/redux/dispatch/dispatchEndpoints.d.ts +10 -10
- 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 +25 -0
- package/dist/redux/generalLedgerAccount/generalLedgerAccountEndpoints.js +78 -0
- package/dist/redux/generalLedgerAccount/generalLedgerAccountEndpoints.js.map +1 -0
- package/dist/redux/generalLedgerAccount/index.d.ts +2 -0
- package/dist/redux/generalLedgerAccount/index.js +3 -0
- package/dist/redux/generalLedgerAccount/index.js.map +1 -0
- package/dist/redux/genericTender/genericTenderEndpoints.d.ts +10 -10
- package/dist/redux/holiday/holidayEndpoints.d.ts +10 -10
- package/dist/redux/index.d.ts +9 -0
- package/dist/redux/index.js +9 -0
- package/dist/redux/index.js.map +1 -1
- package/dist/redux/invoice/index.d.ts +2 -0
- package/dist/redux/invoice/index.js +3 -0
- package/dist/redux/invoice/index.js.map +1 -0
- package/dist/redux/invoice/invoiceEndpoints.d.ts +26 -0
- package/dist/redux/invoice/invoiceEndpoints.js +63 -0
- package/dist/redux/invoice/invoiceEndpoints.js.map +1 -0
- package/dist/redux/invoiceAdjustment/index.d.ts +2 -0
- package/dist/redux/invoiceAdjustment/index.js +3 -0
- package/dist/redux/invoiceAdjustment/index.js.map +1 -0
- package/dist/redux/invoiceAdjustment/invoiceAdjustmentEndpoints.d.ts +32 -0
- package/dist/redux/invoiceAdjustment/invoiceAdjustmentEndpoints.js +67 -0
- package/dist/redux/invoiceAdjustment/invoiceAdjustmentEndpoints.js.map +1 -0
- package/dist/redux/invoiceV1/index.d.ts +2 -0
- package/dist/redux/invoiceV1/index.js +3 -0
- package/dist/redux/invoiceV1/index.js.map +1 -0
- package/dist/redux/invoiceV1/invoiceV1Endpoints.d.ts +33 -0
- package/dist/redux/invoiceV1/invoiceV1Endpoints.js +73 -0
- package/dist/redux/invoiceV1/invoiceV1Endpoints.js.map +1 -0
- 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 +63 -53
- package/dist/redux/loadV1/loadV1Endpoints.js +11 -1
- package/dist/redux/loadV1/loadV1Endpoints.js.map +1 -1
- package/dist/redux/location/locationEndpoints.d.ts +14 -14
- 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 +11 -11
- package/dist/redux/personName/personNameEndpoints.d.ts +10 -10
- package/dist/redux/quote/quoteAction.d.ts +4 -0
- package/dist/redux/quote/quoteAction.js +8 -0
- package/dist/redux/quote/quoteAction.js.map +1 -1
- package/dist/redux/quote/quoteEndpoints.d.ts +22 -22
- package/dist/redux/quote/quoteHooks.d.ts +2 -2
- package/dist/redux/quote/quoteReducer.js +19 -1
- package/dist/redux/quote/quoteReducer.js.map +1 -1
- 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 +10 -10
- 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/types.d.ts +2 -2
- package/dist/redux/unitV1/unitV1Endpoints.d.ts +9 -9
- package/dist/redux/userNoteV1/userNoteV1Endpoints.d.ts +10 -10
- package/package.json +3 -3
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { createEntityAdapter, createSelector, } from "@reduxjs/toolkit";
|
|
2
|
+
import { salesApi } from "../api/salesApi";
|
|
3
|
+
const invoiceAdjustmentsAdapter = createEntityAdapter();
|
|
4
|
+
const invoiceAdjustmentsInitialState = invoiceAdjustmentsAdapter.getInitialState();
|
|
5
|
+
export const invoiceAdjustmentEndpoints = salesApi.injectEndpoints({
|
|
6
|
+
endpoints: (build) => ({
|
|
7
|
+
getInvoiceAdjustments: build.query({
|
|
8
|
+
query: (args) => {
|
|
9
|
+
return {
|
|
10
|
+
url: `invoice_adjustments`,
|
|
11
|
+
params: args,
|
|
12
|
+
routePrefix: "/v1",
|
|
13
|
+
};
|
|
14
|
+
},
|
|
15
|
+
transformResponse: (responseData) => {
|
|
16
|
+
return invoiceAdjustmentsAdapter.setAll(invoiceAdjustmentsInitialState, responseData);
|
|
17
|
+
},
|
|
18
|
+
providesTags: ["invoiceAdjustments"],
|
|
19
|
+
}),
|
|
20
|
+
getInvoiceAdjustment: build.query({
|
|
21
|
+
query: (id) => ({ url: `invoice_adjustments/${id}`, routePrefix: "/v1" }),
|
|
22
|
+
providesTags: (_result, _error, id) => [
|
|
23
|
+
{ type: "invoiceAdjustments", id },
|
|
24
|
+
],
|
|
25
|
+
}),
|
|
26
|
+
createInvoiceAdjustment: build.mutation({
|
|
27
|
+
query: (body) => ({
|
|
28
|
+
method: "POST",
|
|
29
|
+
body,
|
|
30
|
+
url: `invoice_adjustments`,
|
|
31
|
+
routePrefix: "/v1",
|
|
32
|
+
}),
|
|
33
|
+
invalidatesTags: ["invoiceAdjustments", "invoices"],
|
|
34
|
+
}),
|
|
35
|
+
updateInvoiceAdjustment: build.mutation({
|
|
36
|
+
query: (args) => ({
|
|
37
|
+
method: "PUT",
|
|
38
|
+
body: args.body,
|
|
39
|
+
url: `invoice_adjustments/${args.id}`,
|
|
40
|
+
routePrefix: "/v1",
|
|
41
|
+
}),
|
|
42
|
+
invalidatesTags: (_result, _error, { id }) => [
|
|
43
|
+
{ type: "invoiceAdjustments", id },
|
|
44
|
+
"invoiceAdjustments",
|
|
45
|
+
"invoices",
|
|
46
|
+
],
|
|
47
|
+
}),
|
|
48
|
+
deleteInvoiceAdjustment: build.mutation({
|
|
49
|
+
query: (id) => ({
|
|
50
|
+
method: "DELETE",
|
|
51
|
+
url: `invoice_adjustments/${id}`,
|
|
52
|
+
routePrefix: "/v1",
|
|
53
|
+
}),
|
|
54
|
+
invalidatesTags: ["invoiceAdjustments"],
|
|
55
|
+
}),
|
|
56
|
+
}),
|
|
57
|
+
});
|
|
58
|
+
export const { useGetInvoiceAdjustmentQuery, useGetInvoiceAdjustmentsQuery, useLazyGetInvoiceAdjustmentsQuery, useLazyGetInvoiceAdjustmentQuery, useCreateInvoiceAdjustmentMutation, useDeleteInvoiceAdjustmentMutation, useUpdateInvoiceAdjustmentMutation, } = invoiceAdjustmentEndpoints;
|
|
59
|
+
export default invoiceAdjustmentEndpoints;
|
|
60
|
+
export const getInvoiceAdjustmentsSelectors = (params) => {
|
|
61
|
+
return invoiceAdjustmentsAdapter.getSelectors((state) => {
|
|
62
|
+
return (createSelector(invoiceAdjustmentEndpoints.endpoints.getInvoiceAdjustments.select(params), (invoiceAdjustmentsResult) => {
|
|
63
|
+
return invoiceAdjustmentsResult.data;
|
|
64
|
+
})(state) ?? invoiceAdjustmentsInitialState);
|
|
65
|
+
});
|
|
66
|
+
};
|
|
67
|
+
//# sourceMappingURL=invoiceAdjustmentEndpoints.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"invoiceAdjustmentEndpoints.js","sourceRoot":"","sources":["../../../src/redux/invoiceAdjustment/invoiceAdjustmentEndpoints.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/redux/invoiceV1/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { EntityState } from "@reduxjs/toolkit";
|
|
2
|
+
import { InvoiceV1_Entity } from "../../entities";
|
|
3
|
+
export declare const invoiceV1Endpoints: 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
|
+
getInvoicesV1: 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", EntityState<InvoiceV1_Entity>, "salesApi">;
|
|
5
|
+
getInvoiceV1: 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", InvoiceV1_Entity, "salesApi">;
|
|
6
|
+
createInvoiceV1: import("@reduxjs/toolkit/query").MutationDefinition<{
|
|
7
|
+
invoice: Partial<InvoiceV1_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", InvoiceV1_Entity, "salesApi">;
|
|
9
|
+
updateInvoiceV1: import("@reduxjs/toolkit/query").MutationDefinition<{
|
|
10
|
+
id: number;
|
|
11
|
+
body: {
|
|
12
|
+
invoice: Partial<InvoiceV1_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", void, "salesApi">;
|
|
15
|
+
deleteInvoiceV1: 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", void, "salesApi">;
|
|
16
|
+
invoiceSaveRevised: 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", InvoiceV1_Entity, "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", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/dist/query/react").reactHooksModuleName>;
|
|
18
|
+
export declare const useGetInvoiceV1Query: 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", InvoiceV1_Entity, "salesApi">>, useGetInvoicesV1Query: 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", EntityState<InvoiceV1_Entity>, "salesApi">>, useLazyGetInvoicesV1Query: 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", EntityState<InvoiceV1_Entity>, "salesApi">>, useLazyGetInvoiceV1Query: 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", InvoiceV1_Entity, "salesApi">>, useCreateInvoiceV1Mutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query").MutationDefinition<{
|
|
19
|
+
invoice: Partial<InvoiceV1_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", InvoiceV1_Entity, "salesApi">>, useDeleteInvoiceV1Mutation: 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", void, "salesApi">>, useUpdateInvoiceV1Mutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query").MutationDefinition<{
|
|
21
|
+
id: number;
|
|
22
|
+
body: {
|
|
23
|
+
invoice: Partial<InvoiceV1_Entity>;
|
|
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", void, "salesApi">>, useInvoiceSaveRevisedMutation: 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", InvoiceV1_Entity, "salesApi">>;
|
|
26
|
+
export default invoiceV1Endpoints;
|
|
27
|
+
export declare const getInvoicesV1Selectors: (params: Record<string, unknown> | void) => import("@reduxjs/toolkit").EntitySelectors<InvoiceV1_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", "salesApi">;
|
|
29
|
+
salesKitState: import("redux").CombinedState<{
|
|
30
|
+
quote: import("..").QuoteState;
|
|
31
|
+
tender: import("../tender/tenderSlice").TenderState;
|
|
32
|
+
}>;
|
|
33
|
+
}>;
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { createEntityAdapter, createSelector, } from "@reduxjs/toolkit";
|
|
2
|
+
import { salesApi } from "../api/salesApi";
|
|
3
|
+
const invoicesV1Adapter = createEntityAdapter();
|
|
4
|
+
const invoicesV1InitialState = invoicesV1Adapter.getInitialState();
|
|
5
|
+
export const invoiceV1Endpoints = salesApi.injectEndpoints({
|
|
6
|
+
endpoints: (build) => ({
|
|
7
|
+
getInvoicesV1: build.query({
|
|
8
|
+
query: (args) => {
|
|
9
|
+
return {
|
|
10
|
+
url: `invoices`,
|
|
11
|
+
params: args,
|
|
12
|
+
routePrefix: "/v1",
|
|
13
|
+
};
|
|
14
|
+
},
|
|
15
|
+
transformResponse: (responseData) => {
|
|
16
|
+
return invoicesV1Adapter.setAll(invoicesV1InitialState, responseData);
|
|
17
|
+
},
|
|
18
|
+
providesTags: ["invoicesV1"],
|
|
19
|
+
}),
|
|
20
|
+
getInvoiceV1: build.query({
|
|
21
|
+
query: (id) => ({ url: `invoices/${id}`, routePrefix: "/v1" }),
|
|
22
|
+
providesTags: (_result, _error, id) => [{ type: "invoicesV1", id }],
|
|
23
|
+
}),
|
|
24
|
+
createInvoiceV1: build.mutation({
|
|
25
|
+
query: (body) => ({
|
|
26
|
+
method: "POST",
|
|
27
|
+
body,
|
|
28
|
+
url: `invoices`,
|
|
29
|
+
routePrefix: "/v1",
|
|
30
|
+
}),
|
|
31
|
+
invalidatesTags: ["invoicesV1", "loads"],
|
|
32
|
+
}),
|
|
33
|
+
updateInvoiceV1: build.mutation({
|
|
34
|
+
query: (args) => ({
|
|
35
|
+
method: "PUT",
|
|
36
|
+
body: args.body,
|
|
37
|
+
url: `invoices/${args.id}`,
|
|
38
|
+
routePrefix: "/v1",
|
|
39
|
+
}),
|
|
40
|
+
invalidatesTags: (_result, _error, { id }) => [
|
|
41
|
+
{ type: "invoicesV1", id },
|
|
42
|
+
"invoicesV1",
|
|
43
|
+
"loads",
|
|
44
|
+
],
|
|
45
|
+
}),
|
|
46
|
+
deleteInvoiceV1: build.mutation({
|
|
47
|
+
query: (id) => ({
|
|
48
|
+
method: "DELETE",
|
|
49
|
+
url: `invoices/${id}`,
|
|
50
|
+
routePrefix: "/v1",
|
|
51
|
+
}),
|
|
52
|
+
invalidatesTags: ["invoicesV1", "loads"],
|
|
53
|
+
}),
|
|
54
|
+
invoiceSaveRevised: build.mutation({
|
|
55
|
+
query: (id) => ({
|
|
56
|
+
method: "POST",
|
|
57
|
+
url: `invoices/${id}/save_revised_pdf`,
|
|
58
|
+
routePrefix: "/v1",
|
|
59
|
+
}),
|
|
60
|
+
invalidatesTags: ["archerFiles"],
|
|
61
|
+
}),
|
|
62
|
+
}),
|
|
63
|
+
});
|
|
64
|
+
export const { useGetInvoiceV1Query, useGetInvoicesV1Query, useLazyGetInvoicesV1Query, useLazyGetInvoiceV1Query, useCreateInvoiceV1Mutation, useDeleteInvoiceV1Mutation, useUpdateInvoiceV1Mutation, useInvoiceSaveRevisedMutation, } = invoiceV1Endpoints;
|
|
65
|
+
export default invoiceV1Endpoints;
|
|
66
|
+
export const getInvoicesV1Selectors = (params) => {
|
|
67
|
+
return invoicesV1Adapter.getSelectors((state) => {
|
|
68
|
+
return (createSelector(invoiceV1Endpoints.endpoints.getInvoicesV1.select(params), (invoicesV1Result) => {
|
|
69
|
+
return invoicesV1Result.data;
|
|
70
|
+
})(state) ?? invoicesV1InitialState);
|
|
71
|
+
});
|
|
72
|
+
};
|
|
73
|
+
//# sourceMappingURL=invoiceV1Endpoints.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"invoiceV1Endpoints.js","sourceRoot":"","sources":["../../../src/redux/invoiceV1/invoiceV1Endpoints.ts"],"names":[],"mappings":"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"}
|
|
@@ -2,24 +2,24 @@ import { EntityState } from "@reduxjs/toolkit";
|
|
|
2
2
|
import { ArcherFile_Entity, Load_Entity } from "../../entities";
|
|
3
3
|
import { SearchMetadata } from "@nerdjs/nerd-core";
|
|
4
4
|
export declare const loadEndpoints: 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, {}>>, {
|
|
5
|
-
getLoads: 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", EntityState<Load_Entity>, "salesApi">;
|
|
6
|
-
getLoad: 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", Load_Entity, "salesApi">;
|
|
7
|
-
createLoad: import("@reduxjs/toolkit/query").MutationDefinition<Partial<Load_Entity>, (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", Load_Entity, "salesApi">;
|
|
5
|
+
getLoads: 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", EntityState<Load_Entity>, "salesApi">;
|
|
6
|
+
getLoad: 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", Load_Entity, "salesApi">;
|
|
7
|
+
createLoad: import("@reduxjs/toolkit/query").MutationDefinition<Partial<Load_Entity>, (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", Load_Entity, "salesApi">;
|
|
8
8
|
updateLoad: import("@reduxjs/toolkit/query").MutationDefinition<{
|
|
9
9
|
id: number;
|
|
10
10
|
body: Partial<Load_Entity>;
|
|
11
|
-
}, (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", void, "salesApi">;
|
|
12
|
-
deleteLoad: 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", void, "salesApi">;
|
|
13
|
-
getLoadSearchMetadata: import("@reduxjs/toolkit/query").QueryDefinition<void, (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", SearchMetadata, "salesApi">;
|
|
14
|
-
getLoadFiles: 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", ArcherFile_Entity[], "salesApi">;
|
|
15
|
-
}, "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", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/dist/query/react").reactHooksModuleName>;
|
|
16
|
-
export declare const useGetLoadQuery: 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", Load_Entity, "salesApi">>, useGetLoadsQuery: 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", EntityState<Load_Entity>, "salesApi">>, useGetLoadSearchMetadataQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/query").QueryDefinition<void, (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", SearchMetadata, "salesApi">>, useLazyGetLoadsQuery: 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", EntityState<Load_Entity>, "salesApi">>, useLazyGetLoadQuery: 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", Load_Entity, "salesApi">>, useLazyGetLoadSearchMetadataQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseLazyQuery<import("@reduxjs/toolkit/query").QueryDefinition<void, (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", SearchMetadata, "salesApi">>, useCreateLoadMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query").MutationDefinition<Partial<Load_Entity>, (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", Load_Entity, "salesApi">>, useDeleteLoadMutation: 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", void, "salesApi">>, useUpdateLoadMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query").MutationDefinition<{
|
|
11
|
+
}, (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", void, "salesApi">;
|
|
12
|
+
deleteLoad: 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", void, "salesApi">;
|
|
13
|
+
getLoadSearchMetadata: import("@reduxjs/toolkit/query").QueryDefinition<void, (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", SearchMetadata, "salesApi">;
|
|
14
|
+
getLoadFiles: 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", ArcherFile_Entity[], "salesApi">;
|
|
15
|
+
}, "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", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/dist/query/react").reactHooksModuleName>;
|
|
16
|
+
export declare const useGetLoadQuery: 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", Load_Entity, "salesApi">>, useGetLoadsQuery: 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", EntityState<Load_Entity>, "salesApi">>, useGetLoadSearchMetadataQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/query").QueryDefinition<void, (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", SearchMetadata, "salesApi">>, useLazyGetLoadsQuery: 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", EntityState<Load_Entity>, "salesApi">>, useLazyGetLoadQuery: 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", Load_Entity, "salesApi">>, useLazyGetLoadSearchMetadataQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseLazyQuery<import("@reduxjs/toolkit/query").QueryDefinition<void, (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", SearchMetadata, "salesApi">>, useCreateLoadMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query").MutationDefinition<Partial<Load_Entity>, (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", Load_Entity, "salesApi">>, useDeleteLoadMutation: 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", void, "salesApi">>, useUpdateLoadMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query").MutationDefinition<{
|
|
17
17
|
id: number;
|
|
18
18
|
body: Partial<Load_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", void, "salesApi">>, useGetLoadFilesQuery: 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", ArcherFile_Entity[], "salesApi">>, useLazyGetLoadFilesQuery: 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", ArcherFile_Entity[], "salesApi">>;
|
|
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", void, "salesApi">>, useGetLoadFilesQuery: 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", ArcherFile_Entity[], "salesApi">>, useLazyGetLoadFilesQuery: 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", ArcherFile_Entity[], "salesApi">>;
|
|
20
20
|
export default loadEndpoints;
|
|
21
21
|
export declare const getLoadsSelectors: (params: Record<string, unknown> | void) => import("@reduxjs/toolkit").EntitySelectors<Load_Entity, {
|
|
22
|
-
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", "salesApi">;
|
|
22
|
+
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", "salesApi">;
|
|
23
23
|
salesKitState: import("redux").CombinedState<{
|
|
24
24
|
quote: import("..").QuoteState;
|
|
25
25
|
tender: import("../tender/tenderSlice").TenderState;
|