Track HiveGrid Cloud planning reference
This commit is contained in:
1 parent
b3d5ea6764
commit
e341c5938a
5784 files changed
+1104929
-3
No files matched your search
@@ -0,0 +1,13 @@
|
||||
// https://docs.novu.co/api/get-integrations/
|
||||
export interface NotificationIntegrationDto {
|
||||
_id: string;
|
||||
_environmentId: string;
|
||||
_organizationId: string;
|
||||
providerId: string;
|
||||
channel: string;
|
||||
credentials: any;
|
||||
active: boolean;
|
||||
deleted: boolean;
|
||||
deletedAt: string;
|
||||
deletedBy: string;
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
// https://docs.novu.co/api/get-messages/
|
||||
export interface NotificationMessageDto {
|
||||
_id: string;
|
||||
_templateId: string;
|
||||
_environmentId: string;
|
||||
_messageTemplateId: string;
|
||||
_notificationId: string;
|
||||
_organizationId: string;
|
||||
_subscriberId: string;
|
||||
_jobId: string;
|
||||
templateIdentifier: string;
|
||||
cta?: { data?: { url?: string } }[];
|
||||
channel: string;
|
||||
seen?: boolean;
|
||||
read?: boolean;
|
||||
status: string;
|
||||
transactionId: string;
|
||||
payload: any;
|
||||
deleted?: boolean;
|
||||
createdAt: string;
|
||||
updatedAt?: string;
|
||||
lastReadDate?: string;
|
||||
lastSeenDate?: string;
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
// https://docs.novu.co/api/get-subscribers/
|
||||
export interface NotificationSubscriberDto {
|
||||
_id: string; // The internal id novu generated for your subscriber, this is not the subscriberId matching your query. See `subscriberId` for that
|
||||
firstName: string;
|
||||
lastName: string;
|
||||
email: string;
|
||||
phone: string;
|
||||
avatar: string;
|
||||
subscriberId: string; // The internal identifier you used to create this subscriber, usually correlates to the id the user in your systems
|
||||
channels?: { _integrationId?: string; providerId?: string; credentials: string }[];
|
||||
_organizationId: string;
|
||||
_environmentId: string;
|
||||
deleted: boolean;
|
||||
createdAt: string;
|
||||
updatedAt: string;
|
||||
__v: number;
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
// https://docs.novu.co/api/get-notification-templates/
|
||||
export interface NotificationTemplateDto {
|
||||
_id?: string;
|
||||
name: string;
|
||||
description: string;
|
||||
active: boolean;
|
||||
draft: boolean;
|
||||
preferenceSettings: {
|
||||
email: boolean;
|
||||
sms: boolean;
|
||||
in_app: boolean;
|
||||
chat: boolean;
|
||||
push: boolean;
|
||||
};
|
||||
critical: boolean;
|
||||
tags: string[];
|
||||
steps: any[];
|
||||
_organizationId: string;
|
||||
_creatorId: string;
|
||||
_environmentId: string;
|
||||
triggers: any[];
|
||||
_notificationGroupId: string;
|
||||
_parentId?: string;
|
||||
deleted: boolean;
|
||||
deletedAt: string;
|
||||
deletedBy: string;
|
||||
notificationGroup?: {
|
||||
_id?: string;
|
||||
name?: string;
|
||||
_environmentId?: string;
|
||||
_organizationId?: string;
|
||||
_parentId?: string;
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user