@nerdjs/sales-kit 2.0.35-alpha.2 → 2.0.37
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/appointmentIssue/appointmentIssue.d.ts +46 -0
- package/dist/entities/appointmentIssue/appointmentIssue.js +116 -0
- package/dist/entities/appointmentIssue/appointmentIssue.js.map +1 -0
- package/dist/entities/appointmentIssue/helper.d.ts +5 -0
- package/dist/entities/appointmentIssue/helper.js +16 -0
- package/dist/entities/appointmentIssue/helper.js.map +1 -0
- package/dist/entities/appointmentIssue/index.d.ts +2 -0
- package/dist/entities/appointmentIssue/index.js +3 -0
- package/dist/entities/appointmentIssue/index.js.map +1 -0
- package/dist/entities/appointmentIssueCategory/appointmentIssueCategory.d.ts +10 -0
- package/dist/entities/appointmentIssueCategory/appointmentIssueCategory.js +40 -0
- package/dist/entities/appointmentIssueCategory/appointmentIssueCategory.js.map +1 -0
- package/dist/entities/appointmentIssueCategory/helper.d.ts +5 -0
- package/dist/entities/appointmentIssueCategory/helper.js +16 -0
- package/dist/entities/appointmentIssueCategory/helper.js.map +1 -0
- package/dist/entities/appointmentIssueCategory/index.d.ts +2 -0
- package/dist/entities/appointmentIssueCategory/index.js +3 -0
- package/dist/entities/appointmentIssueCategory/index.js.map +1 -0
- package/dist/entities/appointmentIssueSubcategory/appointmentIssueSubcategory.d.ts +11 -0
- package/dist/entities/appointmentIssueSubcategory/appointmentIssueSubcategory.js +43 -0
- package/dist/entities/appointmentIssueSubcategory/appointmentIssueSubcategory.js.map +1 -0
- package/dist/entities/appointmentIssueSubcategory/helper.d.ts +5 -0
- package/dist/entities/appointmentIssueSubcategory/helper.js +16 -0
- package/dist/entities/appointmentIssueSubcategory/helper.js.map +1 -0
- package/dist/entities/appointmentIssueSubcategory/index.d.ts +2 -0
- package/dist/entities/appointmentIssueSubcategory/index.js +3 -0
- package/dist/entities/appointmentIssueSubcategory/index.js.map +1 -0
- package/dist/entities/appointmentNote/appointmentNote.d.ts +13 -0
- package/dist/entities/appointmentNote/appointmentNote.js +44 -0
- package/dist/entities/appointmentNote/appointmentNote.js.map +1 -0
- package/dist/entities/appointmentNote/helper.d.ts +5 -0
- package/dist/entities/appointmentNote/helper.js +16 -0
- package/dist/entities/appointmentNote/helper.js.map +1 -0
- package/dist/entities/appointmentNote/index.d.ts +2 -0
- package/dist/entities/appointmentNote/index.js +3 -0
- package/dist/entities/appointmentNote/index.js.map +1 -0
- package/dist/entities/appointmentNoteType/appointmentNoteType.d.ts +8 -0
- package/dist/entities/appointmentNoteType/appointmentNoteType.js +34 -0
- package/dist/entities/appointmentNoteType/appointmentNoteType.js.map +1 -0
- package/dist/entities/appointmentNoteType/helper.d.ts +5 -0
- package/dist/entities/appointmentNoteType/helper.js +16 -0
- package/dist/entities/appointmentNoteType/helper.js.map +1 -0
- package/dist/entities/appointmentNoteType/index.d.ts +2 -0
- package/dist/entities/appointmentNoteType/index.js +3 -0
- package/dist/entities/appointmentNoteType/index.js.map +1 -0
- package/dist/entities/archerFileV1/archerFileV1.d.ts +25 -0
- package/dist/entities/archerFileV1/archerFileV1.js +63 -0
- package/dist/entities/archerFileV1/archerFileV1.js.map +1 -0
- package/dist/entities/archerFileV1/helper.d.ts +5 -0
- package/dist/entities/archerFileV1/helper.js +16 -0
- package/dist/entities/archerFileV1/helper.js.map +1 -0
- package/dist/entities/archerFileV1/index.d.ts +2 -0
- package/dist/entities/archerFileV1/index.js +3 -0
- package/dist/entities/archerFileV1/index.js.map +1 -0
- package/dist/entities/carrierName/carrierName.d.ts +16 -0
- package/dist/entities/carrierName/carrierName.js +49 -0
- package/dist/entities/carrierName/carrierName.js.map +1 -0
- package/dist/entities/carrierName/helper.d.ts +5 -0
- package/dist/entities/carrierName/helper.js +16 -0
- package/dist/entities/carrierName/helper.js.map +1 -0
- package/dist/entities/carrierName/index.d.ts +2 -0
- package/dist/entities/carrierName/index.js +3 -0
- package/dist/entities/carrierName/index.js.map +1 -0
- package/dist/entities/commodityV1/commodityV1.d.ts +26 -0
- package/dist/entities/commodityV1/commodityV1.js +69 -0
- package/dist/entities/commodityV1/commodityV1.js.map +1 -0
- package/dist/entities/commodityV1/helper.d.ts +5 -0
- package/dist/entities/commodityV1/helper.js +16 -0
- package/dist/entities/commodityV1/helper.js.map +1 -0
- package/dist/entities/commodityV1/index.d.ts +2 -0
- package/dist/entities/commodityV1/index.js +3 -0
- package/dist/entities/commodityV1/index.js.map +1 -0
- package/dist/entities/driverName/driverName.d.ts +16 -0
- package/dist/entities/driverName/driverName.js +49 -0
- package/dist/entities/driverName/driverName.js.map +1 -0
- package/dist/entities/driverName/helper.d.ts +5 -0
- package/dist/entities/driverName/helper.js +16 -0
- package/dist/entities/driverName/helper.js.map +1 -0
- package/dist/entities/driverName/index.d.ts +2 -0
- package/dist/entities/driverName/index.js +3 -0
- package/dist/entities/driverName/index.js.map +1 -0
- package/dist/entities/index.d.ts +19 -0
- package/dist/entities/index.js +19 -0
- package/dist/entities/index.js.map +1 -1
- package/dist/entities/loadAdjustmentV1/helper.d.ts +5 -0
- package/dist/entities/loadAdjustmentV1/helper.js +16 -0
- package/dist/entities/loadAdjustmentV1/helper.js.map +1 -0
- package/dist/entities/loadAdjustmentV1/index.d.ts +2 -0
- package/dist/entities/loadAdjustmentV1/index.js +3 -0
- package/dist/entities/loadAdjustmentV1/index.js.map +1 -0
- package/dist/entities/loadAdjustmentV1/loadAdjustmentV1.d.ts +16 -0
- package/dist/entities/loadAdjustmentV1/loadAdjustmentV1.js +50 -0
- package/dist/entities/loadAdjustmentV1/loadAdjustmentV1.js.map +1 -0
- package/dist/entities/loadV1/helper.d.ts +6 -0
- package/dist/entities/loadV1/helper.js +35 -0
- package/dist/entities/loadV1/helper.js.map +1 -0
- package/dist/entities/loadV1/index.d.ts +2 -0
- package/dist/entities/loadV1/index.js +3 -0
- package/dist/entities/loadV1/index.js.map +1 -0
- package/dist/entities/loadV1/loadV1.d.ts +120 -0
- package/dist/entities/loadV1/loadV1.js +260 -0
- package/dist/entities/loadV1/loadV1.js.map +1 -0
- package/dist/entities/location/index.d.ts +1 -0
- package/dist/entities/location/index.js +1 -0
- package/dist/entities/location/index.js.map +1 -1
- package/dist/entities/location/location.d.ts +2 -1
- package/dist/entities/location/location.js +9 -2
- package/dist/entities/location/location.js.map +1 -1
- package/dist/entities/locationAccessorial/helper.d.ts +5 -0
- package/dist/entities/locationAccessorial/helper.js +16 -0
- package/dist/entities/locationAccessorial/helper.js.map +1 -0
- package/dist/entities/locationAccessorial/index.d.ts +2 -0
- package/dist/entities/locationAccessorial/index.js +3 -0
- package/dist/entities/locationAccessorial/index.js.map +1 -0
- package/dist/entities/locationAccessorial/locationAccessorial.d.ts +13 -0
- package/dist/entities/locationAccessorial/locationAccessorial.js +44 -0
- package/dist/entities/locationAccessorial/locationAccessorial.js.map +1 -0
- package/dist/entities/locationV1/helper.d.ts +5 -0
- package/dist/entities/locationV1/helper.js +16 -0
- package/dist/entities/locationV1/helper.js.map +1 -0
- package/dist/entities/locationV1/index.d.ts +2 -0
- package/dist/entities/locationV1/index.js +3 -0
- package/dist/entities/locationV1/index.js.map +1 -0
- package/dist/entities/locationV1/locationV1.d.ts +73 -0
- package/dist/entities/locationV1/locationV1.js +163 -0
- package/dist/entities/locationV1/locationV1.js.map +1 -0
- package/dist/entities/nmfcClass/helper.d.ts +5 -0
- package/dist/entities/nmfcClass/helper.js +16 -0
- package/dist/entities/nmfcClass/helper.js.map +1 -0
- package/dist/entities/nmfcClass/index.d.ts +2 -0
- package/dist/entities/nmfcClass/index.js +3 -0
- package/dist/entities/nmfcClass/index.js.map +1 -0
- package/dist/entities/nmfcClass/nmfcClass.d.ts +11 -0
- package/dist/entities/nmfcClass/nmfcClass.js +39 -0
- package/dist/entities/nmfcClass/nmfcClass.js.map +1 -0
- package/dist/entities/nodeName/helper.d.ts +5 -0
- package/dist/entities/nodeName/helper.js +16 -0
- package/dist/entities/nodeName/helper.js.map +1 -0
- package/dist/entities/nodeName/index.d.ts +2 -0
- package/dist/entities/nodeName/index.js +3 -0
- package/dist/entities/nodeName/index.js.map +1 -0
- package/dist/entities/nodeName/nodeName.d.ts +14 -0
- package/dist/entities/nodeName/nodeName.js +45 -0
- package/dist/entities/nodeName/nodeName.js.map +1 -0
- package/dist/entities/personName/helper.d.ts +5 -0
- package/dist/entities/personName/helper.js +16 -0
- package/dist/entities/personName/helper.js.map +1 -0
- package/dist/entities/personName/index.d.ts +2 -0
- package/dist/entities/personName/index.js +3 -0
- package/dist/entities/personName/index.js.map +1 -0
- package/dist/entities/personName/personName.d.ts +12 -0
- package/dist/entities/personName/personName.js +41 -0
- package/dist/entities/personName/personName.js.map +1 -0
- package/dist/entities/quote/quote.d.ts +0 -1
- package/dist/entities/quoteAccessorialV1/helper.d.ts +5 -0
- package/dist/entities/quoteAccessorialV1/helper.js +16 -0
- package/dist/entities/quoteAccessorialV1/helper.js.map +1 -0
- package/dist/entities/quoteAccessorialV1/index.d.ts +2 -0
- package/dist/entities/quoteAccessorialV1/index.js +3 -0
- package/dist/entities/quoteAccessorialV1/index.js.map +1 -0
- package/dist/entities/quoteAccessorialV1/quoteAccessorialV1.d.ts +34 -0
- package/dist/entities/quoteAccessorialV1/quoteAccessorialV1.js +86 -0
- package/dist/entities/quoteAccessorialV1/quoteAccessorialV1.js.map +1 -0
- package/dist/entities/quoteResponse/quoteResponse.d.ts +0 -1
- package/dist/entities/quoteResponse/quoteResponse.js.map +1 -1
- package/dist/entities/shipconV1/helper.d.ts +5 -0
- package/dist/entities/shipconV1/helper.js +16 -0
- package/dist/entities/shipconV1/helper.js.map +1 -0
- package/dist/entities/shipconV1/index.d.ts +2 -0
- package/dist/entities/shipconV1/index.js +3 -0
- package/dist/entities/shipconV1/index.js.map +1 -0
- package/dist/entities/shipconV1/shipconV1.d.ts +163 -0
- package/dist/entities/shipconV1/shipconV1.js +350 -0
- package/dist/entities/shipconV1/shipconV1.js.map +1 -0
- package/dist/entities/userNoteV1/helper.d.ts +5 -0
- package/dist/entities/userNoteV1/helper.js +16 -0
- package/dist/entities/userNoteV1/helper.js.map +1 -0
- package/dist/entities/userNoteV1/index.d.ts +2 -0
- package/dist/entities/userNoteV1/index.js +3 -0
- package/dist/entities/userNoteV1/index.js.map +1 -0
- package/dist/entities/userNoteV1/userNoteV1.d.ts +14 -0
- package/dist/entities/userNoteV1/userNoteV1.js +46 -0
- package/dist/entities/userNoteV1/userNoteV1.js.map +1 -0
- package/dist/hooks/locationsForm/locationsForm.d.ts +1 -0
- package/dist/hooks/locationsForm/locationsForm.js +7 -7
- package/dist/hooks/locationsForm/locationsForm.js.map +1 -1
- package/dist/hooks/locationsForm/locationsFormSales.d.ts +11 -0
- package/dist/hooks/locationsForm/locationsFormSales.js +826 -0
- package/dist/hooks/locationsForm/locationsFormSales.js.map +1 -0
- package/dist/hooks/quote/constants.d.ts +42 -2
- package/dist/hooks/quote/constants.js +39 -2
- package/dist/hooks/quote/constants.js.map +1 -1
- package/dist/hooks/quote/form.js +37 -46
- package/dist/hooks/quote/form.js.map +1 -1
- package/dist/hooks/quote/helpers.d.ts +12 -5
- package/dist/hooks/quote/helpers.js +76 -101
- package/dist/hooks/quote/helpers.js.map +1 -1
- package/dist/hooks/quote/result.js +19 -23
- package/dist/hooks/quote/result.js.map +1 -1
- package/dist/hooks/tender/form.js +84 -67
- package/dist/hooks/tender/form.js.map +1 -1
- package/dist/hooks/tender/helpers.d.ts +2 -1
- package/dist/hooks/tender/helpers.js +14 -17
- package/dist/hooks/tender/helpers.js.map +1 -1
- package/dist/redux/api/salesApi.d.ts +1 -1
- package/dist/redux/api/salesApi.js +24 -0
- package/dist/redux/api/salesApi.js.map +1 -1
- package/dist/redux/appointmentIssue/appointmentIssueEndpoints.d.ts +32 -0
- package/dist/redux/appointmentIssue/appointmentIssueEndpoints.js +66 -0
- package/dist/redux/appointmentIssue/appointmentIssueEndpoints.js.map +1 -0
- package/dist/redux/appointmentIssue/index.d.ts +2 -0
- package/dist/redux/appointmentIssue/index.js +3 -0
- package/dist/redux/appointmentIssue/index.js.map +1 -0
- package/dist/redux/appointmentIssueCategory/appointmentIssueCategoryEndpoints.d.ts +27 -0
- package/dist/redux/appointmentIssueCategory/appointmentIssueCategoryEndpoints.js +72 -0
- package/dist/redux/appointmentIssueCategory/appointmentIssueCategoryEndpoints.js.map +1 -0
- package/dist/redux/appointmentIssueCategory/index.d.ts +2 -0
- package/dist/redux/appointmentIssueCategory/index.js +3 -0
- package/dist/redux/appointmentIssueCategory/index.js.map +1 -0
- package/dist/redux/appointmentIssueSubcategory/appointmentIssueSubcategoryEndpoints.d.ts +26 -0
- package/dist/redux/appointmentIssueSubcategory/appointmentIssueSubcategoryEndpoints.js +66 -0
- package/dist/redux/appointmentIssueSubcategory/appointmentIssueSubcategoryEndpoints.js.map +1 -0
- package/dist/redux/appointmentIssueSubcategory/index.d.ts +2 -0
- package/dist/redux/appointmentIssueSubcategory/index.js +3 -0
- package/dist/redux/appointmentIssueSubcategory/index.js.map +1 -0
- package/dist/redux/appointmentNote/appointmentNoteEndpoints.d.ts +26 -0
- package/dist/redux/appointmentNote/appointmentNoteEndpoints.js +70 -0
- package/dist/redux/appointmentNote/appointmentNoteEndpoints.js.map +1 -0
- package/dist/redux/appointmentNote/index.d.ts +2 -0
- package/dist/redux/appointmentNote/index.js +3 -0
- package/dist/redux/appointmentNote/index.js.map +1 -0
- package/dist/redux/appointmentNoteType/appointmentNoteTypeEndpoints.d.ts +26 -0
- package/dist/redux/appointmentNoteType/appointmentNoteTypeEndpoints.js +75 -0
- package/dist/redux/appointmentNoteType/appointmentNoteTypeEndpoints.js.map +1 -0
- package/dist/redux/appointmentNoteType/index.d.ts +2 -0
- package/dist/redux/appointmentNoteType/index.js +3 -0
- package/dist/redux/appointmentNoteType/index.js.map +1 -0
- package/dist/redux/archerFile/archerFileEndpoints.d.ts +20 -0
- package/dist/redux/archerFile/archerFileEndpoints.js +61 -0
- package/dist/redux/archerFile/archerFileEndpoints.js.map +1 -0
- package/dist/redux/archerFile/index.d.ts +2 -0
- package/dist/redux/archerFile/index.js +3 -0
- package/dist/redux/archerFile/index.js.map +1 -0
- package/dist/redux/carrierName/carrierNameEndpoints.d.ts +25 -0
- package/dist/redux/carrierName/carrierNameEndpoints.js +76 -0
- package/dist/redux/carrierName/carrierNameEndpoints.js.map +1 -0
- package/dist/redux/carrierName/index.d.ts +2 -0
- package/dist/redux/carrierName/index.js +3 -0
- package/dist/redux/carrierName/index.js.map +1 -0
- package/dist/redux/commodityV1/commodityV1Endpoints.d.ts +33 -0
- package/dist/redux/commodityV1/commodityV1Endpoints.js +71 -0
- package/dist/redux/commodityV1/commodityV1Endpoints.js.map +1 -0
- package/dist/redux/commodityV1/index.d.ts +2 -0
- package/dist/redux/commodityV1/index.js +3 -0
- package/dist/redux/commodityV1/index.js.map +1 -0
- package/dist/redux/customer/customerEndpoints.d.ts +14 -14
- package/dist/redux/driverName/driverNameEndpoints.d.ts +24 -0
- package/dist/redux/driverName/driverNameEndpoints.js +67 -0
- package/dist/redux/driverName/driverNameEndpoints.js.map +1 -0
- package/dist/redux/driverName/index.d.ts +2 -0
- package/dist/redux/driverName/index.js +3 -0
- package/dist/redux/driverName/index.js.map +1 -0
- package/dist/redux/holiday/holidayEndpoints.d.ts +10 -10
- package/dist/redux/index.d.ts +17 -0
- package/dist/redux/index.js +17 -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/index.d.ts +2 -0
- package/dist/redux/loadAdjustmentV1/index.js +3 -0
- package/dist/redux/loadAdjustmentV1/index.js.map +1 -0
- package/dist/redux/loadAdjustmentV1/loadAdjustmentV1Endpoints.d.ts +32 -0
- package/dist/redux/loadAdjustmentV1/loadAdjustmentV1Endpoints.js +66 -0
- package/dist/redux/loadAdjustmentV1/loadAdjustmentV1Endpoints.js.map +1 -0
- package/dist/redux/loadV1/index.d.ts +2 -0
- package/dist/redux/loadV1/index.js +3 -0
- package/dist/redux/loadV1/index.js.map +1 -0
- package/dist/redux/loadV1/loadV1Endpoints.d.ts +43 -0
- package/dist/redux/loadV1/loadV1Endpoints.js +100 -0
- package/dist/redux/loadV1/loadV1Endpoints.js.map +1 -0
- package/dist/redux/location/locationEndpoints.d.ts +14 -14
- package/dist/redux/locationV1/index.d.ts +2 -0
- package/dist/redux/locationV1/index.js +3 -0
- package/dist/redux/locationV1/index.js.map +1 -0
- package/dist/redux/locationV1/locationV1Endpoints.d.ts +59 -0
- package/dist/redux/locationV1/locationV1Endpoints.js +115 -0
- package/dist/redux/locationV1/locationV1Endpoints.js.map +1 -0
- package/dist/redux/nmfcClass/index.d.ts +2 -0
- package/dist/redux/nmfcClass/index.js +3 -0
- package/dist/redux/nmfcClass/index.js.map +1 -0
- package/dist/redux/nmfcClass/nmfcClassEndpoints.d.ts +24 -0
- package/dist/redux/nmfcClass/nmfcClassEndpoints.js +64 -0
- package/dist/redux/nmfcClass/nmfcClassEndpoints.js.map +1 -0
- package/dist/redux/nodeName/index.d.ts +2 -0
- package/dist/redux/nodeName/index.js +3 -0
- package/dist/redux/nodeName/index.js.map +1 -0
- package/dist/redux/nodeName/nodeNameEndpoints.d.ts +26 -0
- package/dist/redux/nodeName/nodeNameEndpoints.js +67 -0
- package/dist/redux/nodeName/nodeNameEndpoints.js.map +1 -0
- package/dist/redux/personName/index.d.ts +2 -0
- package/dist/redux/personName/index.js +3 -0
- package/dist/redux/personName/index.js.map +1 -0
- package/dist/redux/personName/personNameEndpoints.d.ts +26 -0
- package/dist/redux/personName/personNameEndpoints.js +67 -0
- package/dist/redux/personName/personNameEndpoints.js.map +1 -0
- package/dist/redux/quote/quoteAction.d.ts +6 -2
- package/dist/redux/quote/quoteAction.js +9 -36
- package/dist/redux/quote/quoteAction.js.map +1 -1
- package/dist/redux/quote/quoteEndpoints.d.ts +22 -15
- package/dist/redux/quote/quoteEndpoints.js +26 -1
- package/dist/redux/quote/quoteEndpoints.js.map +1 -1
- package/dist/redux/quote/quoteHooks.d.ts +2 -2
- package/dist/redux/quote/quoteReducer.d.ts +0 -1
- package/dist/redux/quote/quoteReducer.js +27 -63
- package/dist/redux/quote/quoteReducer.js.map +1 -1
- package/dist/redux/quote/quoteSelector.d.ts +0 -1
- package/dist/redux/quote/quoteSelector.js +0 -12
- package/dist/redux/quote/quoteSelector.js.map +1 -1
- package/dist/redux/quoteAccessorial/quoteAccessorialEndpoints.d.ts +9 -9
- package/dist/redux/quoteAccessorialV1/index.d.ts +2 -0
- package/dist/redux/quoteAccessorialV1/index.js +3 -0
- package/dist/redux/quoteAccessorialV1/index.js.map +1 -0
- package/dist/redux/quoteAccessorialV1/quoteAccessorialV1Endpoints.d.ts +32 -0
- package/dist/redux/quoteAccessorialV1/quoteAccessorialV1Endpoints.js +67 -0
- package/dist/redux/quoteAccessorialV1/quoteAccessorialV1Endpoints.js.map +1 -0
- package/dist/redux/shipcon/shipconEndpoints.d.ts +10 -10
- package/dist/redux/shipconV1/index.d.ts +2 -0
- package/dist/redux/shipconV1/index.js +3 -0
- package/dist/redux/shipconV1/index.js.map +1 -0
- package/dist/redux/shipconV1/shipconV1Endpoints.d.ts +44 -0
- package/dist/redux/shipconV1/shipconV1Endpoints.js +75 -0
- package/dist/redux/shipconV1/shipconV1Endpoints.js.map +1 -0
- package/dist/redux/tender/tenderEndpoints.d.ts +9 -9
- package/dist/redux/tender/tenderSelector.d.ts +0 -2
- package/dist/redux/trailerAvailability/customerEndpoints.d.ts +4 -4
- package/dist/redux/types.d.ts +2 -2
- package/dist/redux/userNoteV1/index.d.ts +2 -0
- package/dist/redux/userNoteV1/index.js +3 -0
- package/dist/redux/userNoteV1/index.js.map +1 -0
- package/dist/redux/userNoteV1/userNoteV1Endpoints.d.ts +32 -0
- package/dist/redux/userNoteV1/userNoteV1Endpoints.js +65 -0
- package/dist/redux/userNoteV1/userNoteV1Endpoints.js.map +1 -0
- package/package.json +5 -5
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { EntityState } from "@reduxjs/toolkit";
|
|
2
|
+
import { NmfcClass_Entity } from "../../entities";
|
|
3
|
+
export declare const nmfcClassEndpoints: 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
|
+
getNmfcClasses: 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<NmfcClass_Entity>, "salesApi">;
|
|
5
|
+
getNmfcClass: 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", NmfcClass_Entity, "salesApi">;
|
|
6
|
+
createNmfcClass: import("@reduxjs/toolkit/dist/query").MutationDefinition<Partial<NmfcClass_Entity>, (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", NmfcClass_Entity, "salesApi">;
|
|
7
|
+
updateNmfcClass: import("@reduxjs/toolkit/dist/query").MutationDefinition<{
|
|
8
|
+
id: number;
|
|
9
|
+
body: Partial<NmfcClass_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", void, "salesApi">;
|
|
11
|
+
deleteNmfcClass: 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", void, "salesApi">;
|
|
12
|
+
}, "salesApi", "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities" | "locationsV1" | "locationsV1Accessorials" | "archerFiles" | "appointmentNotes" | "appointmentNoteTypes" | "shipconsV1" | "loadShipcons" | "appointmentIssueCategories" | "appointmentIssueSubcategories" | "personNames" | "nodeNames" | "driverNames" | "carrierNames" | "appointmentIssues" | "loadsV1" | "nmfcClasses" | "commoditiesV1" | "loadCommodities" | "loadQuoteAccessorials" | "quoteAccessorialsV1" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "userNotesV1" | "loadUserNotesV1", typeof import("@reduxjs/toolkit/dist/query/core/module").coreModuleName | typeof import("@reduxjs/toolkit/dist/query/react/module").reactHooksModuleName>;
|
|
13
|
+
export declare const useGetNmfcClassQuery: 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", NmfcClass_Entity, "salesApi">>, useGetNmfcClassesQuery: 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", EntityState<NmfcClass_Entity>, "salesApi">>, useLazyGetNmfcClassesQuery: 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", EntityState<NmfcClass_Entity>, "salesApi">>, useLazyGetNmfcClassQuery: 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", NmfcClass_Entity, "salesApi">>, useCreateNmfcClassMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/dist/query").MutationDefinition<Partial<NmfcClass_Entity>, (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", NmfcClass_Entity, "salesApi">>, useDeleteNmfcClassMutation: 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", void, "salesApi">>, useUpdateNmfcClassMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/dist/query").MutationDefinition<{
|
|
14
|
+
id: number;
|
|
15
|
+
body: Partial<NmfcClass_Entity>;
|
|
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", void, "salesApi">>;
|
|
17
|
+
export default nmfcClassEndpoints;
|
|
18
|
+
export declare const getNmfcClassesSelectors: (params: Record<string, unknown> | void) => import("@reduxjs/toolkit").EntitySelectors<NmfcClass_Entity, {
|
|
19
|
+
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">;
|
|
20
|
+
salesKitState: import("redux").CombinedState<{
|
|
21
|
+
quote: import("..").QuoteState;
|
|
22
|
+
tender: import("../tender/tenderSlice").TenderState;
|
|
23
|
+
}>;
|
|
24
|
+
}>;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { createEntityAdapter, createSelector, } from "@reduxjs/toolkit";
|
|
2
|
+
import { salesApi } from "../api/salesApi";
|
|
3
|
+
const nmfcClassesAdapter = createEntityAdapter();
|
|
4
|
+
const nmfcClassesInitialState = nmfcClassesAdapter.getInitialState();
|
|
5
|
+
export const nmfcClassEndpoints = salesApi.injectEndpoints({
|
|
6
|
+
endpoints: (build) => ({
|
|
7
|
+
getNmfcClasses: build.query({
|
|
8
|
+
query: (args) => {
|
|
9
|
+
return {
|
|
10
|
+
url: `nmfc_classes`,
|
|
11
|
+
params: args,
|
|
12
|
+
routePrefix: "/v1",
|
|
13
|
+
};
|
|
14
|
+
},
|
|
15
|
+
transformResponse: (responseData) => {
|
|
16
|
+
return nmfcClassesAdapter.setAll(nmfcClassesInitialState, responseData);
|
|
17
|
+
},
|
|
18
|
+
providesTags: ["nmfcClasses"],
|
|
19
|
+
}),
|
|
20
|
+
getNmfcClass: build.query({
|
|
21
|
+
query: (id) => ({ url: `nmfc_classes/${id}`, routePrefix: "/v1" }),
|
|
22
|
+
providesTags: (_result, _error, id) => [{ type: "nmfcClasses", id }],
|
|
23
|
+
}),
|
|
24
|
+
createNmfcClass: build.mutation({
|
|
25
|
+
query: (body) => ({
|
|
26
|
+
method: "POST",
|
|
27
|
+
body,
|
|
28
|
+
url: `nmfc_classes`,
|
|
29
|
+
routePrefix: "/v1",
|
|
30
|
+
}),
|
|
31
|
+
invalidatesTags: ["nmfcClasses"],
|
|
32
|
+
}),
|
|
33
|
+
updateNmfcClass: build.mutation({
|
|
34
|
+
query: (args) => ({
|
|
35
|
+
method: "PUT",
|
|
36
|
+
body: args.body,
|
|
37
|
+
url: `nmfc_classes/${args.id}`,
|
|
38
|
+
routePrefix: "/v1",
|
|
39
|
+
}),
|
|
40
|
+
invalidatesTags: (_result, _error, { id }) => [
|
|
41
|
+
{ type: "nmfcClasses", id },
|
|
42
|
+
"nmfcClasses",
|
|
43
|
+
],
|
|
44
|
+
}),
|
|
45
|
+
deleteNmfcClass: build.mutation({
|
|
46
|
+
query: (id) => ({
|
|
47
|
+
method: "DELETE",
|
|
48
|
+
url: `nmfc_classes/${id}`,
|
|
49
|
+
routePrefix: "/v1",
|
|
50
|
+
}),
|
|
51
|
+
invalidatesTags: ["nmfcClasses"],
|
|
52
|
+
}),
|
|
53
|
+
}),
|
|
54
|
+
});
|
|
55
|
+
export const { useGetNmfcClassQuery, useGetNmfcClassesQuery, useLazyGetNmfcClassesQuery, useLazyGetNmfcClassQuery, useCreateNmfcClassMutation, useDeleteNmfcClassMutation, useUpdateNmfcClassMutation, } = nmfcClassEndpoints;
|
|
56
|
+
export default nmfcClassEndpoints;
|
|
57
|
+
export const getNmfcClassesSelectors = (params) => {
|
|
58
|
+
return nmfcClassesAdapter.getSelectors((state) => {
|
|
59
|
+
return (createSelector(nmfcClassEndpoints.endpoints.getNmfcClasses.select(params), (nmfcClassesResult) => {
|
|
60
|
+
return nmfcClassesResult.data;
|
|
61
|
+
})(state) ?? nmfcClassesInitialState);
|
|
62
|
+
});
|
|
63
|
+
};
|
|
64
|
+
//# sourceMappingURL=nmfcClassEndpoints.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nmfcClassEndpoints.js","sourceRoot":"","sources":["../../../src/redux/nmfcClass/nmfcClassEndpoints.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EAEnB,cAAc,GACf,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAG3C,MAAM,kBAAkB,GAAG,mBAAmB,EAAoB,CAAC;AACnE,MAAM,uBAAuB,GAAG,kBAAkB,CAAC,eAAe,EAAE,CAAC;AAErE,MAAM,CAAC,MAAM,kBAAkB,GAAG,QAAQ,CAAC,eAAe,CAAC;IACzD,SAAS,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;QACrB,cAAc,EAAE,KAAK,CAAC,KAAK,CAGzB;YACA,KAAK,EAAE,CAAC,IAAI,EAAE,EAA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,aAAa;aACd;SACF,CAAC;QACF,eAAe,EAAE,KAAK,CAAC,QAAQ,CAAe;YAC5C,KAAK,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;gBACd,MAAM,EAAE,QAAQ;gBAChB,GAAG,EAAE,gBAAgB,EAAE,EAAE;gBACzB,WAAW,EAAE,KAAK;aACnB,CAAC;YACF,eAAe,EAAE,CAAC,aAAa,CAAC;SACjC,CAAC;KACH,CAAC;CACH,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,EACX,oBAAoB,EACpB,sBAAsB,EACtB,0BAA0B,EAC1B,wBAAwB,EACxB,0BAA0B,EAC1B,0BAA0B,EAC1B,0BAA0B,GAC3B,GAAG,kBAAkB,CAAC;AAEvB,eAAe,kBAAkB,CAAC;AAElC,MAAM,CAAC,MAAM,uBAAuB,GAAG,CACrC,MAAsC,EACtC,EAAE;IACF,OAAO,kBAAkB,CAAC,YAAY,CAAY,CAAC,KAAK,EAAE,EAAE;QAC1D,OAAO,CACL,cAAc,CACZ,kBAAkB,CAAC,SAAS,CAAC,cAAc,CAAC,MAAM,CAAC,MAAM,CAAC,EAC1D,CAAC,iBAAiB,EAAE,EAAE;YACpB,OAAO,iBAAiB,CAAC,IAAI,CAAC;QAChC,CAAC,CACF,CAAC,KAAK,CAAC,IAAI,uBAAuB,CACpC,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/redux/nodeName/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { EntityState } from "@reduxjs/toolkit";
|
|
2
|
+
import { NodeName_Entity } from "../../entities";
|
|
3
|
+
import { SearchMetadata } from "@nerdjs/nerd-core";
|
|
4
|
+
export declare const nodeNameEndpoints: 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, {}>>, {
|
|
5
|
+
getNodeNames: 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<NodeName_Entity>, "salesApi">;
|
|
6
|
+
getNodeName: 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", NodeName_Entity, "salesApi">;
|
|
7
|
+
createNodeName: import("@reduxjs/toolkit/dist/query").MutationDefinition<Partial<NodeName_Entity>, (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", NodeName_Entity, "salesApi">;
|
|
8
|
+
updateNodeName: import("@reduxjs/toolkit/dist/query").MutationDefinition<{
|
|
9
|
+
id: number;
|
|
10
|
+
body: Partial<NodeName_Entity>;
|
|
11
|
+
}, (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", void, "salesApi">;
|
|
12
|
+
deleteNodeName: 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", void, "salesApi">;
|
|
13
|
+
getNodeNameSearchMetadata: 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", SearchMetadata, "salesApi">;
|
|
14
|
+
}, "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", typeof import("@reduxjs/toolkit/dist/query/core/module").coreModuleName | typeof import("@reduxjs/toolkit/dist/query/react/module").reactHooksModuleName>;
|
|
15
|
+
export declare const useGetNodeNameQuery: 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", NodeName_Entity, "salesApi">>, useGetNodeNamesQuery: 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", EntityState<NodeName_Entity>, "salesApi">>, useGetNodeNameSearchMetadataQuery: 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", SearchMetadata, "salesApi">>, useLazyGetNodeNamesQuery: 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", EntityState<NodeName_Entity>, "salesApi">>, useLazyGetNodeNameQuery: 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", NodeName_Entity, "salesApi">>, useLazyGetNodeNameSearchMetadataQuery: 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", SearchMetadata, "salesApi">>, useCreateNodeNameMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/dist/query").MutationDefinition<Partial<NodeName_Entity>, (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", NodeName_Entity, "salesApi">>, useDeleteNodeNameMutation: 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", void, "salesApi">>, useUpdateNodeNameMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/dist/query").MutationDefinition<{
|
|
16
|
+
id: number;
|
|
17
|
+
body: Partial<NodeName_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", void, "salesApi">>;
|
|
19
|
+
export default nodeNameEndpoints;
|
|
20
|
+
export declare const getNodeNamesSelectors: (params: Record<string, unknown> | void) => import("@reduxjs/toolkit").EntitySelectors<NodeName_Entity, {
|
|
21
|
+
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">;
|
|
22
|
+
salesKitState: import("redux").CombinedState<{
|
|
23
|
+
quote: import("..").QuoteState;
|
|
24
|
+
tender: import("../tender/tenderSlice").TenderState;
|
|
25
|
+
}>;
|
|
26
|
+
}>;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { createEntityAdapter, createSelector, } from "@reduxjs/toolkit";
|
|
2
|
+
import { salesApi } from "../api/salesApi";
|
|
3
|
+
const nodeNamesAdapter = createEntityAdapter();
|
|
4
|
+
const nodeNamesInitialState = nodeNamesAdapter.getInitialState();
|
|
5
|
+
export const nodeNameEndpoints = salesApi.injectEndpoints({
|
|
6
|
+
endpoints: (build) => ({
|
|
7
|
+
getNodeNames: build.query({
|
|
8
|
+
query: (args) => {
|
|
9
|
+
return {
|
|
10
|
+
url: `node_names`,
|
|
11
|
+
params: args,
|
|
12
|
+
routePrefix: "/v1",
|
|
13
|
+
};
|
|
14
|
+
},
|
|
15
|
+
transformResponse: (responseData) => {
|
|
16
|
+
return nodeNamesAdapter.setAll(nodeNamesInitialState, responseData);
|
|
17
|
+
},
|
|
18
|
+
providesTags: ["nodeNames"],
|
|
19
|
+
}),
|
|
20
|
+
getNodeName: build.query({
|
|
21
|
+
query: (id) => ({ url: `node_names/${id}`, routePrefix: "/v1" }),
|
|
22
|
+
providesTags: (_result, _error, id) => [{ type: "nodeNames", id }],
|
|
23
|
+
}),
|
|
24
|
+
createNodeName: build.mutation({
|
|
25
|
+
query: (body) => ({
|
|
26
|
+
method: "POST",
|
|
27
|
+
body,
|
|
28
|
+
url: `node_names`,
|
|
29
|
+
routePrefix: "/v1",
|
|
30
|
+
}),
|
|
31
|
+
invalidatesTags: ["nodeNames"],
|
|
32
|
+
}),
|
|
33
|
+
updateNodeName: build.mutation({
|
|
34
|
+
query: (args) => ({
|
|
35
|
+
method: "PUT",
|
|
36
|
+
body: args.body,
|
|
37
|
+
url: `node_names/${args.id}`,
|
|
38
|
+
routePrefix: "/v1",
|
|
39
|
+
}),
|
|
40
|
+
invalidatesTags: (_result, _error, { id }) => [
|
|
41
|
+
{ type: "nodeNames", id },
|
|
42
|
+
"nodeNames",
|
|
43
|
+
],
|
|
44
|
+
}),
|
|
45
|
+
deleteNodeName: build.mutation({
|
|
46
|
+
query: (id) => ({
|
|
47
|
+
method: "DELETE",
|
|
48
|
+
url: `node_names/${id}`,
|
|
49
|
+
routePrefix: "/v1",
|
|
50
|
+
}),
|
|
51
|
+
invalidatesTags: ["nodeNames"],
|
|
52
|
+
}),
|
|
53
|
+
getNodeNameSearchMetadata: build.query({
|
|
54
|
+
query: () => ({ url: `node_names/searchMetadata`, routePrefix: "/v1" }),
|
|
55
|
+
}),
|
|
56
|
+
}),
|
|
57
|
+
});
|
|
58
|
+
export const { useGetNodeNameQuery, useGetNodeNamesQuery, useGetNodeNameSearchMetadataQuery, useLazyGetNodeNamesQuery, useLazyGetNodeNameQuery, useLazyGetNodeNameSearchMetadataQuery, useCreateNodeNameMutation, useDeleteNodeNameMutation, useUpdateNodeNameMutation, } = nodeNameEndpoints;
|
|
59
|
+
export default nodeNameEndpoints;
|
|
60
|
+
export const getNodeNamesSelectors = (params) => {
|
|
61
|
+
return nodeNamesAdapter.getSelectors((state) => {
|
|
62
|
+
return (createSelector(nodeNameEndpoints.endpoints.getNodeNames.select(params), (nodeNamesResult) => {
|
|
63
|
+
return nodeNamesResult.data;
|
|
64
|
+
})(state) ?? nodeNamesInitialState);
|
|
65
|
+
});
|
|
66
|
+
};
|
|
67
|
+
//# sourceMappingURL=nodeNameEndpoints.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nodeNameEndpoints.js","sourceRoot":"","sources":["../../../src/redux/nodeName/nodeNameEndpoints.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EAEnB,cAAc,GACf,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAI3C,MAAM,gBAAgB,GAAG,mBAAmB,EAAmB,CAAC;AAChE,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,YAAY;oBACjB,MAAM,EAAE,IAAI;oBACZ,WAAW,EAAE,KAAK;iBACnB,CAAC;YACJ,CAAC;YACD,iBAAiB,EAAE,CAAC,YAA+B,EAAE,EAAE;gBACrD,OAAO,gBAAgB,CAAC,MAAM,CAAC,qBAAqB,EAAE,YAAY,CAAC,CAAC;YACtE,CAAC;YACD,YAAY,EAAE,CAAC,WAAW,CAAC;SAC5B,CAAC;QACF,WAAW,EAAE,KAAK,CAAC,KAAK,CAA0B;YAChD,KAAK,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,cAAc,EAAE,EAAE,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC;YAChE,YAAY,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,EA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B,iCAAiC,EACjC,wBAAwB,EACxB,uBAAuB,EACvB,qCAAqC,EACrC,yBAAyB,EACzB,yBAAyB,EACzB,yBAAyB,GAC1B,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 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/redux/personName/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,uBAAuB,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { EntityState } from "@reduxjs/toolkit";
|
|
2
|
+
import { PersonName_Entity } from "../../entities";
|
|
3
|
+
import { SearchMetadata } from "@nerdjs/nerd-core";
|
|
4
|
+
export declare const personNameEndpoints: 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, {}>>, {
|
|
5
|
+
getPersonNames: 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<PersonName_Entity>, "salesApi">;
|
|
6
|
+
getPersonName: 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", PersonName_Entity, "salesApi">;
|
|
7
|
+
createPersonName: import("@reduxjs/toolkit/dist/query").MutationDefinition<Partial<PersonName_Entity>, (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", PersonName_Entity, "salesApi">;
|
|
8
|
+
updatePersonName: import("@reduxjs/toolkit/dist/query").MutationDefinition<{
|
|
9
|
+
id: number;
|
|
10
|
+
body: Partial<PersonName_Entity>;
|
|
11
|
+
}, (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", void, "salesApi">;
|
|
12
|
+
deletePersonName: 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", void, "salesApi">;
|
|
13
|
+
getPersonNameSearchMetadata: 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", SearchMetadata, "salesApi">;
|
|
14
|
+
}, "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", typeof import("@reduxjs/toolkit/dist/query/core/module").coreModuleName | typeof import("@reduxjs/toolkit/dist/query/react/module").reactHooksModuleName>;
|
|
15
|
+
export declare const useGetPersonNameQuery: 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", PersonName_Entity, "salesApi">>, useGetPersonNamesQuery: 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", EntityState<PersonName_Entity>, "salesApi">>, useGetPersonNameSearchMetadataQuery: 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", SearchMetadata, "salesApi">>, useLazyGetPersonNamesQuery: 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", EntityState<PersonName_Entity>, "salesApi">>, useLazyGetPersonNameQuery: 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", PersonName_Entity, "salesApi">>, useLazyGetPersonNameSearchMetadataQuery: 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", SearchMetadata, "salesApi">>, useCreatePersonNameMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/dist/query").MutationDefinition<Partial<PersonName_Entity>, (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", PersonName_Entity, "salesApi">>, useDeletePersonNameMutation: 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", void, "salesApi">>, useUpdatePersonNameMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/dist/query").MutationDefinition<{
|
|
16
|
+
id: number;
|
|
17
|
+
body: Partial<PersonName_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", void, "salesApi">>;
|
|
19
|
+
export default personNameEndpoints;
|
|
20
|
+
export declare const getPersonNamesSelectors: (params: Record<string, unknown> | void) => import("@reduxjs/toolkit").EntitySelectors<PersonName_Entity, {
|
|
21
|
+
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">;
|
|
22
|
+
salesKitState: import("redux").CombinedState<{
|
|
23
|
+
quote: import("..").QuoteState;
|
|
24
|
+
tender: import("../tender/tenderSlice").TenderState;
|
|
25
|
+
}>;
|
|
26
|
+
}>;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { createEntityAdapter, createSelector, } from "@reduxjs/toolkit";
|
|
2
|
+
import { salesApi } from "../api/salesApi";
|
|
3
|
+
const personNamesAdapter = createEntityAdapter();
|
|
4
|
+
const personNamesInitialState = personNamesAdapter.getInitialState();
|
|
5
|
+
export const personNameEndpoints = salesApi.injectEndpoints({
|
|
6
|
+
endpoints: (build) => ({
|
|
7
|
+
getPersonNames: build.query({
|
|
8
|
+
query: (args) => {
|
|
9
|
+
return {
|
|
10
|
+
url: `person_names`,
|
|
11
|
+
params: args,
|
|
12
|
+
routePrefix: "/v1",
|
|
13
|
+
};
|
|
14
|
+
},
|
|
15
|
+
transformResponse: (responseData) => {
|
|
16
|
+
return personNamesAdapter.setAll(personNamesInitialState, responseData);
|
|
17
|
+
},
|
|
18
|
+
providesTags: ["personNames"],
|
|
19
|
+
}),
|
|
20
|
+
getPersonName: build.query({
|
|
21
|
+
query: (id) => ({ url: `person_names/${id}`, routePrefix: "/v1" }),
|
|
22
|
+
providesTags: (_result, _error, id) => [{ type: "personNames", id }],
|
|
23
|
+
}),
|
|
24
|
+
createPersonName: build.mutation({
|
|
25
|
+
query: (body) => ({
|
|
26
|
+
method: "POST",
|
|
27
|
+
body,
|
|
28
|
+
url: `person_names`,
|
|
29
|
+
routePrefix: "/v1",
|
|
30
|
+
}),
|
|
31
|
+
invalidatesTags: ["personNames"],
|
|
32
|
+
}),
|
|
33
|
+
updatePersonName: build.mutation({
|
|
34
|
+
query: (args) => ({
|
|
35
|
+
method: "PUT",
|
|
36
|
+
body: args.body,
|
|
37
|
+
url: `person_names/${args.id}`,
|
|
38
|
+
routePrefix: "/v1",
|
|
39
|
+
}),
|
|
40
|
+
invalidatesTags: (_result, _error, { id }) => [
|
|
41
|
+
{ type: "personNames", id },
|
|
42
|
+
"personNames",
|
|
43
|
+
],
|
|
44
|
+
}),
|
|
45
|
+
deletePersonName: build.mutation({
|
|
46
|
+
query: (id) => ({
|
|
47
|
+
method: "DELETE",
|
|
48
|
+
url: `person_names/${id}`,
|
|
49
|
+
routePrefix: "/v1",
|
|
50
|
+
}),
|
|
51
|
+
invalidatesTags: ["personNames"],
|
|
52
|
+
}),
|
|
53
|
+
getPersonNameSearchMetadata: build.query({
|
|
54
|
+
query: () => ({ url: `person_names/searchMetadata`, routePrefix: "/v1" }),
|
|
55
|
+
}),
|
|
56
|
+
}),
|
|
57
|
+
});
|
|
58
|
+
export const { useGetPersonNameQuery, useGetPersonNamesQuery, useGetPersonNameSearchMetadataQuery, useLazyGetPersonNamesQuery, useLazyGetPersonNameQuery, useLazyGetPersonNameSearchMetadataQuery, useCreatePersonNameMutation, useDeletePersonNameMutation, useUpdatePersonNameMutation, } = personNameEndpoints;
|
|
59
|
+
export default personNameEndpoints;
|
|
60
|
+
export const getPersonNamesSelectors = (params) => {
|
|
61
|
+
return personNamesAdapter.getSelectors((state) => {
|
|
62
|
+
return (createSelector(personNameEndpoints.endpoints.getPersonNames.select(params), (personNamesResult) => {
|
|
63
|
+
return personNamesResult.data;
|
|
64
|
+
})(state) ?? personNamesInitialState);
|
|
65
|
+
});
|
|
66
|
+
};
|
|
67
|
+
//# sourceMappingURL=personNameEndpoints.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"personNameEndpoints.js","sourceRoot":"","sources":["../../../src/redux/personName/personNameEndpoints.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EAEnB,cAAc,GACf,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAE,QAAQ,EAAE,MAAM,i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,iBAAiB,EAAE,EAAE;YACpB,OAAO,iBAAiB,CAAC,IAAI,CAAC;QAChC,CAAC,CACF,CAAC,KAAK,CAAC,IAAI,uBAAuB,CACpC,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC,CAAC"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
/// <reference types="google.maps" />
|
|
2
|
-
/// <reference types="googlemaps" />
|
|
3
2
|
import { DateTime } from "luxon";
|
|
4
3
|
import { Location_Entity } from "../../entities";
|
|
5
|
-
import Quote_Entity, { PalletDimensions_Entity, Reefer_Entity, Stop_Entity } from "../../entities/quote/quote";
|
|
4
|
+
import Quote_Entity, { PalletDimensions_Entity, Reefer_Entity, Stop_Entity, TotalDimension_Entity } from "../../entities/quote/quote";
|
|
6
5
|
import QuoteResponse_Entity, { ServiceLevel_Entity } from "../../entities/quoteResponse/quoteResponse";
|
|
7
6
|
export declare const setCostBreakdownOpen: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[costBreakdownOpen: boolean], {
|
|
8
7
|
costBreakdownOpen: boolean;
|
|
@@ -114,6 +113,11 @@ export declare const setCustomerID: import("@reduxjs/toolkit").ActionCreatorWith
|
|
|
114
113
|
id: string;
|
|
115
114
|
createdAt: string;
|
|
116
115
|
}, "setCustomerID", never, never>;
|
|
116
|
+
export declare const setQuoteTotalDimension: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[body: Partial<TotalDimension_Entity>], {
|
|
117
|
+
body: Partial<TotalDimension_Entity>;
|
|
118
|
+
id: string;
|
|
119
|
+
createdAt: string;
|
|
120
|
+
}, "setQuoteTotalDimension", never, never>;
|
|
117
121
|
export declare const setQuoteReefer: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[body: Partial<Reefer_Entity>], {
|
|
118
122
|
body: Partial<Reefer_Entity>;
|
|
119
123
|
id: string;
|
|
@@ -190,18 +190,15 @@ export const setCustomerID = createAction("setCustomerID", function prepare(cust
|
|
|
190
190
|
},
|
|
191
191
|
};
|
|
192
192
|
});
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
// };
|
|
203
|
-
// }
|
|
204
|
-
// );
|
|
193
|
+
export const setQuoteTotalDimension = createAction("setQuoteTotalDimension", function prepare(body) {
|
|
194
|
+
return {
|
|
195
|
+
payload: {
|
|
196
|
+
body,
|
|
197
|
+
id: nanoid(),
|
|
198
|
+
createdAt: new Date().toISOString(),
|
|
199
|
+
},
|
|
200
|
+
};
|
|
201
|
+
});
|
|
205
202
|
export const setQuoteReefer = createAction("setQuoteReefer", function prepare(body) {
|
|
206
203
|
return {
|
|
207
204
|
payload: {
|
|
@@ -229,28 +226,4 @@ export const setSelectedDate = createAction("setSelectedDate", function prepare(
|
|
|
229
226
|
},
|
|
230
227
|
};
|
|
231
228
|
});
|
|
232
|
-
// export const setPerPalletWeightDisabled = createAction(
|
|
233
|
-
// "setPerPalletWeightDisabled",
|
|
234
|
-
// function prepare(disabled: boolean) {
|
|
235
|
-
// return {
|
|
236
|
-
// payload: {
|
|
237
|
-
// disabled,
|
|
238
|
-
// id: nanoid(),
|
|
239
|
-
// createdAt: new Date().toISOString(),
|
|
240
|
-
// },
|
|
241
|
-
// };
|
|
242
|
-
// }
|
|
243
|
-
// );
|
|
244
|
-
// export const setTotalWeightDisabled = createAction(
|
|
245
|
-
// "setTotalWeightDisabled",
|
|
246
|
-
// function prepare(disabled: boolean) {
|
|
247
|
-
// return {
|
|
248
|
-
// payload: {
|
|
249
|
-
// disabled,
|
|
250
|
-
// id: nanoid(),
|
|
251
|
-
// createdAt: new Date().toISOString(),
|
|
252
|
-
// },
|
|
253
|
-
// };
|
|
254
|
-
// }
|
|
255
|
-
// );
|
|
256
229
|
//# sourceMappingURL=quoteAction.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"quoteAction.js","sourceRoot":"","sources":["../../../src/redux/quote/quoteAction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"quoteAction.js","sourceRoot":"","sources":["../../../src/redux/quote/quoteAction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAaxD,MAAM,CAAC,MAAM,oBAAoB,GAAG,YAAY,CAC9C,sBAAsB,EACtB,SAAS,OAAO,CAAC,iBAA0B;IACzC,OAAO;QACL,OAAO,EAAE;YACP,iBAAiB;YACjB,EAAE,EAAE,MAAM,EAAE;YACZ,SAAS,EAAE,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE;SACpC;KACF,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAAG,YAAY,CAC3C,mBAAmB,EACnB,SAAS,OAAO,CAAC,cAAuB;IACtC,OAAO;QACL,OAAO,EAAE;YACP,cAAc;YACd,EAAE,EAAE,MAAM,EAAE;YACZ,SAAS,EAAE,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE;SACpC;KACF,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAG,YAAY,CACtC,cAAc,EACd,SAAS,OAAO,CAAC,SAAkB;IACjC,OAAO;QACL,OAAO,EAAE;YACP,SAAS;YACT,EAAE,EAAE,MAAM,EAAE;YACZ,SAAS,EAAE,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE;SACpC;KACF,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,CAAC,MAAM,uBAAuB,GAAG,YAAY,CACjD,yBAAyB,EACzB,SAAS,OAAO,CAAC,YAA6C;IAC5D,OAAO;QACL,OAAO,EAAE;YACP,YAAY;YACZ,EAAE,EAAE,MAAM,EAAE;YACZ,SAAS,EAAE,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE;SACpC;KAC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