Built motion from commit 3e059bc2.|2.5.32
[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 _0xd732=['ENUM','out','sequelize','BOOLEAN','star','thumb','TEXT','DATE','STRING'];(function(_0x429de8,_0x1a23b2){var _0x1c32bb=function(_0x562fb1){while(--_0x562fb1){_0x429de8['push'](_0x429de8['shift']());}};_0x1c32bb(++_0x1a23b2);}(_0xd732,0x18e));var _0x2d73=function(_0xa95f4,_0x173631){_0xa95f4=_0xa95f4-0x0;var _0x30dc88=_0xd732[_0xa95f4];return _0x30dc88;};'use strict';var Sequelize=require(_0x2d73('0x0'));module['exports']={'closed':{'type':Sequelize[_0x2d73('0x1')],'defaultValue':![]},'ratingValue':{'type':Sequelize['INTEGER']},'ratingType':{'type':Sequelize['ENUM'](_0x2d73('0x2'),_0x2d73('0x3')),'defaultValue':'star'},'ratingMessage':{'type':Sequelize['TEXT']},'pathTranscript':{'type':Sequelize[_0x2d73('0x4')]},'mailTranscript':{'type':Sequelize['STRING'],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize[_0x2d73('0x5')]},'disposition':{'type':Sequelize[_0x2d73('0x6')]},'secondDisposition':{'type':Sequelize['STRING']},'thirdDisposition':{'type':Sequelize['STRING']},'note':{'type':Sequelize[_0x2d73('0x6')]},'browserName':{'type':Sequelize['STRING']},'browserVersion':{'type':Sequelize[_0x2d73('0x6')]},'osName':{'type':Sequelize[_0x2d73('0x6')]},'osVersion':{'type':Sequelize[_0x2d73('0x6')]},'deviceModel':{'type':Sequelize[_0x2d73('0x6')]},'deviceVendor':{'type':Sequelize['STRING']},'deviceType':{'type':Sequelize[_0x2d73('0x6')]},'referer':{'type':Sequelize[_0x2d73('0x4')]},'customerIp':{'type':Sequelize[_0x2d73('0x6')]},'formData':{'type':Sequelize[_0x2d73('0x4')]('long')},'read1stAt':{'type':Sequelize[_0x2d73('0x5')]},'lastMsgAt':{'type':Sequelize[_0x2d73('0x5')]},'lastMsgDirection':{'type':Sequelize[_0x2d73('0x7')]('in',_0x2d73('0x8')),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize[_0x2d73('0x6')]},'customerPort':{'type':Sequelize[_0x2d73('0x6')]},'vidaooSessionId':{'type':Sequelize[_0x2d73('0x4')]},'autoreplyExecuted':{'type':Sequelize[_0x2d73('0x1')],'defaultValue':![]}};