-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Copied Provider ts files and base structure [No Changes made]
- Loading branch information
Gal Tidhar
committed
Apr 25, 2024
1 parent
f266c5d
commit fa2ae74
Showing
144 changed files
with
69 additions
and
13 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
.../netcore/src/lib/netcore.provider.spec.ts → ...roviders/src/lib/netcore.provider.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
export interface IRecipient { | ||
name?: string; | ||
email: string; | ||
} | ||
|
||
export interface IContent { | ||
type: 'html' | 'amp'; | ||
value: string; | ||
} | ||
|
||
export interface IAttachment { | ||
name: string; | ||
content: string; | ||
} | ||
|
||
export interface IPersonalizations { | ||
attributes?: Record<string, string>; | ||
to?: IRecipient[]; | ||
cc?: Pick<IRecipient, 'email'>[]; | ||
bcc?: Pick<IRecipient, 'email'>[]; | ||
token_to?: string; | ||
token_cc?: string; | ||
attachments?: IAttachment[]; | ||
headers?: Record<string, unknown>; | ||
} | ||
|
||
export interface ISettings { | ||
open_track?: boolean; | ||
click_track?: boolean; | ||
unsubscribe_track?: boolean; | ||
ip_pool?: string; | ||
} | ||
|
||
export interface IEmailBody { | ||
from: IRecipient; | ||
reply_to?: string; | ||
subject: string; | ||
template_id?: number; | ||
tags?: string[]; | ||
content: IContent[]; | ||
attachments?: IAttachment[]; | ||
personalizations?: IPersonalizations[]; | ||
settings?: ISettings; | ||
bcc?: Pick<IRecipient, 'email'>[]; | ||
schedule?: number; | ||
} | ||
|
||
export interface IEmailResponse { | ||
data: { | ||
message_id: string; | ||
}; | ||
message: string; | ||
status: string; | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.