Built motion from commit 994c64e1.|2.6.1
[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 _0xb574=['DATE','BOOLEAN','sequelize','exports','INTEGER','ENUM','thumb','star','TEXT','STRING'];(function(_0x33b3c6,_0x48ec0b){var _0x2533c7=function(_0x4690be){while(--_0x4690be){_0x33b3c6['push'](_0x33b3c6['shift']());}};_0x2533c7(++_0x48ec0b);}(_0xb574,0x106));var _0x4b57=function(_0x139056,_0x458e7a){_0x139056=_0x139056-0x0;var _0x2c8a32=_0xb574[_0x139056];return _0x2c8a32;};'use strict';var Sequelize=require(_0x4b57('0x0'));module[_0x4b57('0x1')]={'closed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'ratingValue':{'type':Sequelize[_0x4b57('0x2')]},'ratingType':{'type':Sequelize[_0x4b57('0x3')]('star',_0x4b57('0x4')),'defaultValue':_0x4b57('0x5')},'ratingMessage':{'type':Sequelize[_0x4b57('0x6')]},'pathTranscript':{'type':Sequelize[_0x4b57('0x6')]},'mailTranscript':{'type':Sequelize[_0x4b57('0x7')],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize['DATE']},'disposition':{'type':Sequelize['STRING']},'secondDisposition':{'type':Sequelize[_0x4b57('0x7')]},'thirdDisposition':{'type':Sequelize['STRING']},'note':{'type':Sequelize['STRING']},'browserName':{'type':Sequelize['STRING']},'browserVersion':{'type':Sequelize['STRING']},'osName':{'type':Sequelize[_0x4b57('0x7')]},'osVersion':{'type':Sequelize[_0x4b57('0x7')]},'deviceModel':{'type':Sequelize[_0x4b57('0x7')]},'deviceVendor':{'type':Sequelize[_0x4b57('0x7')]},'deviceType':{'type':Sequelize[_0x4b57('0x7')]},'referer':{'type':Sequelize[_0x4b57('0x6')]},'customerIp':{'type':Sequelize[_0x4b57('0x7')]},'formData':{'type':Sequelize[_0x4b57('0x6')]('long')},'read1stAt':{'type':Sequelize[_0x4b57('0x8')]},'lastMsgAt':{'type':Sequelize[_0x4b57('0x8')]},'lastMsgDirection':{'type':Sequelize[_0x4b57('0x3')]('in','out'),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize['STRING']},'customerPort':{'type':Sequelize[_0x4b57('0x7')]},'vidaooSessionId':{'type':Sequelize[_0x4b57('0x6')]},'autoreplyExecuted':{'type':Sequelize[_0x4b57('0x9')],'defaultValue':![]}};