@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,75 @@
|
|
|
1
|
+
import { createEntityAdapter, createSelector, } from "@reduxjs/toolkit";
|
|
2
|
+
import { salesApi } from "../api/salesApi";
|
|
3
|
+
const shipconsV1Adapter = createEntityAdapter();
|
|
4
|
+
const shipconsV1InitialState = shipconsV1Adapter.getInitialState();
|
|
5
|
+
export const shipconV1Endpoints = salesApi.injectEndpoints({
|
|
6
|
+
endpoints: (build) => ({
|
|
7
|
+
getShipconsV1: build.query({
|
|
8
|
+
query: (args) => {
|
|
9
|
+
return {
|
|
10
|
+
url: `ship_cons`,
|
|
11
|
+
params: args,
|
|
12
|
+
routePrefix: "/v1",
|
|
13
|
+
};
|
|
14
|
+
},
|
|
15
|
+
transformResponse: (responseData) => {
|
|
16
|
+
return shipconsV1Adapter.setAll(shipconsV1InitialState, responseData);
|
|
17
|
+
},
|
|
18
|
+
providesTags: ["shipconsV1"],
|
|
19
|
+
}),
|
|
20
|
+
getShipconV1: build.query({
|
|
21
|
+
query: (id) => ({ url: `ship_cons/${id}`, routePrefix: "/v1" }),
|
|
22
|
+
providesTags: (_result, _error, id) => [{ type: "shipconsV1", id }],
|
|
23
|
+
}),
|
|
24
|
+
createShipconV1: build.mutation({
|
|
25
|
+
query: (body) => ({
|
|
26
|
+
method: "POST",
|
|
27
|
+
body,
|
|
28
|
+
url: `ship_cons`,
|
|
29
|
+
routePrefix: "/v1",
|
|
30
|
+
}),
|
|
31
|
+
invalidatesTags: ["shipconsV1", "loadShipcons"],
|
|
32
|
+
}),
|
|
33
|
+
updateShipconV1: build.mutation({
|
|
34
|
+
query: (args) => ({
|
|
35
|
+
method: "PUT",
|
|
36
|
+
body: args.body,
|
|
37
|
+
url: `ship_cons/${args.id}`,
|
|
38
|
+
routePrefix: "/v1",
|
|
39
|
+
}),
|
|
40
|
+
invalidatesTags: (_result, _error, { id }) => [
|
|
41
|
+
{ type: "shipconsV1", id },
|
|
42
|
+
"loadShipcons",
|
|
43
|
+
],
|
|
44
|
+
}),
|
|
45
|
+
deleteShipconV1: build.mutation({
|
|
46
|
+
query: (id) => ({
|
|
47
|
+
method: "DELETE",
|
|
48
|
+
url: `ship_cons/${id}`,
|
|
49
|
+
routePrefix: "/v1",
|
|
50
|
+
}),
|
|
51
|
+
invalidatesTags: ["shipconsV1", "loadShipcons"],
|
|
52
|
+
}),
|
|
53
|
+
getShipconV1SearchMetadata: build.query({
|
|
54
|
+
query: () => ({ url: `ship_cons/searchMetadata`, routePrefix: "/v1" }),
|
|
55
|
+
}),
|
|
56
|
+
getLoadShipcons: build.query({
|
|
57
|
+
query: ({ loadID, params }) => ({
|
|
58
|
+
url: `loads/${loadID}/ship_cons`,
|
|
59
|
+
params,
|
|
60
|
+
routePrefix: "/v1",
|
|
61
|
+
}),
|
|
62
|
+
providesTags: ["loadShipcons"],
|
|
63
|
+
}),
|
|
64
|
+
}),
|
|
65
|
+
});
|
|
66
|
+
export const { useGetShipconV1Query, useGetShipconsV1Query, useGetShipconV1SearchMetadataQuery, useLazyGetShipconsV1Query, useLazyGetShipconV1Query, useLazyGetShipconV1SearchMetadataQuery, useCreateShipconV1Mutation, useDeleteShipconV1Mutation, useUpdateShipconV1Mutation, useGetLoadShipconsQuery, useLazyGetLoadShipconsQuery, } = shipconV1Endpoints;
|
|
67
|
+
export default shipconV1Endpoints;
|
|
68
|
+
export const getShipconsV1Selectors = (params) => {
|
|
69
|
+
return shipconsV1Adapter.getSelectors((state) => {
|
|
70
|
+
return (createSelector(shipconV1Endpoints.endpoints.getShipconsV1.select(params), (shipconsV1Result) => {
|
|
71
|
+
return shipconsV1Result.data;
|
|
72
|
+
})(state) ?? shipconsV1InitialState);
|
|
73
|
+
});
|
|
74
|
+
};
|
|
75
|
+
//# sourceMappingURL=shipconV1Endpoints.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shipconV1Endpoints.js","sourceRoot":"","sources":["../../../src/redux/shipconV1/shipconV1Endpoints.ts"],"names":[],"mappings":"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"}
|
|
@@ -10,27 +10,27 @@ export declare const tenderEndpoints: import("@reduxjs/toolkit/dist/query").Api<
|
|
|
10
10
|
feet: number | undefined;
|
|
11
11
|
weight: number;
|
|
12
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", TenderCommodity_Entity[], "salesApi">;
|
|
14
|
-
confirmTender: import("@reduxjs/toolkit/dist/query").MutationDefinition<Partial<TenderRequest_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", TenderResponse_Entity, "salesApi">;
|
|
15
|
-
getFiles: 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", ArcherFile_Entity[], "salesApi">;
|
|
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", TenderCommodity_Entity[], "salesApi">;
|
|
14
|
+
confirmTender: import("@reduxjs/toolkit/dist/query").MutationDefinition<Partial<TenderRequest_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", TenderResponse_Entity, "salesApi">;
|
|
15
|
+
getFiles: 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", ArcherFile_Entity[], "salesApi">;
|
|
16
16
|
uploadFile: import("@reduxjs/toolkit/dist/query").MutationDefinition<{
|
|
17
17
|
id: number;
|
|
18
18
|
description: string;
|
|
19
19
|
file: File;
|
|
20
20
|
customerPortal: boolean;
|
|
21
|
-
}, (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", ArcherFile_Entity, "salesApi">;
|
|
22
|
-
deleteTender: 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", void, "salesApi">;
|
|
23
|
-
}, "salesApi", "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities", typeof import("@reduxjs/toolkit/dist/query/core/module").coreModuleName | typeof import("@reduxjs/toolkit/dist/query/react/module").reactHooksModuleName>;
|
|
24
|
-
export declare const useConfirmTenderMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/dist/query").MutationDefinition<Partial<TenderRequest_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", TenderResponse_Entity, "salesApi">>, useGetCommoditiesMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/dist/query").MutationDefinition<{
|
|
21
|
+
}, (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", ArcherFile_Entity, "salesApi">;
|
|
22
|
+
deleteTender: 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">;
|
|
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", typeof import("@reduxjs/toolkit/dist/query/core/module").coreModuleName | typeof import("@reduxjs/toolkit/dist/query/react/module").reactHooksModuleName>;
|
|
24
|
+
export declare const useConfirmTenderMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/dist/query").MutationDefinition<Partial<TenderRequest_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", TenderResponse_Entity, "salesApi">>, useGetCommoditiesMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/dist/query").MutationDefinition<{
|
|
25
25
|
commoditySet: PathPallet_Entity[][];
|
|
26
26
|
total: {
|
|
27
27
|
feet: number | undefined;
|
|
28
28
|
weight: number;
|
|
29
29
|
};
|
|
30
|
-
}, (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", TenderCommodity_Entity[], "salesApi">>, useGetFilesQuery: 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", ArcherFile_Entity[], "salesApi">>, useLazyGetFilesQuery: 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", ArcherFile_Entity[], "salesApi">>, useUploadFileMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/dist/query").MutationDefinition<{
|
|
30
|
+
}, (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", TenderCommodity_Entity[], "salesApi">>, useGetFilesQuery: 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", ArcherFile_Entity[], "salesApi">>, useLazyGetFilesQuery: 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", ArcherFile_Entity[], "salesApi">>, useUploadFileMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/dist/query").MutationDefinition<{
|
|
31
31
|
id: number;
|
|
32
32
|
description: string;
|
|
33
33
|
file: File;
|
|
34
34
|
customerPortal: boolean;
|
|
35
|
-
}, (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", ArcherFile_Entity, "salesApi">>, useDeleteTenderMutation: 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", void, "salesApi">>;
|
|
35
|
+
}, (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", ArcherFile_Entity, "salesApi">>, useDeleteTenderMutation: 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">>;
|
|
36
36
|
export default tenderEndpoints;
|
|
@@ -32,7 +32,6 @@ export declare const selectTenderErrors: ((state: AppState) => string[] | undefi
|
|
|
32
32
|
};
|
|
33
33
|
export declare const selectRemainingPallets: (quote: QuoteResponse) => ((state: AppState) => {
|
|
34
34
|
id: number;
|
|
35
|
-
commodityDescription: number;
|
|
36
35
|
stackable?: boolean | undefined;
|
|
37
36
|
units: string;
|
|
38
37
|
length: number;
|
|
@@ -42,7 +41,6 @@ export declare const selectRemainingPallets: (quote: QuoteResponse) => ((state:
|
|
|
42
41
|
count: number;
|
|
43
42
|
}[]) & import("reselect").OutputSelectorFields<(args_0: import("../../entities").Path_Entity[] | undefined) => {
|
|
44
43
|
id: number;
|
|
45
|
-
commodityDescription: number;
|
|
46
44
|
stackable?: boolean | undefined;
|
|
47
45
|
units: string;
|
|
48
46
|
length: number;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TrailerAvailability_Entity } from "../../entities/trailerAvailability";
|
|
2
2
|
export declare const trailerAvailabilitiesEndpoints: 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
|
-
getTrailerAvailabilities: import("@reduxjs/toolkit/dist/query").MutationDefinition<Partial<TrailerAvailability_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", TrailerAvailability_Entity, "salesApi">;
|
|
4
|
-
getTrailerAvailabilitiesPublic: import("@reduxjs/toolkit/dist/query").MutationDefinition<Partial<TrailerAvailability_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", TrailerAvailability_Entity, "salesApi">;
|
|
5
|
-
}, "salesApi", "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities", typeof import("@reduxjs/toolkit/dist/query/core/module").coreModuleName | typeof import("@reduxjs/toolkit/dist/query/react/module").reactHooksModuleName>;
|
|
6
|
-
export declare const useGetTrailerAvailabilitiesMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/dist/query").MutationDefinition<Partial<TrailerAvailability_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", TrailerAvailability_Entity, "salesApi">>, useGetTrailerAvailabilitiesPublicMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/dist/query").MutationDefinition<Partial<TrailerAvailability_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", TrailerAvailability_Entity, "salesApi">>;
|
|
3
|
+
getTrailerAvailabilities: import("@reduxjs/toolkit/dist/query").MutationDefinition<Partial<TrailerAvailability_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", TrailerAvailability_Entity, "salesApi">;
|
|
4
|
+
getTrailerAvailabilitiesPublic: import("@reduxjs/toolkit/dist/query").MutationDefinition<Partial<TrailerAvailability_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", TrailerAvailability_Entity, "salesApi">;
|
|
5
|
+
}, "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>;
|
|
6
|
+
export declare const useGetTrailerAvailabilitiesMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/dist/query").MutationDefinition<Partial<TrailerAvailability_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", TrailerAvailability_Entity, "salesApi">>, useGetTrailerAvailabilitiesPublicMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/dist/query").MutationDefinition<Partial<TrailerAvailability_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", TrailerAvailability_Entity, "salesApi">>;
|
|
7
7
|
export default trailerAvailabilitiesEndpoints;
|
package/dist/redux/types.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
declare const store: import("@reduxjs/toolkit/dist/configureStore").ToolkitStore<{
|
|
2
|
-
salesApi: import("@reduxjs/toolkit/dist/query/core/apiState").CombinedState<{}, "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities", "salesApi">;
|
|
2
|
+
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">;
|
|
3
3
|
salesKitState: import("redux").CombinedState<{
|
|
4
4
|
quote: import("./quote").QuoteState;
|
|
5
5
|
tender: import("./tender/tenderSlice").TenderState;
|
|
6
6
|
}>;
|
|
7
7
|
}, import("redux").AnyAction, [import("@reduxjs/toolkit").ThunkMiddleware<{
|
|
8
|
-
salesApi: import("@reduxjs/toolkit/dist/query/core/apiState").CombinedState<{}, "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities", "salesApi">;
|
|
8
|
+
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">;
|
|
9
9
|
salesKitState: import("redux").CombinedState<{
|
|
10
10
|
quote: import("./quote").QuoteState;
|
|
11
11
|
tender: import("./tender/tenderSlice").TenderState;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/redux/userNoteV1/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,uBAAuB,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { EntityState } from "@reduxjs/toolkit";
|
|
2
|
+
import { UserNoteV1_Entity } from "../../entities";
|
|
3
|
+
export declare const userNoteV1Endpoints: 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
|
+
getUserNotesV1: 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<UserNoteV1_Entity>, "salesApi">;
|
|
5
|
+
getUserNoteV1: 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", UserNoteV1_Entity, "salesApi">;
|
|
6
|
+
createUserNoteV1: import("@reduxjs/toolkit/dist/query").MutationDefinition<{
|
|
7
|
+
usernote: Partial<UserNoteV1_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", UserNoteV1_Entity, "salesApi">;
|
|
9
|
+
updateUserNoteV1: import("@reduxjs/toolkit/dist/query").MutationDefinition<{
|
|
10
|
+
id: number;
|
|
11
|
+
body: {
|
|
12
|
+
usernote: Partial<UserNoteV1_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", void, "salesApi">;
|
|
15
|
+
deleteUserNoteV1: 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">;
|
|
16
|
+
}, "salesApi", "shipcons" | "files" | "quotes" | "loads" | "customers" | "loadAdjustments" | "locations" | "quoteAccessorials" | "tenders" | "holidays" | "trailerAvailabilities" | "locationsV1" | "locationsV1Accessorials" | "archerFiles" | "appointmentNotes" | "appointmentNoteTypes" | "shipconsV1" | "loadShipcons" | "appointmentIssueCategories" | "appointmentIssueSubcategories" | "personNames" | "nodeNames" | "driverNames" | "carrierNames" | "appointmentIssues" | "loadsV1" | "nmfcClasses" | "commoditiesV1" | "loadCommodities" | "loadQuoteAccessorials" | "quoteAccessorialsV1" | "loadAdjustmentsByLoad" | "loadAdjustmentsV1" | "userNotesV1" | "loadUserNotesV1", typeof import("@reduxjs/toolkit/dist/query/core/module").coreModuleName | typeof import("@reduxjs/toolkit/dist/query/react/module").reactHooksModuleName>;
|
|
17
|
+
export declare const useGetUserNoteV1Query: 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", UserNoteV1_Entity, "salesApi">>, useGetUserNotesV1Query: 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<UserNoteV1_Entity>, "salesApi">>, useLazyGetUserNotesV1Query: 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<UserNoteV1_Entity>, "salesApi">>, useLazyGetUserNoteV1Query: 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", UserNoteV1_Entity, "salesApi">>, useCreateUserNoteV1Mutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/dist/query").MutationDefinition<{
|
|
18
|
+
usernote: Partial<UserNoteV1_Entity>;
|
|
19
|
+
}, (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", UserNoteV1_Entity, "salesApi">>, useDeleteUserNoteV1Mutation: 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">>, useUpdateUserNoteV1Mutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/dist/query").MutationDefinition<{
|
|
20
|
+
id: number;
|
|
21
|
+
body: {
|
|
22
|
+
usernote: Partial<UserNoteV1_Entity>;
|
|
23
|
+
};
|
|
24
|
+
}, (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">>;
|
|
25
|
+
export default userNoteV1Endpoints;
|
|
26
|
+
export declare const getUserNotesV1Selectors: (params: Record<string, unknown> | void) => import("@reduxjs/toolkit").EntitySelectors<UserNoteV1_Entity, {
|
|
27
|
+
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">;
|
|
28
|
+
salesKitState: import("redux").CombinedState<{
|
|
29
|
+
quote: import("..").QuoteState;
|
|
30
|
+
tender: import("../tender/tenderSlice").TenderState;
|
|
31
|
+
}>;
|
|
32
|
+
}>;
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { createEntityAdapter, createSelector, } from "@reduxjs/toolkit";
|
|
2
|
+
import { salesApi } from "../api/salesApi";
|
|
3
|
+
const userNotesV1Adapter = createEntityAdapter();
|
|
4
|
+
const userNotesV1InitialState = userNotesV1Adapter.getInitialState();
|
|
5
|
+
export const userNoteV1Endpoints = salesApi.injectEndpoints({
|
|
6
|
+
endpoints: (build) => ({
|
|
7
|
+
getUserNotesV1: build.query({
|
|
8
|
+
query: (args) => {
|
|
9
|
+
return {
|
|
10
|
+
url: `user_notes`,
|
|
11
|
+
params: args,
|
|
12
|
+
routePrefix: "/v1",
|
|
13
|
+
};
|
|
14
|
+
},
|
|
15
|
+
transformResponse: (responseData) => {
|
|
16
|
+
return userNotesV1Adapter.setAll(userNotesV1InitialState, responseData);
|
|
17
|
+
},
|
|
18
|
+
providesTags: ["userNotesV1"],
|
|
19
|
+
}),
|
|
20
|
+
getUserNoteV1: build.query({
|
|
21
|
+
query: (id) => ({ url: `user_notes/${id}`, routePrefix: "/v1" }),
|
|
22
|
+
providesTags: (_result, _error, id) => [{ type: "userNotesV1", id }],
|
|
23
|
+
}),
|
|
24
|
+
createUserNoteV1: build.mutation({
|
|
25
|
+
query: (body) => ({
|
|
26
|
+
method: "POST",
|
|
27
|
+
body,
|
|
28
|
+
url: `user_notes`,
|
|
29
|
+
routePrefix: "/v1",
|
|
30
|
+
}),
|
|
31
|
+
invalidatesTags: ["userNotesV1", "loadUserNotesV1"],
|
|
32
|
+
}),
|
|
33
|
+
updateUserNoteV1: build.mutation({
|
|
34
|
+
query: (args) => ({
|
|
35
|
+
method: "PUT",
|
|
36
|
+
body: args.body,
|
|
37
|
+
url: `user_notes/${args.id}`,
|
|
38
|
+
routePrefix: "/v1",
|
|
39
|
+
}),
|
|
40
|
+
invalidatesTags: (_result, _error, { id }) => [
|
|
41
|
+
{ type: "userNotesV1", id },
|
|
42
|
+
"userNotesV1",
|
|
43
|
+
"loadUserNotesV1",
|
|
44
|
+
],
|
|
45
|
+
}),
|
|
46
|
+
deleteUserNoteV1: build.mutation({
|
|
47
|
+
query: (id) => ({
|
|
48
|
+
method: "DELETE",
|
|
49
|
+
url: `user_notes/${id}`,
|
|
50
|
+
routePrefix: "/v1",
|
|
51
|
+
}),
|
|
52
|
+
invalidatesTags: ["userNotesV1", "loadUserNotesV1"],
|
|
53
|
+
}),
|
|
54
|
+
}),
|
|
55
|
+
});
|
|
56
|
+
export const { useGetUserNoteV1Query, useGetUserNotesV1Query, useLazyGetUserNotesV1Query, useLazyGetUserNoteV1Query, useCreateUserNoteV1Mutation, useDeleteUserNoteV1Mutation, useUpdateUserNoteV1Mutation, } = userNoteV1Endpoints;
|
|
57
|
+
export default userNoteV1Endpoints;
|
|
58
|
+
export const getUserNotesV1Selectors = (params) => {
|
|
59
|
+
return userNotesV1Adapter.getSelectors((state) => {
|
|
60
|
+
return (createSelector(userNoteV1Endpoints.endpoints.getUserNotesV1.select(params), (userNotesV1Result) => {
|
|
61
|
+
return userNotesV1Result.data;
|
|
62
|
+
})(state) ?? userNotesV1InitialState);
|
|
63
|
+
});
|
|
64
|
+
};
|
|
65
|
+
//# sourceMappingURL=userNoteV1Endpoints.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"userNoteV1Endpoints.js","sourceRoot":"","sources":["../../../src/redux/userNoteV1/userNoteV1Endpoints.ts"],"names":[],"mappings":"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"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nerdjs/sales-kit",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.37",
|
|
4
4
|
"description": "This is a @nerdjs library for the WA Sales Service",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -30,15 +30,15 @@
|
|
|
30
30
|
"@mui/joy": "^5.0.0-alpha.56",
|
|
31
31
|
"@mui/material": "^5.2.7",
|
|
32
32
|
"@mui/x-date-pickers-pro": "^5.0.20",
|
|
33
|
-
"@nerdjs/account-kit": "^
|
|
34
|
-
"allotment": "^1.17.0",
|
|
33
|
+
"@nerdjs/account-kit": "^3.0.0",
|
|
35
34
|
"@nerdjs/nerd-core": "^1.0.10",
|
|
36
|
-
"@nerdjs/nerd-network": "^
|
|
37
|
-
"@nerdjs/nerd-ui": "^
|
|
35
|
+
"@nerdjs/nerd-network": "^2.0.2",
|
|
36
|
+
"@nerdjs/nerd-ui": "^2.0.2",
|
|
38
37
|
"@reduxjs/toolkit": "^1.8.1",
|
|
39
38
|
"@types/react": "^18",
|
|
40
39
|
"@types/react-dom": "^18",
|
|
41
40
|
"@types/react-redux": "^7.1.24",
|
|
41
|
+
"allotment": "^1.17.0",
|
|
42
42
|
"react": "^18",
|
|
43
43
|
"react-redux": "^8.0.5",
|
|
44
44
|
"react-router-dom": "^6.0.2"
|