nucleus-core-ts 0.9.703 → 0.9.705

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.
@@ -1742,6 +1742,71 @@ export namespace MARKETPLACE_ENDPOINTS {
1742
1742
  export { _error_93 as _error };
1743
1743
  }
1744
1744
  }
1745
+ export class GmailService {
1746
+ constructor(config: any, logger2: any);
1747
+ gmail: null;
1748
+ fromEmail: any;
1749
+ fromName: any;
1750
+ logger: any;
1751
+ initialized: boolean;
1752
+ encodeHeaderValue(value: any): any;
1753
+ isAvailable(): boolean;
1754
+ initialize(jsonFilePath: any): void;
1755
+ createEmailMessage(payload: any): string;
1756
+ sendEmail(payload: any): Promise<{
1757
+ success: boolean;
1758
+ error: string;
1759
+ } | {
1760
+ success: boolean;
1761
+ error?: undefined;
1762
+ }>;
1763
+ emailWrapper(content: any, appName: any): string;
1764
+ emailButton(href: any, label: any): string;
1765
+ emailDivider(): string;
1766
+ emailLinkFallback(link: any, notice: any): string;
1767
+ sendWelcomeEmail(email: any, name: any, appName?: string): Promise<{
1768
+ success: boolean;
1769
+ error: string;
1770
+ } | {
1771
+ success: boolean;
1772
+ error?: undefined;
1773
+ }>;
1774
+ sendVerificationEmail(email: any, name: any, verificationLink: any, appName?: string): Promise<{
1775
+ success: boolean;
1776
+ error: string;
1777
+ } | {
1778
+ success: boolean;
1779
+ error?: undefined;
1780
+ }>;
1781
+ sendPasswordResetEmail(email: any, name: any, resetLink: any, appName?: string): Promise<{
1782
+ success: boolean;
1783
+ error: string;
1784
+ } | {
1785
+ success: boolean;
1786
+ error?: undefined;
1787
+ }>;
1788
+ sendMagicLinkEmail(email: any, magicLink: any, appName?: string): Promise<{
1789
+ success: boolean;
1790
+ error: string;
1791
+ } | {
1792
+ success: boolean;
1793
+ error?: undefined;
1794
+ }>;
1795
+ sendAlertEmail(to: any, subject: any, html: any): Promise<{
1796
+ success: boolean;
1797
+ error: string;
1798
+ } | {
1799
+ success: boolean;
1800
+ error?: undefined;
1801
+ }>;
1802
+ sendInvitationEmail(email: any, inviteLink: any, appName?: string): Promise<{
1803
+ success: boolean;
1804
+ error: string;
1805
+ } | {
1806
+ success: boolean;
1807
+ error?: undefined;
1808
+ }>;
1809
+ }
1745
1810
  export namespace DOMAIN_ENDPOINTS {
1746
1811
  namespace DOMAIN_RESOLVE {
1747
1812
  let method_94: string;
package/dist/index.d.ts CHANGED
@@ -6,4 +6,6 @@ export type { AuthorizationCheckResult, AuthorizationConfig, Claim, Role, RoleCl
6
6
  export type { AzureEmailServiceConfig } from './src/Services/Email/AzureEmailService';
7
7
  export { AzureEmailService } from './src/Services/Email/AzureEmailService';
8
8
  export type { EmailAttachment, EmailPayload, EmailSendResult, EmailService, } from './src/Services/Email/types';
9
+ export { GmailService } from './src/Services/Gmail';
10
+ export type { GmailServiceConfig } from './src/Services/Gmail';
9
11
  export type * from './src/types';