Built motion from commit f25620e4.|2.6.30
[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 _0x83f2=['long','DATE','out','exports','BOOLEAN','INTEGER','ENUM','star','thumb','STRING','TEXT'];(function(_0x1abb09,_0x18ee91){var _0xea1c07=function(_0x38f42c){while(--_0x38f42c){_0x1abb09['push'](_0x1abb09['shift']());}};_0xea1c07(++_0x18ee91);}(_0x83f2,0x184));var _0x283f=function(_0x2bef52,_0x29bfb0){_0x2bef52=_0x2bef52-0x0;var _0x2715b1=_0x83f2[_0x2bef52];return _0x2715b1;};'use strict';var Sequelize=require('sequelize');module[_0x283f('0x0')]={'closed':{'type':Sequelize[_0x283f('0x1')],'defaultValue':![]},'ratingValue':{'type':Sequelize[_0x283f('0x2')]},'ratingType':{'type':Sequelize[_0x283f('0x3')](_0x283f('0x4'),_0x283f('0x5')),'defaultValue':_0x283f('0x4')},'ratingMessage':{'type':Sequelize['TEXT']},'pathTranscript':{'type':Sequelize['TEXT']},'mailTranscript':{'type':Sequelize[_0x283f('0x6')],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize['DATE']},'disposition':{'type':Sequelize[_0x283f('0x6')]},'secondDisposition':{'type':Sequelize[_0x283f('0x6')]},'thirdDisposition':{'type':Sequelize['STRING']},'note':{'type':Sequelize[_0x283f('0x6')]},'browserName':{'type':Sequelize[_0x283f('0x6')]},'browserVersion':{'type':Sequelize[_0x283f('0x6')]},'osName':{'type':Sequelize['STRING']},'osVersion':{'type':Sequelize[_0x283f('0x6')]},'deviceModel':{'type':Sequelize[_0x283f('0x6')]},'deviceVendor':{'type':Sequelize['STRING']},'deviceType':{'type':Sequelize[_0x283f('0x6')]},'referer':{'type':Sequelize[_0x283f('0x7')]},'customerIp':{'type':Sequelize[_0x283f('0x6')]},'formData':{'type':Sequelize[_0x283f('0x7')](_0x283f('0x8'))},'read1stAt':{'type':Sequelize['DATE']},'lastMsgAt':{'type':Sequelize[_0x283f('0x9')]},'lastMsgDirection':{'type':Sequelize['ENUM']('in',_0x283f('0xa')),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize[_0x283f('0x6')]},'customerPort':{'type':Sequelize['STRING']},'vidaooSessionId':{'type':Sequelize['TEXT']},'autoreplyExecuted':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'queueId':{'type':Sequelize[_0x283f('0x2')]}};