b9db62baa25aff14ae6d10e49730e945811160eb
[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 _0x7dd0=['STRING','DATE','exports','BOOLEAN','INTEGER','ENUM','thumb','star','TEXT'];(function(_0x18d8e1,_0x53102c){var _0x5d4808=function(_0x558e80){while(--_0x558e80){_0x18d8e1['push'](_0x18d8e1['shift']());}};_0x5d4808(++_0x53102c);}(_0x7dd0,0x80));var _0x07dd=function(_0x17836c,_0x3c11d8){_0x17836c=_0x17836c-0x0;var _0x5e364f=_0x7dd0[_0x17836c];return _0x5e364f;};'use strict';var Sequelize=require('sequelize');module[_0x07dd('0x0')]={'closed':{'type':Sequelize[_0x07dd('0x1')],'defaultValue':![]},'ratingValue':{'type':Sequelize[_0x07dd('0x2')]},'ratingType':{'type':Sequelize[_0x07dd('0x3')]('star',_0x07dd('0x4')),'defaultValue':_0x07dd('0x5')},'ratingMessage':{'type':Sequelize[_0x07dd('0x6')]},'pathTranscript':{'type':Sequelize[_0x07dd('0x6')]},'mailTranscript':{'type':Sequelize[_0x07dd('0x7')],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize[_0x07dd('0x8')]},'disposition':{'type':Sequelize[_0x07dd('0x7')]},'secondDisposition':{'type':Sequelize[_0x07dd('0x7')]},'thirdDisposition':{'type':Sequelize['STRING']},'note':{'type':Sequelize[_0x07dd('0x7')]},'browserName':{'type':Sequelize[_0x07dd('0x7')]},'browserVersion':{'type':Sequelize[_0x07dd('0x7')]},'osName':{'type':Sequelize['STRING']},'osVersion':{'type':Sequelize[_0x07dd('0x7')]},'deviceModel':{'type':Sequelize[_0x07dd('0x7')]},'deviceVendor':{'type':Sequelize['STRING']},'deviceType':{'type':Sequelize[_0x07dd('0x7')]},'referer':{'type':Sequelize[_0x07dd('0x6')]},'customerIp':{'type':Sequelize[_0x07dd('0x7')]},'formData':{'type':Sequelize[_0x07dd('0x6')]('long')},'read1stAt':{'type':Sequelize[_0x07dd('0x8')]},'lastMsgAt':{'type':Sequelize[_0x07dd('0x8')]},'lastMsgDirection':{'type':Sequelize['ENUM']('in','out'),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize['STRING']},'customerPort':{'type':Sequelize[_0x07dd('0x7')]},'vidaooSessionId':{'type':Sequelize[_0x07dd('0x6')]}};