c3d57415d8c2cbfdf331577ed13abca94c42d37c
[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 _0xfd7b=['STRING','DATE','sequelize','exports','BOOLEAN','ENUM','star','thumb','TEXT'];(function(_0x58999b,_0xea4695){var _0x5efc3a=function(_0x98de31){while(--_0x98de31){_0x58999b['push'](_0x58999b['shift']());}};_0x5efc3a(++_0xea4695);}(_0xfd7b,0xd1));var _0xbfd7=function(_0xf51c06,_0x388e5b){_0xf51c06=_0xf51c06-0x0;var _0x1d5420=_0xfd7b[_0xf51c06];return _0x1d5420;};'use strict';var Sequelize=require(_0xbfd7('0x0'));module[_0xbfd7('0x1')]={'closed':{'type':Sequelize[_0xbfd7('0x2')],'defaultValue':![]},'ratingValue':{'type':Sequelize['INTEGER']},'ratingType':{'type':Sequelize[_0xbfd7('0x3')](_0xbfd7('0x4'),_0xbfd7('0x5')),'defaultValue':'star'},'ratingMessage':{'type':Sequelize[_0xbfd7('0x6')]},'pathTranscript':{'type':Sequelize[_0xbfd7('0x6')]},'mailTranscript':{'type':Sequelize[_0xbfd7('0x7')],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize['DATE']},'disposition':{'type':Sequelize[_0xbfd7('0x7')]},'secondDisposition':{'type':Sequelize[_0xbfd7('0x7')]},'thirdDisposition':{'type':Sequelize['STRING']},'note':{'type':Sequelize[_0xbfd7('0x7')]},'browserName':{'type':Sequelize[_0xbfd7('0x7')]},'browserVersion':{'type':Sequelize[_0xbfd7('0x7')]},'osName':{'type':Sequelize['STRING']},'osVersion':{'type':Sequelize[_0xbfd7('0x7')]},'deviceModel':{'type':Sequelize['STRING']},'deviceVendor':{'type':Sequelize['STRING']},'deviceType':{'type':Sequelize[_0xbfd7('0x7')]},'referer':{'type':Sequelize[_0xbfd7('0x6')]},'customerIp':{'type':Sequelize[_0xbfd7('0x7')]},'formData':{'type':Sequelize[_0xbfd7('0x6')]('long')},'read1stAt':{'type':Sequelize[_0xbfd7('0x8')]},'lastMsgAt':{'type':Sequelize[_0xbfd7('0x8')]},'lastMsgDirection':{'type':Sequelize[_0xbfd7('0x3')]('in','out'),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize[_0xbfd7('0x7')]},'customerPort':{'type':Sequelize[_0xbfd7('0x7')]},'vidaooSessionId':{'type':Sequelize['TEXT']},'autoreplyExecuted':{'type':Sequelize[_0xbfd7('0x2')],'defaultValue':![]}};