[
{
"messageId": "mid1",
"timestamp": 1609459200,
"preview": "Hey, just wanted to check in on the project",
"subject": "Project update",
"to": "uid1",
"from": "uid2",
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
import { faker } from "@faker-js/faker"; | |
// maps to firestore root collection: EmailThread | |
class EmailThread { | |
id: string; | |
eeid: string; // emailengine thread id | |
subject: ThreadSubject; | |
participants: Participants; | |
} |
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
[ | |
{ | |
"BTTGestureNotes" : "Inline Reply", | |
"BTTTriggerType" : 0, | |
"BTTTriggerClass" : "BTTTriggerTypeKeyboardShortcut", | |
"BTTPredefinedActionType" : -1, | |
"BTTPredefinedActionName" : "No Action", | |
"BTTLayoutIndependentActionChar" : "F6", | |
"BTTAutoAdaptActionToKeyboardLayout" : true, | |
"BTTShortcutToSend" : "56,97", |
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
import base64 | |
import requests | |
from PIL import Image | |
API_KEY = 'xxxxxxxx' | |
UPLOAD_URL = 'https://api.deeparteffects.com/v1/noauth/upload' | |
STYLES_URL = 'https://api.deeparteffects.com/v1/noauth/styles' | |
RESULT_URL = 'https://api.deeparteffects.com/v1/noauth/result?submissionId=%s' | |
HEADERS = {'x-api-key': API_KEY} |