@northern.tech/store 0.46.3 → 0.46.5

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.
@@ -167,7 +167,17 @@ export declare const cancelEmailChange: import("@reduxjs/toolkit").AsyncThunk<im
167
167
  fulfilledMeta?: unknown;
168
168
  rejectedMeta?: unknown;
169
169
  }>;
170
- export 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 @@ export declare const verify2FA: import("@reduxjs/toolkit").AsyncThunk<import("@r
211
221
  arg: string;
212
222
  requestId: string;
213
223
  requestStatus: "fulfilled";
214
- }, never> | import("@reduxjs/toolkit").PayloadAction<unknown, string, {
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;
@@ -296,7 +296,17 @@ export declare const getUser: import("@reduxjs/toolkit").AsyncThunk<[{
296
296
  fulfilledMeta?: unknown;
297
297
  rejectedMeta?: unknown;
298
298
  }>;
299
- export 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 @@ export declare const initializeSelf: import("@reduxjs/toolkit").AsyncThunk<impor
340
350
  arg: string;
341
351
  requestId: string;
342
352
  requestStatus: "fulfilled";
343
- }, never> | import("@reduxjs/toolkit").PayloadAction<unknown, string, {
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;
@@ -383,14 +383,7 @@ interface CreateUserPayload {
383
383
  shouldResetPassword?: boolean;
384
384
  sso?: boolean;
385
385
  }
386
- export 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 @@ export declare const createUser: import("@reduxjs/toolkit").AsyncThunk<[import("
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
- export 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 @@ export declare const createUserV2: import("@reduxjs/toolkit").AsyncThunk<[import
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, {
@@ -450,14 +450,7 @@ export declare const createUserV2: import("@reduxjs/toolkit").AsyncThunk<[import
450
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 @@ export 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, {
@@ -518,14 +518,7 @@ export declare const checkEmailExists: import("@reduxjs/toolkit").AsyncThunk<boo
518
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 @@ export declare const addUserToCurrentTenant: import("@reduxjs/toolkit").AsyncThu
535
528
  rejectedWithValue: true;
536
529
  } | ({
537
530
  rejectedWithValue: false;
538
- } & {})), import("@reduxjs/toolkit").SerializedError>], string, {
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 @@ export declare const addUserToCurrentTenant: import("@reduxjs/toolkit").AsyncThu
545
545
  fulfilledMeta?: unknown;
546
546
  rejectedMeta?: unknown;
547
547
  }>;
548
- export 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 @@ export declare const enableUser2fa: import("@reduxjs/toolkit").AsyncThunk<import
589
599
  arg: string;
590
600
  requestId: string;
591
601
  requestStatus: "fulfilled";
592
- }, never> | import("@reduxjs/toolkit").PayloadAction<unknown, string, {
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 @@ export declare const enableUser2fa: import("@reduxjs/toolkit").AsyncThunk<import
609
609
  fulfilledMeta?: unknown;
610
610
  rejectedMeta?: unknown;
611
611
  }>;
612
- export 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 @@ export declare const disableUser2fa: import("@reduxjs/toolkit").AsyncThunk<[impo
653
663
  arg: string;
654
664
  requestId: string;
655
665
  requestStatus: "fulfilled";
656
- }, never> | import("@reduxjs/toolkit").PayloadAction<unknown, string, {
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, {
@@ -167,7 +167,17 @@ export declare const cancelEmailChange: import("@reduxjs/toolkit").AsyncThunk<im
167
167
  fulfilledMeta?: unknown;
168
168
  rejectedMeta?: unknown;
169
169
  }>;
170
- export 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 @@ export declare const verify2FA: import("@reduxjs/toolkit").AsyncThunk<import("@r
211
221
  arg: string;
212
222
  requestId: string;
213
223
  requestStatus: "fulfilled";
214
- }, never> | import("@reduxjs/toolkit").PayloadAction<unknown, string, {
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;
@@ -296,7 +296,17 @@ export declare const getUser: import("@reduxjs/toolkit").AsyncThunk<[{
296
296
  fulfilledMeta?: unknown;
297
297
  rejectedMeta?: unknown;
298
298
  }>;
299
- export 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 @@ export declare const initializeSelf: import("@reduxjs/toolkit").AsyncThunk<impor
340
350
  arg: string;
341
351
  requestId: string;
342
352
  requestStatus: "fulfilled";
343
- }, never> | import("@reduxjs/toolkit").PayloadAction<unknown, string, {
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;
@@ -383,14 +383,7 @@ interface CreateUserPayload {
383
383
  shouldResetPassword?: boolean;
384
384
  sso?: boolean;
385
385
  }
386
- export 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 @@ export declare const createUser: import("@reduxjs/toolkit").AsyncThunk<[import("
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
- export 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 @@ export declare const createUserV2: import("@reduxjs/toolkit").AsyncThunk<[import
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, {
@@ -450,14 +450,7 @@ export declare const createUserV2: import("@reduxjs/toolkit").AsyncThunk<[import
450
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 @@ export 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, {
@@ -518,14 +518,7 @@ export declare const checkEmailExists: import("@reduxjs/toolkit").AsyncThunk<boo
518
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 @@ export declare const addUserToCurrentTenant: import("@reduxjs/toolkit").AsyncThu
535
528
  rejectedWithValue: true;
536
529
  } | ({
537
530
  rejectedWithValue: false;
538
- } & {})), import("@reduxjs/toolkit").SerializedError>], string, {
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 @@ export declare const addUserToCurrentTenant: import("@reduxjs/toolkit").AsyncThu
545
545
  fulfilledMeta?: unknown;
546
546
  rejectedMeta?: unknown;
547
547
  }>;
548
- export 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 @@ export declare const enableUser2fa: import("@reduxjs/toolkit").AsyncThunk<import
589
599
  arg: string;
590
600
  requestId: string;
591
601
  requestStatus: "fulfilled";
592
- }, never> | import("@reduxjs/toolkit").PayloadAction<unknown, string, {
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 @@ export declare const enableUser2fa: import("@reduxjs/toolkit").AsyncThunk<import
609
609
  fulfilledMeta?: unknown;
610
610
  rejectedMeta?: unknown;
611
611
  }>;
612
- export 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 @@ export declare const disableUser2fa: import("@reduxjs/toolkit").AsyncThunk<[impo
653
663
  arg: string;
654
664
  requestId: string;
655
665
  requestStatus: "fulfilled";
656
- }, never> | import("@reduxjs/toolkit").PayloadAction<unknown, string, {
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, {
package/dist/utils.cjs CHANGED
@@ -54,11 +54,8 @@ const convertDeviceListStateToFilters = ({ filters = [], group, groups = { byId:
54
54
  operator: _northern_tech_utils_constants.DEVICE_FILTERING_OPTIONS.$eq.key,
55
55
  scope: "system"
56
56
  });
57
- const nonMonitorFilters = applicableFilters.filter((filter) => !Object.values(_northern_tech_utils_constants.DEVICE_ISSUE_OPTIONS).some(({ filterRule }) => {
58
- const { key = "", scope = "" } = filterRule;
59
- return filter.scope !== "inventory" && scope === filter.scope && key === filter.key;
60
- }));
61
57
  const deviceIssueFilters = convertIssueOptionsToFilters(selectedIssues, { offlineThreshold });
58
+ const nonMonitorFilters = applicableFilters.filter((filter) => !deviceIssueFilters.some((issueFilter) => filterCompare(issueFilter, filter)));
62
59
  applicableFilters = [...nonMonitorFilters, ...deviceIssueFilters];
63
60
  const effectiveFilters = status ? [...applicableFilters, {
64
61
  key: "status",