Built motion from commit 10af8726.|2.6.34
[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 _0x701d=['star','TEXT','STRING','DATE','long','out','sequelize','exports','BOOLEAN','INTEGER','ENUM'];(function(_0x290586,_0x3a911e){var _0x261496=function(_0x4bb9a4){while(--_0x4bb9a4){_0x290586['push'](_0x290586['shift']());}};_0x261496(++_0x3a911e);}(_0x701d,0x103));var _0xd701=function(_0x39578c,_0x23635b){_0x39578c=_0x39578c-0x0;var _0x15ee51=_0x701d[_0x39578c];return _0x15ee51;};'use strict';var Sequelize=require(_0xd701('0x0'));module[_0xd701('0x1')]={'closed':{'type':Sequelize[_0xd701('0x2')],'defaultValue':![]},'ratingValue':{'type':Sequelize[_0xd701('0x3')]},'ratingType':{'type':Sequelize[_0xd701('0x4')](_0xd701('0x5'),'thumb'),'defaultValue':'star'},'ratingMessage':{'type':Sequelize['TEXT']},'pathTranscript':{'type':Sequelize[_0xd701('0x6')]},'mailTranscript':{'type':Sequelize[_0xd701('0x7')],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize[_0xd701('0x8')]},'disposition':{'type':Sequelize[_0xd701('0x7')]},'secondDisposition':{'type':Sequelize[_0xd701('0x7')]},'thirdDisposition':{'type':Sequelize[_0xd701('0x7')]},'note':{'type':Sequelize[_0xd701('0x7')]},'browserName':{'type':Sequelize['STRING']},'browserVersion':{'type':Sequelize[_0xd701('0x7')]},'osName':{'type':Sequelize[_0xd701('0x7')]},'osVersion':{'type':Sequelize['STRING']},'deviceModel':{'type':Sequelize[_0xd701('0x7')]},'deviceVendor':{'type':Sequelize[_0xd701('0x7')]},'deviceType':{'type':Sequelize[_0xd701('0x7')]},'referer':{'type':Sequelize[_0xd701('0x6')]},'customerIp':{'type':Sequelize[_0xd701('0x7')]},'formData':{'type':Sequelize[_0xd701('0x6')](_0xd701('0x9'))},'read1stAt':{'type':Sequelize[_0xd701('0x8')]},'lastMsgAt':{'type':Sequelize[_0xd701('0x8')]},'lastMsgDirection':{'type':Sequelize[_0xd701('0x4')]('in',_0xd701('0xa')),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize[_0xd701('0x7')]},'customerPort':{'type':Sequelize[_0xd701('0x7')]},'vidaooSessionId':{'type':Sequelize[_0xd701('0x6')]},'autoreplyExecuted':{'type':Sequelize[_0xd701('0x2')],'defaultValue':![]},'queueId':{'type':Sequelize[_0xd701('0x3')]}};