@northern.tech/store 0.3.1 → 0.3.2
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/appSlice/thunks.cjs +3 -2
- package/dist/appSlice/thunks.cjs.map +1 -1
- package/dist/appSlice/thunks.js +1 -1
- package/dist/{chunk-APHL4JZP.js → chunk-74OJIKXF.js} +9 -7
- package/dist/chunk-74OJIKXF.js.map +1 -0
- package/dist/deploymentdevicehook.cjs +3 -2
- package/dist/deploymentdevicehook.cjs.map +1 -1
- package/dist/deploymentdevicehook.js +1 -1
- package/dist/deploymentsSlice/thunks.cjs +3 -2
- package/dist/deploymentsSlice/thunks.cjs.map +1 -1
- package/dist/deploymentsSlice/thunks.js +1 -1
- package/dist/devicesSlice/thunks.cjs +3 -2
- package/dist/devicesSlice/thunks.cjs.map +1 -1
- package/dist/devicesSlice/thunks.js +1 -1
- package/dist/onboardingSlice/thunks.cjs +3 -2
- package/dist/onboardingSlice/thunks.cjs.map +1 -1
- package/dist/onboardingSlice/thunks.js +1 -1
- package/dist/organizationSlice/thunks.cjs +6 -4
- package/dist/organizationSlice/thunks.cjs.map +1 -1
- package/dist/organizationSlice/thunks.js +1 -1
- package/dist/storehooks.cjs +6 -4
- package/dist/storehooks.cjs.map +1 -1
- package/dist/storehooks.js +1 -1
- package/dist/thunks.cjs +6 -4
- package/dist/thunks.cjs.map +1 -1
- package/dist/thunks.js +1 -1
- package/dist/usersSlice/thunks.cjs +3 -2
- package/dist/usersSlice/thunks.cjs.map +1 -1
- package/dist/usersSlice/thunks.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-APHL4JZP.js.map +0 -1
package/dist/thunks.js
CHANGED
|
@@ -3732,8 +3732,9 @@ var getDeviceConnect = (0, import_toolkit19.createAsyncThunk)(
|
|
|
3732
3732
|
)
|
|
3733
3733
|
);
|
|
3734
3734
|
var getSessionDetails = (0, import_toolkit19.createAsyncThunk)(`${sliceName3}/getSessionDetails`, ({ sessionId, deviceId, userId, startDate, endDate }) => {
|
|
3735
|
-
const
|
|
3736
|
-
const
|
|
3735
|
+
const { start: startUnix, end: endUnix } = (0, import_helpers9.dateRangeToUnix)(startDate, endDate);
|
|
3736
|
+
const createdAfter = startDate ? `&created_after=${startUnix}` : "";
|
|
3737
|
+
const createdBefore = endDate ? `&created_before=${endUnix}` : "";
|
|
3737
3738
|
const objectSearch = `&object_id=${deviceId}`;
|
|
3738
3739
|
return general_api_default.get(`${auditLogsApiUrl}/logs?per_page=500${createdAfter}${createdBefore}&actor_id=${userId}${objectSearch}`).then(
|
|
3739
3740
|
({ data: auditLogEntries }) => {
|