intelica-library-components 1.1.39 → 1.1.41

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/index.d.ts CHANGED
@@ -2512,6 +2512,7 @@ interface JobState {
2512
2512
  }
2513
2513
 
2514
2514
  interface NotificationDraft {
2515
+ origin: string;
2515
2516
  originReference: string;
2516
2517
  notificationTypeCode: string;
2517
2518
  destination?: string | null;
@@ -2532,15 +2533,18 @@ interface NotificationDraft {
2532
2533
  address?: string | null;
2533
2534
  isRequiredForProcessed?: boolean | false;
2534
2535
  isRequiredForCallback?: boolean | false;
2536
+ isRequiredAsUnread?: boolean | false;
2535
2537
  }>;
2536
2538
  actions?: Array<{
2539
+ sortOrder: number;
2537
2540
  code: string;
2538
2541
  label: string;
2539
2542
  metaData?: string;
2540
2543
  destinationType: string;
2541
2544
  destination: string;
2542
2545
  destinationData?: string;
2543
- sortOrder: number;
2546
+ markAsRead?: boolean | false;
2547
+ markAsHidden?: boolean | false;
2544
2548
  }>;
2545
2549
  callbacks?: Array<{
2546
2550
  code: string;
@@ -2557,6 +2561,7 @@ interface NotificationDraft {
2557
2561
  }
2558
2562
 
2559
2563
  interface UserNotificationAction {
2564
+ sortOrder: string;
2560
2565
  actionId: number;
2561
2566
  code: string;
2562
2567
  label: string;
@@ -2564,7 +2569,8 @@ interface UserNotificationAction {
2564
2569
  destinationType: string;
2565
2570
  destination: string;
2566
2571
  destinationData?: string | null;
2567
- sortOrder: string;
2572
+ markAsRead: boolean;
2573
+ markAsHidden: boolean;
2568
2574
  }
2569
2575
  interface UserNotificationInboxItem {
2570
2576
  recipientId: string;
@@ -2579,8 +2585,11 @@ interface UserNotificationInboxItem {
2579
2585
  metaData: string | null;
2580
2586
  address: string | null;
2581
2587
  statusCode: string;
2588
+ isRequiredAsUnread: boolean;
2582
2589
  isRead: boolean;
2583
2590
  readAt?: string | null;
2591
+ isHidden: boolean;
2592
+ hiddenAt?: string | null;
2584
2593
  createdAt: string;
2585
2594
  attempts: number;
2586
2595
  lastAttemptAt: string;
@@ -2597,6 +2606,7 @@ interface UserNotificationInboxItem {
2597
2606
  }
2598
2607
 
2599
2608
  interface RecipientNotificationAction {
2609
+ sortOrder: string;
2600
2610
  actionId: number;
2601
2611
  code: string;
2602
2612
  label: string;
@@ -2604,7 +2614,8 @@ interface RecipientNotificationAction {
2604
2614
  destinationType: string;
2605
2615
  destination: string;
2606
2616
  destinationData?: string | null;
2607
- sortOrder: string;
2617
+ markAsRead: boolean;
2618
+ markAsHidden: boolean;
2608
2619
  }
2609
2620
  interface RecipientNotification {
2610
2621
  recipientId: string;
@@ -2619,8 +2630,11 @@ interface RecipientNotification {
2619
2630
  metaData?: string | null;
2620
2631
  address: string | null;
2621
2632
  statusCode: string;
2633
+ isRequiredAsUnread: boolean;
2622
2634
  isRead: boolean;
2635
+ isHidden: boolean;
2623
2636
  readAt?: string | null;
2637
+ hiddenAt?: string | null;
2624
2638
  createdAt: string;
2625
2639
  attempts: number;
2626
2640
  lastAttemptAt: string;
@@ -2637,6 +2651,7 @@ interface RecipientNotification {
2637
2651
  }
2638
2652
 
2639
2653
  interface RecipientProgressNotificationAction {
2654
+ sortOrder: string;
2640
2655
  actionId: number;
2641
2656
  code: string;
2642
2657
  label: string;
@@ -2644,7 +2659,8 @@ interface RecipientProgressNotificationAction {
2644
2659
  destinationType: string;
2645
2660
  destination: string;
2646
2661
  destinationData?: string | null;
2647
- sortOrder: string;
2662
+ markAsRead: boolean;
2663
+ markAsHidden: boolean;
2648
2664
  }
2649
2665
  interface RecipientProgressNotification {
2650
2666
  recipientId: string;
@@ -2659,8 +2675,11 @@ interface RecipientProgressNotification {
2659
2675
  metaData?: string | null;
2660
2676
  address: string | null;
2661
2677
  statusCode: string;
2678
+ isRequiredAsUnread: boolean;
2662
2679
  isRead: boolean;
2680
+ isHidden: boolean;
2663
2681
  readAt?: string | null;
2682
+ hiddenAt?: string | null;
2664
2683
  createdAt: string;
2665
2684
  attempts: number;
2666
2685
  lastAttemptAt: string;
@@ -2701,6 +2720,7 @@ interface CreateNotificationJobRequest {
2701
2720
  notifications?: CreateNotificationsForJobRequest[] | null;
2702
2721
  }
2703
2722
  interface CreateNotificationsForJobRequest {
2723
+ origin: string;
2704
2724
  originReference: string;
2705
2725
  notificationTypeCode: string;
2706
2726
  destination?: string | null;
@@ -2721,15 +2741,18 @@ interface CreateNotificationsForJobRequest {
2721
2741
  address?: string | null;
2722
2742
  isRequiredForProcessed?: boolean | false;
2723
2743
  isRequiredForCallback?: boolean | false;
2744
+ isRequiredAsUnread?: boolean | false;
2724
2745
  }>;
2725
2746
  actions?: Array<{
2747
+ sortOrder: number;
2726
2748
  code: string;
2727
2749
  label: string;
2728
2750
  metaData?: string;
2729
2751
  destinationType: string;
2730
2752
  destination: string;
2731
2753
  destinationData?: string;
2732
- sortOrder: number;
2754
+ markAsRead?: boolean | false;
2755
+ markAsHidden?: boolean | false;
2733
2756
  }>;
2734
2757
  callbacks?: Array<{
2735
2758
  code: string;
@@ -2838,6 +2861,7 @@ declare class NotificationService {
2838
2861
  constructor(http: HttpClient);
2839
2862
  getNotificacionsByUser(userId: string): Observable<UserNotificationInboxItem[]>;
2840
2863
  markAsRead(recipientId: string): Observable<NotificationRecipientSummaryResponse>;
2864
+ markAsHidden(recipientId: string): Observable<NotificationRecipientSummaryResponse>;
2841
2865
  static ɵfac: i0.ɵɵFactoryDeclaration<NotificationService, never>;
2842
2866
  static ɵprov: i0.ɵɵInjectableDeclaration<NotificationService>;
2843
2867
  }
@@ -2941,6 +2965,7 @@ declare class NotificationOrchestratorService {
2941
2965
  }>;
2942
2966
  ensureCreateJobNotifications(featureCode: string, origin: string, totalCount: number, totalNotificationsCount: number, notificationDraft: NotificationDraft[]): Promise<void>;
2943
2967
  markAsRead(recipientId: string): Promise<NotificationRecipientSummaryResponse>;
2968
+ markAsHidden(recipientId: string): Promise<NotificationRecipientSummaryResponse>;
2944
2969
  getNotificacionsByUser(userId: string): Promise<UserNotificationInboxItem[]>;
2945
2970
  resetLocal(): void;
2946
2971
  private rehydrateActiveJobInternal;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "intelica-library-components",
3
- "version": "1.1.39",
3
+ "version": "1.1.41",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^20.3.0",
6
6
  "@angular/core": "^20.3.0",