intelica-library-components 1.1.63 → 1.1.65
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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { PipeTransform, TemplateRef, OnChanges, AfterContentInit, EventEmitter, QueryList, SimpleChanges, OnDestroy, OnInit, ElementRef, ChangeDetectorRef, AfterViewInit, AfterViewChecked, NgZone } from '@angular/core';
|
|
2
|
+
import { PipeTransform, TemplateRef, OnChanges, AfterContentInit, EventEmitter, QueryList, SimpleChanges, OnDestroy, OnInit, ElementRef, ChangeDetectorRef, AfterViewInit, AfterViewChecked, InjectionToken, NgZone } from '@angular/core';
|
|
3
3
|
import { HttpInterceptorFn, HttpClient } from '@angular/common/http';
|
|
4
4
|
import { CanActivateFn, CanActivateChild, ActivatedRouteSnapshot, RouterStateSnapshot } from '@angular/router';
|
|
5
5
|
import { FormGroup, ControlValueAccessor } from '@angular/forms';
|
|
@@ -1982,6 +1982,18 @@ interface AlertTypeConfig {
|
|
|
1982
1982
|
declare const ALERT_ICON_PATHS: {
|
|
1983
1983
|
error: string;
|
|
1984
1984
|
};
|
|
1985
|
+
/**
|
|
1986
|
+
* InjectionToken to override the default icon CSS class per alert type.
|
|
1987
|
+
* Provide a Partial<Record<AlertType, string>> to customize icons project-wide.
|
|
1988
|
+
*
|
|
1989
|
+
* Example (app.config.ts):
|
|
1990
|
+
* { provide: ALERT_ICON_OVERRIDES, useValue: {
|
|
1991
|
+
* [AlertType.SUCCESS]: 'icon icon-success',
|
|
1992
|
+
* [AlertType.WARNING]: 'icon icon-warning',
|
|
1993
|
+
* [AlertType.ERROR]: 'icon icon-alert',
|
|
1994
|
+
* }}
|
|
1995
|
+
*/
|
|
1996
|
+
declare const ALERT_ICON_OVERRIDES: InjectionToken<Partial<Record<AlertType, string>>>;
|
|
1985
1997
|
/**
|
|
1986
1998
|
* Centralized configuration for each alert type using PrimeNG icons.
|
|
1987
1999
|
*/
|
|
@@ -2191,6 +2203,7 @@ declare class SweetAlertService {
|
|
|
2191
2203
|
|
|
2192
2204
|
declare class AlertService {
|
|
2193
2205
|
private readonly confirmationService;
|
|
2206
|
+
private readonly iconOverrides;
|
|
2194
2207
|
private readonly DIALOG_KEY;
|
|
2195
2208
|
/**
|
|
2196
2209
|
* Displays a warning alert with yellow styling.
|
|
@@ -2642,20 +2655,20 @@ declare function GetCookieAttributes(environment: string): CookieAttributes;
|
|
|
2642
2655
|
|
|
2643
2656
|
declare const IntelicaTheme: _primeuix_themes_types.Preset<_primeuix_themes_aura_base.AuraBaseDesignTokens>;
|
|
2644
2657
|
|
|
2645
|
-
type
|
|
2646
|
-
type
|
|
2647
|
-
type
|
|
2648
|
-
type
|
|
2649
|
-
type
|
|
2650
|
-
type
|
|
2651
|
-
type
|
|
2652
|
-
type
|
|
2653
|
-
type
|
|
2654
|
-
type
|
|
2658
|
+
type JobStatusCatalog = "pending" | "running" | "completed" | "failed" | "cancelled";
|
|
2659
|
+
type OriginCatalog = "default" | "testing" | "security" | "alerts" | "filesharing";
|
|
2660
|
+
type BucketCatalog = "general" | "fee" | "security" | "alerts" | "filesharing";
|
|
2661
|
+
type NotificationTypeCatalog = "NTF" | "PRG" | "BRD" | "TEM" | "OPT";
|
|
2662
|
+
type PriorityCatalog = "low" | "normal" | "high" | "critical";
|
|
2663
|
+
type RecipientTypeCatalog = "user" | "contact" | "phone" | "device" | "topic";
|
|
2664
|
+
type ChannelCatalog = "email" | "sms" | "push" | "whatsapp" | "inapp";
|
|
2665
|
+
type DestinationTypeCatalog = "URL" | "NAV" | "GET" | "PUT" | "POST" | "PATCH" | "DELETE";
|
|
2666
|
+
type MethodTypeCatalog = "GET" | "PUT" | "POST" | "PATCH" | "DELETE";
|
|
2667
|
+
type ActionTypeCatalog = "nav" | "url" | "file" | "search" | "approve" | "reject";
|
|
2655
2668
|
|
|
2656
2669
|
interface JobState {
|
|
2657
2670
|
jobId?: string;
|
|
2658
|
-
status:
|
|
2671
|
+
status: JobStatusCatalog;
|
|
2659
2672
|
processedCount: number;
|
|
2660
2673
|
totalCount: number;
|
|
2661
2674
|
processedNotificationsCount: number;
|
|
@@ -2664,54 +2677,59 @@ interface JobState {
|
|
|
2664
2677
|
|
|
2665
2678
|
interface NotificationDraft {
|
|
2666
2679
|
originReference: string;
|
|
2667
|
-
notificationTypeCode:
|
|
2680
|
+
notificationTypeCode: NotificationTypeCatalog;
|
|
2668
2681
|
destination?: string | null;
|
|
2669
2682
|
destinationLabel?: string | null;
|
|
2670
|
-
bucketName?:
|
|
2683
|
+
bucketName?: BucketCatalog;
|
|
2671
2684
|
templateName?: string;
|
|
2672
2685
|
templateData?: string;
|
|
2673
|
-
priorityCode:
|
|
2686
|
+
priorityCode: PriorityCatalog;
|
|
2674
2687
|
title?: string;
|
|
2675
2688
|
body?: string;
|
|
2676
2689
|
metaData?: string;
|
|
2677
2690
|
recipients: Array<{
|
|
2678
|
-
recipientTypeCode:
|
|
2679
|
-
channelCode?:
|
|
2691
|
+
recipientTypeCode: RecipientTypeCatalog;
|
|
2692
|
+
channelCode?: ChannelCatalog;
|
|
2680
2693
|
userId?: string | null;
|
|
2681
2694
|
clientId?: string | null;
|
|
2682
2695
|
groupId?: string | null;
|
|
2683
2696
|
address?: string | null;
|
|
2697
|
+
ccAddress?: string | null;
|
|
2698
|
+
bccAddress?: string | null;
|
|
2699
|
+
fromAddress?: string | null;
|
|
2700
|
+
fromName?: string | null;
|
|
2684
2701
|
isRequiredForProcessed?: boolean | false;
|
|
2685
2702
|
isRequiredForCallback?: boolean | false;
|
|
2686
|
-
isRequiredAsUnread?: boolean |
|
|
2703
|
+
isRequiredAsUnread?: boolean | true;
|
|
2687
2704
|
}>;
|
|
2688
2705
|
actions?: Array<{
|
|
2689
2706
|
sortOrder: number;
|
|
2690
|
-
code:
|
|
2707
|
+
code: ActionTypeCatalog;
|
|
2691
2708
|
label: string;
|
|
2692
2709
|
metaData?: string;
|
|
2693
|
-
destinationType:
|
|
2710
|
+
destinationType: DestinationTypeCatalog;
|
|
2694
2711
|
destination: string;
|
|
2695
2712
|
destinationData?: string;
|
|
2696
|
-
markAsRead?: boolean |
|
|
2713
|
+
markAsRead?: boolean | true;
|
|
2697
2714
|
markAsHidden?: boolean | false;
|
|
2698
2715
|
}>;
|
|
2699
2716
|
attachments?: Array<{
|
|
2700
|
-
method:
|
|
2717
|
+
method: MethodTypeCatalog;
|
|
2701
2718
|
url: string;
|
|
2702
|
-
|
|
2719
|
+
headers?: Record<string, string> | null;
|
|
2720
|
+
payload?: string | null;
|
|
2703
2721
|
fileName?: string | null;
|
|
2704
2722
|
contentType?: string | null;
|
|
2705
2723
|
}>;
|
|
2706
2724
|
callbacks?: Array<{
|
|
2707
2725
|
code: string;
|
|
2726
|
+
method: MethodTypeCatalog;
|
|
2708
2727
|
url: string;
|
|
2709
|
-
method: MethodTypeCode;
|
|
2710
|
-
payload?: any;
|
|
2711
|
-
triggerOnSent: boolean;
|
|
2712
|
-
triggerOnFailed: boolean;
|
|
2713
|
-
triggerOnPartial: boolean;
|
|
2714
2728
|
headers?: Record<string, string> | null;
|
|
2729
|
+
payload?: any;
|
|
2730
|
+
triggerOnSent: boolean | false;
|
|
2731
|
+
triggerOnFailed: boolean | false;
|
|
2732
|
+
triggerOnPartial: boolean | false;
|
|
2715
2733
|
timeoutSeconds?: number;
|
|
2716
2734
|
maxRetries?: number;
|
|
2717
2735
|
}>;
|
|
@@ -2720,7 +2738,7 @@ interface NotificationDraft {
|
|
|
2720
2738
|
interface UserNotificationAction {
|
|
2721
2739
|
sortOrder: string;
|
|
2722
2740
|
actionId: number;
|
|
2723
|
-
code:
|
|
2741
|
+
code: ActionTypeCatalog;
|
|
2724
2742
|
label: string;
|
|
2725
2743
|
metaData?: string | null;
|
|
2726
2744
|
destinationType: string;
|
|
@@ -2765,7 +2783,7 @@ interface UserNotificationInboxItem {
|
|
|
2765
2783
|
interface RecipientNotificationAction {
|
|
2766
2784
|
sortOrder: string;
|
|
2767
2785
|
actionId: number;
|
|
2768
|
-
code:
|
|
2786
|
+
code: ActionTypeCatalog;
|
|
2769
2787
|
label: string;
|
|
2770
2788
|
metaData?: string | null;
|
|
2771
2789
|
destinationType: string;
|
|
@@ -2810,7 +2828,7 @@ interface RecipientNotification {
|
|
|
2810
2828
|
interface RecipientProgressNotificationAction {
|
|
2811
2829
|
sortOrder: string;
|
|
2812
2830
|
actionId: number;
|
|
2813
|
-
code:
|
|
2831
|
+
code: ActionTypeCatalog;
|
|
2814
2832
|
label: string;
|
|
2815
2833
|
metaData?: string | null;
|
|
2816
2834
|
destinationType: string;
|
|
@@ -2871,61 +2889,66 @@ interface CallbackExecutionResult {
|
|
|
2871
2889
|
|
|
2872
2890
|
interface CreateNotificationJobRequest {
|
|
2873
2891
|
featureCode: string;
|
|
2874
|
-
origin:
|
|
2892
|
+
origin: OriginCatalog;
|
|
2875
2893
|
totalCount: number;
|
|
2876
2894
|
totalNotificationsCount: number;
|
|
2877
2895
|
notifications?: CreateNotificationsForJobRequest[] | null;
|
|
2878
2896
|
}
|
|
2879
2897
|
interface CreateNotificationsForJobRequest {
|
|
2880
2898
|
originReference: string;
|
|
2881
|
-
notificationTypeCode:
|
|
2899
|
+
notificationTypeCode: NotificationTypeCatalog;
|
|
2882
2900
|
destination?: string | null;
|
|
2883
2901
|
destinationLabel?: string | null;
|
|
2884
|
-
bucketName?:
|
|
2902
|
+
bucketName?: BucketCatalog;
|
|
2885
2903
|
templateName?: string;
|
|
2886
2904
|
templateData?: string;
|
|
2887
|
-
priorityCode:
|
|
2905
|
+
priorityCode: PriorityCatalog;
|
|
2888
2906
|
title?: string;
|
|
2889
2907
|
body?: string;
|
|
2890
2908
|
metaData?: string;
|
|
2891
2909
|
recipients: Array<{
|
|
2892
|
-
recipientTypeCode:
|
|
2893
|
-
channelCode?:
|
|
2910
|
+
recipientTypeCode: RecipientTypeCatalog;
|
|
2911
|
+
channelCode?: ChannelCatalog;
|
|
2894
2912
|
userId?: string | null;
|
|
2895
2913
|
clientId?: string | null;
|
|
2896
2914
|
groupId?: string | null;
|
|
2897
2915
|
address?: string | null;
|
|
2916
|
+
ccAddress?: string | null;
|
|
2917
|
+
bccAddress?: string | null;
|
|
2918
|
+
fromAddress?: string | null;
|
|
2919
|
+
fromName?: string | null;
|
|
2898
2920
|
isRequiredForProcessed?: boolean | false;
|
|
2899
2921
|
isRequiredForCallback?: boolean | false;
|
|
2900
|
-
isRequiredAsUnread?: boolean |
|
|
2922
|
+
isRequiredAsUnread?: boolean | true;
|
|
2901
2923
|
}>;
|
|
2902
2924
|
actions?: Array<{
|
|
2903
2925
|
sortOrder: number;
|
|
2904
|
-
code:
|
|
2926
|
+
code: ActionTypeCatalog;
|
|
2905
2927
|
label: string;
|
|
2906
2928
|
metaData?: string;
|
|
2907
|
-
destinationType:
|
|
2929
|
+
destinationType: DestinationTypeCatalog;
|
|
2908
2930
|
destination: string;
|
|
2909
2931
|
destinationData?: string;
|
|
2910
|
-
markAsRead?: boolean |
|
|
2932
|
+
markAsRead?: boolean | true;
|
|
2911
2933
|
markAsHidden?: boolean | false;
|
|
2912
2934
|
}>;
|
|
2913
2935
|
attachments?: Array<{
|
|
2914
|
-
method:
|
|
2936
|
+
method: MethodTypeCatalog;
|
|
2915
2937
|
url: string;
|
|
2916
|
-
|
|
2938
|
+
headers?: Record<string, string> | null;
|
|
2939
|
+
payload?: string | null;
|
|
2917
2940
|
fileName?: string | null;
|
|
2918
2941
|
contentType?: string | null;
|
|
2919
2942
|
}>;
|
|
2920
2943
|
callbacks?: Array<{
|
|
2921
2944
|
code: string;
|
|
2945
|
+
method: MethodTypeCatalog;
|
|
2922
2946
|
url: string;
|
|
2923
|
-
method: MethodTypeCode;
|
|
2924
|
-
payload?: any;
|
|
2925
|
-
triggerOnSent: boolean;
|
|
2926
|
-
triggerOnFailed: boolean;
|
|
2927
|
-
triggerOnPartial: boolean;
|
|
2928
2947
|
headers?: Record<string, string> | null;
|
|
2948
|
+
payload?: any;
|
|
2949
|
+
triggerOnSent: boolean | false;
|
|
2950
|
+
triggerOnFailed: boolean | false;
|
|
2951
|
+
triggerOnPartial: boolean | false;
|
|
2929
2952
|
timeoutSeconds?: number;
|
|
2930
2953
|
maxRetries?: number;
|
|
2931
2954
|
}>;
|
|
@@ -3122,14 +3145,14 @@ declare class NotificationOrchestratorService {
|
|
|
3122
3145
|
watchJobProgress(jobId: string): Promise<Observable<RecipientProgressNotification>>;
|
|
3123
3146
|
unwatchJobProgress(jobId: string): Promise<void>;
|
|
3124
3147
|
jobProgress$(jobId: string): Observable<RecipientProgressNotification>;
|
|
3125
|
-
rehydrateScope(origin:
|
|
3148
|
+
rehydrateScope(origin: OriginCatalog, featureCode: string): Promise<void>;
|
|
3126
3149
|
getCurrentJobId(): string | undefined;
|
|
3127
3150
|
getJobStateSnapshot(): JobState;
|
|
3128
3151
|
ensureActiveOrCreateJobNotifications(notificationDraft: NotificationDraft[]): Promise<{
|
|
3129
3152
|
jobId: string;
|
|
3130
3153
|
mode: "active" | "created";
|
|
3131
3154
|
}>;
|
|
3132
|
-
ensureCreateJobNotifications(origin:
|
|
3155
|
+
ensureCreateJobNotifications(origin: OriginCatalog, featureCode: string, notificationDraft: NotificationDraft[]): Promise<void>;
|
|
3133
3156
|
markAsRead(recipientId: string): Promise<NotificationRecipientSummaryResponse>;
|
|
3134
3157
|
markAsHidden(recipientId: string): Promise<NotificationRecipientSummaryResponse>;
|
|
3135
3158
|
getNotificacionsByUser(userId: string): Promise<UserNotificationInboxItem[]>;
|
|
@@ -3144,5 +3167,5 @@ declare class NotificationOrchestratorService {
|
|
|
3144
3167
|
static ɵprov: i0.ɵɵInjectableDeclaration<NotificationOrchestratorService>;
|
|
3145
3168
|
}
|
|
3146
3169
|
|
|
3147
|
-
export { ALERT_DEFAULTS, ALERT_ICON_PATHS, ALERT_TYPE_CONFIG, ActionDirective, ActionsMenuComponent, AddFavoritesComponent, AlertButtonMode, AlertService, AlertType, ButtonSplitComponent, CheckboxFilterDirective, ClientContextSelector, Color, ColumnComponent, ColumnGroupComponent, CompareByField, ConfigService, CookieAttributesGeneral, DATEPICKER_BUTTON_TYPES, DataDirective, DateFilterDirective, DateModeOptions, DatepickerComponent, DynamicInputValidation, EchartComponent, EchartService, ElementService, EmailInputValidation, ErrorInterceptor, FeatureFlagService, FilterChipsComponent, FiltersComponent, FormatAmountPipe, GetCookieAttributes, GlobalFavoriteService, GlobalFeatureFlagService, GlobalMenuService, GlobalTermService, HtmlToExcelService, InitializeConfigService, InputValidation, IntelicaAlertComponent, IntelicaCellCheckboxDirective, IntelicaSessionService, IntelicaTheme, ItemSplitDirective, LanguageService, MatrixColumnComponent, MatrixColumnGroupComponent, MatrixTableComponent, ModalDialogComponent, MultiSelectComponent, NotificationJobService, NotificationOrchestratorService, NotificationService, NotificationSignalRService, OrderConstants, PageInformation, PageRootChildGuard, PaginatorComponent, Patterns, PopoverComponent, ProfileService, RecordPerPageComponent, RefreshTokenInterceptor, RequestCacheService, ResponseHeadersInterceptor, RouteGuard, RowResumenComponent, RowResumenTreeComponent, SearchComponent, SelectDetailFilterDirective, SelectFilterDirective, SharedService, SkeletonChartComponent, SkeletonComponent, SkeletonService, SkeletonTableComponent, SortingComponent, SpinnerComponent, SpinnerService, SweetAlertService, TableComponent, TableFetchComponent, TableSortOrder, TemplateDirective, TemplateMenuComponent, TermGuard, TermPipe, TermService, TextAreaFilterDirective, TextFilterDirective, TextRangeFilterDirective, TreeColumnComponent, TreeColumnGroupComponent, TreeTableComponent, TruncatePipe, decryptData, encryptData, getColor };
|
|
3148
|
-
export type {
|
|
3170
|
+
export { ALERT_DEFAULTS, ALERT_ICON_OVERRIDES, ALERT_ICON_PATHS, ALERT_TYPE_CONFIG, ActionDirective, ActionsMenuComponent, AddFavoritesComponent, AlertButtonMode, AlertService, AlertType, ButtonSplitComponent, CheckboxFilterDirective, ClientContextSelector, Color, ColumnComponent, ColumnGroupComponent, CompareByField, ConfigService, CookieAttributesGeneral, DATEPICKER_BUTTON_TYPES, DataDirective, DateFilterDirective, DateModeOptions, DatepickerComponent, DynamicInputValidation, EchartComponent, EchartService, ElementService, EmailInputValidation, ErrorInterceptor, FeatureFlagService, FilterChipsComponent, FiltersComponent, FormatAmountPipe, GetCookieAttributes, GlobalFavoriteService, GlobalFeatureFlagService, GlobalMenuService, GlobalTermService, HtmlToExcelService, InitializeConfigService, InputValidation, IntelicaAlertComponent, IntelicaCellCheckboxDirective, IntelicaSessionService, IntelicaTheme, ItemSplitDirective, LanguageService, MatrixColumnComponent, MatrixColumnGroupComponent, MatrixTableComponent, ModalDialogComponent, MultiSelectComponent, NotificationJobService, NotificationOrchestratorService, NotificationService, NotificationSignalRService, OrderConstants, PageInformation, PageRootChildGuard, PaginatorComponent, Patterns, PopoverComponent, ProfileService, RecordPerPageComponent, RefreshTokenInterceptor, RequestCacheService, ResponseHeadersInterceptor, RouteGuard, RowResumenComponent, RowResumenTreeComponent, SearchComponent, SelectDetailFilterDirective, SelectFilterDirective, SharedService, SkeletonChartComponent, SkeletonComponent, SkeletonService, SkeletonTableComponent, SortingComponent, SpinnerComponent, SpinnerService, SweetAlertService, TableComponent, TableFetchComponent, TableSortOrder, TemplateDirective, TemplateMenuComponent, TermGuard, TermPipe, TermService, TextAreaFilterDirective, TextFilterDirective, TextRangeFilterDirective, TreeColumnComponent, TreeColumnGroupComponent, TreeTableComponent, TruncatePipe, decryptData, encryptData, getColor };
|
|
3171
|
+
export type { ActionTypeCatalog, AlertButtonConfig, AlertConfig, AlertResult, AlertStyleConfig, AlertTypeConfig, BucketCatalog, CallbackExecutionResult, CascadeFilterModel, ChannelCatalog, ColorName, ContextSelectorClientDto, ContextSelectorCountryDto, ContextSelectorRegionDto, ContextSelectorSelectionDto, CookieAttributes, CreateNotificationJobRequest, CreateNotificationsForJobRequest, CustomButtonType, DateMode, DestinationTypeCatalog, ExportExcelCommand, FilterModel, ICell, IExcelColumnName, IExcelHeaderGroup, IFilter, ItlSessionEnvelope, ItlSessionScope, JobState, JobStatusCatalog, MethodTypeCatalog, NotificationByJobItemResponse, NotificationDraft, NotificationJobProgressResponse, NotificationJobResponse, NotificationRecipientSummaryResponse, NotificationResponse, NotificationTypeCatalog, OriginCatalog, PopoverInformationModel, PriorityCatalog, ProductEventDetail, PropertiesModel, QueryParametersModel, RecipientDispatchError, RecipientNotification, RecipientNotificationAction, RecipientProgressNotification, RecipientProgressNotificationAction, RecipientTypeCatalog, SearchFieldModel, SearchInputModel, SortFieldModel, UserNotificationAction, UserNotificationInboxItem };
|