ffb5e134e360c84c1da351bc1e474d2acc3cc76c
[motion2.git] / server / api / chatInteraction / chatInteraction.attributes.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x8fe4=['out','INTEGER','sequelize','exports','BOOLEAN','star','TEXT','STRING','DATE','long','ENUM'];(function(_0x5c351c,_0x2046d8){var _0x26f3b3=function(_0x47ac18){while(--_0x47ac18){_0x5c351c['push'](_0x5c351c['shift']());}};_0x26f3b3(++_0x2046d8);}(_0x8fe4,0x14c));var _0x48fe=function(_0x35cd06,_0x577a99){_0x35cd06=_0x35cd06-0x0;var _0x5c4f34=_0x8fe4[_0x35cd06];return _0x5c4f34;};'use strict';var Sequelize=require(_0x48fe('0x0'));module[_0x48fe('0x1')]={'closed':{'type':Sequelize[_0x48fe('0x2')],'defaultValue':![]},'ratingValue':{'type':Sequelize['INTEGER']},'ratingType':{'type':Sequelize['ENUM'](_0x48fe('0x3'),'thumb'),'defaultValue':_0x48fe('0x3')},'ratingMessage':{'type':Sequelize['TEXT']},'pathTranscript':{'type':Sequelize[_0x48fe('0x4')]},'mailTranscript':{'type':Sequelize[_0x48fe('0x5')],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize[_0x48fe('0x6')]},'disposition':{'type':Sequelize[_0x48fe('0x5')]},'secondDisposition':{'type':Sequelize[_0x48fe('0x5')]},'thirdDisposition':{'type':Sequelize['STRING']},'note':{'type':Sequelize[_0x48fe('0x5')]},'browserName':{'type':Sequelize[_0x48fe('0x5')]},'browserVersion':{'type':Sequelize[_0x48fe('0x5')]},'osName':{'type':Sequelize[_0x48fe('0x5')]},'osVersion':{'type':Sequelize[_0x48fe('0x5')]},'deviceModel':{'type':Sequelize[_0x48fe('0x5')]},'deviceVendor':{'type':Sequelize['STRING']},'deviceType':{'type':Sequelize[_0x48fe('0x5')]},'referer':{'type':Sequelize[_0x48fe('0x4')]},'customerIp':{'type':Sequelize[_0x48fe('0x5')]},'formData':{'type':Sequelize['TEXT'](_0x48fe('0x7'))},'read1stAt':{'type':Sequelize[_0x48fe('0x6')]},'lastMsgAt':{'type':Sequelize[_0x48fe('0x6')]},'lastMsgDirection':{'type':Sequelize[_0x48fe('0x8')]('in',_0x48fe('0x9')),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize[_0x48fe('0x5')]},'customerPort':{'type':Sequelize[_0x48fe('0x5')]},'vidaooSessionId':{'type':Sequelize[_0x48fe('0x4')]},'autoreplyExecuted':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'queueId':{'type':Sequelize[_0x48fe('0xa')]}};