intelica-library-components 1.1.63 → 1.1.64
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
|
@@ -2642,20 +2642,20 @@ declare function GetCookieAttributes(environment: string): CookieAttributes;
|
|
|
2642
2642
|
|
|
2643
2643
|
declare const IntelicaTheme: _primeuix_themes_types.Preset<_primeuix_themes_aura_base.AuraBaseDesignTokens>;
|
|
2644
2644
|
|
|
2645
|
-
type
|
|
2646
|
-
type
|
|
2647
|
-
type
|
|
2648
|
-
type
|
|
2649
|
-
type
|
|
2650
|
-
type
|
|
2651
|
-
type
|
|
2652
|
-
type
|
|
2653
|
-
type
|
|
2654
|
-
type
|
|
2645
|
+
type JobStatusCatalog = "pending" | "running" | "completed" | "failed" | "cancelled";
|
|
2646
|
+
type OriginCatalog = "default" | "testing" | "security" | "alerts" | "filesharing";
|
|
2647
|
+
type BucketCatalog = "general" | "fee" | "security" | "alerts" | "filesharing";
|
|
2648
|
+
type NotificationTypeCatalog = "NTF" | "PRG" | "BRD" | "TEM" | "OPT";
|
|
2649
|
+
type PriorityCatalog = "low" | "normal" | "high" | "critical";
|
|
2650
|
+
type RecipientTypeCatalog = "user" | "contact" | "phone" | "device" | "topic";
|
|
2651
|
+
type ChannelCatalog = "email" | "sms" | "push" | "whatsapp" | "inapp";
|
|
2652
|
+
type DestinationTypeCatalog = "URL" | "NAV" | "GET" | "PUT" | "POST" | "PATCH" | "DELETE";
|
|
2653
|
+
type MethodTypeCatalog = "GET" | "PUT" | "POST" | "PATCH" | "DELETE";
|
|
2654
|
+
type ActionTypeCatalog = "nav" | "url" | "file" | "search" | "approve" | "reject";
|
|
2655
2655
|
|
|
2656
2656
|
interface JobState {
|
|
2657
2657
|
jobId?: string;
|
|
2658
|
-
status:
|
|
2658
|
+
status: JobStatusCatalog;
|
|
2659
2659
|
processedCount: number;
|
|
2660
2660
|
totalCount: number;
|
|
2661
2661
|
processedNotificationsCount: number;
|
|
@@ -2664,54 +2664,59 @@ interface JobState {
|
|
|
2664
2664
|
|
|
2665
2665
|
interface NotificationDraft {
|
|
2666
2666
|
originReference: string;
|
|
2667
|
-
notificationTypeCode:
|
|
2667
|
+
notificationTypeCode: NotificationTypeCatalog;
|
|
2668
2668
|
destination?: string | null;
|
|
2669
2669
|
destinationLabel?: string | null;
|
|
2670
|
-
bucketName?:
|
|
2670
|
+
bucketName?: BucketCatalog;
|
|
2671
2671
|
templateName?: string;
|
|
2672
2672
|
templateData?: string;
|
|
2673
|
-
priorityCode:
|
|
2673
|
+
priorityCode: PriorityCatalog;
|
|
2674
2674
|
title?: string;
|
|
2675
2675
|
body?: string;
|
|
2676
2676
|
metaData?: string;
|
|
2677
2677
|
recipients: Array<{
|
|
2678
|
-
recipientTypeCode:
|
|
2679
|
-
channelCode?:
|
|
2678
|
+
recipientTypeCode: RecipientTypeCatalog;
|
|
2679
|
+
channelCode?: ChannelCatalog;
|
|
2680
2680
|
userId?: string | null;
|
|
2681
2681
|
clientId?: string | null;
|
|
2682
2682
|
groupId?: string | null;
|
|
2683
2683
|
address?: string | null;
|
|
2684
|
+
ccAddress?: string | null;
|
|
2685
|
+
bccAddress?: string | null;
|
|
2686
|
+
fromAddress?: string | null;
|
|
2687
|
+
fromName?: string | null;
|
|
2684
2688
|
isRequiredForProcessed?: boolean | false;
|
|
2685
2689
|
isRequiredForCallback?: boolean | false;
|
|
2686
|
-
isRequiredAsUnread?: boolean |
|
|
2690
|
+
isRequiredAsUnread?: boolean | true;
|
|
2687
2691
|
}>;
|
|
2688
2692
|
actions?: Array<{
|
|
2689
2693
|
sortOrder: number;
|
|
2690
|
-
code:
|
|
2694
|
+
code: ActionTypeCatalog;
|
|
2691
2695
|
label: string;
|
|
2692
2696
|
metaData?: string;
|
|
2693
|
-
destinationType:
|
|
2697
|
+
destinationType: DestinationTypeCatalog;
|
|
2694
2698
|
destination: string;
|
|
2695
2699
|
destinationData?: string;
|
|
2696
|
-
markAsRead?: boolean |
|
|
2700
|
+
markAsRead?: boolean | true;
|
|
2697
2701
|
markAsHidden?: boolean | false;
|
|
2698
2702
|
}>;
|
|
2699
2703
|
attachments?: Array<{
|
|
2700
|
-
method:
|
|
2704
|
+
method: MethodTypeCatalog;
|
|
2701
2705
|
url: string;
|
|
2702
|
-
|
|
2706
|
+
headers?: Record<string, string> | null;
|
|
2707
|
+
payload?: string | null;
|
|
2703
2708
|
fileName?: string | null;
|
|
2704
2709
|
contentType?: string | null;
|
|
2705
2710
|
}>;
|
|
2706
2711
|
callbacks?: Array<{
|
|
2707
2712
|
code: string;
|
|
2713
|
+
method: MethodTypeCatalog;
|
|
2708
2714
|
url: string;
|
|
2709
|
-
method: MethodTypeCode;
|
|
2710
|
-
payload?: any;
|
|
2711
|
-
triggerOnSent: boolean;
|
|
2712
|
-
triggerOnFailed: boolean;
|
|
2713
|
-
triggerOnPartial: boolean;
|
|
2714
2715
|
headers?: Record<string, string> | null;
|
|
2716
|
+
payload?: any;
|
|
2717
|
+
triggerOnSent: boolean | false;
|
|
2718
|
+
triggerOnFailed: boolean | false;
|
|
2719
|
+
triggerOnPartial: boolean | false;
|
|
2715
2720
|
timeoutSeconds?: number;
|
|
2716
2721
|
maxRetries?: number;
|
|
2717
2722
|
}>;
|
|
@@ -2720,7 +2725,7 @@ interface NotificationDraft {
|
|
|
2720
2725
|
interface UserNotificationAction {
|
|
2721
2726
|
sortOrder: string;
|
|
2722
2727
|
actionId: number;
|
|
2723
|
-
code:
|
|
2728
|
+
code: ActionTypeCatalog;
|
|
2724
2729
|
label: string;
|
|
2725
2730
|
metaData?: string | null;
|
|
2726
2731
|
destinationType: string;
|
|
@@ -2765,7 +2770,7 @@ interface UserNotificationInboxItem {
|
|
|
2765
2770
|
interface RecipientNotificationAction {
|
|
2766
2771
|
sortOrder: string;
|
|
2767
2772
|
actionId: number;
|
|
2768
|
-
code:
|
|
2773
|
+
code: ActionTypeCatalog;
|
|
2769
2774
|
label: string;
|
|
2770
2775
|
metaData?: string | null;
|
|
2771
2776
|
destinationType: string;
|
|
@@ -2810,7 +2815,7 @@ interface RecipientNotification {
|
|
|
2810
2815
|
interface RecipientProgressNotificationAction {
|
|
2811
2816
|
sortOrder: string;
|
|
2812
2817
|
actionId: number;
|
|
2813
|
-
code:
|
|
2818
|
+
code: ActionTypeCatalog;
|
|
2814
2819
|
label: string;
|
|
2815
2820
|
metaData?: string | null;
|
|
2816
2821
|
destinationType: string;
|
|
@@ -2871,61 +2876,66 @@ interface CallbackExecutionResult {
|
|
|
2871
2876
|
|
|
2872
2877
|
interface CreateNotificationJobRequest {
|
|
2873
2878
|
featureCode: string;
|
|
2874
|
-
origin:
|
|
2879
|
+
origin: OriginCatalog;
|
|
2875
2880
|
totalCount: number;
|
|
2876
2881
|
totalNotificationsCount: number;
|
|
2877
2882
|
notifications?: CreateNotificationsForJobRequest[] | null;
|
|
2878
2883
|
}
|
|
2879
2884
|
interface CreateNotificationsForJobRequest {
|
|
2880
2885
|
originReference: string;
|
|
2881
|
-
notificationTypeCode:
|
|
2886
|
+
notificationTypeCode: NotificationTypeCatalog;
|
|
2882
2887
|
destination?: string | null;
|
|
2883
2888
|
destinationLabel?: string | null;
|
|
2884
|
-
bucketName?:
|
|
2889
|
+
bucketName?: BucketCatalog;
|
|
2885
2890
|
templateName?: string;
|
|
2886
2891
|
templateData?: string;
|
|
2887
|
-
priorityCode:
|
|
2892
|
+
priorityCode: PriorityCatalog;
|
|
2888
2893
|
title?: string;
|
|
2889
2894
|
body?: string;
|
|
2890
2895
|
metaData?: string;
|
|
2891
2896
|
recipients: Array<{
|
|
2892
|
-
recipientTypeCode:
|
|
2893
|
-
channelCode?:
|
|
2897
|
+
recipientTypeCode: RecipientTypeCatalog;
|
|
2898
|
+
channelCode?: ChannelCatalog;
|
|
2894
2899
|
userId?: string | null;
|
|
2895
2900
|
clientId?: string | null;
|
|
2896
2901
|
groupId?: string | null;
|
|
2897
2902
|
address?: string | null;
|
|
2903
|
+
ccAddress?: string | null;
|
|
2904
|
+
bccAddress?: string | null;
|
|
2905
|
+
fromAddress?: string | null;
|
|
2906
|
+
fromName?: string | null;
|
|
2898
2907
|
isRequiredForProcessed?: boolean | false;
|
|
2899
2908
|
isRequiredForCallback?: boolean | false;
|
|
2900
|
-
isRequiredAsUnread?: boolean |
|
|
2909
|
+
isRequiredAsUnread?: boolean | true;
|
|
2901
2910
|
}>;
|
|
2902
2911
|
actions?: Array<{
|
|
2903
2912
|
sortOrder: number;
|
|
2904
|
-
code:
|
|
2913
|
+
code: ActionTypeCatalog;
|
|
2905
2914
|
label: string;
|
|
2906
2915
|
metaData?: string;
|
|
2907
|
-
destinationType:
|
|
2916
|
+
destinationType: DestinationTypeCatalog;
|
|
2908
2917
|
destination: string;
|
|
2909
2918
|
destinationData?: string;
|
|
2910
|
-
markAsRead?: boolean |
|
|
2919
|
+
markAsRead?: boolean | true;
|
|
2911
2920
|
markAsHidden?: boolean | false;
|
|
2912
2921
|
}>;
|
|
2913
2922
|
attachments?: Array<{
|
|
2914
|
-
method:
|
|
2923
|
+
method: MethodTypeCatalog;
|
|
2915
2924
|
url: string;
|
|
2916
|
-
|
|
2925
|
+
headers?: Record<string, string> | null;
|
|
2926
|
+
payload?: string | null;
|
|
2917
2927
|
fileName?: string | null;
|
|
2918
2928
|
contentType?: string | null;
|
|
2919
2929
|
}>;
|
|
2920
2930
|
callbacks?: Array<{
|
|
2921
2931
|
code: string;
|
|
2932
|
+
method: MethodTypeCatalog;
|
|
2922
2933
|
url: string;
|
|
2923
|
-
method: MethodTypeCode;
|
|
2924
|
-
payload?: any;
|
|
2925
|
-
triggerOnSent: boolean;
|
|
2926
|
-
triggerOnFailed: boolean;
|
|
2927
|
-
triggerOnPartial: boolean;
|
|
2928
2934
|
headers?: Record<string, string> | null;
|
|
2935
|
+
payload?: any;
|
|
2936
|
+
triggerOnSent: boolean | false;
|
|
2937
|
+
triggerOnFailed: boolean | false;
|
|
2938
|
+
triggerOnPartial: boolean | false;
|
|
2929
2939
|
timeoutSeconds?: number;
|
|
2930
2940
|
maxRetries?: number;
|
|
2931
2941
|
}>;
|
|
@@ -3122,14 +3132,14 @@ declare class NotificationOrchestratorService {
|
|
|
3122
3132
|
watchJobProgress(jobId: string): Promise<Observable<RecipientProgressNotification>>;
|
|
3123
3133
|
unwatchJobProgress(jobId: string): Promise<void>;
|
|
3124
3134
|
jobProgress$(jobId: string): Observable<RecipientProgressNotification>;
|
|
3125
|
-
rehydrateScope(origin:
|
|
3135
|
+
rehydrateScope(origin: OriginCatalog, featureCode: string): Promise<void>;
|
|
3126
3136
|
getCurrentJobId(): string | undefined;
|
|
3127
3137
|
getJobStateSnapshot(): JobState;
|
|
3128
3138
|
ensureActiveOrCreateJobNotifications(notificationDraft: NotificationDraft[]): Promise<{
|
|
3129
3139
|
jobId: string;
|
|
3130
3140
|
mode: "active" | "created";
|
|
3131
3141
|
}>;
|
|
3132
|
-
ensureCreateJobNotifications(origin:
|
|
3142
|
+
ensureCreateJobNotifications(origin: OriginCatalog, featureCode: string, notificationDraft: NotificationDraft[]): Promise<void>;
|
|
3133
3143
|
markAsRead(recipientId: string): Promise<NotificationRecipientSummaryResponse>;
|
|
3134
3144
|
markAsHidden(recipientId: string): Promise<NotificationRecipientSummaryResponse>;
|
|
3135
3145
|
getNotificacionsByUser(userId: string): Promise<UserNotificationInboxItem[]>;
|
|
@@ -3145,4 +3155,4 @@ declare class NotificationOrchestratorService {
|
|
|
3145
3155
|
}
|
|
3146
3156
|
|
|
3147
3157
|
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 {
|
|
3158
|
+
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 };
|