1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
17 // *************************************************************************
18 var _0x5a69=['Case','Task','contact','lead','account_contact_lead','account','contact_lead','ENUM','sequelize','exports','STRING'];(function(_0x491a7f,_0x28bb80){var _0x3d8f44=function(_0xdaa716){while(--_0xdaa716){_0x491a7f['push'](_0x491a7f['shift']());}};_0x3d8f44(++_0x28bb80);}(_0x5a69,0x1c0));var _0x95a6=function(_0x2223b5,_0x8d79dd){_0x2223b5=_0x2223b5-0x0;var _0x3b9802=_0x5a69[_0x2223b5];return _0x3b9802;};'use strict';var Sequelize=require(_0x95a6('0x0'));module[_0x95a6('0x1')]={'name':{'type':Sequelize['STRING']},'description':{'type':Sequelize[_0x95a6('0x2')]},'ticketType':{'type':Sequelize['ENUM']('Task',_0x95a6('0x3')),'defaultValue':_0x95a6('0x4')},'moduleSearch':{'type':Sequelize['ENUM']('contact_lead',_0x95a6('0x5'),_0x95a6('0x6'),_0x95a6('0x7'),_0x95a6('0x8')),'defaultValue':_0x95a6('0x9')},'moduleCreate':{'type':Sequelize[_0x95a6('0xa')]('nothing',_0x95a6('0x5'),'lead','account'),'defaultValue':_0x95a6('0x6')},'leadId':{'type':Sequelize[_0x95a6('0x2')]},'additionalSearchAccount':{'type':Sequelize[_0x95a6('0x2')]},'additionalSearchContact':{'type':Sequelize[_0x95a6('0x2')]},'additionalSearchLead':{'type':Sequelize['STRING']}};