@nerdjs/sales-kit 2.0.37 → 2.0.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/entities/company/company.d.ts +17 -0
- package/dist/entities/company/company.js +51 -0
- package/dist/entities/company/company.js.map +1 -0
- package/dist/entities/company/helper.d.ts +5 -0
- package/dist/entities/company/helper.js +16 -0
- package/dist/entities/company/helper.js.map +1 -0
- package/dist/entities/company/index.d.ts +2 -0
- package/dist/entities/company/index.js +3 -0
- package/dist/entities/company/index.js.map +1 -0
- package/dist/entities/contact/contact.d.ts +19 -0
- package/dist/entities/contact/contact.js +55 -0
- package/dist/entities/contact/contact.js.map +1 -0
- package/dist/entities/contact/helper.d.ts +5 -0
- package/dist/entities/contact/helper.js +16 -0
- package/dist/entities/contact/helper.js.map +1 -0
- package/dist/entities/contact/index.d.ts +2 -0
- package/dist/entities/contact/index.js +3 -0
- package/dist/entities/contact/index.js.map +1 -0
- package/dist/entities/customerV1/customerV1.d.ts +138 -0
- package/dist/entities/customerV1/customerV1.js +278 -0
- package/dist/entities/customerV1/customerV1.js.map +1 -0
- package/dist/entities/customerV1/helper.d.ts +5 -0
- package/dist/entities/customerV1/helper.js +16 -0
- package/dist/entities/customerV1/helper.js.map +1 -0
- package/dist/entities/customerV1/index.d.ts +2 -0
- package/dist/entities/customerV1/index.js +3 -0
- package/dist/entities/customerV1/index.js.map +1 -0
- package/dist/entities/customersAccessorial/customersAccessorial.d.ts +20 -0
- package/dist/entities/customersAccessorial/customersAccessorial.js +58 -0
- package/dist/entities/customersAccessorial/customersAccessorial.js.map +1 -0
- package/dist/entities/customersAccessorial/helper.d.ts +5 -0
- package/dist/entities/customersAccessorial/helper.js +16 -0
- package/dist/entities/customersAccessorial/helper.js.map +1 -0
- package/dist/entities/customersAccessorial/index.d.ts +2 -0
- package/dist/entities/customersAccessorial/index.js +3 -0
- package/dist/entities/customersAccessorial/index.js.map +1 -0
- package/dist/entities/flag/flag.d.ts +9 -0
- package/dist/entities/flag/flag.js +35 -0
- package/dist/entities/flag/flag.js.map +1 -0
- package/dist/entities/flag/helper.d.ts +5 -0
- package/dist/entities/flag/helper.js +16 -0
- package/dist/entities/flag/helper.js.map +1 -0
- package/dist/entities/flag/index.d.ts +2 -0
- package/dist/entities/flag/index.js +3 -0
- package/dist/entities/flag/index.js.map +1 -0
- package/dist/entities/index.d.ts +11 -0
- package/dist/entities/index.js +11 -0
- package/dist/entities/index.js.map +1 -1
- package/dist/entities/notification/helper.d.ts +5 -0
- package/dist/entities/notification/helper.js +16 -0
- package/dist/entities/notification/helper.js.map +1 -0
- package/dist/entities/notification/index.d.ts +2 -0
- package/dist/entities/notification/index.js +3 -0
- package/dist/entities/notification/index.js.map +1 -0
- package/dist/entities/notification/notification.d.ts +14 -0
- package/dist/entities/notification/notification.js +45 -0
- package/dist/entities/notification/notification.js.map +1 -0
- package/dist/entities/notificationSubscription/helper.d.ts +5 -0
- package/dist/entities/notificationSubscription/helper.js +16 -0
- package/dist/entities/notificationSubscription/helper.js.map +1 -0
- package/dist/entities/notificationSubscription/index.d.ts +2 -0
- package/dist/entities/notificationSubscription/index.js +3 -0
- package/dist/entities/notificationSubscription/index.js.map +1 -0
- package/dist/entities/notificationSubscription/notificationSubscription.d.ts +14 -0
- package/dist/entities/notificationSubscription/notificationSubscription.js +46 -0
- package/dist/entities/notificationSubscription/notificationSubscription.js.map +1 -0
- package/dist/entities/notificationUserSubscription/helper.d.ts +5 -0
- package/dist/entities/notificationUserSubscription/helper.js +16 -0
- package/dist/entities/notificationUserSubscription/helper.js.map +1 -0
- package/dist/entities/notificationUserSubscription/index.d.ts +2 -0
- package/dist/entities/notificationUserSubscription/index.js +3 -0
- package/dist/entities/notificationUserSubscription/index.js.map +1 -0
- package/dist/entities/notificationUserSubscription/notificationUserSubscription.d.ts +15 -0
- package/dist/entities/notificationUserSubscription/notificationUserSubscription.js +47 -0
- package/dist/entities/notificationUserSubscription/notificationUserSubscription.js.map +1 -0
- package/dist/entities/person/helper.d.ts +5 -0
- package/dist/entities/person/helper.js +16 -0
- package/dist/entities/person/helper.js.map +1 -0
- package/dist/entities/person/index.d.ts +2 -0
- package/dist/entities/person/index.js +3 -0
- package/dist/entities/person/index.js.map +1 -0
- package/dist/entities/person/person.d.ts +46 -0
- package/dist/entities/person/person.js +108 -0
- package/dist/entities/person/person.js.map +1 -0
- package/dist/entities/rateReview/helper.d.ts +5 -0
- package/dist/entities/rateReview/helper.js +16 -0
- package/dist/entities/rateReview/helper.js.map +1 -0
- package/dist/entities/rateReview/index.d.ts +2 -0
- package/dist/entities/rateReview/index.js +3 -0
- package/dist/entities/rateReview/index.js.map +1 -0
- package/dist/entities/rateReview/rateReview.d.ts +49 -0
- package/dist/entities/rateReview/rateReview.js +116 -0
- package/dist/entities/rateReview/rateReview.js.map +1 -0
- package/dist/entities/unitV1/helper.d.ts +5 -0
- package/dist/entities/unitV1/helper.js +16 -0
- package/dist/entities/unitV1/helper.js.map +1 -0
- package/dist/entities/unitV1/index.d.ts +2 -0
- package/dist/entities/unitV1/index.js +3 -0
- package/dist/entities/unitV1/index.js.map +1 -0
- package/dist/entities/unitV1/unit.d.ts +11 -0
- package/dist/entities/unitV1/unit.js +39 -0
- package/dist/entities/unitV1/unit.js.map +1 -0
- package/dist/hooks/customer/customerAutocomplete.d.ts +7 -7
- package/dist/hooks/customer/customerAutocomplete.js +12 -13
- package/dist/hooks/customer/customerAutocomplete.js.map +1 -1
- package/dist/hooks/locationsForm/locationsFormSales.d.ts +1 -0
- package/dist/hooks/locationsForm/locationsFormSales.js +33 -6
- package/dist/hooks/locationsForm/locationsFormSales.js.map +1 -1
- package/dist/hooks/quote/form.js +11 -0
- package/dist/hooks/quote/form.js.map +1 -1
- package/dist/hooks/quote/helpers.d.ts +9 -0
- package/dist/hooks/quote/helpers.js +19 -2
- package/dist/hooks/quote/helpers.js.map +1 -1
- package/dist/hooks/quote/result.js +1 -0
- package/dist/hooks/quote/result.js.map +1 -1
- package/dist/hooks/tender/form.js +3 -6
- package/dist/hooks/tender/form.js.map +1 -1
- package/dist/redux/api/salesApi.d.ts +1 -1
- package/dist/redux/api/salesApi.js +9 -0
- package/dist/redux/api/salesApi.js.map +1 -1
- package/dist/redux/appointmentIssue/appointmentIssueEndpoints.d.ts +10 -10
- package/dist/redux/appointmentIssueCategory/appointmentIssueCategoryEndpoints.d.ts +11 -11
- package/dist/redux/appointmentIssueSubcategory/appointmentIssueSubcategoryEndpoints.d.ts +10 -10
- package/dist/redux/appointmentNote/appointmentNoteEndpoints.d.ts +10 -10
- package/dist/redux/appointmentNoteType/appointmentNoteTypeEndpoints.d.ts +10 -10
- package/dist/redux/archerFile/archerFileEndpoints.d.ts +20 -8
- package/dist/redux/archerFile/archerFileEndpoints.js +18 -3
- package/dist/redux/archerFile/archerFileEndpoints.js.map +1 -1
- package/dist/redux/carrierName/carrierNameEndpoints.d.ts +10 -10
- package/dist/redux/commodityV1/commodityV1Endpoints.d.ts +11 -11
- package/dist/redux/contact/contactEndpoints.d.ts +26 -0
- package/dist/redux/contact/contactEndpoints.js +54 -0
- package/dist/redux/contact/contactEndpoints.js.map +1 -0
- package/dist/redux/contact/index.d.ts +2 -0
- package/dist/redux/contact/index.js +3 -0
- package/dist/redux/contact/index.js.map +1 -0
- package/dist/redux/customer/customerEndpoints.d.ts +27 -19
- package/dist/redux/customer/customerEndpoints.js +7 -7
- package/dist/redux/customer/customerEndpoints.js.map +1 -1
- package/dist/redux/customersAccessorial/customersAccessorialEndpoints.d.ts +24 -0
- package/dist/redux/customersAccessorial/customersAccessorialEndpoints.js +56 -0
- package/dist/redux/customersAccessorial/customersAccessorialEndpoints.js.map +1 -0
- package/dist/redux/customersAccessorial/index.d.ts +2 -0
- package/dist/redux/customersAccessorial/index.js +3 -0
- package/dist/redux/customersAccessorial/index.js.map +1 -0
- package/dist/redux/driverName/driverNameEndpoints.d.ts +9 -9
- package/dist/redux/flag/flagEndpoints.d.ts +24 -0
- package/dist/redux/flag/flagEndpoints.js +64 -0
- package/dist/redux/flag/flagEndpoints.js.map +1 -0
- package/dist/redux/flag/index.d.ts +2 -0
- package/dist/redux/flag/index.js +3 -0
- package/dist/redux/flag/index.js.map +1 -0
- package/dist/redux/holiday/holidayEndpoints.d.ts +10 -10
- package/dist/redux/index.d.ts +8 -0
- package/dist/redux/index.js +8 -0
- package/dist/redux/index.js.map +1 -1
- package/dist/redux/load/loadEndpoints.d.ts +10 -10
- package/dist/redux/loadAdjustment/loadAdjustmentEndpoints.d.ts +10 -10
- package/dist/redux/loadAdjustmentV1/loadAdjustmentV1Endpoints.d.ts +10 -10
- package/dist/redux/loadV1/loadV1Endpoints.d.ts +32 -16
- package/dist/redux/loadV1/loadV1Endpoints.js +28 -1
- package/dist/redux/loadV1/loadV1Endpoints.js.map +1 -1
- package/dist/redux/location/locationEndpoints.d.ts +14 -14
- package/dist/redux/locationV1/locationV1Endpoints.d.ts +19 -19
- package/dist/redux/nmfcClass/nmfcClassEndpoints.d.ts +9 -9
- package/dist/redux/nodeName/nodeNameEndpoints.d.ts +10 -10
- package/dist/redux/notification/index.d.ts +2 -0
- package/dist/redux/notification/index.js +3 -0
- package/dist/redux/notification/index.js.map +1 -0
- package/dist/redux/notification/notificationEndpoints.d.ts +36 -0
- package/dist/redux/notification/notificationEndpoints.js +81 -0
- package/dist/redux/notification/notificationEndpoints.js.map +1 -0
- package/dist/redux/person/index.d.ts +2 -0
- package/dist/redux/person/index.js +3 -0
- package/dist/redux/person/index.js.map +1 -0
- package/dist/redux/person/personEndpoints.d.ts +34 -0
- package/dist/redux/person/personEndpoints.js +67 -0
- package/dist/redux/person/personEndpoints.js.map +1 -0
- package/dist/redux/personName/personNameEndpoints.d.ts +10 -10
- package/dist/redux/quote/quoteEndpoints.d.ts +38 -17
- package/dist/redux/quote/quoteEndpoints.js +18 -1
- package/dist/redux/quote/quoteEndpoints.js.map +1 -1
- package/dist/redux/quote/quoteHooks.d.ts +2 -2
- package/dist/redux/quoteAccessorial/quoteAccessorialEndpoints.d.ts +9 -9
- package/dist/redux/quoteAccessorialV1/quoteAccessorialV1Endpoints.d.ts +10 -10
- package/dist/redux/rateReview/index.d.ts +2 -0
- package/dist/redux/rateReview/index.js +3 -0
- package/dist/redux/rateReview/index.js.map +1 -0
- package/dist/redux/rateReview/rateReviewEndpoints.d.ts +32 -0
- package/dist/redux/rateReview/rateReviewEndpoints.js +65 -0
- package/dist/redux/rateReview/rateReviewEndpoints.js.map +1 -0
- package/dist/redux/shipcon/shipconEndpoints.d.ts +10 -10
- package/dist/redux/shipconV1/shipconV1Endpoints.d.ts +14 -14
- package/dist/redux/tender/tenderEndpoints.d.ts +9 -9
- package/dist/redux/trailerAvailability/customerEndpoints.d.ts +4 -4
- package/dist/redux/types.d.ts +2 -2
- package/dist/redux/unitV1/index.d.ts +2 -0
- package/dist/redux/unitV1/index.js +3 -0
- package/dist/redux/unitV1/index.js.map +1 -0
- package/dist/redux/unitV1/unitV1Endpoints.d.ts +24 -0
- package/dist/redux/unitV1/unitV1Endpoints.js +64 -0
- package/dist/redux/unitV1/unitV1Endpoints.js.map +1 -0
- package/dist/redux/userNoteV1/userNoteV1Endpoints.d.ts +10 -10
- package/package.json +1 -1
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { Contact_Entity } from "../../entities";
|
|
2
|
+
import { SearchMetadata } from "@nerdjs/nerd-core";
|
|
3
|
+
export declare const contactEndpoints: import("@reduxjs/toolkit/dist/query").Api<(args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/query").FetchBaseQueryError, {}>>, {
|
|
4
|
+
getContacts: import("@reduxjs/toolkit/dist/query").QueryDefinition<void | Record<string, unknown>, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/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", Contact_Entity[], "salesApi">;
|
|
5
|
+
getContact: import("@reduxjs/toolkit/dist/query").QueryDefinition<number, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/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", Contact_Entity, "salesApi">;
|
|
6
|
+
createContact: import("@reduxjs/toolkit/dist/query").MutationDefinition<{
|
|
7
|
+
contact: Partial<Contact_Entity>;
|
|
8
|
+
}, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/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", Contact_Entity, "salesApi">;
|
|
9
|
+
updateContact: import("@reduxjs/toolkit/dist/query").MutationDefinition<{
|
|
10
|
+
id: number;
|
|
11
|
+
body: {
|
|
12
|
+
contact: Partial<Contact_Entity>;
|
|
13
|
+
};
|
|
14
|
+
}, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/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", void, "salesApi">;
|
|
15
|
+
deleteContact: import("@reduxjs/toolkit/dist/query").MutationDefinition<number, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/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", void, "salesApi">;
|
|
16
|
+
getContactSearchMetadata: import("@reduxjs/toolkit/dist/query").QueryDefinition<void, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/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", SearchMetadata, "salesApi">;
|
|
17
|
+
}, "salesApi", "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities" | "locationsV1" | "locationsV1Accessorials" | "archerFiles" | "appointmentNotes" | "appointmentNoteTypes" | "shipconsV1" | "loadShipcons" | "appointmentIssueCategories" | "appointmentIssueSubcategories" | "personNames" | "nodeNames" | "driverNames" | "carrierNames" | "appointmentIssues" | "loadsV1" | "nmfcClasses" | "commoditiesV1" | "loadCommodities" | "loadQuoteAccessorials" | "quoteAccessorialsV1" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "userNotesV1" | "loadUserNotesV1" | "unitsV1" | "customersAccessorials" | "notifications" | "people" | "userSubscriptions" | "contacts" | "flags" | "rateReviews" | "loadRateReviews", typeof import("@reduxjs/toolkit/dist/query/core/module").coreModuleName | typeof import("@reduxjs/toolkit/dist/query/react/module").reactHooksModuleName>;
|
|
18
|
+
export declare const useGetContactQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/dist/query").QueryDefinition<number, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/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", Contact_Entity, "salesApi">>, useGetContactsQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/dist/query").QueryDefinition<void | Record<string, unknown>, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/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", Contact_Entity[], "salesApi">>, useGetContactSearchMetadataQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/dist/query").QueryDefinition<void, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/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", SearchMetadata, "salesApi">>, useLazyGetContactsQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseLazyQuery<import("@reduxjs/toolkit/dist/query").QueryDefinition<void | Record<string, unknown>, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/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", Contact_Entity[], "salesApi">>, useLazyGetContactQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseLazyQuery<import("@reduxjs/toolkit/dist/query").QueryDefinition<number, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/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", Contact_Entity, "salesApi">>, useLazyGetContactSearchMetadataQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseLazyQuery<import("@reduxjs/toolkit/dist/query").QueryDefinition<void, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/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", SearchMetadata, "salesApi">>, useCreateContactMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/dist/query").MutationDefinition<{
|
|
19
|
+
contact: Partial<Contact_Entity>;
|
|
20
|
+
}, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/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", Contact_Entity, "salesApi">>, useDeleteContactMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/dist/query").MutationDefinition<number, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/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", void, "salesApi">>, useUpdateContactMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/dist/query").MutationDefinition<{
|
|
21
|
+
id: number;
|
|
22
|
+
body: {
|
|
23
|
+
contact: Partial<Contact_Entity>;
|
|
24
|
+
};
|
|
25
|
+
}, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/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", void, "salesApi">>;
|
|
26
|
+
export default contactEndpoints;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { salesApi } from "../api/salesApi";
|
|
2
|
+
export const contactEndpoints = salesApi.injectEndpoints({
|
|
3
|
+
endpoints: (build) => ({
|
|
4
|
+
getContacts: build.query({
|
|
5
|
+
query: (args) => {
|
|
6
|
+
return {
|
|
7
|
+
url: `contacts`,
|
|
8
|
+
params: args,
|
|
9
|
+
routePrefix: "/v1",
|
|
10
|
+
};
|
|
11
|
+
},
|
|
12
|
+
providesTags: ["contacts"],
|
|
13
|
+
}),
|
|
14
|
+
getContact: build.query({
|
|
15
|
+
query: (id) => ({ url: `contacts/${id}`, routePrefix: "/v1" }),
|
|
16
|
+
providesTags: (_result, _error, id) => [{ type: "contacts", id }],
|
|
17
|
+
}),
|
|
18
|
+
createContact: build.mutation({
|
|
19
|
+
query: (body) => ({
|
|
20
|
+
method: "POST",
|
|
21
|
+
body,
|
|
22
|
+
url: `contacts`,
|
|
23
|
+
routePrefix: "/v1",
|
|
24
|
+
}),
|
|
25
|
+
invalidatesTags: ["contacts"],
|
|
26
|
+
}),
|
|
27
|
+
updateContact: build.mutation({
|
|
28
|
+
query: (args) => ({
|
|
29
|
+
method: "PUT",
|
|
30
|
+
body: args.body,
|
|
31
|
+
url: `contacts/${args.id}`,
|
|
32
|
+
routePrefix: "/v1",
|
|
33
|
+
}),
|
|
34
|
+
invalidatesTags: (_result, _error, { id }) => [
|
|
35
|
+
{ type: "contacts", id },
|
|
36
|
+
"contacts",
|
|
37
|
+
],
|
|
38
|
+
}),
|
|
39
|
+
deleteContact: build.mutation({
|
|
40
|
+
query: (id) => ({
|
|
41
|
+
method: "DELETE",
|
|
42
|
+
url: `contacts/${id}`,
|
|
43
|
+
routePrefix: "/v1",
|
|
44
|
+
}),
|
|
45
|
+
invalidatesTags: ["contacts"],
|
|
46
|
+
}),
|
|
47
|
+
getContactSearchMetadata: build.query({
|
|
48
|
+
query: () => ({ url: `contacts/searchMetadata`, routePrefix: "/v1" }),
|
|
49
|
+
}),
|
|
50
|
+
}),
|
|
51
|
+
});
|
|
52
|
+
export const { useGetContactQuery, useGetContactsQuery, useGetContactSearchMetadataQuery, useLazyGetContactsQuery, useLazyGetContactQuery, useLazyGetContactSearchMetadataQuery, useCreateContactMutation, useDeleteContactMutation, useUpdateContactMutation, } = contactEndpoints;
|
|
53
|
+
export default contactEndpoints;
|
|
54
|
+
//# sourceMappingURL=contactEndpoints.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contactEndpoints.js","sourceRoot":"","sources":["../../../src/redux/contact/contactEndpoints.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAG3C,MAAM,CAAC,MAAM,gBAAgB,GAAG,QAAQ,CAAC,eAAe,CAAC;IACvD,SAAS,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;QACrB,WAAW,EAAE,KAAK,CAAC,KAAK,CAAmD;YACzE,KAAK,EAAE,CAAC,IAAI,EAAE,EAAE;gBACd,OAAO;oBACL,GAAG,EAAE,UAAU;oBACf,MAAM,EAAE,IAAI;oBACZ,WAAW,EAAE,KAAK;iBACnB,CAAC;YACJ,CAAC;YACD,YAAY,EAAE,CAAC,UAAU,CAAC;SAC3B,CAAC;QACF,UAAU,EAAE,KAAK,CAAC,KAAK,CAAyB;YAC9C,KAAK,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,YAAY,EAAE,EAAE,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC;YAC9D,YAAY,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,EAAE,EAAE,CAAC;SAClE,CAAC;QACF,aAAa,EAAE,KAAK,CAAC,QAAQ,CAG3B;YACA,KAAK,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;gBAChB,MAAM,EAAE,MAAM;gBACd,IAAI;gBACJ,GAAG,EAAE,UAAU;gBACf,WAAW,EAAE,KAAK;aACnB,CAAC;YACF,eAAe,EAAE,CAAC,UAAU,CAAC;SAC9B,CAAC;QACF,aAAa,EAAE,KAAK,CAAC,QAAQ,CAG3B;YACA,KAAK,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;gBAChB,MAAM,EAAE,KAAK;gBACb,IAAI,EAAE,IAAI,CAAC,IAAI;gBACf,GAAG,EAAE,YAAY,IAAI,CAAC,EAAE,EAAE;gBAC1B,WAAW,EAAE,KAAK;aACnB,CAAC;YACF,eAAe,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC;gBAC5C,EAAE,IAAI,EAAE,UAAU,EAAE,EAAE,EAAE;gBACxB,UAAU;aACX;SACF,CAAC;QACF,aAAa,EAAE,KAAK,CAAC,QAAQ,CAAe;YAC1C,KAAK,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;gBACd,MAAM,EAAE,QAAQ;gBAChB,GAAG,EAAE,YAAY,EAAE,EAAE;gBACrB,WAAW,EAAE,KAAK;aACnB,CAAC;YACF,eAAe,EAAE,CAAC,UAAU,CAAC;SAC9B,CAAC;QACF,wBAAwB,EAAE,KAAK,CAAC,KAAK,CAAuB;YAC1D,KAAK,EAAE,GAAG,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,yBAAyB,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC;SACtE,CAAC;KACH,CAAC;CACH,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,EACX,kBAAkB,EAClB,mBAAmB,EACnB,gCAAgC,EAChC,uBAAuB,EACvB,sBAAsB,EACtB,oCAAoC,EACpC,wBAAwB,EACxB,wBAAwB,EACxB,wBAAwB,GACzB,GAAG,gBAAgB,CAAC;AAErB,eAAe,gBAAgB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/redux/contact/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,oBAAoB,CAAC"}
|
|
@@ -1,29 +1,37 @@
|
|
|
1
1
|
import { EntityState } from "@reduxjs/toolkit";
|
|
2
|
-
import { Accessorials_Entity,
|
|
3
|
-
import { SearchMetadata } from "@nerdjs/nerd-core";
|
|
2
|
+
import { Accessorials_Entity, CustomerV1_Entity } from "../../entities";
|
|
4
3
|
import { User_Entity } from "@nerdjs/account-kit";
|
|
4
|
+
import { CustomerPeople_Entity } from "../../entities/customerV1/customerV1";
|
|
5
5
|
export declare const customerEndpoints: import("@reduxjs/toolkit/dist/query").Api<(args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/query").FetchBaseQueryError, {}>>, {
|
|
6
|
-
getCustomers: import("@reduxjs/toolkit/dist/query").QueryDefinition<void | Record<string, unknown>, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/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", EntityState<
|
|
7
|
-
getCustomer: import("@reduxjs/toolkit/dist/query").QueryDefinition<number, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/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",
|
|
8
|
-
createCustomer: import("@reduxjs/toolkit/dist/query").MutationDefinition<
|
|
6
|
+
getCustomers: import("@reduxjs/toolkit/dist/query").QueryDefinition<void | Record<string, unknown>, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/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", EntityState<CustomerV1_Entity>, "salesApi">;
|
|
7
|
+
getCustomer: import("@reduxjs/toolkit/dist/query").QueryDefinition<number, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/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", CustomerV1_Entity, "salesApi">;
|
|
8
|
+
createCustomer: import("@reduxjs/toolkit/dist/query").MutationDefinition<{
|
|
9
|
+
customer: Partial<CustomerV1_Entity>;
|
|
10
|
+
}, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/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", CustomerV1_Entity, "salesApi">;
|
|
9
11
|
updateCustomer: import("@reduxjs/toolkit/dist/query").MutationDefinition<{
|
|
10
12
|
id: number;
|
|
11
|
-
body:
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
13
|
+
body: {
|
|
14
|
+
customer: Partial<CustomerV1_Entity>;
|
|
15
|
+
};
|
|
16
|
+
}, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/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", void, "salesApi">;
|
|
17
|
+
deleteCustomer: import("@reduxjs/toolkit/dist/query").MutationDefinition<number, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/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", void, "salesApi">;
|
|
18
|
+
getCustomerAccessorials: import("@reduxjs/toolkit/dist/query").QueryDefinition<number, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/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", Accessorials_Entity, "salesApi">;
|
|
19
|
+
getCustomerContacts: import("@reduxjs/toolkit/dist/query").QueryDefinition<number, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/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", User_Entity[], "salesApi">;
|
|
20
|
+
getCustomerPLCode: import("@reduxjs/toolkit/dist/query").QueryDefinition<number, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/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", number, "salesApi">;
|
|
21
|
+
searchCustomer: import("@reduxjs/toolkit/dist/query").QueryDefinition<string, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/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", CustomerV1_Entity[], "salesApi">;
|
|
22
|
+
getCustomerPeople: import("@reduxjs/toolkit/dist/query").QueryDefinition<number, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/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", CustomerPeople_Entity[], "salesApi">;
|
|
23
|
+
}, "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", typeof import("@reduxjs/toolkit/dist/query/core/module").coreModuleName | typeof import("@reduxjs/toolkit/dist/query/react/module").reactHooksModuleName>;
|
|
24
|
+
export declare const useGetCustomerQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/dist/query").QueryDefinition<number, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/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", CustomerV1_Entity, "salesApi">>, useGetCustomersQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/dist/query").QueryDefinition<void | Record<string, unknown>, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/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", EntityState<CustomerV1_Entity>, "salesApi">>, useLazyGetCustomersQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseLazyQuery<import("@reduxjs/toolkit/dist/query").QueryDefinition<void | Record<string, unknown>, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/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", EntityState<CustomerV1_Entity>, "salesApi">>, useLazyGetCustomerQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseLazyQuery<import("@reduxjs/toolkit/dist/query").QueryDefinition<number, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/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", CustomerV1_Entity, "salesApi">>, useCreateCustomerMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/dist/query").MutationDefinition<{
|
|
25
|
+
customer: Partial<CustomerV1_Entity>;
|
|
26
|
+
}, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/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", CustomerV1_Entity, "salesApi">>, useDeleteCustomerMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/dist/query").MutationDefinition<number, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/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", void, "salesApi">>, useUpdateCustomerMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/dist/query").MutationDefinition<{
|
|
21
27
|
id: number;
|
|
22
|
-
body:
|
|
23
|
-
|
|
28
|
+
body: {
|
|
29
|
+
customer: Partial<CustomerV1_Entity>;
|
|
30
|
+
};
|
|
31
|
+
}, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/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", void, "salesApi">>, useGetCustomerAccessorialsQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/dist/query").QueryDefinition<number, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/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", Accessorials_Entity, "salesApi">>, useLazyGetCustomerAccessorialsQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseLazyQuery<import("@reduxjs/toolkit/dist/query").QueryDefinition<number, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/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", Accessorials_Entity, "salesApi">>, useLazySearchCustomerQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseLazyQuery<import("@reduxjs/toolkit/dist/query").QueryDefinition<string, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/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", CustomerV1_Entity[], "salesApi">>, useSearchCustomerQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/dist/query").QueryDefinition<string, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/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", CustomerV1_Entity[], "salesApi">>, useGetCustomerContactsQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/dist/query").QueryDefinition<number, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/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", User_Entity[], "salesApi">>, useLazyGetCustomerContactsQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseLazyQuery<import("@reduxjs/toolkit/dist/query").QueryDefinition<number, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/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", User_Entity[], "salesApi">>, useGetCustomerPLCodeQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/dist/query").QueryDefinition<number, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/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", number, "salesApi">>, useLazyGetCustomerPLCodeQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseLazyQuery<import("@reduxjs/toolkit/dist/query").QueryDefinition<number, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/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", number, "salesApi">>, useGetCustomerPeopleQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/dist/query").QueryDefinition<number, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/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", CustomerPeople_Entity[], "salesApi">>, useLazyGetCustomerPeopleQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseLazyQuery<import("@reduxjs/toolkit/dist/query").QueryDefinition<number, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/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", CustomerPeople_Entity[], "salesApi">>;
|
|
24
32
|
export default customerEndpoints;
|
|
25
|
-
export declare const getCustomersSelectors: (params: Record<string, unknown> | void) => import("@reduxjs/toolkit").EntitySelectors<
|
|
26
|
-
salesApi: import("@reduxjs/toolkit/dist/query/core/apiState").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", "salesApi">;
|
|
33
|
+
export declare const getCustomersSelectors: (params: Record<string, unknown> | void) => import("@reduxjs/toolkit").EntitySelectors<CustomerV1_Entity, {
|
|
34
|
+
salesApi: import("@reduxjs/toolkit/dist/query/core/apiState").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", "salesApi">;
|
|
27
35
|
salesKitState: import("redux").CombinedState<{
|
|
28
36
|
quote: import("..").QuoteState;
|
|
29
37
|
tender: import("../tender/tenderSlice").TenderState;
|
|
@@ -50,12 +50,6 @@ export const customerEndpoints = salesApi.injectEndpoints({
|
|
|
50
50
|
}),
|
|
51
51
|
invalidatesTags: ["customers"],
|
|
52
52
|
}),
|
|
53
|
-
getCustomerSearchMetadata: build.query({
|
|
54
|
-
query: () => ({
|
|
55
|
-
url: `customers/searchMetadata`,
|
|
56
|
-
routePrefix: "/v1",
|
|
57
|
-
}),
|
|
58
|
-
}),
|
|
59
53
|
getCustomerAccessorials: build.query({
|
|
60
54
|
query: (id) => `quote-service/accessorials?customerId=${id}`,
|
|
61
55
|
}),
|
|
@@ -71,9 +65,15 @@ export const customerEndpoints = salesApi.injectEndpoints({
|
|
|
71
65
|
routePrefix: "/v1",
|
|
72
66
|
}),
|
|
73
67
|
}),
|
|
68
|
+
getCustomerPeople: build.query({
|
|
69
|
+
query: (id) => ({
|
|
70
|
+
url: `customers/${id}/get_people`,
|
|
71
|
+
routePrefix: "/v1",
|
|
72
|
+
}),
|
|
73
|
+
}),
|
|
74
74
|
}),
|
|
75
75
|
});
|
|
76
|
-
export const { useGetCustomerQuery, useGetCustomersQuery,
|
|
76
|
+
export const { useGetCustomerQuery, useGetCustomersQuery, useLazyGetCustomersQuery, useLazyGetCustomerQuery, useCreateCustomerMutation, useDeleteCustomerMutation, useUpdateCustomerMutation, useGetCustomerAccessorialsQuery, useLazyGetCustomerAccessorialsQuery, useLazySearchCustomerQuery, useSearchCustomerQuery, useGetCustomerContactsQuery, useLazyGetCustomerContactsQuery, useGetCustomerPLCodeQuery, useLazyGetCustomerPLCodeQuery, useGetCustomerPeopleQuery, useLazyGetCustomerPeopleQuery, } = customerEndpoints;
|
|
77
77
|
export default customerEndpoints;
|
|
78
78
|
export const getCustomersSelectors = (params) => {
|
|
79
79
|
return customersAdapter.getSelectors((state) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customerEndpoints.js","sourceRoot":"","sources":["../../../src/redux/customer/customerEndpoints.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EAEnB,cAAc,GACf,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAK3C,MAAM,gBAAgB,GAAG,mBAAmB,
|
|
1
|
+
{"version":3,"file":"customerEndpoints.js","sourceRoot":"","sources":["../../../src/redux/customer/customerEndpoints.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EAEnB,cAAc,GACf,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAK3C,MAAM,gBAAgB,GAAG,mBAAmB,EAAqB,CAAC;AAClE,MAAM,qBAAqB,GAAG,gBAAgB,CAAC,eAAe,EAAE,CAAC;AAEjE,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,WAAW;oBAChB,MAAM,EAAE,IAAI;oBACZ,WAAW,EAAE,KAAK;iBACnB,CAAC;YACJ,CAAC;YACD,iBAAiB,EAAE,CAAC,YAAiC,EAAE,EAAE;gBACvD,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,CAA4B;YAClD,KAAK,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,aAAa,EAAE,EAAE,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC;YAC/D,YAAY,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,EAAE,EAAE,CAAC;SACnE,CAAC;QACF,cAAc,EAAE,KAAK,CAAC,QAAQ,CAG5B;YACA,KAAK,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;gBAChB,MAAM,EAAE,MAAM;gBACd,IAAI;gBACJ,GAAG,EAAE,WAAW;gBAChB,WAAW,EAAE,KAAK;aACnB,CAAC;YACF,eAAe,EAAE,CAAC,WAAW,CAAC;SAC/B,CAAC;QACF,cAAc,EAAE,KAAK,CAAC,QAAQ,CAG5B;YACA,KAAK,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;gBAChB,MAAM,EAAE,KAAK;gBACb,IAAI,EAAE,IAAI,CAAC,IAAI;gBACf,GAAG,EAAE,aAAa,IAAI,CAAC,EAAE,EAAE;gBAC3B,WAAW,EAAE,KAAK;aACnB,CAAC;YACF,eAAe,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC;gBAC5C,EAAE,IAAI,EAAE,WAAW,EAAE,EAAE,EAAE;gBACzB,WAAW;aACZ;SACF,CAAC;QACF,cAAc,EAAE,KAAK,CAAC,QAAQ,CAAe;YAC3C,KAAK,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;gBACd,MAAM,EAAE,QAAQ;gBAChB,GAAG,EAAE,aAAa,EAAE,EAAE;gBACtB,WAAW,EAAE,KAAK;aACnB,CAAC;YACF,eAAe,EAAE,CAAC,WAAW,CAAC;SAC/B,CAAC;QACF,uBAAuB,EAAE,KAAK,CAAC,KAAK,CAA8B;YAChE,KAAK,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,yCAAyC,EAAE,EAAE;SAC7D,CAAC;QACF,mBAAmB,EAAE,KAAK,CAAC,KAAK,CAAwB;YACtD,KAAK,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,mBAAmB,EAAE,WAAW;SAChD,CAAC;QACF,iBAAiB,EAAE,KAAK,CAAC,KAAK,CAAiB;YAC7C,KAAK,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,kBAAkB,EAAE,YAAY;SAChD,CAAC;QACF,cAAc,EAAE,KAAK,CAAC,KAAK,CAA8B;YACvD,KAAK,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;gBACjB,GAAG,EAAE,0BAA0B,KAAK,WAAW;gBAC/C,WAAW,EAAE,KAAK;aACnB,CAAC;SACH,CAAC;QACF,iBAAiB,EAAE,KAAK,CAAC,KAAK,CAAkC;YAC9D,KAAK,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;gBACd,GAAG,EAAE,aAAa,EAAE,aAAa;gBACjC,WAAW,EAAE,KAAK;aACnB,CAAC;SACH,CAAC;KACH,CAAC;CACH,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,EACX,mBAAmB,EACnB,oBAAoB,EACpB,wBAAwB,EACxB,uBAAuB,EACvB,yBAAyB,EACzB,yBAAyB,EACzB,yBAAyB,EACzB,+BAA+B,EAC/B,mCAAmC,EACnC,0BAA0B,EAC1B,sBAAsB,EACtB,2BAA2B,EAC3B,+BAA+B,EAC/B,yBAAyB,EACzB,6BAA6B,EAC7B,yBAAyB,EACzB,6BAA6B,GAC9B,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"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { CustomersAccessorial_Entity } from "../../entities";
|
|
2
|
+
export declare const customersAccessorialEndpoints: import("@reduxjs/toolkit/dist/query").Api<(args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/query").FetchBaseQueryError, {}>>, {
|
|
3
|
+
getCustomersAccessorials: import("@reduxjs/toolkit/dist/query").QueryDefinition<void | Record<string, unknown>, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/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", CustomersAccessorial_Entity[], "salesApi">;
|
|
4
|
+
getCustomersAccessorial: import("@reduxjs/toolkit/dist/query").QueryDefinition<number, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/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", CustomersAccessorial_Entity, "salesApi">;
|
|
5
|
+
createCustomersAccessorial: import("@reduxjs/toolkit/dist/query").MutationDefinition<{
|
|
6
|
+
customersaccessorial: Partial<CustomersAccessorial_Entity>;
|
|
7
|
+
}, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/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", CustomersAccessorial_Entity, "salesApi">;
|
|
8
|
+
updateCustomersAccessorial: import("@reduxjs/toolkit/dist/query").MutationDefinition<{
|
|
9
|
+
id: number;
|
|
10
|
+
body: {
|
|
11
|
+
customersaccessorial: Partial<CustomersAccessorial_Entity>;
|
|
12
|
+
};
|
|
13
|
+
}, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/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", void, "salesApi">;
|
|
14
|
+
deleteCustomersAccessorial: import("@reduxjs/toolkit/dist/query").MutationDefinition<number, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/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", void, "salesApi">;
|
|
15
|
+
}, "salesApi", "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities" | "locationsV1" | "locationsV1Accessorials" | "archerFiles" | "appointmentNotes" | "appointmentNoteTypes" | "shipconsV1" | "loadShipcons" | "appointmentIssueCategories" | "appointmentIssueSubcategories" | "personNames" | "nodeNames" | "driverNames" | "carrierNames" | "appointmentIssues" | "loadsV1" | "nmfcClasses" | "commoditiesV1" | "loadCommodities" | "loadQuoteAccessorials" | "quoteAccessorialsV1" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "userNotesV1" | "loadUserNotesV1" | "unitsV1" | "customersAccessorials" | "notifications" | "people" | "userSubscriptions" | "contacts" | "flags" | "rateReviews" | "loadRateReviews", typeof import("@reduxjs/toolkit/dist/query/core/module").coreModuleName | typeof import("@reduxjs/toolkit/dist/query/react/module").reactHooksModuleName>;
|
|
16
|
+
export declare const useGetCustomersAccessorialQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/dist/query").QueryDefinition<number, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/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", CustomersAccessorial_Entity, "salesApi">>, useGetCustomersAccessorialsQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/dist/query").QueryDefinition<void | Record<string, unknown>, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/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", CustomersAccessorial_Entity[], "salesApi">>, useLazyGetCustomersAccessorialsQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseLazyQuery<import("@reduxjs/toolkit/dist/query").QueryDefinition<void | Record<string, unknown>, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/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", CustomersAccessorial_Entity[], "salesApi">>, useLazyGetCustomersAccessorialQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseLazyQuery<import("@reduxjs/toolkit/dist/query").QueryDefinition<number, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/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", CustomersAccessorial_Entity, "salesApi">>, useCreateCustomersAccessorialMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/dist/query").MutationDefinition<{
|
|
17
|
+
customersaccessorial: Partial<CustomersAccessorial_Entity>;
|
|
18
|
+
}, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/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", CustomersAccessorial_Entity, "salesApi">>, useDeleteCustomersAccessorialMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/dist/query").MutationDefinition<number, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/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", void, "salesApi">>, useUpdateCustomersAccessorialMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/dist/query").MutationDefinition<{
|
|
19
|
+
id: number;
|
|
20
|
+
body: {
|
|
21
|
+
customersaccessorial: Partial<CustomersAccessorial_Entity>;
|
|
22
|
+
};
|
|
23
|
+
}, (args: any, api: import("@reduxjs/toolkit/dist/query").BaseQueryApi) => import("@reduxjs/toolkit/dist/query/tsHelpers").MaybePromise<import("@reduxjs/toolkit/dist/query/baseQueryTypes").QueryReturnValue<unknown, import("@reduxjs/toolkit/dist/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", void, "salesApi">>;
|
|
24
|
+
export default customersAccessorialEndpoints;
|