@nerdjs/sales-kit 3.2.12 → 3.2.14
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/contract/contract.d.ts +2 -0
- package/dist/entities/contract/contract.js +6 -0
- package/dist/entities/contract/contract.js.map +1 -1
- package/dist/hooks/carrierInvoicePanel/carrierInvoiceTendersDataGrid.js +14 -6
- package/dist/hooks/carrierInvoicePanel/carrierInvoiceTendersDataGrid.js.map +1 -1
- package/dist/redux/railInvoiceV1/railInvoiceV1Endpoints.d.ts +161 -0
- package/dist/redux/railInvoiceV1/railInvoiceV1Endpoints.js +13 -1
- package/dist/redux/railInvoiceV1/railInvoiceV1Endpoints.js.map +1 -1
- package/package.json +1 -1
|
@@ -19,6 +19,8 @@ export default class Contract_Entity {
|
|
|
19
19
|
"name",
|
|
20
20
|
"tariffName",
|
|
21
21
|
"effectiveDate",
|
|
22
|
+
"temperatureControlled",
|
|
23
|
+
"recordCount",
|
|
22
24
|
"createdAt",
|
|
23
25
|
"updatedAt",
|
|
24
26
|
];
|
|
@@ -28,6 +30,8 @@ export default class Contract_Entity {
|
|
|
28
30
|
this.name = contractJson.name;
|
|
29
31
|
this.tariffName = contractJson.tariffName;
|
|
30
32
|
this.effectiveDate = contractJson.effectiveDate;
|
|
33
|
+
this.temperatureControlled = contractJson.temperatureControlled;
|
|
34
|
+
this.recordCount = contractJson.recordCount;
|
|
31
35
|
this.createdAt = contractJson.createdAt;
|
|
32
36
|
this.updatedAt = contractJson.updatedAt;
|
|
33
37
|
}
|
|
@@ -39,6 +43,8 @@ export default class Contract_Entity {
|
|
|
39
43
|
name;
|
|
40
44
|
tariffName;
|
|
41
45
|
effectiveDate;
|
|
46
|
+
temperatureControlled;
|
|
47
|
+
recordCount;
|
|
42
48
|
createdAt;
|
|
43
49
|
updatedAt;
|
|
44
50
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contract.js","sourceRoot":"","sources":["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I,EAAE,CAC3D,CAAC;QACJ,CAAC;IACH,CAAC;IAED,EAAE,CAAS;IACX,IAAI,CAAS;IACb,UAAU,CAAS;IACnB,aAAa,CAAS;IACtB,qBAAqB,CAAU;IAC/B,WAAW,CAAS;IACpB,SAAS,CAAS;IAClB,SAAS,CAAS"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Box, Chip, Grid, Sheet, Skeleton } from "@mui/joy";
|
|
3
|
-
import { DataGridPremium, useGridApiContext, } from "@mui/x-data-grid-premium";
|
|
3
|
+
import { DataGridPremium, gridClasses, useGridApiContext, } from "@mui/x-data-grid-premium";
|
|
4
4
|
import { getCarrierTendersAccountingSelectors, useGetCarrierInvoiceQuery, useGetCarrierTendersAccountingQuery, useUpdateCarrierInvoiceV1Mutation, } from "../../redux";
|
|
5
5
|
import { useContext, useMemo, useState } from "react";
|
|
6
6
|
import { CarrierInvoicePanelContext } from "./carrierInvoicePanel";
|
|
@@ -105,7 +105,7 @@ const Content = () => {
|
|
|
105
105
|
{
|
|
106
106
|
field: "id",
|
|
107
107
|
headerName: "Tender #",
|
|
108
|
-
|
|
108
|
+
width: 90,
|
|
109
109
|
},
|
|
110
110
|
{
|
|
111
111
|
field: "load_invoice_dates",
|
|
@@ -115,7 +115,7 @@ const Content = () => {
|
|
|
115
115
|
{
|
|
116
116
|
field: "tender_date",
|
|
117
117
|
headerName: "Tender Date",
|
|
118
|
-
|
|
118
|
+
width: 100,
|
|
119
119
|
valueFormatter(value) {
|
|
120
120
|
return value
|
|
121
121
|
? DateTime.fromISO(value).toUTC().toFormat("LL/dd/yyyy")
|
|
@@ -125,21 +125,29 @@ const Content = () => {
|
|
|
125
125
|
{
|
|
126
126
|
field: "total_cost",
|
|
127
127
|
headerName: "Total Cost",
|
|
128
|
+
width: 90,
|
|
128
129
|
valueFormatter(value) {
|
|
129
130
|
return value !== undefined && value !== null
|
|
130
131
|
? usdFormatter.format(value)
|
|
131
132
|
: "";
|
|
132
133
|
},
|
|
133
|
-
flex: 1,
|
|
134
134
|
},
|
|
135
135
|
], []);
|
|
136
|
-
return (_jsxs(Box, { display: "flex", width: "100%", height: "100%", gap: 1, maxHeight: 560, children: [_jsx(Box, { sx: { display: "grid", flex: 1 }, children: _jsx(DataGridPremium, {
|
|
136
|
+
return (_jsxs(Box, { display: "flex", width: "100%", height: "100%", gap: 1, maxHeight: 560, children: [_jsx(Box, { sx: { display: "grid", flex: 1 }, children: _jsx(DataGridPremium, { sx: {
|
|
137
|
+
[`& .${gridClasses.cell}`]: {
|
|
138
|
+
py: 0.5,
|
|
139
|
+
},
|
|
140
|
+
}, getRowHeight: () => "auto", disableVirtualization: true, density: "compact", rows: allTenders, columns: columns, hideFooter: true, disableRowGrouping: true, rowSelectionModel: rowSelectionModel, onRowSelectionModelChange: (v) => setRowSelectionModel(v), slotProps: {
|
|
137
141
|
toolbar: {
|
|
138
142
|
rowSelectionModel,
|
|
139
143
|
},
|
|
140
144
|
}, slots: {
|
|
141
145
|
toolbar: CustomToolbar,
|
|
142
|
-
}, loading: isFetching, checkboxSelection: true }) }), _jsx(Box, { sx: { display: "grid", flex: 1 }, children: _jsx(DataGridPremium, {
|
|
146
|
+
}, loading: isFetching, checkboxSelection: true }) }), _jsx(Box, { sx: { display: "grid", flex: 1 }, children: _jsx(DataGridPremium, { sx: {
|
|
147
|
+
[`& .${gridClasses.cell}`]: {
|
|
148
|
+
py: 0.5,
|
|
149
|
+
},
|
|
150
|
+
}, getRowHeight: () => "auto", disableVirtualization: true, density: "compact", rows: stagedTenders, columns: columns, hideFooter: true, disableRowGrouping: true, rowSelectionModel: rowSelectionModel2, onRowSelectionModelChange: (v) => setRowSelectionModel2(v), slotProps: {
|
|
143
151
|
toolbar: {
|
|
144
152
|
rowSelectionModel: rowSelectionModel2,
|
|
145
153
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"carrierInvoiceTendersDataGrid.js","sourceRoot":"","sources":["../../../src/hooks/carrierInvoicePanel/carrierInvoiceTendersDataGrid.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAC5D,OAAO,EACL,eAAe,
|
|
1
|
+
{"version":3,"file":"carrierInvoiceTendersDataGrid.js","sourceRoot":"","sources":["../../../src/hooks/carrierInvoicePanel/carrierInvoiceTendersDataGrid.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAC5D,OAAO,EACL,eAAe,EACf,WAAW,EAIX,iBAAiB,GAClB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,oCAAoC,EACpC,yBAAyB,EACzB,mCAAmC,EACnC,iCAAiC,GAClC,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEtD,OAAO,EAAE,0BAA0B,EAAE,MAAM,uBAAuB,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEjC,MAAM,UAAU,6BAA6B;IAC3C,MAAM,EAAE,gBAAgB,EAAE,GAAG,UAAU,CAAC,0BAA0B,CAAC,CAAC;IACpE,MAAM,EAAE,SAAS,EAAE,IAAI,EAAE,GAAG,yBAAyB,CACnD,MAAM,CAAC,gBAAgB,CAAC,EACxB;QACE,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,gBAAgB,CAAC,CAAC;KAC7C,CACF,CAAC;IACF,MAAM,MAAM,GAAG,OAAO,CACpB,GAAG,EAAE,CAAC,CAAC;QACL,OAAO,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F,GACD,CACT,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -16,6 +16,7 @@ export declare const railInvoiceV1Endpoints: import("@reduxjs/toolkit/query").Ap
|
|
|
16
16
|
}, (args: any, api: import("@reduxjs/toolkit/query").BaseQueryApi) => import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}> | PromiseLike<import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}>>, "accessorialsV1" | "accountingInvoices" | "activeCarriers" | "apiTenders" | "appointmentArrivals" | "appointmentIssueCategories" | "appointmentIssues" | "appointmentIssueSubcategories" | "appointmentNotes" | "appointmentNoteTypes" | "appointmentTrips" | "archerFiles" | "areas" | "arTransactions" | "assetNames" | "assetNamesFiltered" | "assets" | "assetTypes" | "attributeFields" | "billingKickbackResponseAccessorials" | "billingKickbackResponses" | "billingKickbackResponsesByKickbackID" | "billingKickbacks" | "billingMessages" | "billingNotes" | "cargoConsolidationCargoConsolidationCommodityPieces" | "cargoConsolidationCommodityPieces" | "cargoConsolidationCommodityPiecesByCargoConsolidation" | "cargoConsolidations" | "carrierFiles" | "carrierInsurances" | "carrierInvoiceFiles" | "carrierInvoices" | "carrierInvoicesV1" | "carrierNames" | "carrierPacketNotes" | "carrierPayContracts" | "carriers" | "carrierTenderAccessorials" | "carrierTenderDeductions" | "carrierTenderEdges" | "carrierTenderFiles" | "carrierTenderRateRecords" | "carrierTenders" | "carrierTendersAccounting" | "carrierTendersV1" | "claimResponses" | "claims" | "claimStatuses" | "commodities" | "commoditiesV1" | "companyLocations" | "contacts" | "contractRateRecords" | "contractRateRecordsByContractRates" | "contractRates" | "contracts" | "contractsRecords" | "creditTerms" | "customerBillingNotes" | "customerContracts" | "customerCredit" | "customerCreditLogs" | "customerCreditLogsByCustomer" | "customerCreditStatus" | "customerCreditTypes" | "customerFiles" | "customerInvoices" | "customerNames" | "customerPendingLoads" | "customerPeople" | "customerRequestedAreas" | "customerRequestedAreasByCustomer" | "customers" | "customersV1" | "customersAccessorials" | "customersAccessorialsByCustomer" | "customersLight" | "customersLocations" | "customersLocationsByCustomer" | "customersPeople" | "customersPeopleByCustomer" | "customerStatuses" | "customerTrailers" | "customerTrailersByCustomer" | "deductions" | "defaultSettings" | "departmentPhones" | "dispatches" | "driverNames" | "drivers" | "driversV1" | "ediAccounts" | "ediLoadTenders" | "ediTransactions" | "employeeNames" | "files" | "flags" | "generalLedgerAccounts" | "genericTenders" | "holidays" | "invoiceAdjustments" | "invoiceLineItems" | "invoicePaymentsByPaymentIDV1" | "invoicePaymentsV1" | "invoices" | "invoicesV1" | "loadAdjustments" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "loadBillingKickbacks" | "loadCommodities" | "loadExtraLites" | "loadFiles" | "loadQuoteAccessorials" | "loadRateReviews" | "loads" | "loadsAutocomplete" | "loadShipcons" | "loadsV1" | "loadTenders" | "loadTenderViews" | "loadUserNotesV1" | "locations" | "locationsFiles" | "locationsV1" | "locationsV1Accessorials" | "manualCheckCalls" | "nmfcClasses" | "nodeNames" | "nodes" | "nodeTypeNodes" | "nodeTypes" | "notifications" | "otrDispatches" | "paymentFiles" | "paymentsV1" | "people" | "personNames" | "positions" | "possibleIssueItems" | "quoteAccessorials" | "quoteAccessorialsV1" | "quotes" | "railInvoiceFiles" | "railInvoicesV1" | "railTenders" | "railTendersV1" | "rateReviews" | "rateWareXlActiveTariffs" | "rejectionReasons" | "relayCodes" | "shipConDispatches" | "shipConDispatchesETAs" | "shipConETAs" | "shipConLastMapUpdate" | "shipcons" | "shipconsV1" | "summary_consolidationsV1" | "summary_dispatchesV1" | "tenders" | "tenderStatusesV1" | "timeToPayReports" | "timeToPayReportsByCustomer" | "trailerAvailabilities" | "trailerCodes" | "uninvoicedLoadReports" | "uninvoicedLoadsV1" | "unitsV1" | "userNotesV1" | "userSubscriptions" | "carrierTenderUploadsV1" | "carrierTenderUploadFiles" | "carriersLight" | "railInvoices" | "deposits" | "accountingPayments" | "invoicePayments" | "depositsV1", void, "salesApi", unknown>;
|
|
17
17
|
deleteRailInvoiceV1: import("@reduxjs/toolkit/query").MutationDefinition<number, (args: any, api: import("@reduxjs/toolkit/query").BaseQueryApi) => import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}> | PromiseLike<import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}>>, "accessorialsV1" | "accountingInvoices" | "activeCarriers" | "apiTenders" | "appointmentArrivals" | "appointmentIssueCategories" | "appointmentIssues" | "appointmentIssueSubcategories" | "appointmentNotes" | "appointmentNoteTypes" | "appointmentTrips" | "archerFiles" | "areas" | "arTransactions" | "assetNames" | "assetNamesFiltered" | "assets" | "assetTypes" | "attributeFields" | "billingKickbackResponseAccessorials" | "billingKickbackResponses" | "billingKickbackResponsesByKickbackID" | "billingKickbacks" | "billingMessages" | "billingNotes" | "cargoConsolidationCargoConsolidationCommodityPieces" | "cargoConsolidationCommodityPieces" | "cargoConsolidationCommodityPiecesByCargoConsolidation" | "cargoConsolidations" | "carrierFiles" | "carrierInsurances" | "carrierInvoiceFiles" | "carrierInvoices" | "carrierInvoicesV1" | "carrierNames" | "carrierPacketNotes" | "carrierPayContracts" | "carriers" | "carrierTenderAccessorials" | "carrierTenderDeductions" | "carrierTenderEdges" | "carrierTenderFiles" | "carrierTenderRateRecords" | "carrierTenders" | "carrierTendersAccounting" | "carrierTendersV1" | "claimResponses" | "claims" | "claimStatuses" | "commodities" | "commoditiesV1" | "companyLocations" | "contacts" | "contractRateRecords" | "contractRateRecordsByContractRates" | "contractRates" | "contracts" | "contractsRecords" | "creditTerms" | "customerBillingNotes" | "customerContracts" | "customerCredit" | "customerCreditLogs" | "customerCreditLogsByCustomer" | "customerCreditStatus" | "customerCreditTypes" | "customerFiles" | "customerInvoices" | "customerNames" | "customerPendingLoads" | "customerPeople" | "customerRequestedAreas" | "customerRequestedAreasByCustomer" | "customers" | "customersV1" | "customersAccessorials" | "customersAccessorialsByCustomer" | "customersLight" | "customersLocations" | "customersLocationsByCustomer" | "customersPeople" | "customersPeopleByCustomer" | "customerStatuses" | "customerTrailers" | "customerTrailersByCustomer" | "deductions" | "defaultSettings" | "departmentPhones" | "dispatches" | "driverNames" | "drivers" | "driversV1" | "ediAccounts" | "ediLoadTenders" | "ediTransactions" | "employeeNames" | "files" | "flags" | "generalLedgerAccounts" | "genericTenders" | "holidays" | "invoiceAdjustments" | "invoiceLineItems" | "invoicePaymentsByPaymentIDV1" | "invoicePaymentsV1" | "invoices" | "invoicesV1" | "loadAdjustments" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "loadBillingKickbacks" | "loadCommodities" | "loadExtraLites" | "loadFiles" | "loadQuoteAccessorials" | "loadRateReviews" | "loads" | "loadsAutocomplete" | "loadShipcons" | "loadsV1" | "loadTenders" | "loadTenderViews" | "loadUserNotesV1" | "locations" | "locationsFiles" | "locationsV1" | "locationsV1Accessorials" | "manualCheckCalls" | "nmfcClasses" | "nodeNames" | "nodes" | "nodeTypeNodes" | "nodeTypes" | "notifications" | "otrDispatches" | "paymentFiles" | "paymentsV1" | "people" | "personNames" | "positions" | "possibleIssueItems" | "quoteAccessorials" | "quoteAccessorialsV1" | "quotes" | "railInvoiceFiles" | "railInvoicesV1" | "railTenders" | "railTendersV1" | "rateReviews" | "rateWareXlActiveTariffs" | "rejectionReasons" | "relayCodes" | "shipConDispatches" | "shipConDispatchesETAs" | "shipConETAs" | "shipConLastMapUpdate" | "shipcons" | "shipconsV1" | "summary_consolidationsV1" | "summary_dispatchesV1" | "tenders" | "tenderStatusesV1" | "timeToPayReports" | "timeToPayReportsByCustomer" | "trailerAvailabilities" | "trailerCodes" | "uninvoicedLoadReports" | "uninvoicedLoadsV1" | "unitsV1" | "userNotesV1" | "userSubscriptions" | "carrierTenderUploadsV1" | "carrierTenderUploadFiles" | "carriersLight" | "railInvoices" | "deposits" | "accountingPayments" | "invoicePayments" | "depositsV1", void, "salesApi", unknown>;
|
|
18
18
|
getRailInvoiceFiles: import("@reduxjs/toolkit/query").QueryDefinition<number, (args: any, api: import("@reduxjs/toolkit/query").BaseQueryApi) => import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}> | PromiseLike<import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}>>, "accessorialsV1" | "accountingInvoices" | "activeCarriers" | "apiTenders" | "appointmentArrivals" | "appointmentIssueCategories" | "appointmentIssues" | "appointmentIssueSubcategories" | "appointmentNotes" | "appointmentNoteTypes" | "appointmentTrips" | "archerFiles" | "areas" | "arTransactions" | "assetNames" | "assetNamesFiltered" | "assets" | "assetTypes" | "attributeFields" | "billingKickbackResponseAccessorials" | "billingKickbackResponses" | "billingKickbackResponsesByKickbackID" | "billingKickbacks" | "billingMessages" | "billingNotes" | "cargoConsolidationCargoConsolidationCommodityPieces" | "cargoConsolidationCommodityPieces" | "cargoConsolidationCommodityPiecesByCargoConsolidation" | "cargoConsolidations" | "carrierFiles" | "carrierInsurances" | "carrierInvoiceFiles" | "carrierInvoices" | "carrierInvoicesV1" | "carrierNames" | "carrierPacketNotes" | "carrierPayContracts" | "carriers" | "carrierTenderAccessorials" | "carrierTenderDeductions" | "carrierTenderEdges" | "carrierTenderFiles" | "carrierTenderRateRecords" | "carrierTenders" | "carrierTendersAccounting" | "carrierTendersV1" | "claimResponses" | "claims" | "claimStatuses" | "commodities" | "commoditiesV1" | "companyLocations" | "contacts" | "contractRateRecords" | "contractRateRecordsByContractRates" | "contractRates" | "contracts" | "contractsRecords" | "creditTerms" | "customerBillingNotes" | "customerContracts" | "customerCredit" | "customerCreditLogs" | "customerCreditLogsByCustomer" | "customerCreditStatus" | "customerCreditTypes" | "customerFiles" | "customerInvoices" | "customerNames" | "customerPendingLoads" | "customerPeople" | "customerRequestedAreas" | "customerRequestedAreasByCustomer" | "customers" | "customersV1" | "customersAccessorials" | "customersAccessorialsByCustomer" | "customersLight" | "customersLocations" | "customersLocationsByCustomer" | "customersPeople" | "customersPeopleByCustomer" | "customerStatuses" | "customerTrailers" | "customerTrailersByCustomer" | "deductions" | "defaultSettings" | "departmentPhones" | "dispatches" | "driverNames" | "drivers" | "driversV1" | "ediAccounts" | "ediLoadTenders" | "ediTransactions" | "employeeNames" | "files" | "flags" | "generalLedgerAccounts" | "genericTenders" | "holidays" | "invoiceAdjustments" | "invoiceLineItems" | "invoicePaymentsByPaymentIDV1" | "invoicePaymentsV1" | "invoices" | "invoicesV1" | "loadAdjustments" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "loadBillingKickbacks" | "loadCommodities" | "loadExtraLites" | "loadFiles" | "loadQuoteAccessorials" | "loadRateReviews" | "loads" | "loadsAutocomplete" | "loadShipcons" | "loadsV1" | "loadTenders" | "loadTenderViews" | "loadUserNotesV1" | "locations" | "locationsFiles" | "locationsV1" | "locationsV1Accessorials" | "manualCheckCalls" | "nmfcClasses" | "nodeNames" | "nodes" | "nodeTypeNodes" | "nodeTypes" | "notifications" | "otrDispatches" | "paymentFiles" | "paymentsV1" | "people" | "personNames" | "positions" | "possibleIssueItems" | "quoteAccessorials" | "quoteAccessorialsV1" | "quotes" | "railInvoiceFiles" | "railInvoicesV1" | "railTenders" | "railTendersV1" | "rateReviews" | "rateWareXlActiveTariffs" | "rejectionReasons" | "relayCodes" | "shipConDispatches" | "shipConDispatchesETAs" | "shipConETAs" | "shipConLastMapUpdate" | "shipcons" | "shipconsV1" | "summary_consolidationsV1" | "summary_dispatchesV1" | "tenders" | "tenderStatusesV1" | "timeToPayReports" | "timeToPayReportsByCustomer" | "trailerAvailabilities" | "trailerCodes" | "uninvoicedLoadReports" | "uninvoicedLoadsV1" | "unitsV1" | "userNotesV1" | "userSubscriptions" | "carrierTenderUploadsV1" | "carrierTenderUploadFiles" | "carriersLight" | "railInvoices" | "deposits" | "accountingPayments" | "invoicePayments" | "depositsV1", ArcherFile_Entity[], "salesApi", unknown>;
|
|
19
|
+
exportRailInvoiceToQuickbooksV1: import("@reduxjs/toolkit/query").MutationDefinition<number, (args: any, api: import("@reduxjs/toolkit/query").BaseQueryApi) => import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}> | PromiseLike<import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}>>, "accessorialsV1" | "accountingInvoices" | "activeCarriers" | "apiTenders" | "appointmentArrivals" | "appointmentIssueCategories" | "appointmentIssues" | "appointmentIssueSubcategories" | "appointmentNotes" | "appointmentNoteTypes" | "appointmentTrips" | "archerFiles" | "areas" | "arTransactions" | "assetNames" | "assetNamesFiltered" | "assets" | "assetTypes" | "attributeFields" | "billingKickbackResponseAccessorials" | "billingKickbackResponses" | "billingKickbackResponsesByKickbackID" | "billingKickbacks" | "billingMessages" | "billingNotes" | "cargoConsolidationCargoConsolidationCommodityPieces" | "cargoConsolidationCommodityPieces" | "cargoConsolidationCommodityPiecesByCargoConsolidation" | "cargoConsolidations" | "carrierFiles" | "carrierInsurances" | "carrierInvoiceFiles" | "carrierInvoices" | "carrierInvoicesV1" | "carrierNames" | "carrierPacketNotes" | "carrierPayContracts" | "carriers" | "carrierTenderAccessorials" | "carrierTenderDeductions" | "carrierTenderEdges" | "carrierTenderFiles" | "carrierTenderRateRecords" | "carrierTenders" | "carrierTendersAccounting" | "carrierTendersV1" | "claimResponses" | "claims" | "claimStatuses" | "commodities" | "commoditiesV1" | "companyLocations" | "contacts" | "contractRateRecords" | "contractRateRecordsByContractRates" | "contractRates" | "contracts" | "contractsRecords" | "creditTerms" | "customerBillingNotes" | "customerContracts" | "customerCredit" | "customerCreditLogs" | "customerCreditLogsByCustomer" | "customerCreditStatus" | "customerCreditTypes" | "customerFiles" | "customerInvoices" | "customerNames" | "customerPendingLoads" | "customerPeople" | "customerRequestedAreas" | "customerRequestedAreasByCustomer" | "customers" | "customersV1" | "customersAccessorials" | "customersAccessorialsByCustomer" | "customersLight" | "customersLocations" | "customersLocationsByCustomer" | "customersPeople" | "customersPeopleByCustomer" | "customerStatuses" | "customerTrailers" | "customerTrailersByCustomer" | "deductions" | "defaultSettings" | "departmentPhones" | "dispatches" | "driverNames" | "drivers" | "driversV1" | "ediAccounts" | "ediLoadTenders" | "ediTransactions" | "employeeNames" | "files" | "flags" | "generalLedgerAccounts" | "genericTenders" | "holidays" | "invoiceAdjustments" | "invoiceLineItems" | "invoicePaymentsByPaymentIDV1" | "invoicePaymentsV1" | "invoices" | "invoicesV1" | "loadAdjustments" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "loadBillingKickbacks" | "loadCommodities" | "loadExtraLites" | "loadFiles" | "loadQuoteAccessorials" | "loadRateReviews" | "loads" | "loadsAutocomplete" | "loadShipcons" | "loadsV1" | "loadTenders" | "loadTenderViews" | "loadUserNotesV1" | "locations" | "locationsFiles" | "locationsV1" | "locationsV1Accessorials" | "manualCheckCalls" | "nmfcClasses" | "nodeNames" | "nodes" | "nodeTypeNodes" | "nodeTypes" | "notifications" | "otrDispatches" | "paymentFiles" | "paymentsV1" | "people" | "personNames" | "positions" | "possibleIssueItems" | "quoteAccessorials" | "quoteAccessorialsV1" | "quotes" | "railInvoiceFiles" | "railInvoicesV1" | "railTenders" | "railTendersV1" | "rateReviews" | "rateWareXlActiveTariffs" | "rejectionReasons" | "relayCodes" | "shipConDispatches" | "shipConDispatchesETAs" | "shipConETAs" | "shipConLastMapUpdate" | "shipcons" | "shipconsV1" | "summary_consolidationsV1" | "summary_dispatchesV1" | "tenders" | "tenderStatusesV1" | "timeToPayReports" | "timeToPayReportsByCustomer" | "trailerAvailabilities" | "trailerCodes" | "uninvoicedLoadReports" | "uninvoicedLoadsV1" | "unitsV1" | "userNotesV1" | "userSubscriptions" | "carrierTenderUploadsV1" | "carrierTenderUploadFiles" | "carriersLight" | "railInvoices" | "deposits" | "accountingPayments" | "invoicePayments" | "depositsV1", void, "salesApi", unknown>;
|
|
19
20
|
}, "salesApi", "accessorialsV1" | "accountingInvoices" | "activeCarriers" | "apiTenders" | "appointmentArrivals" | "appointmentIssueCategories" | "appointmentIssues" | "appointmentIssueSubcategories" | "appointmentNotes" | "appointmentNoteTypes" | "appointmentTrips" | "archerFiles" | "areas" | "arTransactions" | "assetNames" | "assetNamesFiltered" | "assets" | "assetTypes" | "attributeFields" | "billingKickbackResponseAccessorials" | "billingKickbackResponses" | "billingKickbackResponsesByKickbackID" | "billingKickbacks" | "billingMessages" | "billingNotes" | "cargoConsolidationCargoConsolidationCommodityPieces" | "cargoConsolidationCommodityPieces" | "cargoConsolidationCommodityPiecesByCargoConsolidation" | "cargoConsolidations" | "carrierFiles" | "carrierInsurances" | "carrierInvoiceFiles" | "carrierInvoices" | "carrierInvoicesV1" | "carrierNames" | "carrierPacketNotes" | "carrierPayContracts" | "carriers" | "carrierTenderAccessorials" | "carrierTenderDeductions" | "carrierTenderEdges" | "carrierTenderFiles" | "carrierTenderRateRecords" | "carrierTenders" | "carrierTendersAccounting" | "carrierTendersV1" | "claimResponses" | "claims" | "claimStatuses" | "commodities" | "commoditiesV1" | "companyLocations" | "contacts" | "contractRateRecords" | "contractRateRecordsByContractRates" | "contractRates" | "contracts" | "contractsRecords" | "creditTerms" | "customerBillingNotes" | "customerContracts" | "customerCredit" | "customerCreditLogs" | "customerCreditLogsByCustomer" | "customerCreditStatus" | "customerCreditTypes" | "customerFiles" | "customerInvoices" | "customerNames" | "customerPendingLoads" | "customerPeople" | "customerRequestedAreas" | "customerRequestedAreasByCustomer" | "customers" | "customersV1" | "customersAccessorials" | "customersAccessorialsByCustomer" | "customersLight" | "customersLocations" | "customersLocationsByCustomer" | "customersPeople" | "customersPeopleByCustomer" | "customerStatuses" | "customerTrailers" | "customerTrailersByCustomer" | "deductions" | "defaultSettings" | "departmentPhones" | "dispatches" | "driverNames" | "drivers" | "driversV1" | "ediAccounts" | "ediLoadTenders" | "ediTransactions" | "employeeNames" | "files" | "flags" | "generalLedgerAccounts" | "genericTenders" | "holidays" | "invoiceAdjustments" | "invoiceLineItems" | "invoicePaymentsByPaymentIDV1" | "invoicePaymentsV1" | "invoices" | "invoicesV1" | "loadAdjustments" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "loadBillingKickbacks" | "loadCommodities" | "loadExtraLites" | "loadFiles" | "loadQuoteAccessorials" | "loadRateReviews" | "loads" | "loadsAutocomplete" | "loadShipcons" | "loadsV1" | "loadTenders" | "loadTenderViews" | "loadUserNotesV1" | "locations" | "locationsFiles" | "locationsV1" | "locationsV1Accessorials" | "manualCheckCalls" | "nmfcClasses" | "nodeNames" | "nodes" | "nodeTypeNodes" | "nodeTypes" | "notifications" | "otrDispatches" | "paymentFiles" | "paymentsV1" | "people" | "personNames" | "positions" | "possibleIssueItems" | "quoteAccessorials" | "quoteAccessorialsV1" | "quotes" | "railInvoiceFiles" | "railInvoicesV1" | "railTenders" | "railTendersV1" | "rateReviews" | "rateWareXlActiveTariffs" | "rejectionReasons" | "relayCodes" | "shipConDispatches" | "shipConDispatchesETAs" | "shipConETAs" | "shipConLastMapUpdate" | "shipcons" | "shipconsV1" | "summary_consolidationsV1" | "summary_dispatchesV1" | "tenders" | "tenderStatusesV1" | "timeToPayReports" | "timeToPayReportsByCustomer" | "trailerAvailabilities" | "trailerCodes" | "uninvoicedLoadReports" | "uninvoicedLoadsV1" | "unitsV1" | "userNotesV1" | "userSubscriptions" | "carrierTenderUploadsV1" | "carrierTenderUploadFiles" | "carriersLight" | "railInvoices" | "deposits" | "accountingPayments" | "invoicePayments" | "depositsV1", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/dist/query/react").reactHooksModuleName>;
|
|
20
21
|
export declare const useGetRailInvoiceV1Query: <R extends Record<string, any> = import("@reduxjs/toolkit/query").TSHelpersId<(Omit<{
|
|
21
22
|
status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
|
|
@@ -1627,6 +1628,166 @@ export declare const useGetRailInvoiceV1Query: <R extends Record<string, any> =
|
|
|
1627
1628
|
} | undefined) => readonly [(arg: number) => import("@reduxjs/toolkit/query").MutationActionCreatorResult<import("@reduxjs/toolkit/query").MutationDefinition<number, (args: any, api: import("@reduxjs/toolkit/query").BaseQueryApi) => import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}> | PromiseLike<import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}>>, "accessorialsV1" | "accountingInvoices" | "activeCarriers" | "apiTenders" | "appointmentArrivals" | "appointmentIssueCategories" | "appointmentIssues" | "appointmentIssueSubcategories" | "appointmentNotes" | "appointmentNoteTypes" | "appointmentTrips" | "archerFiles" | "areas" | "arTransactions" | "assetNames" | "assetNamesFiltered" | "assets" | "assetTypes" | "attributeFields" | "billingKickbackResponseAccessorials" | "billingKickbackResponses" | "billingKickbackResponsesByKickbackID" | "billingKickbacks" | "billingMessages" | "billingNotes" | "cargoConsolidationCargoConsolidationCommodityPieces" | "cargoConsolidationCommodityPieces" | "cargoConsolidationCommodityPiecesByCargoConsolidation" | "cargoConsolidations" | "carrierFiles" | "carrierInsurances" | "carrierInvoiceFiles" | "carrierInvoices" | "carrierInvoicesV1" | "carrierNames" | "carrierPacketNotes" | "carrierPayContracts" | "carriers" | "carrierTenderAccessorials" | "carrierTenderDeductions" | "carrierTenderEdges" | "carrierTenderFiles" | "carrierTenderRateRecords" | "carrierTenders" | "carrierTendersAccounting" | "carrierTendersV1" | "claimResponses" | "claims" | "claimStatuses" | "commodities" | "commoditiesV1" | "companyLocations" | "contacts" | "contractRateRecords" | "contractRateRecordsByContractRates" | "contractRates" | "contracts" | "contractsRecords" | "creditTerms" | "customerBillingNotes" | "customerContracts" | "customerCredit" | "customerCreditLogs" | "customerCreditLogsByCustomer" | "customerCreditStatus" | "customerCreditTypes" | "customerFiles" | "customerInvoices" | "customerNames" | "customerPendingLoads" | "customerPeople" | "customerRequestedAreas" | "customerRequestedAreasByCustomer" | "customers" | "customersV1" | "customersAccessorials" | "customersAccessorialsByCustomer" | "customersLight" | "customersLocations" | "customersLocationsByCustomer" | "customersPeople" | "customersPeopleByCustomer" | "customerStatuses" | "customerTrailers" | "customerTrailersByCustomer" | "deductions" | "defaultSettings" | "departmentPhones" | "dispatches" | "driverNames" | "drivers" | "driversV1" | "ediAccounts" | "ediLoadTenders" | "ediTransactions" | "employeeNames" | "files" | "flags" | "generalLedgerAccounts" | "genericTenders" | "holidays" | "invoiceAdjustments" | "invoiceLineItems" | "invoicePaymentsByPaymentIDV1" | "invoicePaymentsV1" | "invoices" | "invoicesV1" | "loadAdjustments" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "loadBillingKickbacks" | "loadCommodities" | "loadExtraLites" | "loadFiles" | "loadQuoteAccessorials" | "loadRateReviews" | "loads" | "loadsAutocomplete" | "loadShipcons" | "loadsV1" | "loadTenders" | "loadTenderViews" | "loadUserNotesV1" | "locations" | "locationsFiles" | "locationsV1" | "locationsV1Accessorials" | "manualCheckCalls" | "nmfcClasses" | "nodeNames" | "nodes" | "nodeTypeNodes" | "nodeTypes" | "notifications" | "otrDispatches" | "paymentFiles" | "paymentsV1" | "people" | "personNames" | "positions" | "possibleIssueItems" | "quoteAccessorials" | "quoteAccessorialsV1" | "quotes" | "railInvoiceFiles" | "railInvoicesV1" | "railTenders" | "railTendersV1" | "rateReviews" | "rateWareXlActiveTariffs" | "rejectionReasons" | "relayCodes" | "shipConDispatches" | "shipConDispatchesETAs" | "shipConETAs" | "shipConLastMapUpdate" | "shipcons" | "shipconsV1" | "summary_consolidationsV1" | "summary_dispatchesV1" | "tenders" | "tenderStatusesV1" | "timeToPayReports" | "timeToPayReportsByCustomer" | "trailerAvailabilities" | "trailerCodes" | "uninvoicedLoadReports" | "uninvoicedLoadsV1" | "unitsV1" | "userNotesV1" | "userSubscriptions" | "carrierTenderUploadsV1" | "carrierTenderUploadFiles" | "carriersLight" | "railInvoices" | "deposits" | "accountingPayments" | "invoicePayments" | "depositsV1", void, "salesApi", unknown>>, import("@reduxjs/toolkit/query").TSHelpersNoInfer<R> & {
|
|
1628
1629
|
originalArgs?: number | undefined;
|
|
1629
1630
|
reset: () => void;
|
|
1631
|
+
}], useExportRailInvoiceToQuickbooksV1Mutation: <R extends Record<string, any> = ({
|
|
1632
|
+
requestId?: undefined;
|
|
1633
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
|
|
1634
|
+
data?: undefined;
|
|
1635
|
+
error?: undefined;
|
|
1636
|
+
endpointName?: string;
|
|
1637
|
+
startedTimeStamp?: undefined;
|
|
1638
|
+
fulfilledTimeStamp?: undefined;
|
|
1639
|
+
} & {
|
|
1640
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
|
|
1641
|
+
isUninitialized: true;
|
|
1642
|
+
isLoading: false;
|
|
1643
|
+
isSuccess: false;
|
|
1644
|
+
isError: false;
|
|
1645
|
+
}) | ({
|
|
1646
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.fulfilled;
|
|
1647
|
+
} & Omit<{
|
|
1648
|
+
requestId: string;
|
|
1649
|
+
data?: void | undefined;
|
|
1650
|
+
error?: import("@reduxjs/toolkit/query").FetchBaseQueryError | import("@reduxjs/toolkit").SerializedError | undefined;
|
|
1651
|
+
endpointName: string;
|
|
1652
|
+
startedTimeStamp: number;
|
|
1653
|
+
fulfilledTimeStamp?: number;
|
|
1654
|
+
}, "data" | "fulfilledTimeStamp"> & Required<Pick<{
|
|
1655
|
+
requestId: string;
|
|
1656
|
+
data?: void | undefined;
|
|
1657
|
+
error?: import("@reduxjs/toolkit/query").FetchBaseQueryError | import("@reduxjs/toolkit").SerializedError | undefined;
|
|
1658
|
+
endpointName: string;
|
|
1659
|
+
startedTimeStamp: number;
|
|
1660
|
+
fulfilledTimeStamp?: number;
|
|
1661
|
+
}, "data" | "fulfilledTimeStamp">> & {
|
|
1662
|
+
error: undefined;
|
|
1663
|
+
} & {
|
|
1664
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.fulfilled;
|
|
1665
|
+
isUninitialized: false;
|
|
1666
|
+
isLoading: false;
|
|
1667
|
+
isSuccess: true;
|
|
1668
|
+
isError: false;
|
|
1669
|
+
}) | ({
|
|
1670
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.pending;
|
|
1671
|
+
} & {
|
|
1672
|
+
requestId: string;
|
|
1673
|
+
data?: void | undefined;
|
|
1674
|
+
error?: import("@reduxjs/toolkit/query").FetchBaseQueryError | import("@reduxjs/toolkit").SerializedError | undefined;
|
|
1675
|
+
endpointName: string;
|
|
1676
|
+
startedTimeStamp: number;
|
|
1677
|
+
fulfilledTimeStamp?: number;
|
|
1678
|
+
} & {
|
|
1679
|
+
data?: undefined;
|
|
1680
|
+
} & {
|
|
1681
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.pending;
|
|
1682
|
+
isUninitialized: false;
|
|
1683
|
+
isLoading: true;
|
|
1684
|
+
isSuccess: false;
|
|
1685
|
+
isError: false;
|
|
1686
|
+
}) | ({
|
|
1687
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.rejected;
|
|
1688
|
+
} & Omit<{
|
|
1689
|
+
requestId: string;
|
|
1690
|
+
data?: void | undefined;
|
|
1691
|
+
error?: import("@reduxjs/toolkit/query").FetchBaseQueryError | import("@reduxjs/toolkit").SerializedError | undefined;
|
|
1692
|
+
endpointName: string;
|
|
1693
|
+
startedTimeStamp: number;
|
|
1694
|
+
fulfilledTimeStamp?: number;
|
|
1695
|
+
}, "error"> & Required<Pick<{
|
|
1696
|
+
requestId: string;
|
|
1697
|
+
data?: void | undefined;
|
|
1698
|
+
error?: import("@reduxjs/toolkit/query").FetchBaseQueryError | import("@reduxjs/toolkit").SerializedError | undefined;
|
|
1699
|
+
endpointName: string;
|
|
1700
|
+
startedTimeStamp: number;
|
|
1701
|
+
fulfilledTimeStamp?: number;
|
|
1702
|
+
}, "error">> & {
|
|
1703
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.rejected;
|
|
1704
|
+
isUninitialized: false;
|
|
1705
|
+
isLoading: false;
|
|
1706
|
+
isSuccess: false;
|
|
1707
|
+
isError: true;
|
|
1708
|
+
})>(options?: {
|
|
1709
|
+
selectFromResult?: ((state: ({
|
|
1710
|
+
requestId?: undefined;
|
|
1711
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
|
|
1712
|
+
data?: undefined;
|
|
1713
|
+
error?: undefined;
|
|
1714
|
+
endpointName?: string;
|
|
1715
|
+
startedTimeStamp?: undefined;
|
|
1716
|
+
fulfilledTimeStamp?: undefined;
|
|
1717
|
+
} & {
|
|
1718
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
|
|
1719
|
+
isUninitialized: true;
|
|
1720
|
+
isLoading: false;
|
|
1721
|
+
isSuccess: false;
|
|
1722
|
+
isError: false;
|
|
1723
|
+
}) | ({
|
|
1724
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.fulfilled;
|
|
1725
|
+
} & Omit<{
|
|
1726
|
+
requestId: string;
|
|
1727
|
+
data?: void | undefined;
|
|
1728
|
+
error?: import("@reduxjs/toolkit/query").FetchBaseQueryError | import("@reduxjs/toolkit").SerializedError | undefined;
|
|
1729
|
+
endpointName: string;
|
|
1730
|
+
startedTimeStamp: number;
|
|
1731
|
+
fulfilledTimeStamp?: number;
|
|
1732
|
+
}, "data" | "fulfilledTimeStamp"> & Required<Pick<{
|
|
1733
|
+
requestId: string;
|
|
1734
|
+
data?: void | undefined;
|
|
1735
|
+
error?: import("@reduxjs/toolkit/query").FetchBaseQueryError | import("@reduxjs/toolkit").SerializedError | undefined;
|
|
1736
|
+
endpointName: string;
|
|
1737
|
+
startedTimeStamp: number;
|
|
1738
|
+
fulfilledTimeStamp?: number;
|
|
1739
|
+
}, "data" | "fulfilledTimeStamp">> & {
|
|
1740
|
+
error: undefined;
|
|
1741
|
+
} & {
|
|
1742
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.fulfilled;
|
|
1743
|
+
isUninitialized: false;
|
|
1744
|
+
isLoading: false;
|
|
1745
|
+
isSuccess: true;
|
|
1746
|
+
isError: false;
|
|
1747
|
+
}) | ({
|
|
1748
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.pending;
|
|
1749
|
+
} & {
|
|
1750
|
+
requestId: string;
|
|
1751
|
+
data?: void | undefined;
|
|
1752
|
+
error?: import("@reduxjs/toolkit/query").FetchBaseQueryError | import("@reduxjs/toolkit").SerializedError | undefined;
|
|
1753
|
+
endpointName: string;
|
|
1754
|
+
startedTimeStamp: number;
|
|
1755
|
+
fulfilledTimeStamp?: number;
|
|
1756
|
+
} & {
|
|
1757
|
+
data?: undefined;
|
|
1758
|
+
} & {
|
|
1759
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.pending;
|
|
1760
|
+
isUninitialized: false;
|
|
1761
|
+
isLoading: true;
|
|
1762
|
+
isSuccess: false;
|
|
1763
|
+
isError: false;
|
|
1764
|
+
}) | ({
|
|
1765
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.rejected;
|
|
1766
|
+
} & Omit<{
|
|
1767
|
+
requestId: string;
|
|
1768
|
+
data?: void | undefined;
|
|
1769
|
+
error?: import("@reduxjs/toolkit/query").FetchBaseQueryError | import("@reduxjs/toolkit").SerializedError | undefined;
|
|
1770
|
+
endpointName: string;
|
|
1771
|
+
startedTimeStamp: number;
|
|
1772
|
+
fulfilledTimeStamp?: number;
|
|
1773
|
+
}, "error"> & Required<Pick<{
|
|
1774
|
+
requestId: string;
|
|
1775
|
+
data?: void | undefined;
|
|
1776
|
+
error?: import("@reduxjs/toolkit/query").FetchBaseQueryError | import("@reduxjs/toolkit").SerializedError | undefined;
|
|
1777
|
+
endpointName: string;
|
|
1778
|
+
startedTimeStamp: number;
|
|
1779
|
+
fulfilledTimeStamp?: number;
|
|
1780
|
+
}, "error">> & {
|
|
1781
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.rejected;
|
|
1782
|
+
isUninitialized: false;
|
|
1783
|
+
isLoading: false;
|
|
1784
|
+
isSuccess: false;
|
|
1785
|
+
isError: true;
|
|
1786
|
+
})) => R) | undefined;
|
|
1787
|
+
fixedCacheKey?: string;
|
|
1788
|
+
} | undefined) => readonly [(arg: number) => import("@reduxjs/toolkit/query").MutationActionCreatorResult<import("@reduxjs/toolkit/query").MutationDefinition<number, (args: any, api: import("@reduxjs/toolkit/query").BaseQueryApi) => import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}> | PromiseLike<import("@reduxjs/toolkit/query").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}>>, "accessorialsV1" | "accountingInvoices" | "activeCarriers" | "apiTenders" | "appointmentArrivals" | "appointmentIssueCategories" | "appointmentIssues" | "appointmentIssueSubcategories" | "appointmentNotes" | "appointmentNoteTypes" | "appointmentTrips" | "archerFiles" | "areas" | "arTransactions" | "assetNames" | "assetNamesFiltered" | "assets" | "assetTypes" | "attributeFields" | "billingKickbackResponseAccessorials" | "billingKickbackResponses" | "billingKickbackResponsesByKickbackID" | "billingKickbacks" | "billingMessages" | "billingNotes" | "cargoConsolidationCargoConsolidationCommodityPieces" | "cargoConsolidationCommodityPieces" | "cargoConsolidationCommodityPiecesByCargoConsolidation" | "cargoConsolidations" | "carrierFiles" | "carrierInsurances" | "carrierInvoiceFiles" | "carrierInvoices" | "carrierInvoicesV1" | "carrierNames" | "carrierPacketNotes" | "carrierPayContracts" | "carriers" | "carrierTenderAccessorials" | "carrierTenderDeductions" | "carrierTenderEdges" | "carrierTenderFiles" | "carrierTenderRateRecords" | "carrierTenders" | "carrierTendersAccounting" | "carrierTendersV1" | "claimResponses" | "claims" | "claimStatuses" | "commodities" | "commoditiesV1" | "companyLocations" | "contacts" | "contractRateRecords" | "contractRateRecordsByContractRates" | "contractRates" | "contracts" | "contractsRecords" | "creditTerms" | "customerBillingNotes" | "customerContracts" | "customerCredit" | "customerCreditLogs" | "customerCreditLogsByCustomer" | "customerCreditStatus" | "customerCreditTypes" | "customerFiles" | "customerInvoices" | "customerNames" | "customerPendingLoads" | "customerPeople" | "customerRequestedAreas" | "customerRequestedAreasByCustomer" | "customers" | "customersV1" | "customersAccessorials" | "customersAccessorialsByCustomer" | "customersLight" | "customersLocations" | "customersLocationsByCustomer" | "customersPeople" | "customersPeopleByCustomer" | "customerStatuses" | "customerTrailers" | "customerTrailersByCustomer" | "deductions" | "defaultSettings" | "departmentPhones" | "dispatches" | "driverNames" | "drivers" | "driversV1" | "ediAccounts" | "ediLoadTenders" | "ediTransactions" | "employeeNames" | "files" | "flags" | "generalLedgerAccounts" | "genericTenders" | "holidays" | "invoiceAdjustments" | "invoiceLineItems" | "invoicePaymentsByPaymentIDV1" | "invoicePaymentsV1" | "invoices" | "invoicesV1" | "loadAdjustments" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "loadBillingKickbacks" | "loadCommodities" | "loadExtraLites" | "loadFiles" | "loadQuoteAccessorials" | "loadRateReviews" | "loads" | "loadsAutocomplete" | "loadShipcons" | "loadsV1" | "loadTenders" | "loadTenderViews" | "loadUserNotesV1" | "locations" | "locationsFiles" | "locationsV1" | "locationsV1Accessorials" | "manualCheckCalls" | "nmfcClasses" | "nodeNames" | "nodes" | "nodeTypeNodes" | "nodeTypes" | "notifications" | "otrDispatches" | "paymentFiles" | "paymentsV1" | "people" | "personNames" | "positions" | "possibleIssueItems" | "quoteAccessorials" | "quoteAccessorialsV1" | "quotes" | "railInvoiceFiles" | "railInvoicesV1" | "railTenders" | "railTendersV1" | "rateReviews" | "rateWareXlActiveTariffs" | "rejectionReasons" | "relayCodes" | "shipConDispatches" | "shipConDispatchesETAs" | "shipConETAs" | "shipConLastMapUpdate" | "shipcons" | "shipconsV1" | "summary_consolidationsV1" | "summary_dispatchesV1" | "tenders" | "tenderStatusesV1" | "timeToPayReports" | "timeToPayReportsByCustomer" | "trailerAvailabilities" | "trailerCodes" | "uninvoicedLoadReports" | "uninvoicedLoadsV1" | "unitsV1" | "userNotesV1" | "userSubscriptions" | "carrierTenderUploadsV1" | "carrierTenderUploadFiles" | "carriersLight" | "railInvoices" | "deposits" | "accountingPayments" | "invoicePayments" | "depositsV1", void, "salesApi", unknown>>, import("@reduxjs/toolkit/query").TSHelpersNoInfer<R> & {
|
|
1789
|
+
originalArgs?: number | undefined;
|
|
1790
|
+
reset: () => void;
|
|
1630
1791
|
}];
|
|
1631
1792
|
export default railInvoiceV1Endpoints;
|
|
1632
1793
|
export declare const getRailInvoicesV1Selectors: (params: Record<string, unknown> | void) => import("@reduxjs/toolkit").EntitySelectors<RailInvoiceV1_Entity, {
|
|
@@ -71,9 +71,21 @@ export const railInvoiceV1Endpoints = salesApi.injectEndpoints({
|
|
|
71
71
|
query: (id) => `file-service/railInvoices/${id}/files`,
|
|
72
72
|
providesTags: ["railInvoiceFiles"],
|
|
73
73
|
}),
|
|
74
|
+
exportRailInvoiceToQuickbooksV1: build.mutation({
|
|
75
|
+
query: (id) => ({
|
|
76
|
+
method: "POST",
|
|
77
|
+
url: `rail_invoices/${id}/export_to_payables.json`,
|
|
78
|
+
routePrefix: "/v1",
|
|
79
|
+
}),
|
|
80
|
+
invalidatesTags: (_result, _error, id) => [
|
|
81
|
+
{ type: "railInvoicesV1", id },
|
|
82
|
+
"railInvoicesV1",
|
|
83
|
+
"railInvoices",
|
|
84
|
+
],
|
|
85
|
+
}),
|
|
74
86
|
}),
|
|
75
87
|
});
|
|
76
|
-
export const { useGetRailInvoiceV1Query, useGetRailInvoicesV1Query, useLazyGetRailInvoicesV1Query, useLazyGetRailInvoiceV1Query, useCreateRailInvoiceV1Mutation, useDeleteRailInvoiceV1Mutation, useUpdateRailInvoiceV1Mutation, useGetRailInvoiceFilesQuery, useLazyGetRailInvoiceFilesQuery, useImportRailInvoiceV1Mutation, useReconcileRailInvoiceV1Mutation, } = railInvoiceV1Endpoints;
|
|
88
|
+
export const { useGetRailInvoiceV1Query, useGetRailInvoicesV1Query, useLazyGetRailInvoicesV1Query, useLazyGetRailInvoiceV1Query, useCreateRailInvoiceV1Mutation, useDeleteRailInvoiceV1Mutation, useUpdateRailInvoiceV1Mutation, useGetRailInvoiceFilesQuery, useLazyGetRailInvoiceFilesQuery, useImportRailInvoiceV1Mutation, useReconcileRailInvoiceV1Mutation, useExportRailInvoiceToQuickbooksV1Mutation, } = railInvoiceV1Endpoints;
|
|
77
89
|
export default railInvoiceV1Endpoints;
|
|
78
90
|
export const getRailInvoicesV1Selectors = (params) => {
|
|
79
91
|
return railInvoicesV1Adapter.getSelectors((state) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"railInvoiceV1Endpoints.js","sourceRoot":"","sources":["../../../src/redux/railInvoiceV1/railInvoiceV1Endpoints.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EAEnB,cAAc,GACf,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAG3C,MAAM,qBAAqB,GAAG,mBAAmB,EAAwB,CAAC;AAC1E,MAAM,0BAA0B,GAAG,qBAAqB,CAAC,eAAe,EAAE,CAAC;AAE3E,MAAM,CAAC,MAAM,sBAAsB,GAAG,QAAQ,CAAC,eAAe,CAAC;IAC7D,SAAS,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;QACrB,iBAAiB,EAAE,KAAK,CAAC,KAAK,CAG5B;YACA,KAAK,EAAE,CAAC,IAAI,EAAE,EAAE;gBACd,OAAO;oBACL,GAAG,EAAE,eAAe;oBACpB,MAAM,EAAE,IAAI;oBACZ,WAAW,EAAE,KAAK;iBACnB,CAAC;YACJ,CAAC;YACD,iBAAiB,EAAE,CAAC,YAAoC,EAAE,EAAE;gBAC1D,OAAO,qBAAqB,CAAC,MAAM,CACjC,0BAA0B,EAC1B,YAAY,CACb,CAAC;YACJ,CAAC;YAC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