0e6830bdf7da9e439a8724c3b81490a9021e7e73
[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 _0x1678=['exports','BOOLEAN','INTEGER','ENUM','star','TEXT','STRING','DATE','long','sequelize'];(function(_0x1793de,_0x4d7233){var _0x4f0309=function(_0x229ee7){while(--_0x229ee7){_0x1793de['push'](_0x1793de['shift']());}};_0x4f0309(++_0x4d7233);}(_0x1678,0x17b));var _0x8167=function(_0x1140d2,_0x3edffb){_0x1140d2=_0x1140d2-0x0;var _0x397044=_0x1678[_0x1140d2];return _0x397044;};'use strict';var Sequelize=require(_0x8167('0x0'));module[_0x8167('0x1')]={'closed':{'type':Sequelize[_0x8167('0x2')],'defaultValue':![]},'ratingValue':{'type':Sequelize[_0x8167('0x3')]},'ratingType':{'type':Sequelize[_0x8167('0x4')]('star','thumb'),'defaultValue':_0x8167('0x5')},'ratingMessage':{'type':Sequelize[_0x8167('0x6')]},'pathTranscript':{'type':Sequelize[_0x8167('0x6')]},'mailTranscript':{'type':Sequelize[_0x8167('0x7')],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize[_0x8167('0x8')]},'disposition':{'type':Sequelize[_0x8167('0x7')]},'secondDisposition':{'type':Sequelize[_0x8167('0x7')]},'thirdDisposition':{'type':Sequelize['STRING']},'note':{'type':Sequelize[_0x8167('0x7')]},'browserName':{'type':Sequelize[_0x8167('0x7')]},'browserVersion':{'type':Sequelize[_0x8167('0x7')]},'osName':{'type':Sequelize['STRING']},'osVersion':{'type':Sequelize['STRING']},'deviceModel':{'type':Sequelize[_0x8167('0x7')]},'deviceVendor':{'type':Sequelize[_0x8167('0x7')]},'deviceType':{'type':Sequelize['STRING']},'referer':{'type':Sequelize[_0x8167('0x6')]},'customerIp':{'type':Sequelize[_0x8167('0x7')]},'formData':{'type':Sequelize[_0x8167('0x6')](_0x8167('0x9'))},'read1stAt':{'type':Sequelize[_0x8167('0x8')]},'lastMsgAt':{'type':Sequelize[_0x8167('0x8')]},'lastMsgDirection':{'type':Sequelize[_0x8167('0x4')]('in','out'),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize['STRING']},'customerPort':{'type':Sequelize[_0x8167('0x7')]},'vidaooSessionId':{'type':Sequelize['TEXT']},'autoreplyExecuted':{'type':Sequelize[_0x8167('0x2')],'defaultValue':![]}};