@nerdjs/sales-kit 2.0.71 → 2.0.73
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.
|
@@ -6,6 +6,7 @@ import { useMemo } from "react";
|
|
|
6
6
|
import { useTranslation } from "react-i18next";
|
|
7
7
|
import { getShipconsSelectors, useGetShipconsQuery } from "../../redux";
|
|
8
8
|
import { useSelector } from "react-redux";
|
|
9
|
+
const DATE_TIME_REGEX = /(\d{4})(-)(\d{2})(-)(\d{2})( )(\d{2})(:)(\d{2})(:)(\d{2})/i;
|
|
9
10
|
/**
|
|
10
11
|
*
|
|
11
12
|
* @param {object} param0 props
|
|
@@ -32,49 +33,66 @@ export function LoadDetailsStatus({ load, }) {
|
|
|
32
33
|
return (_jsx(Card, { sx: {
|
|
33
34
|
p: 2,
|
|
34
35
|
zIndex: theme.zIndex.modal - 1,
|
|
35
|
-
}, children: isFetching ? (_jsx(Box, { display: "flex", width: "100%", justifyContent: "center", children: _jsx(CircularProgress, {}) })) : (_jsxs(_Fragment, { children: [_jsx(Typography, { level: "h4", children: t("Load Details") }), _jsx(Grid, { container: true, spacing: 1, justifyContent: "center", alignItems: "center", height: "100%", sx: { pt: 2 }, children: _jsx(Grid, { xs: 12, children: shipcons.map((s, i) =>
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
36
|
+
}, children: isFetching ? (_jsx(Box, { display: "flex", width: "100%", justifyContent: "center", children: _jsx(CircularProgress, {}) })) : (_jsxs(_Fragment, { children: [_jsx(Typography, { level: "h4", children: t("Load Details") }), _jsx(Grid, { container: true, spacing: 1, justifyContent: "center", alignItems: "center", height: "100%", sx: { pt: 2 }, children: _jsx(Grid, { xs: 12, children: shipcons.map((s, i) => {
|
|
37
|
+
let arrival = s.eta?.arrival_time_local?.match(DATE_TIME_REGEX)?.[0];
|
|
38
|
+
if (arrival) {
|
|
39
|
+
arrival = DateTime.fromFormat(arrival, "yyyy-MM-dd HH:mm:ss", { zone: "utc" }).toFormat("MM/dd/yy hh:mm a");
|
|
40
|
+
arrival += " " + s.eta?.arrival_time_local?.split(" ")[2];
|
|
41
|
+
}
|
|
42
|
+
let depart = s.eta?.depart_time_local?.match(DATE_TIME_REGEX)?.[0];
|
|
43
|
+
if (depart) {
|
|
44
|
+
depart = DateTime.fromFormat(depart, "yyyy-MM-dd HH:mm:ss", {
|
|
45
|
+
zone: "utc",
|
|
46
|
+
}).toFormat("MM/dd/yy hh:mm a");
|
|
47
|
+
depart += " " + s.eta?.depart_time_local?.split(" ")[2];
|
|
48
|
+
}
|
|
49
|
+
let eta = s.eta?.local_eta?.match(DATE_TIME_REGEX)?.[0];
|
|
50
|
+
if (eta) {
|
|
51
|
+
eta = DateTime.fromFormat(eta, "yyyy-MM-dd HH:mm:ss", {
|
|
52
|
+
zone: "utc",
|
|
53
|
+
}).toFormat("MM/dd/yy hh:mm a");
|
|
54
|
+
eta += " " + s.eta?.local_eta?.split(" ")[2];
|
|
55
|
+
}
|
|
56
|
+
return (_jsxs(Box, { sx: { display: "flex", gap: 1, alignItems: "stretch" }, children: [_jsx(Box, { sx: {
|
|
57
|
+
display: "flex",
|
|
58
|
+
flexDirection: "column",
|
|
59
|
+
gap: 1,
|
|
60
|
+
justifyContent: "space-between",
|
|
61
|
+
}, children: _jsx(Typography, { children: s.shipConsType === "shipper" ? (_jsx("i", { className: "fa-solid fa-arrow-up" })) : (_jsx("i", { className: "fa-solid fa-arrow-down" })) }) }), _jsx(Box, { children: _jsx(Tooltip, { size: "sm", title: s.eta?.departed
|
|
62
|
+
? "Departed"
|
|
56
63
|
: s.eta?.arrived
|
|
57
|
-
? "
|
|
58
|
-
: "
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
64
|
+
? "Arrived"
|
|
65
|
+
: "", children: _jsx(Sheet, { variant: "solid", sx: {
|
|
66
|
+
height: "100%",
|
|
67
|
+
width: 12,
|
|
68
|
+
borderTopRightRadius: i === 0 ? 6 : 0,
|
|
69
|
+
borderTopLeftRadius: i === 0 ? 6 : 0,
|
|
70
|
+
borderBottomRightRadius: i === shipcons.length - 1 ? 6 : 0,
|
|
71
|
+
borderBottomLeftRadius: i === shipcons.length - 1 ? 6 : 0,
|
|
72
|
+
fontSize: 7,
|
|
73
|
+
p: 0.25,
|
|
74
|
+
textAlign: "center",
|
|
75
|
+
}, color: s.eta?.departed
|
|
76
|
+
? "success"
|
|
77
|
+
: s.eta?.arrived
|
|
78
|
+
? "primary"
|
|
79
|
+
: "neutral", children: _jsx("i", { className: "fa-solid fa-circle" }) }) }) }), _jsxs(Box, { sx: {
|
|
80
|
+
pb: 4,
|
|
81
|
+
p: 1,
|
|
82
|
+
width: "100%",
|
|
83
|
+
borderRadius: 4,
|
|
84
|
+
background: "rgba(155,155,155,0)",
|
|
85
|
+
}, children: [_jsxs(Typography, { level: "body-sm", children: [_jsxs("b", { children: [s.stopNumber, ". ", s?.name] }), s.eta?.departed ? (_jsxs(Typography, { level: "body-sm", color: "success", children: [" ", "Departed"] })) : s.eta?.arrived ? (_jsxs(Typography, { level: "body-sm", color: "primary", children: [" ", "Arrived"] })) : ("")] }), _jsxs(Typography, { level: "body-xs", children: [s.zip, " ", s.city, ", ", s.state] }), _jsx(Divider, {}), s.timeFrom ? (_jsxs(Typography, { level: "body-xs", children: [_jsx(Typography, { fontWeight: "xl", level: "body-xs", children: "Appointment:" }), " ", s.stopDate
|
|
86
|
+
? DateTime.fromISO(s.stopDate.replace("Z", "")
|
|
87
|
+
// eslint-disable-next-line i18next/no-literal-string
|
|
88
|
+
).toFormat("MM/dd/yy")
|
|
89
|
+
: "", " ", DateTime.fromISO(s.timeFrom.replace("Z", "")).toFormat(
|
|
66
90
|
// eslint-disable-next-line i18next/no-literal-string
|
|
67
|
-
)
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
).toFormat("hh:mm a")
|
|
74
|
-
: ""] })) : ([]), s.eta?.local_eta ? (_jsxs(Typography, { level: "body-xs", children: [_jsx(Typography, { fontWeight: "xl", level: "body-xs", children: "ETA:" }), " ", DateTime.fromFormat(s.eta.local_eta, "yyyy-MM-dd HH:mm:ss z", { setZone: true }).toFormat("MM/dd/yy hh:mm a z")] })) : null, s.eta ? (_jsxs(Typography, { level: "body-xs", children: [_jsx(Typography, { fontWeight: "xl", level: "body-xs", children: "Arrival/Departure:" }), " ", s.eta.arrival_time_local
|
|
75
|
-
? DateTime.fromFormat(s.eta.arrival_time_local, "yyyy-MM-dd HH:mm:ss z", { setZone: true }).toFormat("MM/dd/yy hh:mm a z")
|
|
76
|
-
: "", " ", "-", " ", s.eta.depart_time_local
|
|
77
|
-
? DateTime.fromFormat(s.eta.depart_time_local, "yyyy-MM-dd HH:mm:ss z", { setZone: true }).toFormat("MM/dd/yy hh:mm a z")
|
|
78
|
-
: ""] })) : null] })] }, s.stopNumber))) }) })] })) }));
|
|
91
|
+
"hh:mm a"), " ", "-", " ", s.timeTo
|
|
92
|
+
? DateTime.fromISO(s.timeTo.replace("Z", "")
|
|
93
|
+
// eslint-disable-next-line i18next/no-literal-string
|
|
94
|
+
).toFormat("hh:mm a")
|
|
95
|
+
: ""] })) : ([]), s.eta ? (_jsxs(_Fragment, { children: [_jsxs(Typography, { level: "body-xs", children: [_jsx(Typography, { fontWeight: "xl", level: "body-xs", children: "ETA:" }), " ", eta ?? "-"] }), _jsx(Typography, { level: "body-xs", children: s.eta.eta_notes }), _jsxs(Typography, { level: "body-xs", children: [_jsx(Typography, { fontWeight: "xl", level: "body-xs", children: "Arrival/Departure:" }), " ", arrival ?? "", " - ", depart ?? ""] })] })) : null] })] }, s.stopNumber));
|
|
96
|
+
}) }) })] })) }));
|
|
79
97
|
}
|
|
80
98
|
//# sourceMappingURL=loadDetailsStatus.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"loadDetailsStatus.js","sourceRoot":"","sources":["../../../src/hooks/load/loadDetailsStatus.tsx"],"names":[],"mappings":";AAAA,OAAO,EACL,IAAI,EACJ,gBAAgB,EAChB,OAAO,EACP,IAAI,EACJ,KAAK,EACL,OAAO,EACP,UAAU,GACX,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,EAAgB,OAAO,EAAE,MAAM,OAAO,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAE/C,OAAO,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AACxE,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C;;;;;GAKG;AACH,MAAM,UAAU,iBAAiB,CAAC,EAChC,IAAI,GAGL;IACC,MAAM,EAAE,CAAC,EAAE,GAAG,cAAc,CAAC,UAAU,CAAC,CAAC;IACzC,MAAM,KAAK,GAAG,QAAQ,EAAE,CAAC;IACzB,MAAM,MAAM,GAAG;QACb,OAAO,EAAE,IAAI,CAAC,SAAS,CAAC;YACtB;gBACE,IAAI,EAAE,mBAAmB;gBACzB,KAAK,EAAE,IAAI,CAAC,EAAE;gBACd,UAAU,EAAE,IAAI;aACjB;SACF,CAAC;KACH,CAAC;IACF,MAAM,EAAE,UAAU,EAAE,GAAG,mBAAmB,CAAC,MAAM,EAAE;QACjD,IAAI,EAAE,CAAC,IAAI,CAAC,EAAE;KACf,CAAC,CAAC;IACH,MAAM,iBAAiB,GAAG,OAAO,CAC/B,GAAG,EAAE,CAAC,oBAAoB,C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,EAAE,KAAK,EAAC,SAAS,mCAEhC,EAAC,GAAG,EAChB,OAAO,IAAI,EAAE,SAAK,MAAM,IAAI,EAAE,IACpB,IACZ,CACJ,CAAC,CAAC,CAAC,IAAI,IACJ,KAvID,CAAC,CAAC,UAAU,CAwIb,CACP,CAAC;wBACJ,CAAC,CAAC,GACG,GACF,IACN,CACJ,GACI,CACR,CAAC;AACJ,CAAC"}
|
|
@@ -4,22 +4,22 @@ export declare const departmentPhoneEndpoints: import("@reduxjs/toolkit/query").
|
|
|
4
4
|
getDepartmentPhones: import("@reduxjs/toolkit/query").QueryDefinition<void | Record<string, unknown>, (args: any, api: import("@reduxjs/toolkit/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}>>, "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities" | "locationsV1" | "locationsV1Accessorials" | "archerFiles" | "appointmentNotes" | "appointmentNoteTypes" | "shipconsV1" | "loadShipcons" | "appointmentIssueCategories" | "appointmentIssueSubcategories" | "personNames" | "nodeNames" | "driverNames" | "carrierNames" | "appointmentIssues" | "loadsV1" | "nmfcClasses" | "commoditiesV1" | "loadCommodities" | "loadQuoteAccessorials" | "quoteAccessorialsV1" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "userNotesV1" | "loadUserNotesV1" | "unitsV1" | "customersAccessorials" | "notifications" | "people" | "userSubscriptions" | "contacts" | "flags" | "rateReviews" | "loadRateReviews" | "genericTenders" | "loadTenders" | "dispatches" | "summary_dispatchesV1" | "summary_consolidationsV1" | "claims" | "claimResponses" | "claimStatuses" | "billingKickbacks" | "loadBillingKickbacks" | "billingKickbackResponses" | "billingKickbackResponsesByKickbackID" | "billingKickbackResponseAccessorials" | "billingMessages" | "invoicesV1" | "invoiceLineItems" | "invoices" | "billingNotes" | "generalLedgerAccounts" | "invoiceAdjustments" | "customerBillingNotes" | "commodities" | "loadFiles" | "locationsFiles" | "apiTenders" | "customerCredit" | "companyLocations" | "departmentPhones" | "drivers", EntityState<DepartmentPhone_Entity>, "salesApi">;
|
|
5
5
|
getDepartmentPhone: import("@reduxjs/toolkit/query").QueryDefinition<number, (args: any, api: import("@reduxjs/toolkit/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}>>, "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities" | "locationsV1" | "locationsV1Accessorials" | "archerFiles" | "appointmentNotes" | "appointmentNoteTypes" | "shipconsV1" | "loadShipcons" | "appointmentIssueCategories" | "appointmentIssueSubcategories" | "personNames" | "nodeNames" | "driverNames" | "carrierNames" | "appointmentIssues" | "loadsV1" | "nmfcClasses" | "commoditiesV1" | "loadCommodities" | "loadQuoteAccessorials" | "quoteAccessorialsV1" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "userNotesV1" | "loadUserNotesV1" | "unitsV1" | "customersAccessorials" | "notifications" | "people" | "userSubscriptions" | "contacts" | "flags" | "rateReviews" | "loadRateReviews" | "genericTenders" | "loadTenders" | "dispatches" | "summary_dispatchesV1" | "summary_consolidationsV1" | "claims" | "claimResponses" | "claimStatuses" | "billingKickbacks" | "loadBillingKickbacks" | "billingKickbackResponses" | "billingKickbackResponsesByKickbackID" | "billingKickbackResponseAccessorials" | "billingMessages" | "invoicesV1" | "invoiceLineItems" | "invoices" | "billingNotes" | "generalLedgerAccounts" | "invoiceAdjustments" | "customerBillingNotes" | "commodities" | "loadFiles" | "locationsFiles" | "apiTenders" | "customerCredit" | "companyLocations" | "departmentPhones" | "drivers", DepartmentPhone_Entity, "salesApi">;
|
|
6
6
|
createDepartmentPhone: import("@reduxjs/toolkit/query").MutationDefinition<{
|
|
7
|
-
|
|
7
|
+
departmentphone: Partial<DepartmentPhone_Entity>;
|
|
8
8
|
}, (args: any, api: import("@reduxjs/toolkit/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}>>, "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities" | "locationsV1" | "locationsV1Accessorials" | "archerFiles" | "appointmentNotes" | "appointmentNoteTypes" | "shipconsV1" | "loadShipcons" | "appointmentIssueCategories" | "appointmentIssueSubcategories" | "personNames" | "nodeNames" | "driverNames" | "carrierNames" | "appointmentIssues" | "loadsV1" | "nmfcClasses" | "commoditiesV1" | "loadCommodities" | "loadQuoteAccessorials" | "quoteAccessorialsV1" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "userNotesV1" | "loadUserNotesV1" | "unitsV1" | "customersAccessorials" | "notifications" | "people" | "userSubscriptions" | "contacts" | "flags" | "rateReviews" | "loadRateReviews" | "genericTenders" | "loadTenders" | "dispatches" | "summary_dispatchesV1" | "summary_consolidationsV1" | "claims" | "claimResponses" | "claimStatuses" | "billingKickbacks" | "loadBillingKickbacks" | "billingKickbackResponses" | "billingKickbackResponsesByKickbackID" | "billingKickbackResponseAccessorials" | "billingMessages" | "invoicesV1" | "invoiceLineItems" | "invoices" | "billingNotes" | "generalLedgerAccounts" | "invoiceAdjustments" | "customerBillingNotes" | "commodities" | "loadFiles" | "locationsFiles" | "apiTenders" | "customerCredit" | "companyLocations" | "departmentPhones" | "drivers", DepartmentPhone_Entity, "salesApi">;
|
|
9
9
|
updateDepartmentPhone: import("@reduxjs/toolkit/query").MutationDefinition<{
|
|
10
10
|
id: number;
|
|
11
11
|
body: {
|
|
12
|
-
|
|
12
|
+
departmentphone: Partial<DepartmentPhone_Entity>;
|
|
13
13
|
};
|
|
14
14
|
}, (args: any, api: import("@reduxjs/toolkit/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}>>, "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities" | "locationsV1" | "locationsV1Accessorials" | "archerFiles" | "appointmentNotes" | "appointmentNoteTypes" | "shipconsV1" | "loadShipcons" | "appointmentIssueCategories" | "appointmentIssueSubcategories" | "personNames" | "nodeNames" | "driverNames" | "carrierNames" | "appointmentIssues" | "loadsV1" | "nmfcClasses" | "commoditiesV1" | "loadCommodities" | "loadQuoteAccessorials" | "quoteAccessorialsV1" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "userNotesV1" | "loadUserNotesV1" | "unitsV1" | "customersAccessorials" | "notifications" | "people" | "userSubscriptions" | "contacts" | "flags" | "rateReviews" | "loadRateReviews" | "genericTenders" | "loadTenders" | "dispatches" | "summary_dispatchesV1" | "summary_consolidationsV1" | "claims" | "claimResponses" | "claimStatuses" | "billingKickbacks" | "loadBillingKickbacks" | "billingKickbackResponses" | "billingKickbackResponsesByKickbackID" | "billingKickbackResponseAccessorials" | "billingMessages" | "invoicesV1" | "invoiceLineItems" | "invoices" | "billingNotes" | "generalLedgerAccounts" | "invoiceAdjustments" | "customerBillingNotes" | "commodities" | "loadFiles" | "locationsFiles" | "apiTenders" | "customerCredit" | "companyLocations" | "departmentPhones" | "drivers", void, "salesApi">;
|
|
15
15
|
deleteDepartmentPhone: import("@reduxjs/toolkit/query").MutationDefinition<number, (args: any, api: import("@reduxjs/toolkit/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}>>, "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities" | "locationsV1" | "locationsV1Accessorials" | "archerFiles" | "appointmentNotes" | "appointmentNoteTypes" | "shipconsV1" | "loadShipcons" | "appointmentIssueCategories" | "appointmentIssueSubcategories" | "personNames" | "nodeNames" | "driverNames" | "carrierNames" | "appointmentIssues" | "loadsV1" | "nmfcClasses" | "commoditiesV1" | "loadCommodities" | "loadQuoteAccessorials" | "quoteAccessorialsV1" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "userNotesV1" | "loadUserNotesV1" | "unitsV1" | "customersAccessorials" | "notifications" | "people" | "userSubscriptions" | "contacts" | "flags" | "rateReviews" | "loadRateReviews" | "genericTenders" | "loadTenders" | "dispatches" | "summary_dispatchesV1" | "summary_consolidationsV1" | "claims" | "claimResponses" | "claimStatuses" | "billingKickbacks" | "loadBillingKickbacks" | "billingKickbackResponses" | "billingKickbackResponsesByKickbackID" | "billingKickbackResponseAccessorials" | "billingMessages" | "invoicesV1" | "invoiceLineItems" | "invoices" | "billingNotes" | "generalLedgerAccounts" | "invoiceAdjustments" | "customerBillingNotes" | "commodities" | "loadFiles" | "locationsFiles" | "apiTenders" | "customerCredit" | "companyLocations" | "departmentPhones" | "drivers", void, "salesApi">;
|
|
16
16
|
}, "salesApi", "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities" | "locationsV1" | "locationsV1Accessorials" | "archerFiles" | "appointmentNotes" | "appointmentNoteTypes" | "shipconsV1" | "loadShipcons" | "appointmentIssueCategories" | "appointmentIssueSubcategories" | "personNames" | "nodeNames" | "driverNames" | "carrierNames" | "appointmentIssues" | "loadsV1" | "nmfcClasses" | "commoditiesV1" | "loadCommodities" | "loadQuoteAccessorials" | "quoteAccessorialsV1" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "userNotesV1" | "loadUserNotesV1" | "unitsV1" | "customersAccessorials" | "notifications" | "people" | "userSubscriptions" | "contacts" | "flags" | "rateReviews" | "loadRateReviews" | "genericTenders" | "loadTenders" | "dispatches" | "summary_dispatchesV1" | "summary_consolidationsV1" | "claims" | "claimResponses" | "claimStatuses" | "billingKickbacks" | "loadBillingKickbacks" | "billingKickbackResponses" | "billingKickbackResponsesByKickbackID" | "billingKickbackResponseAccessorials" | "billingMessages" | "invoicesV1" | "invoiceLineItems" | "invoices" | "billingNotes" | "generalLedgerAccounts" | "invoiceAdjustments" | "customerBillingNotes" | "commodities" | "loadFiles" | "locationsFiles" | "apiTenders" | "customerCredit" | "companyLocations" | "departmentPhones" | "drivers", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/dist/query/react").reactHooksModuleName>;
|
|
17
17
|
export declare const useGetDepartmentPhoneQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/query").QueryDefinition<number, (args: any, api: import("@reduxjs/toolkit/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}>>, "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities" | "locationsV1" | "locationsV1Accessorials" | "archerFiles" | "appointmentNotes" | "appointmentNoteTypes" | "shipconsV1" | "loadShipcons" | "appointmentIssueCategories" | "appointmentIssueSubcategories" | "personNames" | "nodeNames" | "driverNames" | "carrierNames" | "appointmentIssues" | "loadsV1" | "nmfcClasses" | "commoditiesV1" | "loadCommodities" | "loadQuoteAccessorials" | "quoteAccessorialsV1" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "userNotesV1" | "loadUserNotesV1" | "unitsV1" | "customersAccessorials" | "notifications" | "people" | "userSubscriptions" | "contacts" | "flags" | "rateReviews" | "loadRateReviews" | "genericTenders" | "loadTenders" | "dispatches" | "summary_dispatchesV1" | "summary_consolidationsV1" | "claims" | "claimResponses" | "claimStatuses" | "billingKickbacks" | "loadBillingKickbacks" | "billingKickbackResponses" | "billingKickbackResponsesByKickbackID" | "billingKickbackResponseAccessorials" | "billingMessages" | "invoicesV1" | "invoiceLineItems" | "invoices" | "billingNotes" | "generalLedgerAccounts" | "invoiceAdjustments" | "customerBillingNotes" | "commodities" | "loadFiles" | "locationsFiles" | "apiTenders" | "customerCredit" | "companyLocations" | "departmentPhones" | "drivers", DepartmentPhone_Entity, "salesApi">>, useGetDepartmentPhonesQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/query").QueryDefinition<void | Record<string, unknown>, (args: any, api: import("@reduxjs/toolkit/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}>>, "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities" | "locationsV1" | "locationsV1Accessorials" | "archerFiles" | "appointmentNotes" | "appointmentNoteTypes" | "shipconsV1" | "loadShipcons" | "appointmentIssueCategories" | "appointmentIssueSubcategories" | "personNames" | "nodeNames" | "driverNames" | "carrierNames" | "appointmentIssues" | "loadsV1" | "nmfcClasses" | "commoditiesV1" | "loadCommodities" | "loadQuoteAccessorials" | "quoteAccessorialsV1" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "userNotesV1" | "loadUserNotesV1" | "unitsV1" | "customersAccessorials" | "notifications" | "people" | "userSubscriptions" | "contacts" | "flags" | "rateReviews" | "loadRateReviews" | "genericTenders" | "loadTenders" | "dispatches" | "summary_dispatchesV1" | "summary_consolidationsV1" | "claims" | "claimResponses" | "claimStatuses" | "billingKickbacks" | "loadBillingKickbacks" | "billingKickbackResponses" | "billingKickbackResponsesByKickbackID" | "billingKickbackResponseAccessorials" | "billingMessages" | "invoicesV1" | "invoiceLineItems" | "invoices" | "billingNotes" | "generalLedgerAccounts" | "invoiceAdjustments" | "customerBillingNotes" | "commodities" | "loadFiles" | "locationsFiles" | "apiTenders" | "customerCredit" | "companyLocations" | "departmentPhones" | "drivers", EntityState<DepartmentPhone_Entity>, "salesApi">>, useLazyGetDepartmentPhonesQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseLazyQuery<import("@reduxjs/toolkit/query").QueryDefinition<void | Record<string, unknown>, (args: any, api: import("@reduxjs/toolkit/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}>>, "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities" | "locationsV1" | "locationsV1Accessorials" | "archerFiles" | "appointmentNotes" | "appointmentNoteTypes" | "shipconsV1" | "loadShipcons" | "appointmentIssueCategories" | "appointmentIssueSubcategories" | "personNames" | "nodeNames" | "driverNames" | "carrierNames" | "appointmentIssues" | "loadsV1" | "nmfcClasses" | "commoditiesV1" | "loadCommodities" | "loadQuoteAccessorials" | "quoteAccessorialsV1" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "userNotesV1" | "loadUserNotesV1" | "unitsV1" | "customersAccessorials" | "notifications" | "people" | "userSubscriptions" | "contacts" | "flags" | "rateReviews" | "loadRateReviews" | "genericTenders" | "loadTenders" | "dispatches" | "summary_dispatchesV1" | "summary_consolidationsV1" | "claims" | "claimResponses" | "claimStatuses" | "billingKickbacks" | "loadBillingKickbacks" | "billingKickbackResponses" | "billingKickbackResponsesByKickbackID" | "billingKickbackResponseAccessorials" | "billingMessages" | "invoicesV1" | "invoiceLineItems" | "invoices" | "billingNotes" | "generalLedgerAccounts" | "invoiceAdjustments" | "customerBillingNotes" | "commodities" | "loadFiles" | "locationsFiles" | "apiTenders" | "customerCredit" | "companyLocations" | "departmentPhones" | "drivers", EntityState<DepartmentPhone_Entity>, "salesApi">>, useLazyGetDepartmentPhoneQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseLazyQuery<import("@reduxjs/toolkit/query").QueryDefinition<number, (args: any, api: import("@reduxjs/toolkit/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}>>, "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities" | "locationsV1" | "locationsV1Accessorials" | "archerFiles" | "appointmentNotes" | "appointmentNoteTypes" | "shipconsV1" | "loadShipcons" | "appointmentIssueCategories" | "appointmentIssueSubcategories" | "personNames" | "nodeNames" | "driverNames" | "carrierNames" | "appointmentIssues" | "loadsV1" | "nmfcClasses" | "commoditiesV1" | "loadCommodities" | "loadQuoteAccessorials" | "quoteAccessorialsV1" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "userNotesV1" | "loadUserNotesV1" | "unitsV1" | "customersAccessorials" | "notifications" | "people" | "userSubscriptions" | "contacts" | "flags" | "rateReviews" | "loadRateReviews" | "genericTenders" | "loadTenders" | "dispatches" | "summary_dispatchesV1" | "summary_consolidationsV1" | "claims" | "claimResponses" | "claimStatuses" | "billingKickbacks" | "loadBillingKickbacks" | "billingKickbackResponses" | "billingKickbackResponsesByKickbackID" | "billingKickbackResponseAccessorials" | "billingMessages" | "invoicesV1" | "invoiceLineItems" | "invoices" | "billingNotes" | "generalLedgerAccounts" | "invoiceAdjustments" | "customerBillingNotes" | "commodities" | "loadFiles" | "locationsFiles" | "apiTenders" | "customerCredit" | "companyLocations" | "departmentPhones" | "drivers", DepartmentPhone_Entity, "salesApi">>, useCreateDepartmentPhoneMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query").MutationDefinition<{
|
|
18
|
-
|
|
18
|
+
departmentphone: Partial<DepartmentPhone_Entity>;
|
|
19
19
|
}, (args: any, api: import("@reduxjs/toolkit/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}>>, "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities" | "locationsV1" | "locationsV1Accessorials" | "archerFiles" | "appointmentNotes" | "appointmentNoteTypes" | "shipconsV1" | "loadShipcons" | "appointmentIssueCategories" | "appointmentIssueSubcategories" | "personNames" | "nodeNames" | "driverNames" | "carrierNames" | "appointmentIssues" | "loadsV1" | "nmfcClasses" | "commoditiesV1" | "loadCommodities" | "loadQuoteAccessorials" | "quoteAccessorialsV1" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "userNotesV1" | "loadUserNotesV1" | "unitsV1" | "customersAccessorials" | "notifications" | "people" | "userSubscriptions" | "contacts" | "flags" | "rateReviews" | "loadRateReviews" | "genericTenders" | "loadTenders" | "dispatches" | "summary_dispatchesV1" | "summary_consolidationsV1" | "claims" | "claimResponses" | "claimStatuses" | "billingKickbacks" | "loadBillingKickbacks" | "billingKickbackResponses" | "billingKickbackResponsesByKickbackID" | "billingKickbackResponseAccessorials" | "billingMessages" | "invoicesV1" | "invoiceLineItems" | "invoices" | "billingNotes" | "generalLedgerAccounts" | "invoiceAdjustments" | "customerBillingNotes" | "commodities" | "loadFiles" | "locationsFiles" | "apiTenders" | "customerCredit" | "companyLocations" | "departmentPhones" | "drivers", DepartmentPhone_Entity, "salesApi">>, useDeleteDepartmentPhoneMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query").MutationDefinition<number, (args: any, api: import("@reduxjs/toolkit/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}>>, "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities" | "locationsV1" | "locationsV1Accessorials" | "archerFiles" | "appointmentNotes" | "appointmentNoteTypes" | "shipconsV1" | "loadShipcons" | "appointmentIssueCategories" | "appointmentIssueSubcategories" | "personNames" | "nodeNames" | "driverNames" | "carrierNames" | "appointmentIssues" | "loadsV1" | "nmfcClasses" | "commoditiesV1" | "loadCommodities" | "loadQuoteAccessorials" | "quoteAccessorialsV1" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "userNotesV1" | "loadUserNotesV1" | "unitsV1" | "customersAccessorials" | "notifications" | "people" | "userSubscriptions" | "contacts" | "flags" | "rateReviews" | "loadRateReviews" | "genericTenders" | "loadTenders" | "dispatches" | "summary_dispatchesV1" | "summary_consolidationsV1" | "claims" | "claimResponses" | "claimStatuses" | "billingKickbacks" | "loadBillingKickbacks" | "billingKickbackResponses" | "billingKickbackResponsesByKickbackID" | "billingKickbackResponseAccessorials" | "billingMessages" | "invoicesV1" | "invoiceLineItems" | "invoices" | "billingNotes" | "generalLedgerAccounts" | "invoiceAdjustments" | "customerBillingNotes" | "commodities" | "loadFiles" | "locationsFiles" | "apiTenders" | "customerCredit" | "companyLocations" | "departmentPhones" | "drivers", void, "salesApi">>, useUpdateDepartmentPhoneMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query").MutationDefinition<{
|
|
20
20
|
id: number;
|
|
21
21
|
body: {
|
|
22
|
-
|
|
22
|
+
departmentphone: Partial<DepartmentPhone_Entity>;
|
|
23
23
|
};
|
|
24
24
|
}, (args: any, api: import("@reduxjs/toolkit/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}>>, "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities" | "locationsV1" | "locationsV1Accessorials" | "archerFiles" | "appointmentNotes" | "appointmentNoteTypes" | "shipconsV1" | "loadShipcons" | "appointmentIssueCategories" | "appointmentIssueSubcategories" | "personNames" | "nodeNames" | "driverNames" | "carrierNames" | "appointmentIssues" | "loadsV1" | "nmfcClasses" | "commoditiesV1" | "loadCommodities" | "loadQuoteAccessorials" | "quoteAccessorialsV1" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "userNotesV1" | "loadUserNotesV1" | "unitsV1" | "customersAccessorials" | "notifications" | "people" | "userSubscriptions" | "contacts" | "flags" | "rateReviews" | "loadRateReviews" | "genericTenders" | "loadTenders" | "dispatches" | "summary_dispatchesV1" | "summary_consolidationsV1" | "claims" | "claimResponses" | "claimStatuses" | "billingKickbacks" | "loadBillingKickbacks" | "billingKickbackResponses" | "billingKickbackResponsesByKickbackID" | "billingKickbackResponseAccessorials" | "billingMessages" | "invoicesV1" | "invoiceLineItems" | "invoices" | "billingNotes" | "generalLedgerAccounts" | "invoiceAdjustments" | "customerBillingNotes" | "commodities" | "loadFiles" | "locationsFiles" | "apiTenders" | "customerCredit" | "companyLocations" | "departmentPhones" | "drivers", void, "salesApi">>;
|
|
25
25
|
export default departmentPhoneEndpoints;
|