@typeface-ai/typeface-embed-react
Advanced tools
Comparing version
@@ -114,3 +114,7 @@ import { CelebrationsOutputStyle, GenerativeRefineContentType } from "./definitions"; | ||
GoogleResponsiveAd = "dp_google_responsive_ad", | ||
CelebrationPost = "dp_celebrations_post" | ||
CelebrationPost = "dp_celebrations_post", | ||
InternalCommunicationEmail = "dp_internal_communications_email", | ||
OutreachEmail = "dp_outreach_email", | ||
HRLinkedInPost = "dp_hr_linkedin_post", | ||
MeetingBlend = "dp_meeting_blend" | ||
} | ||
@@ -181,3 +185,17 @@ export declare enum TextBlendActionTypes { | ||
} | ||
export declare enum OutreachEmailPurpose { | ||
JobOpportunityInquiry = "dp_job_opportunity_inquiry", | ||
InitialApplicationAcknowledgement = "dp_initial_application_acknowledgement", | ||
InterviewInvitation = "dp_interview_invitation", | ||
InterviewFollowUp = "dp_interview_follow_up", | ||
InterviewSkillAssessment = "dp_interview_skill_assessment" | ||
} | ||
export declare enum HRLinkedInPostPurpose { | ||
PromoteAJobPosting = "dp_hr_linkedin_post_job_opening", | ||
ShareACompanyUpdate = "dp_hr_linkedin_post_company_update", | ||
ProvideIndustryInsights = "dp_hr_linkedin_post_industry_insights", | ||
PublicizeARecruitmentEvent = "dp_hr_linkedin_post_recruitment_event", | ||
ShareADnIInitiative = "dp_hr_linkedin_post_dni_initiatives" | ||
} | ||
export type TypefaceEmbedParameters = TemplateParameters | JobPostParameters | ImageParameters | AIChatParameters | FeedBlendParameters | CoPilotParamaters | AssetEditParameters | RefineParameters | Record<string, any>; | ||
export {}; |
@@ -42,2 +42,6 @@ export var BASE_URL = 'https://app.typeface.ai'; | ||
TemplateType["CelebrationPost"] = "dp_celebrations_post"; | ||
TemplateType["InternalCommunicationEmail"] = "dp_internal_communications_email"; | ||
TemplateType["OutreachEmail"] = "dp_outreach_email"; | ||
TemplateType["HRLinkedInPost"] = "dp_hr_linkedin_post"; | ||
TemplateType["MeetingBlend"] = "dp_meeting_blend"; | ||
})(TemplateType || (TemplateType = {})); | ||
@@ -76,1 +80,17 @@ export var TextBlendActionTypes; | ||
})(CoPilotOptionTypes || (CoPilotOptionTypes = {})); | ||
export var OutreachEmailPurpose; | ||
(function (OutreachEmailPurpose) { | ||
OutreachEmailPurpose["JobOpportunityInquiry"] = "dp_job_opportunity_inquiry"; | ||
OutreachEmailPurpose["InitialApplicationAcknowledgement"] = "dp_initial_application_acknowledgement"; | ||
OutreachEmailPurpose["InterviewInvitation"] = "dp_interview_invitation"; | ||
OutreachEmailPurpose["InterviewFollowUp"] = "dp_interview_follow_up"; | ||
OutreachEmailPurpose["InterviewSkillAssessment"] = "dp_interview_skill_assessment"; | ||
})(OutreachEmailPurpose || (OutreachEmailPurpose = {})); | ||
export var HRLinkedInPostPurpose; | ||
(function (HRLinkedInPostPurpose) { | ||
HRLinkedInPostPurpose["PromoteAJobPosting"] = "dp_hr_linkedin_post_job_opening"; | ||
HRLinkedInPostPurpose["ShareACompanyUpdate"] = "dp_hr_linkedin_post_company_update"; | ||
HRLinkedInPostPurpose["ProvideIndustryInsights"] = "dp_hr_linkedin_post_industry_insights"; | ||
HRLinkedInPostPurpose["PublicizeARecruitmentEvent"] = "dp_hr_linkedin_post_recruitment_event"; | ||
HRLinkedInPostPurpose["ShareADnIInitiative"] = "dp_hr_linkedin_post_dni_initiatives"; | ||
})(HRLinkedInPostPurpose || (HRLinkedInPostPurpose = {})); |
@@ -1,2 +0,2 @@ | ||
import { BASE_URL, TemplateType, TypefaceEmbedIDP, TypefaceEmbedOutputFormat, TypefaceEmbedUseCase } from "./model"; | ||
import { BASE_URL, TemplateType, TypefaceEmbedIDP, TypefaceEmbedOutputFormat, TypefaceEmbedUseCase, } from "./model"; | ||
var VERSION = '0.9.0'; | ||
@@ -3,0 +3,0 @@ var getRedirectUrlByUseCase = function (sourceApp, applyButtonName, cancelButtonName, useCase, parameter, outputFormat, authProvider, hideHeader, styles, language) { |
{ | ||
"name": "@typeface-ai/typeface-embed-react", | ||
"version": "0.9.1", | ||
"version": "0.9.2", | ||
"description": "React SDK for Typeface Embed Integration", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
175
README.md
@@ -291,3 +291,178 @@ # React SDK for Typeface Embed | ||
// Internal Communication Email | ||
{ | ||
template: TemplateType.InternalCommunicationEmail, | ||
parameters: { | ||
Purpose: "Typeface Hub announcement", | ||
Content: "Announcement of Typeface Hub and its impact to internal employees", | ||
CTA: "you can contact me at hello@typeface.ai", // Its an optional field | ||
IsContentSourceUri: false, // provide this as true if you want the content to be generated from a URI, by default its false | ||
ContentUri: "www.typeface.ai", // provide the Uri from which content should be generated, IsContentSourceUri should be true | ||
}, | ||
autoGenerate: false | ||
} | ||
// Outreach Email with Purpose OutreachEmailPurpose.InitialApplicationAcknowledgement | ||
{ | ||
template: TemplateType.OutreachEmail, | ||
parameters: { | ||
Purpose: OutreachEmailPurpose.InitialApplicationAcknowledgement, | ||
RoleTitle: "Frontend Engineer", | ||
NextSteps: "HR will contact with a feedback", | ||
POC: "You can contact us at hr@typeface.ai" | ||
}, | ||
autoGenerate: false | ||
} | ||
// Outreach Email with Purpose OutreachEmailPurpose.JobOpportunityInquiry | ||
{ | ||
template: TemplateType.OutreachEmail, | ||
parameters: { | ||
Purpose: OutreachEmailPurpose.JobOpportunityInquiry, | ||
LinkedInProfileURL: "E.g. https://www.linkedin.com/in/john-doe-5978521a/", | ||
JobLinkURL: "E.g. https://www.typeface.ai/careers?gh_jid=4043036007", | ||
CTA: "you can contact me at hello@typeface.ai", | ||
}, | ||
autoGenerate: false | ||
} | ||
// Outreach Email with Purpose OutreachEmailPurpose.InterviewInvitation | ||
{ | ||
template: TemplateType.OutreachEmail, | ||
parameters: { | ||
Purpose: OutreachEmailPurpose.InterviewInvitation, | ||
InterviewDetails: "January 31, 4pm PST, Zoom", // date, time, place. | ||
RoleTitle: "Frontend Engineer", | ||
AdditionalInterviewDetails: "The interview will include a case to understand how you solve product problems", | ||
POC: "You can contact us at hr@typeface.ai" | ||
}, | ||
autoGenerate: false | ||
} | ||
// Outreach Email with Purpose OutreachEmailPurpose.InterviewFollowUp | ||
{ | ||
template: TemplateType.OutreachEmail, | ||
parameters: { | ||
Purpose: OutreachEmailPurpose.InterviewFollowUp, | ||
RoleTitle: "Product Manager", | ||
NextSteps: "We'd like you move to the next step, which will be a skills assessment", | ||
POC: "You can contact us at hr@typeface.ai" | ||
}, | ||
autoGenerate: false | ||
} | ||
// Outreach Email with Purpose OutreachEmailPurpose.InterviewSkillAssessment | ||
{ | ||
template: TemplateType.OutreachEmail, | ||
parameters: { | ||
Purpose: OutreachEmailPurpose.InterviewSkillAssessment, | ||
RoleTitle: "Frontend Engineer", | ||
SkillName: "Product management problem solving", | ||
AssessmentAccess: "Access your interviewee portal at www.typface.ai/portal and follow the instructions provided", | ||
Deadline: "E.g. April 2, 2025", | ||
POC: "You can contact us at hr@typeface.ai" | ||
}, | ||
autoGenerate: false | ||
} | ||
// Outreach Email with custom purpose | ||
{ | ||
template: TemplateType.OutreachEmail, | ||
parameters: { | ||
Purpose: "Interview feedback summary", | ||
Context: "Discuss a potential job based on your profile", | ||
CTA: "If you're interested, please feel free to email me at hello@typeface.ai", | ||
}, | ||
autoGenerate: false | ||
} | ||
// HR LinkedIn Post with purpose HRLinkedInPostPurpose.PromoteAJobPosting | ||
{ | ||
template: TemplateType.HRLinkedInPost, | ||
parameters: { | ||
Purpose: HRLinkedInPostPurpose.PromoteAJobPosting, | ||
CompanyName: "Typeface", | ||
JobLinkURL: "https://www.typeface.ai/careers?gh_jid=4043036007", | ||
CTA: "you can contact me at hello@typeface.ai", | ||
}, | ||
autoGenerate: false | ||
} | ||
// HR LinkedIn Post with purpose HRLinkedInPostPurpose.ShareACompanyUpdate | ||
{ | ||
template: TemplateType.HRLinkedInPost, | ||
parameters: { | ||
Purpose: HRLinkedInPostPurpose.ShareACompanyUpdate, | ||
CompanyName: "Typeface", | ||
IsContentSourceUri: false, // provide this as true if you want the content to be generated from a URI, by default its false | ||
ContentUri: "www.typeface.ai", // provide the Uri from which content should be generated, IsContentSourceUri should be true | ||
ContentText: "Announcement of Typeface Hub and its impact to internal employees", | ||
CTA: "you can contact me at hello@typeface.ai", | ||
}, | ||
autoGenerate: false | ||
} | ||
// HR LinkedIn Post with purpose HRLinkedInPostPurpose.ProvideIndustryInsights | ||
{ | ||
template: TemplateType.HRLinkedInPost, | ||
parameters: { | ||
Purpose: HRLinkedInPostPurpose.ProvideIndustryInsights, | ||
CompanyName: "Typeface", | ||
IsContentSourceUri: false, // provide this as true if you want the content to be generated from a URI, by default its false | ||
ContentUri: "www.typeface.ai", // provide the Uri from which content should be generated, IsContentSourceUri should be true | ||
ContentText: "Announcement of Typeface Hub and its impact to internal employees", | ||
CTA: "you can contact me at hello@typeface.ai", | ||
}, | ||
autoGenerate: false | ||
} | ||
// HR LinkedIn Post with purpose HRLinkedInPostPurpose.ShareADnIInitiative | ||
{ | ||
template: TemplateType.HRLinkedInPost, | ||
parameters: { | ||
Purpose: HRLinkedInPostPurpose.ShareADnIInitiative, | ||
CompanyName: "Typeface", | ||
IsContentSourceUri: false, // provide this as true if you want the content to be generated from a URI, by default its false | ||
ContentUri: "www.typeface.ai", // provide the Uri from which content should be generated, IsContentSourceUri should be true | ||
ContentText: "Announcement of Typeface Hub and its impact to internal employees", | ||
CTA: "you can contact me at hello@typeface.ai", | ||
}, | ||
autoGenerate: false | ||
} | ||
// HR LinkedIn Post with purpose HRLinkedInPostPurpose.PublicizeARecruitmentEvent | ||
{ | ||
template: TemplateType.HRLinkedInPost, | ||
parameters: { | ||
Purpose: HRLinkedInPostPurpose.PublicizeARecruitmentEvent, | ||
EventName: "React-Conf", | ||
EventDetails: "ReactJS Conference at Hulk auditorium, Mumbai, India", | ||
CTA: "you can contact me at hello@typeface.ai", | ||
}, | ||
autoGenerate: false | ||
} | ||
// HR LinkedIn Post with custom purpose | ||
{ | ||
template: TemplateType.HRLinkedInPost, | ||
parameters: { | ||
Purpose: "Hiring Drive", | ||
CompanyName: "Typeface", | ||
ContentText: "Announcement of hiring drive on 25th Dec 2024", | ||
CTA: "you can contact me at hello@typeface.ai", | ||
}, | ||
autoGenerate: false | ||
} | ||
// Meeting Blend | ||
{ | ||
template: TemplateType.MeetingBlend, | ||
parameters: { | ||
Purpose: "Summarize", | ||
MeetingLinkUrl: "https://zoom.us/j/92813532129", | ||
Password: "12q4e%&gwafd@hb2123" // Optional | ||
}, | ||
autoGenerate: false | ||
} | ||
``` | ||
@@ -294,0 +469,0 @@ |
62894
16.95%776
5.15%761
29.86%