96b7dd00bb58bdee661150691fb3478c5bf572a6
[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 _0x254e=['INTEGER','ENUM','thumb','star','TEXT','STRING','DATE','long','out','BOOLEAN','sequelize','exports'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x254e,0x1d2));var _0xe254=function(_0xc4d98d,_0x3421e0){_0xc4d98d=_0xc4d98d-0x0;var _0x415e5f=_0x254e[_0xc4d98d];return _0x415e5f;};'use strict';var Sequelize=require(_0xe254('0x0'));module[_0xe254('0x1')]={'closed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'ratingValue':{'type':Sequelize[_0xe254('0x2')]},'ratingType':{'type':Sequelize[_0xe254('0x3')]('star',_0xe254('0x4')),'defaultValue':_0xe254('0x5')},'ratingMessage':{'type':Sequelize[_0xe254('0x6')]},'pathTranscript':{'type':Sequelize['TEXT']},'mailTranscript':{'type':Sequelize[_0xe254('0x7')],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize[_0xe254('0x8')]},'disposition':{'type':Sequelize[_0xe254('0x7')]},'secondDisposition':{'type':Sequelize[_0xe254('0x7')]},'thirdDisposition':{'type':Sequelize[_0xe254('0x7')]},'note':{'type':Sequelize['STRING']},'browserName':{'type':Sequelize[_0xe254('0x7')]},'browserVersion':{'type':Sequelize['STRING']},'osName':{'type':Sequelize[_0xe254('0x7')]},'osVersion':{'type':Sequelize[_0xe254('0x7')]},'deviceModel':{'type':Sequelize[_0xe254('0x7')]},'deviceVendor':{'type':Sequelize[_0xe254('0x7')]},'deviceType':{'type':Sequelize['STRING']},'referer':{'type':Sequelize['TEXT']},'customerIp':{'type':Sequelize[_0xe254('0x7')]},'formData':{'type':Sequelize['TEXT'](_0xe254('0x9'))},'read1stAt':{'type':Sequelize[_0xe254('0x8')]},'lastMsgAt':{'type':Sequelize[_0xe254('0x8')]},'lastMsgDirection':{'type':Sequelize['ENUM']('in',_0xe254('0xa')),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize[_0xe254('0x7')]},'customerPort':{'type':Sequelize[_0xe254('0x7')]},'vidaooSessionId':{'type':Sequelize[_0xe254('0x6')]},'autoreplyExecuted':{'type':Sequelize[_0xe254('0xb')],'defaultValue':![]},'queueId':{'type':Sequelize[_0xe254('0x2')]}};