137e842e1b2a9a21c9d4005e2a2b761764efa940
[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 _0x4e8f=['STRING','DATE','long','ENUM','out','sequelize','BOOLEAN','thumb','TEXT'];(function(_0x5a3978,_0x539343){var _0x1f4372=function(_0x5b1b33){while(--_0x5b1b33){_0x5a3978['push'](_0x5a3978['shift']());}};_0x1f4372(++_0x539343);}(_0x4e8f,0xf8));var _0xf4e8=function(_0x32e890,_0x33cbba){_0x32e890=_0x32e890-0x0;var _0x3a61f1=_0x4e8f[_0x32e890];return _0x3a61f1;};'use strict';var Sequelize=require(_0xf4e8('0x0'));module['exports']={'closed':{'type':Sequelize[_0xf4e8('0x1')],'defaultValue':![]},'ratingValue':{'type':Sequelize['INTEGER']},'ratingType':{'type':Sequelize['ENUM']('star',_0xf4e8('0x2')),'defaultValue':'star'},'ratingMessage':{'type':Sequelize['TEXT']},'pathTranscript':{'type':Sequelize[_0xf4e8('0x3')]},'mailTranscript':{'type':Sequelize[_0xf4e8('0x4')],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize[_0xf4e8('0x5')]},'disposition':{'type':Sequelize[_0xf4e8('0x4')]},'secondDisposition':{'type':Sequelize[_0xf4e8('0x4')]},'thirdDisposition':{'type':Sequelize[_0xf4e8('0x4')]},'note':{'type':Sequelize[_0xf4e8('0x4')]},'browserName':{'type':Sequelize[_0xf4e8('0x4')]},'browserVersion':{'type':Sequelize[_0xf4e8('0x4')]},'osName':{'type':Sequelize['STRING']},'osVersion':{'type':Sequelize[_0xf4e8('0x4')]},'deviceModel':{'type':Sequelize[_0xf4e8('0x4')]},'deviceVendor':{'type':Sequelize[_0xf4e8('0x4')]},'deviceType':{'type':Sequelize['STRING']},'referer':{'type':Sequelize[_0xf4e8('0x3')]},'customerIp':{'type':Sequelize['STRING']},'formData':{'type':Sequelize['TEXT'](_0xf4e8('0x6'))},'read1stAt':{'type':Sequelize[_0xf4e8('0x5')]},'lastMsgAt':{'type':Sequelize[_0xf4e8('0x5')]},'lastMsgDirection':{'type':Sequelize[_0xf4e8('0x7')]('in',_0xf4e8('0x8')),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize[_0xf4e8('0x4')]},'customerPort':{'type':Sequelize[_0xf4e8('0x4')]},'vidaooSessionId':{'type':Sequelize[_0xf4e8('0x3')]}};