@northern.tech/store 0.41.0 → 0.41.1
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/commonSelectors.d.cts +4 -4
- package/dist/commonSelectors.d.ts +4 -4
- package/dist/thunks.cjs +1 -1
- package/dist/thunks.cjs.map +1 -1
- package/dist/thunks.js +1 -1
- package/dist/thunks.js.map +1 -1
- package/package.json +1 -1
|
@@ -1432,7 +1432,7 @@ declare const getAuditlogDevice: ((state: {
|
|
|
1432
1432
|
}) => {
|
|
1433
1433
|
id?: string;
|
|
1434
1434
|
identity_data?: import("@northern.tech/types/types.gen").IdentityData;
|
|
1435
|
-
status?: (("
|
|
1435
|
+
status?: (("pending" | "accepted" | "rejected" | "preauthorized" | "noauth" | undefined) & import("@northern.tech/types/types.gen").Status) | undefined;
|
|
1436
1436
|
created_ts?: string;
|
|
1437
1437
|
updated_ts?: string;
|
|
1438
1438
|
check_in_time?: string;
|
|
@@ -1470,7 +1470,7 @@ declare const getAuditlogDevice: ((state: {
|
|
|
1470
1470
|
resultFunc: (resultFuncArgs_0: AuditLog | undefined, resultFuncArgs_1: Record<string, Device>) => {
|
|
1471
1471
|
id?: string;
|
|
1472
1472
|
identity_data?: import("@northern.tech/types/types.gen").IdentityData;
|
|
1473
|
-
status?: (("
|
|
1473
|
+
status?: (("pending" | "accepted" | "rejected" | "preauthorized" | "noauth" | undefined) & import("@northern.tech/types/types.gen").Status) | undefined;
|
|
1474
1474
|
created_ts?: string;
|
|
1475
1475
|
updated_ts?: string;
|
|
1476
1476
|
check_in_time?: string;
|
|
@@ -1504,7 +1504,7 @@ declare const getAuditlogDevice: ((state: {
|
|
|
1504
1504
|
memoizedResultFunc: ((resultFuncArgs_0: AuditLog | undefined, resultFuncArgs_1: Record<string, Device>) => {
|
|
1505
1505
|
id?: string;
|
|
1506
1506
|
identity_data?: import("@northern.tech/types/types.gen").IdentityData;
|
|
1507
|
-
status?: (("
|
|
1507
|
+
status?: (("pending" | "accepted" | "rejected" | "preauthorized" | "noauth" | undefined) & import("@northern.tech/types/types.gen").Status) | undefined;
|
|
1508
1508
|
created_ts?: string;
|
|
1509
1509
|
updated_ts?: string;
|
|
1510
1510
|
check_in_time?: string;
|
|
@@ -1542,7 +1542,7 @@ declare const getAuditlogDevice: ((state: {
|
|
|
1542
1542
|
lastResult: () => {
|
|
1543
1543
|
id?: string;
|
|
1544
1544
|
identity_data?: import("@northern.tech/types/types.gen").IdentityData;
|
|
1545
|
-
status?: (("
|
|
1545
|
+
status?: (("pending" | "accepted" | "rejected" | "preauthorized" | "noauth" | undefined) & import("@northern.tech/types/types.gen").Status) | undefined;
|
|
1546
1546
|
created_ts?: string;
|
|
1547
1547
|
updated_ts?: string;
|
|
1548
1548
|
check_in_time?: string;
|
|
@@ -1432,7 +1432,7 @@ declare const getAuditlogDevice: ((state: {
|
|
|
1432
1432
|
}) => {
|
|
1433
1433
|
id?: string;
|
|
1434
1434
|
identity_data?: import("@northern.tech/types/types.gen").IdentityData;
|
|
1435
|
-
status?: (("
|
|
1435
|
+
status?: (("pending" | "accepted" | "rejected" | "preauthorized" | "noauth" | undefined) & import("@northern.tech/types/types.gen").Status) | undefined;
|
|
1436
1436
|
created_ts?: string;
|
|
1437
1437
|
updated_ts?: string;
|
|
1438
1438
|
check_in_time?: string;
|
|
@@ -1470,7 +1470,7 @@ declare const getAuditlogDevice: ((state: {
|
|
|
1470
1470
|
resultFunc: (resultFuncArgs_0: AuditLog | undefined, resultFuncArgs_1: Record<string, Device>) => {
|
|
1471
1471
|
id?: string;
|
|
1472
1472
|
identity_data?: import("@northern.tech/types/types.gen").IdentityData;
|
|
1473
|
-
status?: (("
|
|
1473
|
+
status?: (("pending" | "accepted" | "rejected" | "preauthorized" | "noauth" | undefined) & import("@northern.tech/types/types.gen").Status) | undefined;
|
|
1474
1474
|
created_ts?: string;
|
|
1475
1475
|
updated_ts?: string;
|
|
1476
1476
|
check_in_time?: string;
|
|
@@ -1504,7 +1504,7 @@ declare const getAuditlogDevice: ((state: {
|
|
|
1504
1504
|
memoizedResultFunc: ((resultFuncArgs_0: AuditLog | undefined, resultFuncArgs_1: Record<string, Device>) => {
|
|
1505
1505
|
id?: string;
|
|
1506
1506
|
identity_data?: import("@northern.tech/types/types.gen").IdentityData;
|
|
1507
|
-
status?: (("
|
|
1507
|
+
status?: (("pending" | "accepted" | "rejected" | "preauthorized" | "noauth" | undefined) & import("@northern.tech/types/types.gen").Status) | undefined;
|
|
1508
1508
|
created_ts?: string;
|
|
1509
1509
|
updated_ts?: string;
|
|
1510
1510
|
check_in_time?: string;
|
|
@@ -1542,7 +1542,7 @@ declare const getAuditlogDevice: ((state: {
|
|
|
1542
1542
|
lastResult: () => {
|
|
1543
1543
|
id?: string;
|
|
1544
1544
|
identity_data?: import("@northern.tech/types/types.gen").IdentityData;
|
|
1545
|
-
status?: (("
|
|
1545
|
+
status?: (("pending" | "accepted" | "rejected" | "preauthorized" | "noauth" | undefined) & import("@northern.tech/types/types.gen").Status) | undefined;
|
|
1546
1546
|
created_ts?: string;
|
|
1547
1547
|
updated_ts?: string;
|
|
1548
1548
|
check_in_time?: string;
|
package/dist/thunks.cjs
CHANGED
|
@@ -2043,7 +2043,7 @@ const verifyEmailComplete = require_store.createAppAsyncThunk(`${require_usersSl
|
|
|
2043
2043
|
})).finally(() => Promise.resolve(dispatch(getUser("me")))));
|
|
2044
2044
|
const getPendingEmailChange = require_store.createAppAsyncThunk(`${require_usersSlice_index.sliceName}/getPendingEmailChange`, (_, { rejectWithValue }) => require_api_general_api.default.get(`${_northern_tech_utils_constants.useradmApiUrl}/users/me/email-change/pending`).then(({ data }) => data || null).catch((e) => rejectWithValue(e)));
|
|
2045
2045
|
const initiateEmailChange = require_store.createAppAsyncThunk(`${require_usersSlice_index.sliceName}/initiateEmailChange`, (emailUpdate, { dispatch }) => require_api_general_api.default.post(`${_northern_tech_utils_constants.useradmApiUrl}/users/me/email-change/start`, emailUpdate).catch((err) => require_store.commonErrorHandler(err, "An error occurred starting the email change process:", dispatch)));
|
|
2046
|
-
const completeEmailChange = require_store.createAppAsyncThunk(`${require_usersSlice_index.sliceName}/completeEmailChange`, (secret_hash, { dispatch, rejectWithValue }) => require_api_general_api.default.post(`${_northern_tech_utils_constants.useradmApiUrl}/users/email-change/complete`, { secret_hash }).catch((err) => rejectWithValue({
|
|
2046
|
+
const completeEmailChange = require_store.createAppAsyncThunk(`${require_usersSlice_index.sliceName}/completeEmailChange`, (secret_hash, { dispatch, rejectWithValue }) => require_api_general_api.default.post(`${_northern_tech_utils_constants.useradmApiUrl}/users/me/email-change/complete`, { secret_hash }).catch((err) => rejectWithValue({
|
|
2047
2047
|
status: err.response?.status,
|
|
2048
2048
|
data: err.response?.data
|
|
2049
2049
|
})).finally(() => Promise.resolve(dispatch(getUser("me")))));
|