d2f1526c49c12e4278ba4148a3b820b7cc5b0b5a
[motion2.git] / server / api / whatsappInteraction / whatsappInteraction.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 _0x13be=['STRING','ENUM','out','moment','DATE'];(function(_0x178f52,_0x5d9675){var _0x556f99=function(_0x4a7b17){while(--_0x4a7b17){_0x178f52['push'](_0x178f52['shift']());}};_0x556f99(++_0x5d9675);}(_0x13be,0x175));var _0xe13b=function(_0x3b80ea,_0x4caa7e){_0x3b80ea=_0x3b80ea-0x0;var _0x325690=_0x13be[_0x3b80ea];return _0x325690;};'use strict';var Sequelize=require('sequelize');var moment=require(_0xe13b('0x0'));module['exports']={'closed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'closedAt':{'type':Sequelize[_0xe13b('0x1')]},'disposition':{'type':Sequelize[_0xe13b('0x2')]},'secondDisposition':{'type':Sequelize[_0xe13b('0x2')]},'thirdDisposition':{'type':Sequelize[_0xe13b('0x2')]},'note':{'type':Sequelize[_0xe13b('0x2')]},'phone':{'type':Sequelize[_0xe13b('0x2')]},'read1stAt':{'type':Sequelize['DATE']},'firstMsgDirection':{'type':Sequelize[_0xe13b('0x3')]('in',_0xe13b('0x4')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0xe13b('0x1')]},'lastMsgDirection':{'type':Sequelize[_0xe13b('0x3')]('in',_0xe13b('0x4')),'defaultValue':'in','allowNull':![]}};