create(prefill?: { subject?: string; description?: string; }): void {
window.ZohoHCAsapSettings.ticketsSettings = {
preFillFields: {
subject: {
defaultValue: prefill.subject || "",
},
description: {
defaultValue: prefill.description || "",
}
}
}
window.ZohoHCAsapReady(() => window.ZohoHCAsap.Actions.UpdateSettings(window.ZohoHCAsapSettings));
window.ZohoHCAsapReady(() => window.ZohoHCAsap.Action("open", { tab: ZohoAsapTab.Tickets }))
}