@northern.tech/store 0.46.2 → 0.46.4
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/api/general-api.d.cts +3 -3
- package/dist/api/general-api.d.ts +3 -3
- package/dist/appSlice/mocks.d.cts +1 -2
- package/dist/appSlice/mocks.d.ts +1 -2
- package/dist/appSlice/selectors.d.cts +19 -20
- package/dist/appSlice/selectors.d.ts +19 -20
- package/dist/appSlice/thunks.d.cts +3 -4
- package/dist/appSlice/thunks.d.ts +3 -4
- package/dist/auth.d.cts +5 -6
- package/dist/auth.d.ts +5 -6
- package/dist/commonSelectors.d.cts +21 -22
- package/dist/commonSelectors.d.ts +21 -22
- package/dist/deploymentsSlice/mocks.d.cts +1 -2
- package/dist/deploymentsSlice/mocks.d.ts +1 -2
- package/dist/deploymentsSlice/selectors.d.cts +8 -9
- package/dist/deploymentsSlice/selectors.d.ts +8 -9
- package/dist/deploymentsSlice/thunks.d.cts +16 -17
- package/dist/deploymentsSlice/thunks.d.ts +16 -17
- package/dist/devicesSlice/mocks.d.cts +1 -2
- package/dist/devicesSlice/mocks.d.ts +1 -2
- package/dist/devicesSlice/selectors.cjs +4 -3
- package/dist/devicesSlice/selectors.cjs.map +1 -1
- package/dist/devicesSlice/selectors.d.cts +27 -28
- package/dist/devicesSlice/selectors.d.ts +27 -28
- package/dist/devicesSlice/selectors.js +4 -3
- package/dist/devicesSlice/selectors.js.map +1 -1
- package/dist/devicesSlice/thunks.d.cts +48 -49
- package/dist/devicesSlice/thunks.d.ts +48 -49
- package/dist/liststatehook.d.cts +2 -3
- package/dist/liststatehook.d.ts +2 -3
- package/dist/locationutils.d.cts +27 -28
- package/dist/locationutils.d.ts +27 -28
- package/dist/monitorSlice/mocks.d.cts +1 -2
- package/dist/monitorSlice/mocks.d.ts +1 -2
- package/dist/monitorSlice/selectors.d.cts +1 -2
- package/dist/monitorSlice/selectors.d.ts +1 -2
- package/dist/monitorSlice/thunks.d.cts +5 -6
- package/dist/monitorSlice/thunks.d.ts +5 -6
- package/dist/onboardingSlice/mocks.d.cts +1 -2
- package/dist/onboardingSlice/mocks.d.ts +1 -2
- package/dist/onboardingSlice/selectors.d.cts +1 -2
- package/dist/onboardingSlice/selectors.d.ts +1 -2
- package/dist/onboardingSlice/thunks.d.cts +6 -7
- package/dist/onboardingSlice/thunks.d.ts +6 -7
- package/dist/organizationSlice/mocks.d.cts +1 -2
- package/dist/organizationSlice/mocks.d.ts +1 -2
- package/dist/organizationSlice/selectors.d.cts +21 -22
- package/dist/organizationSlice/selectors.d.ts +21 -22
- package/dist/organizationSlice/thunks.d.cts +54 -55
- package/dist/organizationSlice/thunks.d.ts +54 -55
- package/dist/releasesSlice/mocks.d.cts +1 -2
- package/dist/releasesSlice/mocks.d.ts +1 -2
- package/dist/releasesSlice/selectors.d.cts +28 -29
- package/dist/releasesSlice/selectors.d.ts +28 -29
- package/dist/releasesSlice/thunks.d.cts +37 -38
- package/dist/releasesSlice/thunks.d.ts +37 -38
- package/dist/sockethook.d.cts +1 -2
- package/dist/sockethook.d.ts +1 -2
- package/dist/storehooks.d.cts +3 -4
- package/dist/storehooks.d.ts +3 -4
- package/dist/thunks.cjs +12 -11
- package/dist/thunks.cjs.map +1 -1
- package/dist/thunks.js +12 -11
- package/dist/thunks.js.map +1 -1
- package/dist/useDeploymentDevice.d.cts +1 -2
- package/dist/useDeploymentDevice.d.ts +1 -2
- package/dist/usersSlice/mocks.d.cts +1 -2
- package/dist/usersSlice/mocks.d.ts +1 -2
- package/dist/usersSlice/selectors.d.cts +20 -21
- package/dist/usersSlice/selectors.d.ts +20 -21
- package/dist/usersSlice/thunks.d.cts +122 -123
- package/dist/usersSlice/thunks.d.ts +122 -123
- package/package.json +6 -5
|
@@ -24,7 +24,7 @@ type SubmittedRoleUiPermissions = {
|
|
|
24
24
|
tenantManagement?: UserManagementPermission[];
|
|
25
25
|
userManagement: UserManagementPermission[];
|
|
26
26
|
};
|
|
27
|
-
type SubmittedRole = {
|
|
27
|
+
export type SubmittedRole = {
|
|
28
28
|
allowUserManagement?: boolean;
|
|
29
29
|
description?: string;
|
|
30
30
|
name: string;
|
|
@@ -37,7 +37,7 @@ interface LoginUserPayload {
|
|
|
37
37
|
stayLoggedIn?: boolean;
|
|
38
38
|
token2fa?: string;
|
|
39
39
|
}
|
|
40
|
-
declare const confirmOAuthLink: import("@reduxjs/toolkit").AsyncThunk<{
|
|
40
|
+
export declare const confirmOAuthLink: import("@reduxjs/toolkit").AsyncThunk<{
|
|
41
41
|
payload: UserSession;
|
|
42
42
|
type: "users/successfullyLoggedIn";
|
|
43
43
|
} | undefined, LoginUserPayload, {
|
|
@@ -50,7 +50,7 @@ declare const confirmOAuthLink: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
50
50
|
fulfilledMeta?: unknown;
|
|
51
51
|
rejectedMeta?: unknown;
|
|
52
52
|
}>;
|
|
53
|
-
declare const loginUser: import("@reduxjs/toolkit").AsyncThunk<{
|
|
53
|
+
export declare const loginUser: import("@reduxjs/toolkit").AsyncThunk<{
|
|
54
54
|
payload: UserSession;
|
|
55
55
|
type: "users/successfullyLoggedIn";
|
|
56
56
|
} | undefined, LoginUserPayload, {
|
|
@@ -63,7 +63,7 @@ declare const loginUser: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
63
63
|
fulfilledMeta?: unknown;
|
|
64
64
|
rejectedMeta?: unknown;
|
|
65
65
|
}>;
|
|
66
|
-
declare const logoutUser: import("@reduxjs/toolkit").AsyncThunk<import("axios").AxiosResponse<any, any, {}>, void, {
|
|
66
|
+
export declare const logoutUser: import("@reduxjs/toolkit").AsyncThunk<import("axios").AxiosResponse<any, any, {}>, void, {
|
|
67
67
|
dispatch: AppDispatch;
|
|
68
68
|
state: RootState;
|
|
69
69
|
extra?: unknown;
|
|
@@ -73,7 +73,7 @@ declare const logoutUser: import("@reduxjs/toolkit").AsyncThunk<import("axios").
|
|
|
73
73
|
fulfilledMeta?: unknown;
|
|
74
74
|
rejectedMeta?: unknown;
|
|
75
75
|
}>;
|
|
76
|
-
declare const switchUserOrganization: import("@reduxjs/toolkit").AsyncThunk<void, string, {
|
|
76
|
+
export declare const switchUserOrganization: import("@reduxjs/toolkit").AsyncThunk<void, string, {
|
|
77
77
|
dispatch: AppDispatch;
|
|
78
78
|
state: RootState;
|
|
79
79
|
extra?: unknown;
|
|
@@ -83,7 +83,7 @@ declare const switchUserOrganization: import("@reduxjs/toolkit").AsyncThunk<void
|
|
|
83
83
|
fulfilledMeta?: unknown;
|
|
84
84
|
rejectedMeta?: unknown;
|
|
85
85
|
}>;
|
|
86
|
-
declare const passwordResetStart: import("@reduxjs/toolkit").AsyncThunk<import("axios").AxiosResponse<any, any, {}>, string, {
|
|
86
|
+
export declare const passwordResetStart: import("@reduxjs/toolkit").AsyncThunk<import("axios").AxiosResponse<any, any, {}>, string, {
|
|
87
87
|
dispatch: AppDispatch;
|
|
88
88
|
state: RootState;
|
|
89
89
|
extra?: unknown;
|
|
@@ -97,7 +97,7 @@ interface PasswordResetPayload {
|
|
|
97
97
|
newPassword: string;
|
|
98
98
|
secretHash: string;
|
|
99
99
|
}
|
|
100
|
-
declare const passwordResetComplete: import("@reduxjs/toolkit").AsyncThunk<import("axios").AxiosResponse<any, any, {}>, PasswordResetPayload, {
|
|
100
|
+
export declare const passwordResetComplete: import("@reduxjs/toolkit").AsyncThunk<import("axios").AxiosResponse<any, any, {}>, PasswordResetPayload, {
|
|
101
101
|
dispatch: AppDispatch;
|
|
102
102
|
state: RootState;
|
|
103
103
|
extra?: unknown;
|
|
@@ -107,7 +107,7 @@ declare const passwordResetComplete: import("@reduxjs/toolkit").AsyncThunk<impor
|
|
|
107
107
|
fulfilledMeta?: unknown;
|
|
108
108
|
rejectedMeta?: unknown;
|
|
109
109
|
}>;
|
|
110
|
-
declare const verifyEmailStart: import("@reduxjs/toolkit").AsyncThunk<import("axios").AxiosResponse<any, any, {}>, void, {
|
|
110
|
+
export declare const verifyEmailStart: import("@reduxjs/toolkit").AsyncThunk<import("axios").AxiosResponse<any, any, {}>, void, {
|
|
111
111
|
dispatch: AppDispatch;
|
|
112
112
|
state: RootState;
|
|
113
113
|
extra?: unknown;
|
|
@@ -117,7 +117,7 @@ declare const verifyEmailStart: import("@reduxjs/toolkit").AsyncThunk<import("ax
|
|
|
117
117
|
fulfilledMeta?: unknown;
|
|
118
118
|
rejectedMeta?: unknown;
|
|
119
119
|
}>;
|
|
120
|
-
declare const verifyEmailComplete: import("@reduxjs/toolkit").AsyncThunk<import("axios").AxiosResponse<any, any, {}>, string, {
|
|
120
|
+
export declare const verifyEmailComplete: import("@reduxjs/toolkit").AsyncThunk<import("axios").AxiosResponse<any, any, {}>, string, {
|
|
121
121
|
dispatch: AppDispatch;
|
|
122
122
|
state: RootState;
|
|
123
123
|
extra?: unknown;
|
|
@@ -127,7 +127,7 @@ declare const verifyEmailComplete: import("@reduxjs/toolkit").AsyncThunk<import(
|
|
|
127
127
|
fulfilledMeta?: unknown;
|
|
128
128
|
rejectedMeta?: unknown;
|
|
129
129
|
}>;
|
|
130
|
-
declare const getPendingEmailChange: import("@reduxjs/toolkit").AsyncThunk<PendingEmailChange, void, {
|
|
130
|
+
export declare const getPendingEmailChange: import("@reduxjs/toolkit").AsyncThunk<PendingEmailChange, void, {
|
|
131
131
|
dispatch: AppDispatch;
|
|
132
132
|
state: RootState;
|
|
133
133
|
extra?: unknown;
|
|
@@ -137,7 +137,7 @@ declare const getPendingEmailChange: import("@reduxjs/toolkit").AsyncThunk<Pendi
|
|
|
137
137
|
fulfilledMeta?: unknown;
|
|
138
138
|
rejectedMeta?: unknown;
|
|
139
139
|
}>;
|
|
140
|
-
declare const initiateEmailChange: import("@reduxjs/toolkit").AsyncThunk<import("axios").AxiosResponse<any, any, {}>, EmailUpdateRequest, {
|
|
140
|
+
export declare const initiateEmailChange: import("@reduxjs/toolkit").AsyncThunk<import("axios").AxiosResponse<any, any, {}>, EmailUpdateRequest, {
|
|
141
141
|
dispatch: AppDispatch;
|
|
142
142
|
state: RootState;
|
|
143
143
|
extra?: unknown;
|
|
@@ -147,7 +147,7 @@ declare const initiateEmailChange: import("@reduxjs/toolkit").AsyncThunk<import(
|
|
|
147
147
|
fulfilledMeta?: unknown;
|
|
148
148
|
rejectedMeta?: unknown;
|
|
149
149
|
}>;
|
|
150
|
-
declare const completeEmailChange: import("@reduxjs/toolkit").AsyncThunk<import("axios").AxiosResponse<any, any, {}>, string, {
|
|
150
|
+
export declare const completeEmailChange: import("@reduxjs/toolkit").AsyncThunk<import("axios").AxiosResponse<any, any, {}>, string, {
|
|
151
151
|
dispatch: AppDispatch;
|
|
152
152
|
state: RootState;
|
|
153
153
|
extra?: unknown;
|
|
@@ -157,7 +157,7 @@ declare const completeEmailChange: import("@reduxjs/toolkit").AsyncThunk<import(
|
|
|
157
157
|
fulfilledMeta?: unknown;
|
|
158
158
|
rejectedMeta?: unknown;
|
|
159
159
|
}>;
|
|
160
|
-
declare const cancelEmailChange: import("@reduxjs/toolkit").AsyncThunk<import("axios").AxiosResponse<any, any, {}>, void, {
|
|
160
|
+
export declare const cancelEmailChange: import("@reduxjs/toolkit").AsyncThunk<import("axios").AxiosResponse<any, any, {}>, void, {
|
|
161
161
|
dispatch: AppDispatch;
|
|
162
162
|
state: RootState;
|
|
163
163
|
extra?: unknown;
|
|
@@ -167,7 +167,17 @@ declare const cancelEmailChange: import("@reduxjs/toolkit").AsyncThunk<import("a
|
|
|
167
167
|
fulfilledMeta?: unknown;
|
|
168
168
|
rejectedMeta?: unknown;
|
|
169
169
|
}>;
|
|
170
|
-
declare const verify2FA: import("@reduxjs/toolkit").AsyncThunk<import("@reduxjs/toolkit").PayloadAction<
|
|
170
|
+
export declare const verify2FA: import("@reduxjs/toolkit").AsyncThunk<import("@reduxjs/toolkit").PayloadAction<unknown, string, {
|
|
171
|
+
arg: string;
|
|
172
|
+
requestId: string;
|
|
173
|
+
requestStatus: "rejected";
|
|
174
|
+
aborted: boolean;
|
|
175
|
+
condition: boolean;
|
|
176
|
+
} & ({
|
|
177
|
+
rejectedWithValue: true;
|
|
178
|
+
} | ({
|
|
179
|
+
rejectedWithValue: false;
|
|
180
|
+
} & {})), import("@reduxjs/toolkit").SerializedError> | import("@reduxjs/toolkit").PayloadAction<[{
|
|
171
181
|
payload: User$1;
|
|
172
182
|
type: "users/receivedUser";
|
|
173
183
|
}, import("@reduxjs/toolkit").PayloadAction<void, string, {
|
|
@@ -211,17 +221,7 @@ declare const verify2FA: import("@reduxjs/toolkit").AsyncThunk<import("@reduxjs/
|
|
|
211
221
|
arg: string;
|
|
212
222
|
requestId: string;
|
|
213
223
|
requestStatus: "fulfilled";
|
|
214
|
-
}, never
|
|
215
|
-
arg: string;
|
|
216
|
-
requestId: string;
|
|
217
|
-
requestStatus: "rejected";
|
|
218
|
-
aborted: boolean;
|
|
219
|
-
condition: boolean;
|
|
220
|
-
} & ({
|
|
221
|
-
rejectedWithValue: true;
|
|
222
|
-
} | ({
|
|
223
|
-
rejectedWithValue: false;
|
|
224
|
-
} & {})), import("@reduxjs/toolkit").SerializedError>, {
|
|
224
|
+
}, never>, {
|
|
225
225
|
token2fa: string;
|
|
226
226
|
}, {
|
|
227
227
|
dispatch: AppDispatch;
|
|
@@ -233,7 +233,7 @@ declare const verify2FA: import("@reduxjs/toolkit").AsyncThunk<import("@reduxjs/
|
|
|
233
233
|
fulfilledMeta?: unknown;
|
|
234
234
|
rejectedMeta?: unknown;
|
|
235
235
|
}>;
|
|
236
|
-
declare const getUserList: import("@reduxjs/toolkit").AsyncThunk<{
|
|
236
|
+
export declare const getUserList: import("@reduxjs/toolkit").AsyncThunk<{
|
|
237
237
|
payload: Record<string, User$1>;
|
|
238
238
|
type: "users/receivedUserList";
|
|
239
239
|
}, void, {
|
|
@@ -246,7 +246,7 @@ declare const getUserList: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
246
246
|
fulfilledMeta?: unknown;
|
|
247
247
|
rejectedMeta?: unknown;
|
|
248
248
|
}>;
|
|
249
|
-
declare const getUser: import("@reduxjs/toolkit").AsyncThunk<[{
|
|
249
|
+
export declare const getUser: import("@reduxjs/toolkit").AsyncThunk<[{
|
|
250
250
|
payload: User$1;
|
|
251
251
|
type: "users/receivedUser";
|
|
252
252
|
}, import("@reduxjs/toolkit").PayloadAction<void, string, {
|
|
@@ -296,7 +296,17 @@ declare const getUser: import("@reduxjs/toolkit").AsyncThunk<[{
|
|
|
296
296
|
fulfilledMeta?: unknown;
|
|
297
297
|
rejectedMeta?: unknown;
|
|
298
298
|
}>;
|
|
299
|
-
declare const initializeSelf: import("@reduxjs/toolkit").AsyncThunk<import("@reduxjs/toolkit").PayloadAction<
|
|
299
|
+
export declare const initializeSelf: import("@reduxjs/toolkit").AsyncThunk<import("@reduxjs/toolkit").PayloadAction<unknown, string, {
|
|
300
|
+
arg: string;
|
|
301
|
+
requestId: string;
|
|
302
|
+
requestStatus: "rejected";
|
|
303
|
+
aborted: boolean;
|
|
304
|
+
condition: boolean;
|
|
305
|
+
} & ({
|
|
306
|
+
rejectedWithValue: true;
|
|
307
|
+
} | ({
|
|
308
|
+
rejectedWithValue: false;
|
|
309
|
+
} & {})), import("@reduxjs/toolkit").SerializedError> | import("@reduxjs/toolkit").PayloadAction<[{
|
|
300
310
|
payload: User$1;
|
|
301
311
|
type: "users/receivedUser";
|
|
302
312
|
}, import("@reduxjs/toolkit").PayloadAction<void, string, {
|
|
@@ -340,17 +350,7 @@ declare const initializeSelf: import("@reduxjs/toolkit").AsyncThunk<import("@red
|
|
|
340
350
|
arg: string;
|
|
341
351
|
requestId: string;
|
|
342
352
|
requestStatus: "fulfilled";
|
|
343
|
-
}, never
|
|
344
|
-
arg: string;
|
|
345
|
-
requestId: string;
|
|
346
|
-
requestStatus: "rejected";
|
|
347
|
-
aborted: boolean;
|
|
348
|
-
condition: boolean;
|
|
349
|
-
} & ({
|
|
350
|
-
rejectedWithValue: true;
|
|
351
|
-
} | ({
|
|
352
|
-
rejectedWithValue: false;
|
|
353
|
-
} & {})), import("@reduxjs/toolkit").SerializedError>, void, {
|
|
353
|
+
}, never>, void, {
|
|
354
354
|
dispatch: AppDispatch;
|
|
355
355
|
state: RootState;
|
|
356
356
|
extra?: unknown;
|
|
@@ -364,7 +364,7 @@ interface UpdateColumnSettingsPayload {
|
|
|
364
364
|
columns?: CustomColumn[];
|
|
365
365
|
currentUserId?: string;
|
|
366
366
|
}
|
|
367
|
-
declare const updateUserColumnSettings: import("@reduxjs/toolkit").AsyncThunk<{
|
|
367
|
+
export declare const updateUserColumnSettings: import("@reduxjs/toolkit").AsyncThunk<{
|
|
368
368
|
payload: CustomColumn[];
|
|
369
369
|
type: "users/setCustomColumns";
|
|
370
370
|
}, UpdateColumnSettingsPayload, {
|
|
@@ -383,14 +383,7 @@ interface CreateUserPayload {
|
|
|
383
383
|
shouldResetPassword?: boolean;
|
|
384
384
|
sso?: boolean;
|
|
385
385
|
}
|
|
386
|
-
declare const createUser: import("@reduxjs/toolkit").AsyncThunk<[import("@reduxjs/toolkit").PayloadAction<{
|
|
387
|
-
payload: Record<string, User$1>;
|
|
388
|
-
type: "users/receivedUserList";
|
|
389
|
-
}, string, {
|
|
390
|
-
arg: void;
|
|
391
|
-
requestId: string;
|
|
392
|
-
requestStatus: "fulfilled";
|
|
393
|
-
}, never> | import("@reduxjs/toolkit").PayloadAction<unknown, string, {
|
|
386
|
+
export declare const createUser: import("@reduxjs/toolkit").AsyncThunk<[import("@reduxjs/toolkit").PayloadAction<unknown, string, {
|
|
394
387
|
arg: void;
|
|
395
388
|
requestId: string;
|
|
396
389
|
requestStatus: "rejected";
|
|
@@ -400,7 +393,14 @@ declare const createUser: import("@reduxjs/toolkit").AsyncThunk<[import("@reduxj
|
|
|
400
393
|
rejectedWithValue: true;
|
|
401
394
|
} | ({
|
|
402
395
|
rejectedWithValue: false;
|
|
403
|
-
} & {})), import("@reduxjs/toolkit").SerializedError
|
|
396
|
+
} & {})), import("@reduxjs/toolkit").SerializedError> | import("@reduxjs/toolkit").PayloadAction<{
|
|
397
|
+
payload: Record<string, User$1>;
|
|
398
|
+
type: "users/receivedUserList";
|
|
399
|
+
}, string, {
|
|
400
|
+
arg: void;
|
|
401
|
+
requestId: string;
|
|
402
|
+
requestStatus: "fulfilled";
|
|
403
|
+
}, never>, {
|
|
404
404
|
payload: string | SnackbarContent;
|
|
405
405
|
type: "app/setSnackbar";
|
|
406
406
|
}], CreateUserPayload, {
|
|
@@ -417,14 +417,7 @@ type CreateUserV2Payload = {
|
|
|
417
417
|
email: string;
|
|
418
418
|
roles?: string[];
|
|
419
419
|
};
|
|
420
|
-
declare const createUserV2: import("@reduxjs/toolkit").AsyncThunk<[import("@reduxjs/toolkit").PayloadAction<{
|
|
421
|
-
payload: Record<string, User$1>;
|
|
422
|
-
type: "users/receivedUserList";
|
|
423
|
-
}, string, {
|
|
424
|
-
arg: void;
|
|
425
|
-
requestId: string;
|
|
426
|
-
requestStatus: "fulfilled";
|
|
427
|
-
}, never> | import("@reduxjs/toolkit").PayloadAction<unknown, string, {
|
|
420
|
+
export declare const createUserV2: import("@reduxjs/toolkit").AsyncThunk<[import("@reduxjs/toolkit").PayloadAction<unknown, string, {
|
|
428
421
|
arg: void;
|
|
429
422
|
requestId: string;
|
|
430
423
|
requestStatus: "rejected";
|
|
@@ -434,7 +427,14 @@ declare const createUserV2: import("@reduxjs/toolkit").AsyncThunk<[import("@redu
|
|
|
434
427
|
rejectedWithValue: true;
|
|
435
428
|
} | ({
|
|
436
429
|
rejectedWithValue: false;
|
|
437
|
-
} & {})), import("@reduxjs/toolkit").SerializedError
|
|
430
|
+
} & {})), import("@reduxjs/toolkit").SerializedError> | import("@reduxjs/toolkit").PayloadAction<{
|
|
431
|
+
payload: Record<string, User$1>;
|
|
432
|
+
type: "users/receivedUserList";
|
|
433
|
+
}, string, {
|
|
434
|
+
arg: void;
|
|
435
|
+
requestId: string;
|
|
436
|
+
requestStatus: "fulfilled";
|
|
437
|
+
}, never>, {
|
|
438
438
|
payload: string | SnackbarContent;
|
|
439
439
|
type: "app/setSnackbar";
|
|
440
440
|
}], CreateUserV2Payload, {
|
|
@@ -447,17 +447,10 @@ declare const createUserV2: import("@reduxjs/toolkit").AsyncThunk<[import("@redu
|
|
|
447
447
|
fulfilledMeta?: unknown;
|
|
448
448
|
rejectedMeta?: unknown;
|
|
449
449
|
}>;
|
|
450
|
-
declare const removeUser: import("@reduxjs/toolkit").AsyncThunk<[{
|
|
450
|
+
export declare const removeUser: import("@reduxjs/toolkit").AsyncThunk<[{
|
|
451
451
|
payload: string;
|
|
452
452
|
type: "users/removedUser";
|
|
453
|
-
}, import("@reduxjs/toolkit").PayloadAction<{
|
|
454
|
-
payload: Record<string, User$1>;
|
|
455
|
-
type: "users/receivedUserList";
|
|
456
|
-
}, string, {
|
|
457
|
-
arg: void;
|
|
458
|
-
requestId: string;
|
|
459
|
-
requestStatus: "fulfilled";
|
|
460
|
-
}, never> | import("@reduxjs/toolkit").PayloadAction<unknown, string, {
|
|
453
|
+
}, import("@reduxjs/toolkit").PayloadAction<unknown, string, {
|
|
461
454
|
arg: void;
|
|
462
455
|
requestId: string;
|
|
463
456
|
requestStatus: "rejected";
|
|
@@ -467,7 +460,14 @@ declare const removeUser: import("@reduxjs/toolkit").AsyncThunk<[{
|
|
|
467
460
|
rejectedWithValue: true;
|
|
468
461
|
} | ({
|
|
469
462
|
rejectedWithValue: false;
|
|
470
|
-
} & {})), import("@reduxjs/toolkit").SerializedError
|
|
463
|
+
} & {})), import("@reduxjs/toolkit").SerializedError> | import("@reduxjs/toolkit").PayloadAction<{
|
|
464
|
+
payload: Record<string, User$1>;
|
|
465
|
+
type: "users/receivedUserList";
|
|
466
|
+
}, string, {
|
|
467
|
+
arg: void;
|
|
468
|
+
requestId: string;
|
|
469
|
+
requestStatus: "fulfilled";
|
|
470
|
+
}, never>, {
|
|
471
471
|
payload: string | SnackbarContent;
|
|
472
472
|
type: "app/setSnackbar";
|
|
473
473
|
}], string, {
|
|
@@ -487,7 +487,7 @@ interface EditUserPayload {
|
|
|
487
487
|
password: string;
|
|
488
488
|
roles?: string[];
|
|
489
489
|
}
|
|
490
|
-
declare const editUser: import("@reduxjs/toolkit").AsyncThunk<[{
|
|
490
|
+
export declare const editUser: import("@reduxjs/toolkit").AsyncThunk<[{
|
|
491
491
|
payload: Partial<User$1> & {
|
|
492
492
|
id: string;
|
|
493
493
|
};
|
|
@@ -505,7 +505,7 @@ declare const editUser: import("@reduxjs/toolkit").AsyncThunk<[{
|
|
|
505
505
|
fulfilledMeta?: unknown;
|
|
506
506
|
rejectedMeta?: unknown;
|
|
507
507
|
}>;
|
|
508
|
-
declare const checkEmailExists: import("@reduxjs/toolkit").AsyncThunk<boolean | undefined, string, {
|
|
508
|
+
export declare const checkEmailExists: import("@reduxjs/toolkit").AsyncThunk<boolean | undefined, string, {
|
|
509
509
|
dispatch: AppDispatch;
|
|
510
510
|
state: RootState;
|
|
511
511
|
extra?: unknown;
|
|
@@ -515,17 +515,10 @@ declare const checkEmailExists: import("@reduxjs/toolkit").AsyncThunk<boolean |
|
|
|
515
515
|
fulfilledMeta?: unknown;
|
|
516
516
|
rejectedMeta?: unknown;
|
|
517
517
|
}>;
|
|
518
|
-
declare const addUserToCurrentTenant: import("@reduxjs/toolkit").AsyncThunk<[{
|
|
518
|
+
export declare const addUserToCurrentTenant: import("@reduxjs/toolkit").AsyncThunk<[{
|
|
519
519
|
payload: string | SnackbarContent;
|
|
520
520
|
type: "app/setSnackbar";
|
|
521
|
-
}, import("@reduxjs/toolkit").PayloadAction<{
|
|
522
|
-
payload: Record<string, User$1>;
|
|
523
|
-
type: "users/receivedUserList";
|
|
524
|
-
}, string, {
|
|
525
|
-
arg: void;
|
|
526
|
-
requestId: string;
|
|
527
|
-
requestStatus: "fulfilled";
|
|
528
|
-
}, never> | import("@reduxjs/toolkit").PayloadAction<unknown, string, {
|
|
521
|
+
}, import("@reduxjs/toolkit").PayloadAction<unknown, string, {
|
|
529
522
|
arg: void;
|
|
530
523
|
requestId: string;
|
|
531
524
|
requestStatus: "rejected";
|
|
@@ -535,7 +528,14 @@ declare const addUserToCurrentTenant: import("@reduxjs/toolkit").AsyncThunk<[{
|
|
|
535
528
|
rejectedWithValue: true;
|
|
536
529
|
} | ({
|
|
537
530
|
rejectedWithValue: false;
|
|
538
|
-
} & {})), import("@reduxjs/toolkit").SerializedError>
|
|
531
|
+
} & {})), import("@reduxjs/toolkit").SerializedError> | import("@reduxjs/toolkit").PayloadAction<{
|
|
532
|
+
payload: Record<string, User$1>;
|
|
533
|
+
type: "users/receivedUserList";
|
|
534
|
+
}, string, {
|
|
535
|
+
arg: void;
|
|
536
|
+
requestId: string;
|
|
537
|
+
requestStatus: "fulfilled";
|
|
538
|
+
}, never>], string, {
|
|
539
539
|
dispatch: AppDispatch;
|
|
540
540
|
state: RootState;
|
|
541
541
|
extra?: unknown;
|
|
@@ -545,7 +545,17 @@ declare const addUserToCurrentTenant: import("@reduxjs/toolkit").AsyncThunk<[{
|
|
|
545
545
|
fulfilledMeta?: unknown;
|
|
546
546
|
rejectedMeta?: unknown;
|
|
547
547
|
}>;
|
|
548
|
-
declare const enableUser2fa: import("@reduxjs/toolkit").AsyncThunk<import("@reduxjs/toolkit").PayloadAction<
|
|
548
|
+
export declare const enableUser2fa: import("@reduxjs/toolkit").AsyncThunk<import("@reduxjs/toolkit").PayloadAction<unknown, string, {
|
|
549
|
+
arg: string;
|
|
550
|
+
requestId: string;
|
|
551
|
+
requestStatus: "rejected";
|
|
552
|
+
aborted: boolean;
|
|
553
|
+
condition: boolean;
|
|
554
|
+
} & ({
|
|
555
|
+
rejectedWithValue: true;
|
|
556
|
+
} | ({
|
|
557
|
+
rejectedWithValue: false;
|
|
558
|
+
} & {})), import("@reduxjs/toolkit").SerializedError> | import("@reduxjs/toolkit").PayloadAction<[{
|
|
549
559
|
payload: User$1;
|
|
550
560
|
type: "users/receivedUser";
|
|
551
561
|
}, import("@reduxjs/toolkit").PayloadAction<void, string, {
|
|
@@ -589,17 +599,7 @@ declare const enableUser2fa: import("@reduxjs/toolkit").AsyncThunk<import("@redu
|
|
|
589
599
|
arg: string;
|
|
590
600
|
requestId: string;
|
|
591
601
|
requestStatus: "fulfilled";
|
|
592
|
-
}, never
|
|
593
|
-
arg: string;
|
|
594
|
-
requestId: string;
|
|
595
|
-
requestStatus: "rejected";
|
|
596
|
-
aborted: boolean;
|
|
597
|
-
condition: boolean;
|
|
598
|
-
} & ({
|
|
599
|
-
rejectedWithValue: true;
|
|
600
|
-
} | ({
|
|
601
|
-
rejectedWithValue: false;
|
|
602
|
-
} & {})), import("@reduxjs/toolkit").SerializedError>, string, {
|
|
602
|
+
}, never>, string, {
|
|
603
603
|
dispatch: AppDispatch;
|
|
604
604
|
state: RootState;
|
|
605
605
|
extra?: unknown;
|
|
@@ -609,7 +609,17 @@ declare const enableUser2fa: import("@reduxjs/toolkit").AsyncThunk<import("@redu
|
|
|
609
609
|
fulfilledMeta?: unknown;
|
|
610
610
|
rejectedMeta?: unknown;
|
|
611
611
|
}>;
|
|
612
|
-
declare const disableUser2fa: import("@reduxjs/toolkit").AsyncThunk<[import("@reduxjs/toolkit").PayloadAction<
|
|
612
|
+
export declare const disableUser2fa: import("@reduxjs/toolkit").AsyncThunk<[import("@reduxjs/toolkit").PayloadAction<unknown, string, {
|
|
613
|
+
arg: string;
|
|
614
|
+
requestId: string;
|
|
615
|
+
requestStatus: "rejected";
|
|
616
|
+
aborted: boolean;
|
|
617
|
+
condition: boolean;
|
|
618
|
+
} & ({
|
|
619
|
+
rejectedWithValue: true;
|
|
620
|
+
} | ({
|
|
621
|
+
rejectedWithValue: false;
|
|
622
|
+
} & {})), import("@reduxjs/toolkit").SerializedError> | import("@reduxjs/toolkit").PayloadAction<[{
|
|
613
623
|
payload: User$1;
|
|
614
624
|
type: "users/receivedUser";
|
|
615
625
|
}, import("@reduxjs/toolkit").PayloadAction<void, string, {
|
|
@@ -653,17 +663,7 @@ declare const disableUser2fa: import("@reduxjs/toolkit").AsyncThunk<[import("@re
|
|
|
653
663
|
arg: string;
|
|
654
664
|
requestId: string;
|
|
655
665
|
requestStatus: "fulfilled";
|
|
656
|
-
}, never
|
|
657
|
-
arg: string;
|
|
658
|
-
requestId: string;
|
|
659
|
-
requestStatus: "rejected";
|
|
660
|
-
aborted: boolean;
|
|
661
|
-
condition: boolean;
|
|
662
|
-
} & ({
|
|
663
|
-
rejectedWithValue: true;
|
|
664
|
-
} | ({
|
|
665
|
-
rejectedWithValue: false;
|
|
666
|
-
} & {})), import("@reduxjs/toolkit").SerializedError>, {
|
|
666
|
+
}, never>, {
|
|
667
667
|
payload: string | null;
|
|
668
668
|
type: "users/receivedQrCode";
|
|
669
669
|
}], string, {
|
|
@@ -676,10 +676,10 @@ declare const disableUser2fa: import("@reduxjs/toolkit").AsyncThunk<[import("@re
|
|
|
676
676
|
fulfilledMeta?: unknown;
|
|
677
677
|
rejectedMeta?: unknown;
|
|
678
678
|
}>;
|
|
679
|
-
declare const normalizeRbacRoles: (roles: Role[], rolesById: Record<string, Role>, permissionSets: ThunkPermissionSet) => {
|
|
679
|
+
export declare const normalizeRbacRoles: (roles: Role[], rolesById: Record<string, Role>, permissionSets: ThunkPermissionSet) => {
|
|
680
680
|
[x: string]: Role;
|
|
681
681
|
};
|
|
682
|
-
declare const getPermissionSets: import("@reduxjs/toolkit").AsyncThunk<void | [import("redux").UnknownAction, {
|
|
682
|
+
export declare const getPermissionSets: import("@reduxjs/toolkit").AsyncThunk<void | [import("redux").UnknownAction, {
|
|
683
683
|
[x: string]: PermissionSet;
|
|
684
684
|
}], void, {
|
|
685
685
|
dispatch: AppDispatch;
|
|
@@ -691,7 +691,7 @@ declare const getPermissionSets: import("@reduxjs/toolkit").AsyncThunk<void | [i
|
|
|
691
691
|
fulfilledMeta?: unknown;
|
|
692
692
|
rejectedMeta?: unknown;
|
|
693
693
|
}>;
|
|
694
|
-
declare const getRoles: import("@reduxjs/toolkit").AsyncThunk<{
|
|
694
|
+
export declare const getRoles: import("@reduxjs/toolkit").AsyncThunk<{
|
|
695
695
|
payload: Record<string, Role>;
|
|
696
696
|
type: "users/receivedRoles";
|
|
697
697
|
} | undefined, void, {
|
|
@@ -704,7 +704,7 @@ declare const getRoles: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
704
704
|
fulfilledMeta?: unknown;
|
|
705
705
|
rejectedMeta?: unknown;
|
|
706
706
|
}>;
|
|
707
|
-
declare const createRole: import("@reduxjs/toolkit").AsyncThunk<[{
|
|
707
|
+
export declare const createRole: import("@reduxjs/toolkit").AsyncThunk<[{
|
|
708
708
|
payload: Role;
|
|
709
709
|
type: "users/createdRole";
|
|
710
710
|
}, import("@reduxjs/toolkit").PayloadAction<unknown, string, {
|
|
@@ -737,7 +737,7 @@ declare const createRole: import("@reduxjs/toolkit").AsyncThunk<[{
|
|
|
737
737
|
fulfilledMeta?: unknown;
|
|
738
738
|
rejectedMeta?: unknown;
|
|
739
739
|
}>;
|
|
740
|
-
declare const editRole: import("@reduxjs/toolkit").AsyncThunk<[{
|
|
740
|
+
export declare const editRole: import("@reduxjs/toolkit").AsyncThunk<[{
|
|
741
741
|
payload: Role;
|
|
742
742
|
type: "users/createdRole";
|
|
743
743
|
}, import("@reduxjs/toolkit").PayloadAction<unknown, string, {
|
|
@@ -770,7 +770,7 @@ declare const editRole: import("@reduxjs/toolkit").AsyncThunk<[{
|
|
|
770
770
|
fulfilledMeta?: unknown;
|
|
771
771
|
rejectedMeta?: unknown;
|
|
772
772
|
}>;
|
|
773
|
-
declare const removeRole: import("@reduxjs/toolkit").AsyncThunk<[{
|
|
773
|
+
export declare const removeRole: import("@reduxjs/toolkit").AsyncThunk<[{
|
|
774
774
|
payload: string;
|
|
775
775
|
type: "users/removedRole";
|
|
776
776
|
}, import("@reduxjs/toolkit").PayloadAction<unknown, string, {
|
|
@@ -803,7 +803,7 @@ declare const removeRole: import("@reduxjs/toolkit").AsyncThunk<[{
|
|
|
803
803
|
fulfilledMeta?: unknown;
|
|
804
804
|
rejectedMeta?: unknown;
|
|
805
805
|
}>;
|
|
806
|
-
declare const getGlobalSettings: import("@reduxjs/toolkit").AsyncThunk<{
|
|
806
|
+
export declare const getGlobalSettings: import("@reduxjs/toolkit").AsyncThunk<{
|
|
807
807
|
etag: any;
|
|
808
808
|
}, void, {
|
|
809
809
|
dispatch: AppDispatch;
|
|
@@ -815,7 +815,7 @@ declare const getGlobalSettings: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
815
815
|
fulfilledMeta?: unknown;
|
|
816
816
|
rejectedMeta?: unknown;
|
|
817
817
|
}>;
|
|
818
|
-
declare const saveGlobalSettings: import("@reduxjs/toolkit").AsyncThunk<unknown[] | undefined, Partial<GlobalSettings>, {
|
|
818
|
+
export declare const saveGlobalSettings: import("@reduxjs/toolkit").AsyncThunk<unknown[] | undefined, Partial<GlobalSettings>, {
|
|
819
819
|
dispatch: AppDispatch;
|
|
820
820
|
state: RootState;
|
|
821
821
|
extra?: unknown;
|
|
@@ -825,7 +825,7 @@ declare const saveGlobalSettings: import("@reduxjs/toolkit").AsyncThunk<unknown[
|
|
|
825
825
|
fulfilledMeta?: unknown;
|
|
826
826
|
rejectedMeta?: unknown;
|
|
827
827
|
}>;
|
|
828
|
-
declare const getUserSettings: import("@reduxjs/toolkit").AsyncThunk<{
|
|
828
|
+
export declare const getUserSettings: import("@reduxjs/toolkit").AsyncThunk<{
|
|
829
829
|
etag: any;
|
|
830
830
|
}, void, {
|
|
831
831
|
dispatch: AppDispatch;
|
|
@@ -837,7 +837,7 @@ declare const getUserSettings: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
837
837
|
fulfilledMeta?: unknown;
|
|
838
838
|
rejectedMeta?: unknown;
|
|
839
839
|
}>;
|
|
840
|
-
declare const saveUserSettings: import("@reduxjs/toolkit").AsyncThunk<unknown, Partial<UserSettings> | undefined, {
|
|
840
|
+
export declare const saveUserSettings: import("@reduxjs/toolkit").AsyncThunk<unknown, Partial<UserSettings> | undefined, {
|
|
841
841
|
dispatch: AppDispatch;
|
|
842
842
|
state: RootState;
|
|
843
843
|
extra?: unknown;
|
|
@@ -847,7 +847,7 @@ declare const saveUserSettings: import("@reduxjs/toolkit").AsyncThunk<unknown, P
|
|
|
847
847
|
fulfilledMeta?: unknown;
|
|
848
848
|
rejectedMeta?: unknown;
|
|
849
849
|
}>;
|
|
850
|
-
declare const get2FAQRCode: import("@reduxjs/toolkit").AsyncThunk<{
|
|
850
|
+
export declare const get2FAQRCode: import("@reduxjs/toolkit").AsyncThunk<{
|
|
851
851
|
payload: string | null;
|
|
852
852
|
type: "users/receivedQrCode";
|
|
853
853
|
}, void, {
|
|
@@ -860,7 +860,7 @@ declare const get2FAQRCode: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
860
860
|
fulfilledMeta?: unknown;
|
|
861
861
|
rejectedMeta?: unknown;
|
|
862
862
|
}>;
|
|
863
|
-
declare const setHideAnnouncement: import("@reduxjs/toolkit").AsyncThunk<void, {
|
|
863
|
+
export declare const setHideAnnouncement: import("@reduxjs/toolkit").AsyncThunk<void, {
|
|
864
864
|
shouldHide: boolean;
|
|
865
865
|
userId?: string;
|
|
866
866
|
}, {
|
|
@@ -873,7 +873,7 @@ declare const setHideAnnouncement: import("@reduxjs/toolkit").AsyncThunk<void, {
|
|
|
873
873
|
fulfilledMeta?: unknown;
|
|
874
874
|
rejectedMeta?: unknown;
|
|
875
875
|
}>;
|
|
876
|
-
declare const getTokens: import("@reduxjs/toolkit").AsyncThunk<{
|
|
876
|
+
export declare const getTokens: import("@reduxjs/toolkit").AsyncThunk<{
|
|
877
877
|
payload: Partial<User$1> & {
|
|
878
878
|
id: string;
|
|
879
879
|
};
|
|
@@ -888,7 +888,7 @@ declare const getTokens: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
888
888
|
fulfilledMeta?: unknown;
|
|
889
889
|
rejectedMeta?: unknown;
|
|
890
890
|
}>;
|
|
891
|
-
declare const generateToken: import("@reduxjs/toolkit").AsyncThunk<string, {
|
|
891
|
+
export declare const generateToken: import("@reduxjs/toolkit").AsyncThunk<string, {
|
|
892
892
|
expiresIn?: number;
|
|
893
893
|
name: string;
|
|
894
894
|
}, {
|
|
@@ -901,7 +901,7 @@ declare const generateToken: import("@reduxjs/toolkit").AsyncThunk<string, {
|
|
|
901
901
|
fulfilledMeta?: unknown;
|
|
902
902
|
rejectedMeta?: unknown;
|
|
903
903
|
}>;
|
|
904
|
-
declare const revokeToken: import("@reduxjs/toolkit").AsyncThunk<import("@reduxjs/toolkit").PayloadAction<unknown, string, {
|
|
904
|
+
export declare const revokeToken: import("@reduxjs/toolkit").AsyncThunk<import("@reduxjs/toolkit").PayloadAction<unknown, string, {
|
|
905
905
|
arg: void;
|
|
906
906
|
requestId: string;
|
|
907
907
|
requestStatus: "rejected";
|
|
@@ -930,7 +930,7 @@ declare const revokeToken: import("@reduxjs/toolkit").AsyncThunk<import("@reduxj
|
|
|
930
930
|
fulfilledMeta?: unknown;
|
|
931
931
|
rejectedMeta?: unknown;
|
|
932
932
|
}>;
|
|
933
|
-
declare const setTooltipReadState: import("@reduxjs/toolkit").AsyncThunk<void, {
|
|
933
|
+
export declare const setTooltipReadState: import("@reduxjs/toolkit").AsyncThunk<void, {
|
|
934
934
|
id: string;
|
|
935
935
|
persist: boolean;
|
|
936
936
|
readState: ReadState;
|
|
@@ -944,7 +944,7 @@ declare const setTooltipReadState: import("@reduxjs/toolkit").AsyncThunk<void, {
|
|
|
944
944
|
fulfilledMeta?: unknown;
|
|
945
945
|
rejectedMeta?: unknown;
|
|
946
946
|
}>;
|
|
947
|
-
declare const setAllTooltipsReadState: import("@reduxjs/toolkit").AsyncThunk<import("@reduxjs/toolkit").PayloadAction<unknown, string, {
|
|
947
|
+
export declare const setAllTooltipsReadState: import("@reduxjs/toolkit").AsyncThunk<import("@reduxjs/toolkit").PayloadAction<unknown, string, {
|
|
948
948
|
arg: Partial<UserSettings> | undefined;
|
|
949
949
|
requestId: string;
|
|
950
950
|
requestStatus: "fulfilled";
|
|
@@ -984,7 +984,7 @@ type SubmitFeedbackPayload = {
|
|
|
984
984
|
feedback: LogAnalysisFeedback | ProductFeedback;
|
|
985
985
|
formId: string;
|
|
986
986
|
};
|
|
987
|
-
declare const submitUserFeedback: import("@reduxjs/toolkit").AsyncThunk<void, SubmitFeedbackPayload, {
|
|
987
|
+
export declare const submitUserFeedback: import("@reduxjs/toolkit").AsyncThunk<void, SubmitFeedbackPayload, {
|
|
988
988
|
dispatch: AppDispatch;
|
|
989
989
|
state: RootState;
|
|
990
990
|
extra?: unknown;
|
|
@@ -995,5 +995,4 @@ declare const submitUserFeedback: import("@reduxjs/toolkit").AsyncThunk<void, Su
|
|
|
995
995
|
rejectedMeta?: unknown;
|
|
996
996
|
}>;
|
|
997
997
|
//#endregion
|
|
998
|
-
export { SubmittedRole, addUserToCurrentTenant, cancelEmailChange, checkEmailExists, completeEmailChange, confirmOAuthLink, createRole, createUser, createUserV2, disableUser2fa, editRole, editUser, enableUser2fa, generateToken, get2FAQRCode, getGlobalSettings, getPendingEmailChange, getPermissionSets, getRoles, getTokens, getUser, getUserList, getUserSettings, initializeSelf, initiateEmailChange, loginUser, logoutUser, normalizeRbacRoles, passwordResetComplete, passwordResetStart, removeRole, removeUser, revokeToken, saveGlobalSettings, saveUserSettings, setAllTooltipsReadState, setHideAnnouncement, setTooltipReadState, submitUserFeedback, switchUserOrganization, updateUserColumnSettings, verify2FA, verifyEmailComplete, verifyEmailStart };
|
|
999
998
|
//# sourceMappingURL=thunks.d.cts.map
|