Built motion from commit 9d7072cc.|2.5.39
[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 _0xab40=['star','thumb','TEXT','STRING','long','DATE','BOOLEAN','sequelize','exports'];(function(_0x4bb2b9,_0x459c78){var _0x40e2a2=function(_0x19a26c){while(--_0x19a26c){_0x4bb2b9['push'](_0x4bb2b9['shift']());}};_0x40e2a2(++_0x459c78);}(_0xab40,0xcd));var _0x0ab4=function(_0x2c960f,_0x1ca53e){_0x2c960f=_0x2c960f-0x0;var _0x3a7026=_0xab40[_0x2c960f];return _0x3a7026;};'use strict';var Sequelize=require(_0x0ab4('0x0'));module[_0x0ab4('0x1')]={'closed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'ratingValue':{'type':Sequelize['INTEGER']},'ratingType':{'type':Sequelize['ENUM'](_0x0ab4('0x2'),_0x0ab4('0x3')),'defaultValue':_0x0ab4('0x2')},'ratingMessage':{'type':Sequelize[_0x0ab4('0x4')]},'pathTranscript':{'type':Sequelize[_0x0ab4('0x4')]},'mailTranscript':{'type':Sequelize['STRING'],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize['DATE']},'disposition':{'type':Sequelize[_0x0ab4('0x5')]},'secondDisposition':{'type':Sequelize['STRING']},'thirdDisposition':{'type':Sequelize[_0x0ab4('0x5')]},'note':{'type':Sequelize[_0x0ab4('0x5')]},'browserName':{'type':Sequelize[_0x0ab4('0x5')]},'browserVersion':{'type':Sequelize[_0x0ab4('0x5')]},'osName':{'type':Sequelize['STRING']},'osVersion':{'type':Sequelize['STRING']},'deviceModel':{'type':Sequelize['STRING']},'deviceVendor':{'type':Sequelize[_0x0ab4('0x5')]},'deviceType':{'type':Sequelize[_0x0ab4('0x5')]},'referer':{'type':Sequelize[_0x0ab4('0x4')]},'customerIp':{'type':Sequelize[_0x0ab4('0x5')]},'formData':{'type':Sequelize[_0x0ab4('0x4')](_0x0ab4('0x6'))},'read1stAt':{'type':Sequelize[_0x0ab4('0x7')]},'lastMsgAt':{'type':Sequelize[_0x0ab4('0x7')]},'lastMsgDirection':{'type':Sequelize['ENUM']('in','out'),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize[_0x0ab4('0x5')]},'customerPort':{'type':Sequelize['STRING']},'vidaooSessionId':{'type':Sequelize[_0x0ab4('0x4')]},'autoreplyExecuted':{'type':Sequelize[_0x0ab4('0x8')],'defaultValue':![]}};