9a9be0240fb7d55924ae9069703d33f39ea88cc2
[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 _0x693f=['DATE','ENUM','out','sequelize','exports','BOOLEAN','INTEGER','star','thumb','TEXT','STRING'];(function(_0x45f951,_0x2750c8){var _0x24756c=function(_0x31c931){while(--_0x31c931){_0x45f951['push'](_0x45f951['shift']());}};_0x24756c(++_0x2750c8);}(_0x693f,0x9d));var _0xf693=function(_0x20a584,_0xe384a5){_0x20a584=_0x20a584-0x0;var _0x4b41a8=_0x693f[_0x20a584];return _0x4b41a8;};'use strict';var Sequelize=require(_0xf693('0x0'));module[_0xf693('0x1')]={'closed':{'type':Sequelize[_0xf693('0x2')],'defaultValue':![]},'ratingValue':{'type':Sequelize[_0xf693('0x3')]},'ratingType':{'type':Sequelize['ENUM'](_0xf693('0x4'),_0xf693('0x5')),'defaultValue':_0xf693('0x4')},'ratingMessage':{'type':Sequelize[_0xf693('0x6')]},'pathTranscript':{'type':Sequelize[_0xf693('0x6')]},'mailTranscript':{'type':Sequelize[_0xf693('0x7')],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize[_0xf693('0x8')]},'disposition':{'type':Sequelize['STRING']},'secondDisposition':{'type':Sequelize[_0xf693('0x7')]},'thirdDisposition':{'type':Sequelize[_0xf693('0x7')]},'note':{'type':Sequelize['STRING']},'browserName':{'type':Sequelize[_0xf693('0x7')]},'browserVersion':{'type':Sequelize['STRING']},'osName':{'type':Sequelize[_0xf693('0x7')]},'osVersion':{'type':Sequelize['STRING']},'deviceModel':{'type':Sequelize[_0xf693('0x7')]},'deviceVendor':{'type':Sequelize[_0xf693('0x7')]},'deviceType':{'type':Sequelize['STRING']},'referer':{'type':Sequelize['TEXT']},'customerIp':{'type':Sequelize['STRING']},'formData':{'type':Sequelize[_0xf693('0x6')]('long')},'read1stAt':{'type':Sequelize[_0xf693('0x8')]},'lastMsgAt':{'type':Sequelize[_0xf693('0x8')]},'lastMsgDirection':{'type':Sequelize[_0xf693('0x9')]('in',_0xf693('0xa')),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize[_0xf693('0x7')]},'customerPort':{'type':Sequelize['STRING']},'vidaooSessionId':{'type':Sequelize['TEXT']},'autoreplyExecuted':{'type':Sequelize[_0xf693('0x2')],'defaultValue':![]}};