@nerdjs/sales-kit 2.0.48 → 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 +22 -3
- package/dist/hooks/locationsForm/locationsFormSales.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,82 @@
|
|
|
1
|
+
import { createEntityAdapter, createSelector, } from "@reduxjs/toolkit";
|
|
2
|
+
import { salesApi } from "../api/salesApi";
|
|
3
|
+
const billingKickbackResponsesAdapter = createEntityAdapter();
|
|
4
|
+
const billingKickbackResponsesInitialState = billingKickbackResponsesAdapter.getInitialState();
|
|
5
|
+
export const billingKickbackResponseEndpoints = salesApi.injectEndpoints({
|
|
6
|
+
endpoints: (build) => ({
|
|
7
|
+
getBillingKickbackResponses: build.query({
|
|
8
|
+
query: (args) => {
|
|
9
|
+
return {
|
|
10
|
+
url: `billing_kickback_responses`,
|
|
11
|
+
params: args,
|
|
12
|
+
routePrefix: "/v1",
|
|
13
|
+
};
|
|
14
|
+
},
|
|
15
|
+
transformResponse: (responseData) => {
|
|
16
|
+
return billingKickbackResponsesAdapter.setAll(billingKickbackResponsesInitialState, responseData);
|
|
17
|
+
},
|
|
18
|
+
providesTags: ["billingKickbackResponses"],
|
|
19
|
+
}),
|
|
20
|
+
getBillingKickbackResponse: build.query({
|
|
21
|
+
query: (id) => ({
|
|
22
|
+
url: `billing_kickback_responses/${id}`,
|
|
23
|
+
routePrefix: "/v1",
|
|
24
|
+
}),
|
|
25
|
+
providesTags: (_result, _error, id) => [
|
|
26
|
+
{ type: "billingKickbackResponses", id },
|
|
27
|
+
],
|
|
28
|
+
}),
|
|
29
|
+
createBillingKickbackResponse: build.mutation({
|
|
30
|
+
query: (body) => ({
|
|
31
|
+
method: "POST",
|
|
32
|
+
body,
|
|
33
|
+
url: `billing_kickback_responses`,
|
|
34
|
+
routePrefix: "/v1",
|
|
35
|
+
}),
|
|
36
|
+
invalidatesTags: [
|
|
37
|
+
"billingKickbackResponses",
|
|
38
|
+
"billingKickbackResponsesByKickbackID",
|
|
39
|
+
"billingKickbacks",
|
|
40
|
+
"loadBillingKickbacks",
|
|
41
|
+
],
|
|
42
|
+
}),
|
|
43
|
+
updateBillingKickbackResponse: build.mutation({
|
|
44
|
+
query: (args) => ({
|
|
45
|
+
method: "PUT",
|
|
46
|
+
body: args.body,
|
|
47
|
+
url: `billing_kickback_responses/${args.id}`,
|
|
48
|
+
routePrefix: "/v1",
|
|
49
|
+
}),
|
|
50
|
+
invalidatesTags: (_result, _error, { id }) => [
|
|
51
|
+
{ type: "billingKickbackResponses", id },
|
|
52
|
+
"billingKickbackResponses",
|
|
53
|
+
"billingKickbackResponsesByKickbackID",
|
|
54
|
+
"billingKickbacks",
|
|
55
|
+
"loadBillingKickbacks",
|
|
56
|
+
],
|
|
57
|
+
}),
|
|
58
|
+
deleteBillingKickbackResponse: build.mutation({
|
|
59
|
+
query: (id) => ({
|
|
60
|
+
method: "DELETE",
|
|
61
|
+
url: `billing_kickback_responses/${id}`,
|
|
62
|
+
routePrefix: "/v1",
|
|
63
|
+
}),
|
|
64
|
+
invalidatesTags: [
|
|
65
|
+
"billingKickbackResponses",
|
|
66
|
+
"billingKickbackResponsesByKickbackID",
|
|
67
|
+
"billingKickbacks",
|
|
68
|
+
"loadBillingKickbacks",
|
|
69
|
+
],
|
|
70
|
+
}),
|
|
71
|
+
}),
|
|
72
|
+
});
|
|
73
|
+
export const { useGetBillingKickbackResponseQuery, useGetBillingKickbackResponsesQuery, useLazyGetBillingKickbackResponsesQuery, useLazyGetBillingKickbackResponseQuery, useCreateBillingKickbackResponseMutation, useDeleteBillingKickbackResponseMutation, useUpdateBillingKickbackResponseMutation, } = billingKickbackResponseEndpoints;
|
|
74
|
+
export default billingKickbackResponseEndpoints;
|
|
75
|
+
export const getBillingKickbackResponsesSelectors = (params) => {
|
|
76
|
+
return billingKickbackResponsesAdapter.getSelectors((state) => {
|
|
77
|
+
return (createSelector(billingKickbackResponseEndpoints.endpoints.getBillingKickbackResponses.select(params), (billingKickbackResponsesResult) => {
|
|
78
|
+
return billingKickbackResponsesResult.data;
|
|
79
|
+
})(state) ?? billingKickbackResponsesInitialState);
|
|
80
|
+
});
|
|
81
|
+
};
|
|
82
|
+
//# sourceMappingURL=billingKickbackResponseEndpoints.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"billingKickbackResponseEndpoints.js","sourceRoot":"","sources":["../../../src/redux/billingKickbackResponse/billingKickbackResponseEndpoints.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/redux/billingKickbackResponse/index.ts"],"names":[],"mappings":"AAAA,cAAc,oCAAoC,CAAC;AACnD,OAAO,EAAE,OAAO,IAAI,gCAAgC,EAAE,MAAM,oCAAoC,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { EntityState } from "@reduxjs/toolkit";
|
|
2
|
+
import { BillingKickbackResponseAccessorial_Entity } from "../../entities";
|
|
3
|
+
export declare const billingKickbackResponseAccessorialEndpoints: 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
|
+
getBillingKickbackResponseAccessorials: 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<BillingKickbackResponseAccessorial_Entity>, "salesApi">;
|
|
5
|
+
getBillingKickbackResponseAccessorial: 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", BillingKickbackResponseAccessorial_Entity, "salesApi">;
|
|
6
|
+
createBillingKickbackResponseAccessorial: import("@reduxjs/toolkit/query").MutationDefinition<{
|
|
7
|
+
billingkickbackresponseaccessorial: Partial<BillingKickbackResponseAccessorial_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", BillingKickbackResponseAccessorial_Entity, "salesApi">;
|
|
9
|
+
updateBillingKickbackResponseAccessorial: import("@reduxjs/toolkit/query").MutationDefinition<{
|
|
10
|
+
id: number;
|
|
11
|
+
body: {
|
|
12
|
+
billingkickbackresponseaccessorial: Partial<BillingKickbackResponseAccessorial_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
|
+
deleteBillingKickbackResponseAccessorial: 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
|
+
}, "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>;
|
|
17
|
+
export declare const useGetBillingKickbackResponseAccessorialQuery: 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", BillingKickbackResponseAccessorial_Entity, "salesApi">>, useGetBillingKickbackResponseAccessorialsQuery: 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<BillingKickbackResponseAccessorial_Entity>, "salesApi">>, useLazyGetBillingKickbackResponseAccessorialsQuery: 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<BillingKickbackResponseAccessorial_Entity>, "salesApi">>, useLazyGetBillingKickbackResponseAccessorialQuery: 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", BillingKickbackResponseAccessorial_Entity, "salesApi">>, useCreateBillingKickbackResponseAccessorialMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query").MutationDefinition<{
|
|
18
|
+
billingkickbackresponseaccessorial: Partial<BillingKickbackResponseAccessorial_Entity>;
|
|
19
|
+
}, (args: any, api: import("@reduxjs/toolkit/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}>>, "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities" | "locationsV1" | "locationsV1Accessorials" | "archerFiles" | "appointmentNotes" | "appointmentNoteTypes" | "shipconsV1" | "loadShipcons" | "appointmentIssueCategories" | "appointmentIssueSubcategories" | "personNames" | "nodeNames" | "driverNames" | "carrierNames" | "appointmentIssues" | "loadsV1" | "nmfcClasses" | "commoditiesV1" | "loadCommodities" | "loadQuoteAccessorials" | "quoteAccessorialsV1" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "userNotesV1" | "loadUserNotesV1" | "unitsV1" | "customersAccessorials" | "notifications" | "people" | "userSubscriptions" | "contacts" | "flags" | "rateReviews" | "loadRateReviews" | "genericTenders" | "loadTenders" | "dispatches" | "summary_dispatchesV1" | "summary_consolidationsV1" | "claims" | "claimResponses" | "claimStatuses" | "billingKickbacks" | "loadBillingKickbacks" | "billingKickbackResponses" | "billingKickbackResponsesByKickbackID" | "billingKickbackResponseAccessorials" | "billingMessages" | "invoicesV1" | "invoiceLineItems" | "invoices" | "billingNotes" | "generalLedgerAccounts" | "invoiceAdjustments" | "customerBillingNotes", BillingKickbackResponseAccessorial_Entity, "salesApi">>, useDeleteBillingKickbackResponseAccessorialMutation: 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">>, useUpdateBillingKickbackResponseAccessorialMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query").MutationDefinition<{
|
|
20
|
+
id: number;
|
|
21
|
+
body: {
|
|
22
|
+
billingkickbackresponseaccessorial: Partial<BillingKickbackResponseAccessorial_Entity>;
|
|
23
|
+
};
|
|
24
|
+
}, (args: any, api: import("@reduxjs/toolkit/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}>>, "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities" | "locationsV1" | "locationsV1Accessorials" | "archerFiles" | "appointmentNotes" | "appointmentNoteTypes" | "shipconsV1" | "loadShipcons" | "appointmentIssueCategories" | "appointmentIssueSubcategories" | "personNames" | "nodeNames" | "driverNames" | "carrierNames" | "appointmentIssues" | "loadsV1" | "nmfcClasses" | "commoditiesV1" | "loadCommodities" | "loadQuoteAccessorials" | "quoteAccessorialsV1" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "userNotesV1" | "loadUserNotesV1" | "unitsV1" | "customersAccessorials" | "notifications" | "people" | "userSubscriptions" | "contacts" | "flags" | "rateReviews" | "loadRateReviews" | "genericTenders" | "loadTenders" | "dispatches" | "summary_dispatchesV1" | "summary_consolidationsV1" | "claims" | "claimResponses" | "claimStatuses" | "billingKickbacks" | "loadBillingKickbacks" | "billingKickbackResponses" | "billingKickbackResponsesByKickbackID" | "billingKickbackResponseAccessorials" | "billingMessages" | "invoicesV1" | "invoiceLineItems" | "invoices" | "billingNotes" | "generalLedgerAccounts" | "invoiceAdjustments" | "customerBillingNotes", void, "salesApi">>;
|
|
25
|
+
export default billingKickbackResponseAccessorialEndpoints;
|
|
26
|
+
export declare const getBillingKickbackResponseAccessorialsSelectors: (params: Record<string, unknown> | void) => import("@reduxjs/toolkit").EntitySelectors<BillingKickbackResponseAccessorial_Entity, {
|
|
27
|
+
salesApi: import("@reduxjs/toolkit/query").CombinedState<{}, "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities" | "locationsV1" | "locationsV1Accessorials" | "archerFiles" | "appointmentNotes" | "appointmentNoteTypes" | "shipconsV1" | "loadShipcons" | "appointmentIssueCategories" | "appointmentIssueSubcategories" | "personNames" | "nodeNames" | "driverNames" | "carrierNames" | "appointmentIssues" | "loadsV1" | "nmfcClasses" | "commoditiesV1" | "loadCommodities" | "loadQuoteAccessorials" | "quoteAccessorialsV1" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "userNotesV1" | "loadUserNotesV1" | "unitsV1" | "customersAccessorials" | "notifications" | "people" | "userSubscriptions" | "contacts" | "flags" | "rateReviews" | "loadRateReviews" | "genericTenders" | "loadTenders" | "dispatches" | "summary_dispatchesV1" | "summary_consolidationsV1" | "claims" | "claimResponses" | "claimStatuses" | "billingKickbacks" | "loadBillingKickbacks" | "billingKickbackResponses" | "billingKickbackResponsesByKickbackID" | "billingKickbackResponseAccessorials" | "billingMessages" | "invoicesV1" | "invoiceLineItems" | "invoices" | "billingNotes" | "generalLedgerAccounts" | "invoiceAdjustments" | "customerBillingNotes", "salesApi">;
|
|
28
|
+
salesKitState: import("redux").CombinedState<{
|
|
29
|
+
quote: import("..").QuoteState;
|
|
30
|
+
tender: import("../tender/tenderSlice").TenderState;
|
|
31
|
+
}>;
|
|
32
|
+
}>;
|
package/dist/redux/billingKickbackResponseAccessorial/billingKickbackResponseAccessorialEndpoints.js
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { createEntityAdapter, createSelector, } from "@reduxjs/toolkit";
|
|
2
|
+
import { salesApi } from "../api/salesApi";
|
|
3
|
+
const billingKickbackResponseAccessorialsAdapter = createEntityAdapter();
|
|
4
|
+
const billingKickbackResponseAccessorialsInitialState = billingKickbackResponseAccessorialsAdapter.getInitialState();
|
|
5
|
+
export const billingKickbackResponseAccessorialEndpoints = salesApi.injectEndpoints({
|
|
6
|
+
endpoints: (build) => ({
|
|
7
|
+
getBillingKickbackResponseAccessorials: build.query({
|
|
8
|
+
query: (args) => {
|
|
9
|
+
return {
|
|
10
|
+
url: `billing_kickback_response_accessorials`,
|
|
11
|
+
params: args,
|
|
12
|
+
routePrefix: "/v1",
|
|
13
|
+
};
|
|
14
|
+
},
|
|
15
|
+
transformResponse: (responseData) => {
|
|
16
|
+
return billingKickbackResponseAccessorialsAdapter.setAll(billingKickbackResponseAccessorialsInitialState, responseData);
|
|
17
|
+
},
|
|
18
|
+
providesTags: ["billingKickbackResponseAccessorials"],
|
|
19
|
+
}),
|
|
20
|
+
getBillingKickbackResponseAccessorial: build.query({
|
|
21
|
+
query: (id) => ({
|
|
22
|
+
url: `billing_kickback_response_accessorials/${id}`,
|
|
23
|
+
routePrefix: "/v1",
|
|
24
|
+
}),
|
|
25
|
+
providesTags: (_result, _error, id) => [
|
|
26
|
+
{ type: "billingKickbackResponseAccessorials", id },
|
|
27
|
+
],
|
|
28
|
+
}),
|
|
29
|
+
createBillingKickbackResponseAccessorial: build.mutation({
|
|
30
|
+
query: (body) => ({
|
|
31
|
+
method: "POST",
|
|
32
|
+
body,
|
|
33
|
+
url: `billing_kickback_response_accessorials`,
|
|
34
|
+
routePrefix: "/v1",
|
|
35
|
+
}),
|
|
36
|
+
invalidatesTags: [
|
|
37
|
+
"billingKickbackResponseAccessorials",
|
|
38
|
+
"billingKickbackResponsesByKickbackID",
|
|
39
|
+
],
|
|
40
|
+
}),
|
|
41
|
+
updateBillingKickbackResponseAccessorial: build.mutation({
|
|
42
|
+
query: (args) => ({
|
|
43
|
+
method: "PUT",
|
|
44
|
+
body: args.body,
|
|
45
|
+
url: `billing_kickback_response_accessorials/${args.id}`,
|
|
46
|
+
routePrefix: "/v1",
|
|
47
|
+
}),
|
|
48
|
+
invalidatesTags: (_result, _error, { id }) => [
|
|
49
|
+
{ type: "billingKickbackResponseAccessorials", id },
|
|
50
|
+
"billingKickbackResponseAccessorials",
|
|
51
|
+
"billingKickbackResponsesByKickbackID",
|
|
52
|
+
],
|
|
53
|
+
}),
|
|
54
|
+
deleteBillingKickbackResponseAccessorial: build.mutation({
|
|
55
|
+
query: (id) => ({
|
|
56
|
+
method: "DELETE",
|
|
57
|
+
url: `billing_kickback_response_accessorials/${id}`,
|
|
58
|
+
routePrefix: "/v1",
|
|
59
|
+
}),
|
|
60
|
+
invalidatesTags: [
|
|
61
|
+
"billingKickbackResponseAccessorials",
|
|
62
|
+
"billingKickbackResponsesByKickbackID",
|
|
63
|
+
],
|
|
64
|
+
}),
|
|
65
|
+
}),
|
|
66
|
+
});
|
|
67
|
+
export const { useGetBillingKickbackResponseAccessorialQuery, useGetBillingKickbackResponseAccessorialsQuery, useLazyGetBillingKickbackResponseAccessorialsQuery, useLazyGetBillingKickbackResponseAccessorialQuery, useCreateBillingKickbackResponseAccessorialMutation, useDeleteBillingKickbackResponseAccessorialMutation, useUpdateBillingKickbackResponseAccessorialMutation, } = billingKickbackResponseAccessorialEndpoints;
|
|
68
|
+
export default billingKickbackResponseAccessorialEndpoints;
|
|
69
|
+
export const getBillingKickbackResponseAccessorialsSelectors = (params) => {
|
|
70
|
+
return billingKickbackResponseAccessorialsAdapter.getSelectors((state) => {
|
|
71
|
+
return (createSelector(billingKickbackResponseAccessorialEndpoints.endpoints.getBillingKickbackResponseAccessorials.select(params), (billingKickbackResponseAccessorialsResult) => {
|
|
72
|
+
return billingKickbackResponseAccessorialsResult.data;
|
|
73
|
+
})(state) ?? billingKickbackResponseAccessorialsInitialState);
|
|
74
|
+
});
|
|
75
|
+
};
|
|
76
|
+
//# sourceMappingURL=billingKickbackResponseAccessorialEndpoints.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"billingKickbackResponseAccessorialEndpoints.js","sourceRoot":"","sources":["../../../src/redux/billingKickbackResponseAccessorial/billingKickbackResponseAccessorialEndpoints.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/redux/billingKickbackResponseAccessorial/index.ts"],"names":[],"mappings":"AAAA,cAAc,+CAA+C,CAAC;AAC9D,OAAO,EAAE,OAAO,IAAI,2CAA2C,EAAE,MAAM,+CAA+C,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { EntityState } from "@reduxjs/toolkit";
|
|
2
|
+
import { BillingMessage_Entity } from "../../entities";
|
|
3
|
+
export declare const billingMessageEndpoints: 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
|
+
getBillingMessages: 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<BillingMessage_Entity>, "salesApi">;
|
|
5
|
+
getBillingMessage: 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", BillingMessage_Entity, "salesApi">;
|
|
6
|
+
createBillingMessage: import("@reduxjs/toolkit/query").MutationDefinition<Partial<BillingMessage_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", BillingMessage_Entity, "salesApi">;
|
|
7
|
+
updateBillingMessage: import("@reduxjs/toolkit/query").MutationDefinition<{
|
|
8
|
+
id: number;
|
|
9
|
+
body: Partial<BillingMessage_Entity>;
|
|
10
|
+
}, (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">;
|
|
11
|
+
deleteBillingMessage: 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">;
|
|
12
|
+
}, "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>;
|
|
13
|
+
export declare const useGetBillingMessageQuery: 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", BillingMessage_Entity, "salesApi">>, useGetBillingMessagesQuery: 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<BillingMessage_Entity>, "salesApi">>, useLazyGetBillingMessagesQuery: 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<BillingMessage_Entity>, "salesApi">>, useLazyGetBillingMessageQuery: 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", BillingMessage_Entity, "salesApi">>, useCreateBillingMessageMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query").MutationDefinition<Partial<BillingMessage_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", BillingMessage_Entity, "salesApi">>, useDeleteBillingMessageMutation: 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">>, useUpdateBillingMessageMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query").MutationDefinition<{
|
|
14
|
+
id: number;
|
|
15
|
+
body: Partial<BillingMessage_Entity>;
|
|
16
|
+
}, (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">>;
|
|
17
|
+
export default billingMessageEndpoints;
|
|
18
|
+
export declare const getBillingMessagesSelectors: (params: Record<string, unknown> | void) => import("@reduxjs/toolkit").EntitySelectors<BillingMessage_Entity, {
|
|
19
|
+
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">;
|
|
20
|
+
salesKitState: import("redux").CombinedState<{
|
|
21
|
+
quote: import("..").QuoteState;
|
|
22
|
+
tender: import("../tender/tenderSlice").TenderState;
|
|
23
|
+
}>;
|
|
24
|
+
}>;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { createEntityAdapter, createSelector, } from "@reduxjs/toolkit";
|
|
2
|
+
import { salesApi } from "../api/salesApi";
|
|
3
|
+
const billingMessagesAdapter = createEntityAdapter();
|
|
4
|
+
const billingMessagesInitialState = billingMessagesAdapter.getInitialState();
|
|
5
|
+
export const billingMessageEndpoints = salesApi.injectEndpoints({
|
|
6
|
+
endpoints: (build) => ({
|
|
7
|
+
getBillingMessages: build.query({
|
|
8
|
+
query: (args) => {
|
|
9
|
+
return {
|
|
10
|
+
url: `billing_messages`,
|
|
11
|
+
params: args,
|
|
12
|
+
routePrefix: "/v1",
|
|
13
|
+
};
|
|
14
|
+
},
|
|
15
|
+
transformResponse: (responseData) => {
|
|
16
|
+
return billingMessagesAdapter.setAll(billingMessagesInitialState, responseData);
|
|
17
|
+
},
|
|
18
|
+
providesTags: ["billingMessages"],
|
|
19
|
+
}),
|
|
20
|
+
getBillingMessage: build.query({
|
|
21
|
+
query: (id) => ({ url: `billing_messages/${id}`, routePrefix: "/v1" }),
|
|
22
|
+
providesTags: (_result, _error, id) => [{ type: "billingMessages", id }],
|
|
23
|
+
}),
|
|
24
|
+
createBillingMessage: build.mutation({
|
|
25
|
+
query: (body) => ({
|
|
26
|
+
method: "POST",
|
|
27
|
+
body,
|
|
28
|
+
url: `billing_messages`,
|
|
29
|
+
routePrefix: "/v1",
|
|
30
|
+
}),
|
|
31
|
+
invalidatesTags: ["billingMessages"],
|
|
32
|
+
}),
|
|
33
|
+
updateBillingMessage: build.mutation({
|
|
34
|
+
query: (args) => ({
|
|
35
|
+
method: "PUT",
|
|
36
|
+
body: args.body,
|
|
37
|
+
url: `billing_messages/${args.id}`,
|
|
38
|
+
routePrefix: "/v1",
|
|
39
|
+
}),
|
|
40
|
+
invalidatesTags: (_result, _error, { id }) => [
|
|
41
|
+
{ type: "billingMessages", id },
|
|
42
|
+
"billingMessages",
|
|
43
|
+
],
|
|
44
|
+
}),
|
|
45
|
+
deleteBillingMessage: build.mutation({
|
|
46
|
+
query: (id) => ({
|
|
47
|
+
method: "DELETE",
|
|
48
|
+
url: `billing_messages/${id}`,
|
|
49
|
+
routePrefix: "/v1",
|
|
50
|
+
}),
|
|
51
|
+
invalidatesTags: ["billingMessages"],
|
|
52
|
+
}),
|
|
53
|
+
}),
|
|
54
|
+
});
|
|
55
|
+
export const { useGetBillingMessageQuery, useGetBillingMessagesQuery, useLazyGetBillingMessagesQuery, useLazyGetBillingMessageQuery, useCreateBillingMessageMutation, useDeleteBillingMessageMutation, useUpdateBillingMessageMutation, } = billingMessageEndpoints;
|
|
56
|
+
export default billingMessageEndpoints;
|
|
57
|
+
export const getBillingMessagesSelectors = (params) => {
|
|
58
|
+
return billingMessagesAdapter.getSelectors((state) => {
|
|
59
|
+
return (createSelector(billingMessageEndpoints.endpoints.getBillingMessages.select(params), (billingMessagesResult) => {
|
|
60
|
+
return billingMessagesResult.data;
|
|
61
|
+
})(state) ?? billingMessagesInitialState);
|
|
62
|
+
});
|
|
63
|
+
};
|
|
64
|
+
//# sourceMappingURL=billingMessageEndpoints.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"billingMessageEndpoints.js","sourceRoot":"","sources":["../../../src/redux/billingMessage/billingMessageEndpoints.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/redux/billingMessage/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC;AAC1C,OAAO,EAAE,OAAO,IAAI,uBAAuB,EAAE,MAAM,2BAA2B,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { EntityState } from "@reduxjs/toolkit";
|
|
2
|
+
import { BillingNote_Entity } from "../../entities";
|
|
3
|
+
export declare const billingNoteEndpoints: 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
|
+
getBillingNotes: 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<BillingNote_Entity>, "salesApi">;
|
|
5
|
+
getBillingNote: 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", BillingNote_Entity, "salesApi">;
|
|
6
|
+
createBillingNote: import("@reduxjs/toolkit/query").MutationDefinition<{
|
|
7
|
+
billingnote: Partial<BillingNote_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", BillingNote_Entity, "salesApi">;
|
|
9
|
+
updateBillingNote: import("@reduxjs/toolkit/query").MutationDefinition<{
|
|
10
|
+
id: number;
|
|
11
|
+
body: {
|
|
12
|
+
billingnote: Partial<BillingNote_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
|
+
deleteBillingNote: 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
|
+
}, "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>;
|
|
17
|
+
export declare const useGetBillingNoteQuery: 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", BillingNote_Entity, "salesApi">>, useGetBillingNotesQuery: 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<BillingNote_Entity>, "salesApi">>, useLazyGetBillingNotesQuery: 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<BillingNote_Entity>, "salesApi">>, useLazyGetBillingNoteQuery: 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", BillingNote_Entity, "salesApi">>, useCreateBillingNoteMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query").MutationDefinition<{
|
|
18
|
+
billingnote: Partial<BillingNote_Entity>;
|
|
19
|
+
}, (args: any, api: import("@reduxjs/toolkit/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}>>, "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities" | "locationsV1" | "locationsV1Accessorials" | "archerFiles" | "appointmentNotes" | "appointmentNoteTypes" | "shipconsV1" | "loadShipcons" | "appointmentIssueCategories" | "appointmentIssueSubcategories" | "personNames" | "nodeNames" | "driverNames" | "carrierNames" | "appointmentIssues" | "loadsV1" | "nmfcClasses" | "commoditiesV1" | "loadCommodities" | "loadQuoteAccessorials" | "quoteAccessorialsV1" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "userNotesV1" | "loadUserNotesV1" | "unitsV1" | "customersAccessorials" | "notifications" | "people" | "userSubscriptions" | "contacts" | "flags" | "rateReviews" | "loadRateReviews" | "genericTenders" | "loadTenders" | "dispatches" | "summary_dispatchesV1" | "summary_consolidationsV1" | "claims" | "claimResponses" | "claimStatuses" | "billingKickbacks" | "loadBillingKickbacks" | "billingKickbackResponses" | "billingKickbackResponsesByKickbackID" | "billingKickbackResponseAccessorials" | "billingMessages" | "invoicesV1" | "invoiceLineItems" | "invoices" | "billingNotes" | "generalLedgerAccounts" | "invoiceAdjustments" | "customerBillingNotes", BillingNote_Entity, "salesApi">>, useDeleteBillingNoteMutation: 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">>, useUpdateBillingNoteMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query").MutationDefinition<{
|
|
20
|
+
id: number;
|
|
21
|
+
body: {
|
|
22
|
+
billingnote: Partial<BillingNote_Entity>;
|
|
23
|
+
};
|
|
24
|
+
}, (args: any, api: import("@reduxjs/toolkit/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}>>, "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities" | "locationsV1" | "locationsV1Accessorials" | "archerFiles" | "appointmentNotes" | "appointmentNoteTypes" | "shipconsV1" | "loadShipcons" | "appointmentIssueCategories" | "appointmentIssueSubcategories" | "personNames" | "nodeNames" | "driverNames" | "carrierNames" | "appointmentIssues" | "loadsV1" | "nmfcClasses" | "commoditiesV1" | "loadCommodities" | "loadQuoteAccessorials" | "quoteAccessorialsV1" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "userNotesV1" | "loadUserNotesV1" | "unitsV1" | "customersAccessorials" | "notifications" | "people" | "userSubscriptions" | "contacts" | "flags" | "rateReviews" | "loadRateReviews" | "genericTenders" | "loadTenders" | "dispatches" | "summary_dispatchesV1" | "summary_consolidationsV1" | "claims" | "claimResponses" | "claimStatuses" | "billingKickbacks" | "loadBillingKickbacks" | "billingKickbackResponses" | "billingKickbackResponsesByKickbackID" | "billingKickbackResponseAccessorials" | "billingMessages" | "invoicesV1" | "invoiceLineItems" | "invoices" | "billingNotes" | "generalLedgerAccounts" | "invoiceAdjustments" | "customerBillingNotes", void, "salesApi">>;
|
|
25
|
+
export default billingNoteEndpoints;
|
|
26
|
+
export declare const getBillingNotesSelectors: (params: Record<string, unknown> | void) => import("@reduxjs/toolkit").EntitySelectors<BillingNote_Entity, {
|
|
27
|
+
salesApi: import("@reduxjs/toolkit/query").CombinedState<{}, "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities" | "locationsV1" | "locationsV1Accessorials" | "archerFiles" | "appointmentNotes" | "appointmentNoteTypes" | "shipconsV1" | "loadShipcons" | "appointmentIssueCategories" | "appointmentIssueSubcategories" | "personNames" | "nodeNames" | "driverNames" | "carrierNames" | "appointmentIssues" | "loadsV1" | "nmfcClasses" | "commoditiesV1" | "loadCommodities" | "loadQuoteAccessorials" | "quoteAccessorialsV1" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "userNotesV1" | "loadUserNotesV1" | "unitsV1" | "customersAccessorials" | "notifications" | "people" | "userSubscriptions" | "contacts" | "flags" | "rateReviews" | "loadRateReviews" | "genericTenders" | "loadTenders" | "dispatches" | "summary_dispatchesV1" | "summary_consolidationsV1" | "claims" | "claimResponses" | "claimStatuses" | "billingKickbacks" | "loadBillingKickbacks" | "billingKickbackResponses" | "billingKickbackResponsesByKickbackID" | "billingKickbackResponseAccessorials" | "billingMessages" | "invoicesV1" | "invoiceLineItems" | "invoices" | "billingNotes" | "generalLedgerAccounts" | "invoiceAdjustments" | "customerBillingNotes", "salesApi">;
|
|
28
|
+
salesKitState: import("redux").CombinedState<{
|
|
29
|
+
quote: import("..").QuoteState;
|
|
30
|
+
tender: import("../tender/tenderSlice").TenderState;
|
|
31
|
+
}>;
|
|
32
|
+
}>;
|