@nerdjs/sales-kit 2.0.54 → 2.0.56
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/hooks/locationsForm/index.d.ts +1 -0
- package/dist/hooks/locationsForm/index.js +1 -0
- package/dist/hooks/locationsForm/index.js.map +1 -1
- package/dist/hooks/locationsForm/locationsForm.js +6 -0
- package/dist/hooks/locationsForm/locationsForm.js.map +1 -1
- package/dist/hooks/locationsForm/locationsFormSales.d.ts +7 -6
- package/dist/hooks/locationsForm/locationsFormSales.js +15 -7
- package/dist/hooks/locationsForm/locationsFormSales.js.map +1 -1
- package/dist/hooks/quote/form.js +28 -29
- package/dist/hooks/quote/form.js.map +1 -1
- package/dist/hooks/quote/helpers.js +20 -10
- package/dist/hooks/quote/helpers.js.map +1 -1
- package/dist/hooks/quote/template.js +3 -0
- package/dist/hooks/quote/template.js.map +1 -1
- package/dist/hooks/tender/form.js +10 -1
- package/dist/hooks/tender/form.js.map +1 -1
- package/dist/redux/location/locationEndpoints.d.ts +20 -4
- package/dist/redux/location/locationEndpoints.js +1 -28
- package/dist/redux/location/locationEndpoints.js.map +1 -1
- package/dist/redux/locationV1/locationV1Endpoints.js +3 -2
- package/dist/redux/locationV1/locationV1Endpoints.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { EntityState } from "@reduxjs/toolkit";
|
|
2
|
-
import { ArcherFile_Entity, Location_Entity } from "../../entities";
|
|
2
|
+
import { ArcherFile_Entity, LocationV1_Entity, Location_Entity } from "../../entities";
|
|
3
3
|
import { SearchMetadata } from "@nerdjs/nerd-core";
|
|
4
4
|
export declare const locationEndpoints: import("@reduxjs/toolkit/query").Api<(args: any, api: import("@reduxjs/toolkit/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}>>, {
|
|
5
|
-
getLocations: 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", EntityState<
|
|
5
|
+
getLocations: 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", EntityState<CustomLocation>, "salesApi">;
|
|
6
6
|
getLocation: 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", Location_Entity, "salesApi">;
|
|
7
7
|
createLocation: import("@reduxjs/toolkit/query").MutationDefinition<Partial<Location_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" | "commodities" | "loadFiles" | "locationsFiles", Location_Entity, "salesApi">;
|
|
8
8
|
updateLocation: import("@reduxjs/toolkit/query").MutationDefinition<{
|
|
@@ -18,7 +18,7 @@ export declare const locationEndpoints: import("@reduxjs/toolkit/query").Api<(ar
|
|
|
18
18
|
}, (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", Location_Entity[], "salesApi">;
|
|
19
19
|
getLocationFiles: 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", ArcherFile_Entity[], "salesApi">;
|
|
20
20
|
}, "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", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/dist/query/react").reactHooksModuleName>;
|
|
21
|
-
export declare const useGetLocationQuery: 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", Location_Entity, "salesApi">>, useGetLocationsQuery: 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", EntityState<Location_Entity>, "salesApi">>, useGetLocationSearchMetadataQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/query").QueryDefinition<void, (args: any, api: import("@reduxjs/toolkit/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}>>, "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities" | "locationsV1" | "locationsV1Accessorials" | "archerFiles" | "appointmentNotes" | "appointmentNoteTypes" | "shipconsV1" | "loadShipcons" | "appointmentIssueCategories" | "appointmentIssueSubcategories" | "personNames" | "nodeNames" | "driverNames" | "carrierNames" | "appointmentIssues" | "loadsV1" | "nmfcClasses" | "commoditiesV1" | "loadCommodities" | "loadQuoteAccessorials" | "quoteAccessorialsV1" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "userNotesV1" | "loadUserNotesV1" | "unitsV1" | "customersAccessorials" | "notifications" | "people" | "userSubscriptions" | "contacts" | "flags" | "rateReviews" | "loadRateReviews" | "genericTenders" | "loadTenders" | "dispatches" | "summary_dispatchesV1" | "summary_consolidationsV1" | "claims" | "claimResponses" | "claimStatuses" | "billingKickbacks" | "loadBillingKickbacks" | "billingKickbackResponses" | "billingKickbackResponsesByKickbackID" | "billingKickbackResponseAccessorials" | "billingMessages" | "invoicesV1" | "invoiceLineItems" | "invoices" | "billingNotes" | "generalLedgerAccounts" | "invoiceAdjustments" | "customerBillingNotes" | "commodities" | "loadFiles" | "locationsFiles", SearchMetadata, "salesApi">>, useLazyGetLocationsQuery: 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", EntityState<Location_Entity>, "salesApi">>, useLazyGetLocationQuery: 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", Location_Entity, "salesApi">>, useLazyGetLocationSearchMetadataQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseLazyQuery<import("@reduxjs/toolkit/query").QueryDefinition<void, (args: any, api: import("@reduxjs/toolkit/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}>>, "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities" | "locationsV1" | "locationsV1Accessorials" | "archerFiles" | "appointmentNotes" | "appointmentNoteTypes" | "shipconsV1" | "loadShipcons" | "appointmentIssueCategories" | "appointmentIssueSubcategories" | "personNames" | "nodeNames" | "driverNames" | "carrierNames" | "appointmentIssues" | "loadsV1" | "nmfcClasses" | "commoditiesV1" | "loadCommodities" | "loadQuoteAccessorials" | "quoteAccessorialsV1" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "userNotesV1" | "loadUserNotesV1" | "unitsV1" | "customersAccessorials" | "notifications" | "people" | "userSubscriptions" | "contacts" | "flags" | "rateReviews" | "loadRateReviews" | "genericTenders" | "loadTenders" | "dispatches" | "summary_dispatchesV1" | "summary_consolidationsV1" | "claims" | "claimResponses" | "claimStatuses" | "billingKickbacks" | "loadBillingKickbacks" | "billingKickbackResponses" | "billingKickbackResponsesByKickbackID" | "billingKickbackResponseAccessorials" | "billingMessages" | "invoicesV1" | "invoiceLineItems" | "invoices" | "billingNotes" | "generalLedgerAccounts" | "invoiceAdjustments" | "customerBillingNotes" | "commodities" | "loadFiles" | "locationsFiles", SearchMetadata, "salesApi">>, useCreateLocationMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query").MutationDefinition<Partial<Location_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" | "commodities" | "loadFiles" | "locationsFiles", Location_Entity, "salesApi">>, useDeleteLocationMutation: 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", void, "salesApi">>, useUpdateLocationMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query").MutationDefinition<{
|
|
21
|
+
export declare const useGetLocationQuery: 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", Location_Entity, "salesApi">>, useGetLocationsQuery: 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", EntityState<CustomLocation>, "salesApi">>, useGetLocationSearchMetadataQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/query").QueryDefinition<void, (args: any, api: import("@reduxjs/toolkit/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}>>, "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities" | "locationsV1" | "locationsV1Accessorials" | "archerFiles" | "appointmentNotes" | "appointmentNoteTypes" | "shipconsV1" | "loadShipcons" | "appointmentIssueCategories" | "appointmentIssueSubcategories" | "personNames" | "nodeNames" | "driverNames" | "carrierNames" | "appointmentIssues" | "loadsV1" | "nmfcClasses" | "commoditiesV1" | "loadCommodities" | "loadQuoteAccessorials" | "quoteAccessorialsV1" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "userNotesV1" | "loadUserNotesV1" | "unitsV1" | "customersAccessorials" | "notifications" | "people" | "userSubscriptions" | "contacts" | "flags" | "rateReviews" | "loadRateReviews" | "genericTenders" | "loadTenders" | "dispatches" | "summary_dispatchesV1" | "summary_consolidationsV1" | "claims" | "claimResponses" | "claimStatuses" | "billingKickbacks" | "loadBillingKickbacks" | "billingKickbackResponses" | "billingKickbackResponsesByKickbackID" | "billingKickbackResponseAccessorials" | "billingMessages" | "invoicesV1" | "invoiceLineItems" | "invoices" | "billingNotes" | "generalLedgerAccounts" | "invoiceAdjustments" | "customerBillingNotes" | "commodities" | "loadFiles" | "locationsFiles", SearchMetadata, "salesApi">>, useLazyGetLocationsQuery: 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", EntityState<CustomLocation>, "salesApi">>, useLazyGetLocationQuery: 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", Location_Entity, "salesApi">>, useLazyGetLocationSearchMetadataQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseLazyQuery<import("@reduxjs/toolkit/query").QueryDefinition<void, (args: any, api: import("@reduxjs/toolkit/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}>>, "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities" | "locationsV1" | "locationsV1Accessorials" | "archerFiles" | "appointmentNotes" | "appointmentNoteTypes" | "shipconsV1" | "loadShipcons" | "appointmentIssueCategories" | "appointmentIssueSubcategories" | "personNames" | "nodeNames" | "driverNames" | "carrierNames" | "appointmentIssues" | "loadsV1" | "nmfcClasses" | "commoditiesV1" | "loadCommodities" | "loadQuoteAccessorials" | "quoteAccessorialsV1" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "userNotesV1" | "loadUserNotesV1" | "unitsV1" | "customersAccessorials" | "notifications" | "people" | "userSubscriptions" | "contacts" | "flags" | "rateReviews" | "loadRateReviews" | "genericTenders" | "loadTenders" | "dispatches" | "summary_dispatchesV1" | "summary_consolidationsV1" | "claims" | "claimResponses" | "claimStatuses" | "billingKickbacks" | "loadBillingKickbacks" | "billingKickbackResponses" | "billingKickbackResponsesByKickbackID" | "billingKickbackResponseAccessorials" | "billingMessages" | "invoicesV1" | "invoiceLineItems" | "invoices" | "billingNotes" | "generalLedgerAccounts" | "invoiceAdjustments" | "customerBillingNotes" | "commodities" | "loadFiles" | "locationsFiles", SearchMetadata, "salesApi">>, useCreateLocationMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query").MutationDefinition<Partial<Location_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" | "commodities" | "loadFiles" | "locationsFiles", Location_Entity, "salesApi">>, useDeleteLocationMutation: 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", void, "salesApi">>, useUpdateLocationMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query").MutationDefinition<{
|
|
22
22
|
id: number;
|
|
23
23
|
body: Partial<Location_Entity>;
|
|
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", void, "salesApi">>, useLazySearchExistingLocationQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseLazyQuery<import("@reduxjs/toolkit/query").QueryDefinition<string, (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", Location_Entity[], "salesApi">>, useLazySearchLocationQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseLazyQuery<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
@@ -29,10 +29,26 @@ export declare const useGetLocationQuery: import("@reduxjs/toolkit/dist/query/re
|
|
|
29
29
|
location: string;
|
|
30
30
|
}, (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", Location_Entity[], "salesApi">>, useGetLocationFilesQuery: 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", ArcherFile_Entity[], "salesApi">>, useLazyGetLocationFilesQuery: 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", ArcherFile_Entity[], "salesApi">>;
|
|
31
31
|
export default locationEndpoints;
|
|
32
|
-
export declare const getLocationsSelectors: (params: Record<string, unknown> | void) => import("@reduxjs/toolkit").EntitySelectors<
|
|
32
|
+
export declare const getLocationsSelectors: (params: Record<string, unknown> | void) => import("@reduxjs/toolkit").EntitySelectors<CustomLocation, {
|
|
33
33
|
salesApi: import("@reduxjs/toolkit/query").CombinedState<{}, "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities" | "locationsV1" | "locationsV1Accessorials" | "archerFiles" | "appointmentNotes" | "appointmentNoteTypes" | "shipconsV1" | "loadShipcons" | "appointmentIssueCategories" | "appointmentIssueSubcategories" | "personNames" | "nodeNames" | "driverNames" | "carrierNames" | "appointmentIssues" | "loadsV1" | "nmfcClasses" | "commoditiesV1" | "loadCommodities" | "loadQuoteAccessorials" | "quoteAccessorialsV1" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "userNotesV1" | "loadUserNotesV1" | "unitsV1" | "customersAccessorials" | "notifications" | "people" | "userSubscriptions" | "contacts" | "flags" | "rateReviews" | "loadRateReviews" | "genericTenders" | "loadTenders" | "dispatches" | "summary_dispatchesV1" | "summary_consolidationsV1" | "claims" | "claimResponses" | "claimStatuses" | "billingKickbacks" | "loadBillingKickbacks" | "billingKickbackResponses" | "billingKickbackResponsesByKickbackID" | "billingKickbackResponseAccessorials" | "billingMessages" | "invoicesV1" | "invoiceLineItems" | "invoices" | "billingNotes" | "generalLedgerAccounts" | "invoiceAdjustments" | "customerBillingNotes" | "commodities" | "loadFiles" | "locationsFiles", "salesApi">;
|
|
34
34
|
salesKitState: import("redux").CombinedState<{
|
|
35
35
|
quote: import("..").QuoteState;
|
|
36
36
|
tender: import("../tender/tenderSlice").TenderState;
|
|
37
37
|
}>;
|
|
38
38
|
}>;
|
|
39
|
+
export type CustomLocation = Omit<LocationV1_Entity, "line1" | "line1" | "line2" | "city" | "state" | "zip" | "country" | "latitude" | "longitude" | "partial_match" | "timezone" | "verified" | "place_id" | "formatted_address"> & {
|
|
40
|
+
address: {
|
|
41
|
+
formattedAddress: string;
|
|
42
|
+
line1: string;
|
|
43
|
+
line2: string;
|
|
44
|
+
city: string;
|
|
45
|
+
state: string;
|
|
46
|
+
zip: string;
|
|
47
|
+
country: string;
|
|
48
|
+
latitude: number;
|
|
49
|
+
longitude: number;
|
|
50
|
+
timezone: string;
|
|
51
|
+
verified: boolean;
|
|
52
|
+
placeID: string;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
@@ -12,7 +12,7 @@ export const locationEndpoints = salesApi.injectEndpoints({
|
|
|
12
12
|
getLocations: build.query({
|
|
13
13
|
query: (args) => {
|
|
14
14
|
return {
|
|
15
|
-
url: `locations`,
|
|
15
|
+
url: `sales/locations`,
|
|
16
16
|
params: args,
|
|
17
17
|
};
|
|
18
18
|
},
|
|
@@ -81,31 +81,4 @@ export const getLocationsSelectors = (params) => {
|
|
|
81
81
|
})(state) ?? locationsInitialState);
|
|
82
82
|
});
|
|
83
83
|
};
|
|
84
|
-
// export const getSearchExistingLocationsSelectors = () => {
|
|
85
|
-
// return searchExistingLocationsAdapter.getSelectors<RootState>((state) => {
|
|
86
|
-
// return (
|
|
87
|
-
// createSelector(
|
|
88
|
-
// locationEndpoints.endpoints.searchExistingLocation.select(""),
|
|
89
|
-
// (locationsResult) => {
|
|
90
|
-
// return locationsResult.data;
|
|
91
|
-
// }
|
|
92
|
-
// )(state) ?? searchExistingLocationsInitialState
|
|
93
|
-
// );
|
|
94
|
-
// });
|
|
95
|
-
// };
|
|
96
|
-
// export const getSearchLocationsSelectors = () => {
|
|
97
|
-
// return searchLocationsAdapter.getSelectors<RootState>((state) => {
|
|
98
|
-
// return (
|
|
99
|
-
// createSelector(
|
|
100
|
-
// locationEndpoints.endpoints.searchLocation.select({
|
|
101
|
-
// location: "",
|
|
102
|
-
// zip: "",
|
|
103
|
-
// }),
|
|
104
|
-
// (locationsResult) => {
|
|
105
|
-
// return locationsResult.data;
|
|
106
|
-
// }
|
|
107
|
-
// )(state) ?? searchLocationsInitialState
|
|
108
|
-
// );
|
|
109
|
-
// });
|
|
110
|
-
// };
|
|
111
84
|
//# sourceMappingURL=locationEndpoints.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"locationEndpoints.js","sourceRoot":"","sources":["../../../src/redux/location/locationEndpoints.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EAEnB,cAAc,GACf,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"locationEndpoints.js","sourceRoot":"","sources":["../../../src/redux/location/locationEndpoints.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EAEnB,cAAc,GACf,MAAM,kBAAkB,CAAC;AAM1B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAI3C,MAAM,gBAAgB,GAAG,mBAAmB,EAAkB,CAAC;AAC/D,MAAM,qBAAqB,GAAG,gBAAgB,CAAC,eAAe,EAAE,CAAC;AACjE,iFAAiF;AACjF,8CAA8C;AAC9C,sDAAsD;AACtD,yEAAyE;AACzE,gFAAgF;AAEhF,MAAM,CAAC,MAAM,iBAAiB,GAAG,QAAQ,CAAC,eAAe,CAAC;IACxD,SAAS,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;QACrB,YAAY,EAAE,KAAK,CAAC,KAAK,CAGvB;YACA,KAAK,EAAE,CAAC,IAAI,EAAE,EAAE;gBACd,OAAO;oBACL,GAAG,EAAE,iBAAiB;oBACtB,MAAM,EAAE,IAAI;iBACb,CAAC;YACJ,CAAC;YACD,iBAAiB,EAAE,CAAC,YAA8B,EAAE,EAAE;gBACpD,OAAO,gBAAgB,CAAC,MAAM,CAAC,qBAAqB,EAAE,YAAY,CAAC,CAAC;YACtE,CAAC;YACD,YAAY,EAAE,CAAC,WAAW,CAAC;SAC5B,CAAC;QACF,WAAW,EAAE,KAAK,CAAC,KAAK,CAA0B;YAChD,KAAK,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,aAAa,EAAE,EAAE,EAAE,CAAC;YAC3C,YAAY,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,EAAE,EAAE,CAAC;SACnE,CAAC;QACF,cAA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EAAE,GAAG,EAAE,EAAE,EAAE,CAAC,CAAC;gBAC7B,GAAG,EAAE,wBAAwB,GAAG,aAAa,QAAQ,EAAE;aACxD,CAAC;YACF,YAAY,EAAE,CAAC,WAAW,CAAC;SAC5B,CAAC;QACF,gBAAgB,EAAE,KAAK,CAAC,KAAK,CAA8B;YACzD,KAAK,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,0BAA0B,EAAE,QAAQ;YACnD,YAAY,EAAE,CAAC,gBAAgB,CAAC;SACjC,CAAC;KACH,CAAC;CACH,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,EACX,mBAAmB,EACnB,oBAAoB,EACpB,iCAAiC,EACjC,wBAAwB,EACxB,uBAAuB,EACvB,qCAAqC,EACrC,yBAAyB,EACzB,yBAAyB,EACzB,yBAAyB,EACzB,kCAAkC,EAClC,0BAA0B,EAC1B,8BAA8B,EAC9B,sBAAsB,EACtB,wBAAwB,EACxB,4BAA4B,GAC7B,GAAG,iBAAiB,CAAC;AAEtB,eAAe,iBAAiB,CAAC;AAEjC,MAAM,CAAC,MAAM,qBAAqB,GAAG,CACnC,MAAsC,EACtC,EAAE;IACF,OAAO,gBAAgB,CAAC,YAAY,CAAY,CAAC,KAAK,EAAE,EAAE;QACxD,OAAO,CACL,cAAc,CACZ,iBAAiB,CAAC,SAAS,CAAC,YAAY,CAAC,MAAM,CAAC,MAAM,CAAC,EACvD,CAAC,eAAe,EAAE,EAAE;YAClB,OAAO,eAAe,CAAC,IAAI,CAAC;QAC9B,CAAC,CACF,CAAC,KAAK,CAAC,IAAI,qBAAqB,CAClC,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC,CAAC"}
|
|
@@ -28,7 +28,7 @@ export const locationV1Endpoints = salesApi.injectEndpoints({
|
|
|
28
28
|
url: `locations`,
|
|
29
29
|
routePrefix: "/v1",
|
|
30
30
|
}),
|
|
31
|
-
invalidatesTags: ["locationsV1"],
|
|
31
|
+
invalidatesTags: ["locationsV1", "locations"],
|
|
32
32
|
}),
|
|
33
33
|
updateLocationV1: build.mutation({
|
|
34
34
|
query: (args) => ({
|
|
@@ -40,6 +40,7 @@ export const locationV1Endpoints = salesApi.injectEndpoints({
|
|
|
40
40
|
invalidatesTags: (_result, _error, { id }) => [
|
|
41
41
|
{ type: "locationsV1", id },
|
|
42
42
|
"locationsV1",
|
|
43
|
+
"locations",
|
|
43
44
|
],
|
|
44
45
|
}),
|
|
45
46
|
deleteLocationV1: build.mutation({
|
|
@@ -48,7 +49,7 @@ export const locationV1Endpoints = salesApi.injectEndpoints({
|
|
|
48
49
|
url: `locations/${id}`,
|
|
49
50
|
routePrefix: "/v1",
|
|
50
51
|
}),
|
|
51
|
-
invalidatesTags: ["locationsV1"],
|
|
52
|
+
invalidatesTags: ["locationsV1", "locations"],
|
|
52
53
|
}),
|
|
53
54
|
getLocationV1SearchMetadata: build.query({
|
|
54
55
|
query: () => ({ url: `locations/searchMetadata`, routePrefix: "/v1" }),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"locationV1Endpoints.js","sourceRoot":"","sources":["../../../src/redux/locationV1/locationV1Endpoints.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EAEnB,cAAc,GACf,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAK3C,MAAM,kBAAkB,GAAG,mBAAmB,EAAqB,CAAC;AACpE,MAAM,uBAAuB,GAAG,kBAAkB,CAAC,eAAe,EAAE,CAAC;AAErE,MAAM,CAAC,MAAM,mBAAmB,GAAG,QAAQ,CAAC,eAAe,CAAC;IAC1D,SAAS,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;QACrB,cAAc,EAAE,KAAK,CAAC,KAAK,CAGzB;YACA,KAAK,EAAE,CAAC,IAAI,EAAE,EAAE;gBACd,OAAO;oBACL,GAAG,EAAE,WAAW;oBAChB,MAAM,EAAE,IAAI;oBACZ,WAAW,EAAE,KAAK;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