Built motion from commit a61a4a20.|2.5.46
[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 _0xda3f=['ENUM','out','exports','BOOLEAN','thumb','TEXT','DATE','STRING','long'];(function(_0x500c8b,_0x81b895){var _0xa4aa11=function(_0xbbcb01){while(--_0xbbcb01){_0x500c8b['push'](_0x500c8b['shift']());}};_0xa4aa11(++_0x81b895);}(_0xda3f,0xec));var _0xfda3=function(_0x1aac0f,_0x2ddfd1){_0x1aac0f=_0x1aac0f-0x0;var _0x430dd5=_0xda3f[_0x1aac0f];return _0x430dd5;};'use strict';var Sequelize=require('sequelize');module[_0xfda3('0x0')]={'closed':{'type':Sequelize[_0xfda3('0x1')],'defaultValue':![]},'ratingValue':{'type':Sequelize['INTEGER']},'ratingType':{'type':Sequelize['ENUM']('star',_0xfda3('0x2')),'defaultValue':'star'},'ratingMessage':{'type':Sequelize[_0xfda3('0x3')]},'pathTranscript':{'type':Sequelize[_0xfda3('0x3')]},'mailTranscript':{'type':Sequelize['STRING'],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize[_0xfda3('0x4')]},'disposition':{'type':Sequelize[_0xfda3('0x5')]},'secondDisposition':{'type':Sequelize['STRING']},'thirdDisposition':{'type':Sequelize['STRING']},'note':{'type':Sequelize[_0xfda3('0x5')]},'browserName':{'type':Sequelize[_0xfda3('0x5')]},'browserVersion':{'type':Sequelize[_0xfda3('0x5')]},'osName':{'type':Sequelize[_0xfda3('0x5')]},'osVersion':{'type':Sequelize[_0xfda3('0x5')]},'deviceModel':{'type':Sequelize[_0xfda3('0x5')]},'deviceVendor':{'type':Sequelize[_0xfda3('0x5')]},'deviceType':{'type':Sequelize[_0xfda3('0x5')]},'referer':{'type':Sequelize[_0xfda3('0x3')]},'customerIp':{'type':Sequelize[_0xfda3('0x5')]},'formData':{'type':Sequelize[_0xfda3('0x3')](_0xfda3('0x6'))},'read1stAt':{'type':Sequelize['DATE']},'lastMsgAt':{'type':Sequelize[_0xfda3('0x4')]},'lastMsgDirection':{'type':Sequelize[_0xfda3('0x7')]('in',_0xfda3('0x8')),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize[_0xfda3('0x5')]},'customerPort':{'type':Sequelize[_0xfda3('0x5')]},'vidaooSessionId':{'type':Sequelize['TEXT']},'autoreplyExecuted':{'type':Sequelize[_0xfda3('0x1')],'defaultValue':![]}};