Built motion from commit (unavailable).|2.5.23
[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 _0x87f4=['exports','star','thumb','TEXT','STRING','DATE','long','ENUM','out'];(function(_0x5a139e,_0x37baf0){var _0xda0659=function(_0x9bf9c8){while(--_0x9bf9c8){_0x5a139e['push'](_0x5a139e['shift']());}};_0xda0659(++_0x37baf0);}(_0x87f4,0x117));var _0x487f=function(_0x2c03ca,_0xad92ca){_0x2c03ca=_0x2c03ca-0x0;var _0xe670b=_0x87f4[_0x2c03ca];return _0xe670b;};'use strict';var Sequelize=require('sequelize');module[_0x487f('0x0')]={'closed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'ratingValue':{'type':Sequelize['INTEGER']},'ratingType':{'type':Sequelize['ENUM'](_0x487f('0x1'),_0x487f('0x2')),'defaultValue':_0x487f('0x1')},'ratingMessage':{'type':Sequelize[_0x487f('0x3')]},'pathTranscript':{'type':Sequelize[_0x487f('0x3')]},'mailTranscript':{'type':Sequelize[_0x487f('0x4')],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize[_0x487f('0x5')]},'disposition':{'type':Sequelize[_0x487f('0x4')]},'secondDisposition':{'type':Sequelize['STRING']},'thirdDisposition':{'type':Sequelize[_0x487f('0x4')]},'note':{'type':Sequelize[_0x487f('0x4')]},'browserName':{'type':Sequelize['STRING']},'browserVersion':{'type':Sequelize[_0x487f('0x4')]},'osName':{'type':Sequelize[_0x487f('0x4')]},'osVersion':{'type':Sequelize[_0x487f('0x4')]},'deviceModel':{'type':Sequelize[_0x487f('0x4')]},'deviceVendor':{'type':Sequelize[_0x487f('0x4')]},'deviceType':{'type':Sequelize[_0x487f('0x4')]},'referer':{'type':Sequelize[_0x487f('0x3')]},'customerIp':{'type':Sequelize[_0x487f('0x4')]},'formData':{'type':Sequelize[_0x487f('0x3')](_0x487f('0x6'))},'read1stAt':{'type':Sequelize[_0x487f('0x5')]},'lastMsgAt':{'type':Sequelize['DATE']},'lastMsgDirection':{'type':Sequelize[_0x487f('0x7')]('in',_0x487f('0x8')),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize[_0x487f('0x4')]},'customerPort':{'type':Sequelize['STRING']},'vidaooSessionId':{'type':Sequelize[_0x487f('0x3')]}};