@notifi-network/notifi-core
Advanced tools
Comparing version 0.0.1-alpha.17 to 0.0.1-alpha.18
@@ -20,2 +20,3 @@ export declare type Alert = Readonly<{ | ||
export declare type CreateAlertPayload = Readonly<{ | ||
name: string; | ||
sourceGroupId: string; | ||
@@ -26,6 +27,13 @@ filterId: string; | ||
export declare type CreateAlertResult = Alert; | ||
export declare type DeleteAlertPayload = Readonly<{ | ||
id: string; | ||
}>; | ||
export declare type DeleteAlertResult = Readonly<{ | ||
id: string; | ||
}>; | ||
export declare type AlertsService = Readonly<{ | ||
getAlerts(): Promise<GetAlertsResult>; | ||
createAlert(payload: CreateAlertPayload): Promise<CreateAlertResult>; | ||
deleteAlert(payload: DeleteAlertPayload): Promise<DeleteAlertResult>; | ||
}>; | ||
//# sourceMappingURL=AlertsService.d.ts.map |
export declare type EmailTarget = Readonly<{ | ||
id: string | null; | ||
name: string | null; | ||
value: string; | ||
emailAddress: string | null; | ||
isConfirmed: boolean; | ||
}>; | ||
@@ -12,6 +13,13 @@ export declare type GetEmailTargetsResult = ReadonlyArray<EmailTarget>; | ||
export declare type CreateEmailTargetResult = EmailTarget; | ||
export declare type DeleteEmailTargetPayload = Readonly<{ | ||
id: string; | ||
}>; | ||
export declare type DeleteEmailTargetResult = Readonly<{ | ||
id: string; | ||
}>; | ||
export declare type EmailTargetsService = Readonly<{ | ||
getEmailTargets(): Promise<GetEmailTargetsResult>; | ||
createEmailTarget(payload: CreateEmailTargetPayload): Promise<CreateEmailTargetResult>; | ||
deleteEmailTarget(payload: DeleteEmailTargetPayload): Promise<DeleteEmailTargetResult>; | ||
}>; | ||
//# sourceMappingURL=EmailTargetsService.d.ts.map |
@@ -7,2 +7,3 @@ export * from './AlertsService'; | ||
export * from './SourceGroupsService'; | ||
export * from './SourcesService'; | ||
export * from './TargetGroupsService'; | ||
@@ -9,0 +10,0 @@ export * from './TelegramTargetsService'; |
@@ -19,5 +19,6 @@ "use strict"; | ||
__exportStar(require("./SourceGroupsService"), exports); | ||
__exportStar(require("./SourcesService"), exports); | ||
__exportStar(require("./TargetGroupsService"), exports); | ||
__exportStar(require("./TelegramTargetsService"), exports); | ||
__exportStar(require("./NotifiService"), exports); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9saWIvc2VydmljZXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7O0FBQUEsa0RBQWdDO0FBQ2hDLHdEQUFzQztBQUN0QyxtREFBaUM7QUFDakMsd0RBQXNDO0FBQ3RDLHNEQUFvQztBQUNwQyx3REFBc0M7QUFDdEMsd0RBQXNDO0FBQ3RDLDJEQUF5QztBQUN6QyxrREFBZ0MifQ== | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9saWIvc2VydmljZXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7O0FBQUEsa0RBQWdDO0FBQ2hDLHdEQUFzQztBQUN0QyxtREFBaUM7QUFDakMsd0RBQXNDO0FBQ3RDLHNEQUFvQztBQUNwQyx3REFBc0M7QUFDdEMsbURBQWlDO0FBQ2pDLHdEQUFzQztBQUN0QywyREFBeUM7QUFDekMsa0RBQWdDIn0= |
@@ -7,5 +7,6 @@ import { AlertsService } from './AlertsService'; | ||
import { SourceGroupsService } from './SourceGroupsService'; | ||
import { SourcesService } from './SourcesService'; | ||
import { TargetGroupsService } from './TargetGroupsService'; | ||
import { TelegramTargetsService } from './TelegramTargetsService'; | ||
export declare type NotifiService = AlertsService & EmailTargetsService & FiltersService & LogInFromDaoService & SmsTargetsService & SourceGroupsService & TargetGroupsService & TelegramTargetsService; | ||
export declare type NotifiService = AlertsService & EmailTargetsService & FiltersService & LogInFromDaoService & SmsTargetsService & SourceGroupsService & SourcesService & TargetGroupsService & TelegramTargetsService; | ||
//# sourceMappingURL=NotifiService.d.ts.map |
export declare type SmsTarget = Readonly<{ | ||
id: string | null; | ||
name: string | null; | ||
value: string; | ||
phoneNumber: string | null; | ||
isConfirmed: boolean; | ||
}>; | ||
@@ -12,6 +13,13 @@ export declare type GetSmsTargetsResult = ReadonlyArray<SmsTarget>; | ||
export declare type CreateSmsTargetResult = SmsTarget; | ||
export declare type DeleteSmsTargetPayload = Readonly<{ | ||
id: string; | ||
}>; | ||
export declare type DeleteSmsTargetResult = Readonly<{ | ||
id: string; | ||
}>; | ||
export declare type SmsTargetsService = Readonly<{ | ||
getSmsTargets(): Promise<GetSmsTargetsResult>; | ||
createSmsTarget(payload: CreateSmsTargetPayload): Promise<CreateSmsTargetResult>; | ||
deleteSmsTarget(payload: DeleteSmsTargetPayload): Promise<DeleteSmsTargetResult>; | ||
}>; | ||
//# sourceMappingURL=SmsTargetsService.d.ts.map |
@@ -11,6 +11,13 @@ export declare type SourceGroup = Readonly<{ | ||
export declare type CreateSourceGroupResult = SourceGroup; | ||
export declare type DeleteSourceGroupPayload = Readonly<{ | ||
id: string; | ||
}>; | ||
export declare type DeleteSourceGroupResult = Readonly<{ | ||
id: string; | ||
}>; | ||
export declare type SourceGroupsService = Readonly<{ | ||
getSourceGroups(): Promise<GetSourceGroupsResult>; | ||
createSourceGroup(payload: CreateSourceGroupPayload): Promise<CreateSourceGroupResult>; | ||
deleteSourceGroup(payload: DeleteSourceGroupPayload): Promise<DeleteSourceGroupResult>; | ||
}>; | ||
//# sourceMappingURL=SourceGroupsService.d.ts.map |
@@ -22,3 +22,3 @@ export declare type TargetGroup = Readonly<{ | ||
export declare type CreateTargetGroupPayload = Readonly<{ | ||
name: string; | ||
name?: string; | ||
emailTargetIds: string[]; | ||
@@ -33,7 +33,14 @@ smsTargetIds: string[]; | ||
export declare type UpdateTargetGroupResult = TargetGroup; | ||
export declare type DeleteTargetGroupPayload = Readonly<{ | ||
id: string; | ||
}>; | ||
export declare type DeleteTargetGroupResult = Readonly<{ | ||
id: string; | ||
}>; | ||
export declare type TargetGroupsService = Readonly<{ | ||
getTargetGroups(): Promise<GetTargetGroupsResult>; | ||
createTargetGroup(payload: CreateTargetGroupPayload): Promise<CreateTargetGroupResult>; | ||
deleteTargetGroup(payload: DeleteTargetGroupPayload): Promise<DeleteTargetGroupResult>; | ||
updateTargetGroup(payload: UpdateTargetGroupPayload): Promise<UpdateTargetGroupResult>; | ||
}>; | ||
//# sourceMappingURL=TargetGroupsService.d.ts.map |
export declare type TelegramTarget = Readonly<{ | ||
id: string | null; | ||
name: string | null; | ||
value: string; | ||
telegramId: string | null; | ||
isConfirmed: boolean; | ||
}>; | ||
@@ -12,6 +13,13 @@ export declare type GetTelegramTargetsResult = ReadonlyArray<TelegramTarget>; | ||
export declare type CreateTelegramTargetResult = TelegramTarget; | ||
export declare type DeleteTelegramTargetPayload = Readonly<{ | ||
id: string; | ||
}>; | ||
export declare type DeleteTelegramTargetResult = Readonly<{ | ||
id: string; | ||
}>; | ||
export declare type TelegramTargetsService = Readonly<{ | ||
getTelegramTargets(): Promise<GetTelegramTargetsResult>; | ||
createTelegramTarget(payload: CreateTelegramTargetPayload): Promise<CreateTelegramTargetResult>; | ||
deleteTelegramTarget(payload: DeleteTelegramTargetPayload): Promise<DeleteTelegramTargetResult>; | ||
}>; | ||
//# sourceMappingURL=TelegramTargetsService.d.ts.map |
{ | ||
"name": "@notifi-network/notifi-core", | ||
"version": "0.0.1-alpha.17+fc854a1", | ||
"version": "0.0.1-alpha.18+895ab6c", | ||
"description": "> TODO: description", | ||
@@ -39,3 +39,3 @@ "author": "Juni Kim <73hKrn@gmail.com>", | ||
}, | ||
"gitHead": "fc854a15d866700737f4ddee19c1b8dd40909110" | ||
"gitHead": "895ab6c0d4bcee3528bb0d49a9fe452b0cd76e58" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
34085
41
334
1