Built motion from commit f3da74b7.|2.5.36
[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 _0xfe9d=['thumb','TEXT','STRING','DATE','long','out','sequelize','exports','BOOLEAN','INTEGER','ENUM'];(function(_0x408f00,_0x2f6546){var _0x4ff564=function(_0x38cd0b){while(--_0x38cd0b){_0x408f00['push'](_0x408f00['shift']());}};_0x4ff564(++_0x2f6546);}(_0xfe9d,0x10e));var _0xdfe9=function(_0x43c031,_0x83fec1){_0x43c031=_0x43c031-0x0;var _0x13b6f3=_0xfe9d[_0x43c031];return _0x13b6f3;};'use strict';var Sequelize=require(_0xdfe9('0x0'));module[_0xdfe9('0x1')]={'closed':{'type':Sequelize[_0xdfe9('0x2')],'defaultValue':![]},'ratingValue':{'type':Sequelize[_0xdfe9('0x3')]},'ratingType':{'type':Sequelize[_0xdfe9('0x4')]('star',_0xdfe9('0x5')),'defaultValue':'star'},'ratingMessage':{'type':Sequelize[_0xdfe9('0x6')]},'pathTranscript':{'type':Sequelize[_0xdfe9('0x6')]},'mailTranscript':{'type':Sequelize[_0xdfe9('0x7')],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize[_0xdfe9('0x8')]},'disposition':{'type':Sequelize[_0xdfe9('0x7')]},'secondDisposition':{'type':Sequelize['STRING']},'thirdDisposition':{'type':Sequelize['STRING']},'note':{'type':Sequelize[_0xdfe9('0x7')]},'browserName':{'type':Sequelize['STRING']},'browserVersion':{'type':Sequelize[_0xdfe9('0x7')]},'osName':{'type':Sequelize[_0xdfe9('0x7')]},'osVersion':{'type':Sequelize['STRING']},'deviceModel':{'type':Sequelize[_0xdfe9('0x7')]},'deviceVendor':{'type':Sequelize[_0xdfe9('0x7')]},'deviceType':{'type':Sequelize[_0xdfe9('0x7')]},'referer':{'type':Sequelize[_0xdfe9('0x6')]},'customerIp':{'type':Sequelize['STRING']},'formData':{'type':Sequelize[_0xdfe9('0x6')](_0xdfe9('0x9'))},'read1stAt':{'type':Sequelize[_0xdfe9('0x8')]},'lastMsgAt':{'type':Sequelize[_0xdfe9('0x8')]},'lastMsgDirection':{'type':Sequelize[_0xdfe9('0x4')]('in',_0xdfe9('0xa')),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize[_0xdfe9('0x7')]},'customerPort':{'type':Sequelize[_0xdfe9('0x7')]},'vidaooSessionId':{'type':Sequelize[_0xdfe9('0x6')]},'autoreplyExecuted':{'type':Sequelize[_0xdfe9('0x2')],'defaultValue':![]}};