9ca700489fd08d58e1260d7b5f4bbae67d9e2cdf
[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 _0x34d4=['BOOLEAN','INTEGER','ENUM','thumb','star','TEXT','DATE','STRING','long','out','sequelize'];(function(_0x12f1ec,_0x21b11a){var _0x48aea1=function(_0x978a17){while(--_0x978a17){_0x12f1ec['push'](_0x12f1ec['shift']());}};_0x48aea1(++_0x21b11a);}(_0x34d4,0x112));var _0x434d=function(_0xf1ecad,_0xf8a9ef){_0xf1ecad=_0xf1ecad-0x0;var _0xf86c2a=_0x34d4[_0xf1ecad];return _0xf86c2a;};'use strict';var Sequelize=require(_0x434d('0x0'));module['exports']={'closed':{'type':Sequelize[_0x434d('0x1')],'defaultValue':![]},'ratingValue':{'type':Sequelize[_0x434d('0x2')]},'ratingType':{'type':Sequelize[_0x434d('0x3')]('star',_0x434d('0x4')),'defaultValue':_0x434d('0x5')},'ratingMessage':{'type':Sequelize[_0x434d('0x6')]},'pathTranscript':{'type':Sequelize['TEXT']},'mailTranscript':{'type':Sequelize['STRING'],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize[_0x434d('0x7')]},'disposition':{'type':Sequelize[_0x434d('0x8')]},'secondDisposition':{'type':Sequelize[_0x434d('0x8')]},'thirdDisposition':{'type':Sequelize['STRING']},'note':{'type':Sequelize[_0x434d('0x8')]},'browserName':{'type':Sequelize['STRING']},'browserVersion':{'type':Sequelize['STRING']},'osName':{'type':Sequelize['STRING']},'osVersion':{'type':Sequelize[_0x434d('0x8')]},'deviceModel':{'type':Sequelize[_0x434d('0x8')]},'deviceVendor':{'type':Sequelize[_0x434d('0x8')]},'deviceType':{'type':Sequelize[_0x434d('0x8')]},'referer':{'type':Sequelize[_0x434d('0x6')]},'customerIp':{'type':Sequelize[_0x434d('0x8')]},'formData':{'type':Sequelize[_0x434d('0x6')](_0x434d('0x9'))},'read1stAt':{'type':Sequelize[_0x434d('0x7')]},'lastMsgAt':{'type':Sequelize[_0x434d('0x7')]},'lastMsgDirection':{'type':Sequelize[_0x434d('0x3')]('in',_0x434d('0xa')),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize[_0x434d('0x8')]},'customerPort':{'type':Sequelize[_0x434d('0x8')]},'vidaooSessionId':{'type':Sequelize[_0x434d('0x6')]}};