Built motion from commit 67e5df37.|2.0.66
[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 _0xb821=['STRING','DATE','long','ENUM','out','exports','BOOLEAN','star','TEXT'];(function(_0x5bd7d0,_0x535f62){var _0x4dfccb=function(_0x218147){while(--_0x218147){_0x5bd7d0['push'](_0x5bd7d0['shift']());}};_0x4dfccb(++_0x535f62);}(_0xb821,0xa7));var _0x1b82=function(_0x1126f8,_0x371589){_0x1126f8=_0x1126f8-0x0;var _0x1bc767=_0xb821[_0x1126f8];return _0x1bc767;};'use strict';var Sequelize=require('sequelize');module[_0x1b82('0x0')]={'closed':{'type':Sequelize[_0x1b82('0x1')],'defaultValue':![]},'ratingValue':{'type':Sequelize['INTEGER']},'ratingType':{'type':Sequelize['ENUM'](_0x1b82('0x2'),'thumb'),'defaultValue':'star'},'ratingMessage':{'type':Sequelize[_0x1b82('0x3')]},'pathTranscript':{'type':Sequelize[_0x1b82('0x3')]},'mailTranscript':{'type':Sequelize[_0x1b82('0x4')],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize[_0x1b82('0x5')]},'disposition':{'type':Sequelize['STRING']},'note':{'type':Sequelize[_0x1b82('0x4')]},'browserName':{'type':Sequelize[_0x1b82('0x4')]},'browserVersion':{'type':Sequelize[_0x1b82('0x4')]},'osName':{'type':Sequelize[_0x1b82('0x4')]},'osVersion':{'type':Sequelize[_0x1b82('0x4')]},'deviceModel':{'type':Sequelize[_0x1b82('0x4')]},'deviceVendor':{'type':Sequelize[_0x1b82('0x4')]},'deviceType':{'type':Sequelize[_0x1b82('0x4')]},'referer':{'type':Sequelize[_0x1b82('0x4')]},'customerIp':{'type':Sequelize['STRING']},'formData':{'type':Sequelize[_0x1b82('0x3')](_0x1b82('0x6'))},'read1stAt':{'type':Sequelize[_0x1b82('0x5')]},'lastMsgAt':{'type':Sequelize[_0x1b82('0x5')]},'lastMsgDirection':{'type':Sequelize[_0x1b82('0x7')]('in',_0x1b82('0x8')),'defaultValue':'in','allowNull':![]}};