Built motion from commit (unavailable).|2.3.9
[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 _0xb62e=['BOOLEAN','INTEGER','star','thumb','TEXT','STRING','long','DATE','ENUM','out','sequelize','exports'];(function(_0x418b69,_0x573720){var _0x3884ed=function(_0x367ed9){while(--_0x367ed9){_0x418b69['push'](_0x418b69['shift']());}};_0x3884ed(++_0x573720);}(_0xb62e,0x1de));var _0xeb62=function(_0x501510,_0x61caa9){_0x501510=_0x501510-0x0;var _0x1e6ee5=_0xb62e[_0x501510];return _0x1e6ee5;};'use strict';var Sequelize=require(_0xeb62('0x0'));module[_0xeb62('0x1')]={'closed':{'type':Sequelize[_0xeb62('0x2')],'defaultValue':![]},'ratingValue':{'type':Sequelize[_0xeb62('0x3')]},'ratingType':{'type':Sequelize['ENUM'](_0xeb62('0x4'),_0xeb62('0x5')),'defaultValue':_0xeb62('0x4')},'ratingMessage':{'type':Sequelize[_0xeb62('0x6')]},'pathTranscript':{'type':Sequelize[_0xeb62('0x6')]},'mailTranscript':{'type':Sequelize[_0xeb62('0x7')],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize['DATE']},'disposition':{'type':Sequelize[_0xeb62('0x7')]},'note':{'type':Sequelize[_0xeb62('0x7')]},'browserName':{'type':Sequelize[_0xeb62('0x7')]},'browserVersion':{'type':Sequelize['STRING']},'osName':{'type':Sequelize[_0xeb62('0x7')]},'osVersion':{'type':Sequelize[_0xeb62('0x7')]},'deviceModel':{'type':Sequelize[_0xeb62('0x7')]},'deviceVendor':{'type':Sequelize[_0xeb62('0x7')]},'deviceType':{'type':Sequelize['STRING']},'referer':{'type':Sequelize['STRING']},'customerIp':{'type':Sequelize[_0xeb62('0x7')]},'formData':{'type':Sequelize[_0xeb62('0x6')](_0xeb62('0x8'))},'read1stAt':{'type':Sequelize[_0xeb62('0x9')]},'lastMsgAt':{'type':Sequelize[_0xeb62('0x9')]},'lastMsgDirection':{'type':Sequelize[_0xeb62('0xa')]('in',_0xeb62('0xb')),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize[_0xeb62('0x7')]}};